I feel screwed over: Ubuntu suddenly dropped, All github issues being closed and im stuck with a broken setup and no way to fx

Even if you find ‘fixes’, they’re just hacks that are delaying the inevitable tbh.

I can’t help you any more than to implore you to find a way to get yourself on an officially supported installation.

The security issues discovered in the last couple of weeks could be the tip of the iceberg, and you’re going to want one-touch upgrades to securely patched versions.

1 Like

Do you reboot after running the script? reboot the host “sudo reboot”.

Hey man, quick question. Just curious, I know many hate HA on Ubuntu, should I be thinking of switching to something else? I honestly had next to zero issue with my setup on Ubuntu. Maybe I been lucky!

Ubuntu is not a supported platform and you will eventually suffer like the OP. If you want a supported installation you need to either use HA OS or Debian.

Yes very lucky!

1 Like

You need to bite the bullet. The sooner the better. The devs are not going to change their mind about this no matter how much sooking people do.

4 Likes

You won’t be offered any help on Github if you link to anything that relates to you having an issue while running an unsupported OS.

I get it’s annoying, but in all fairness it has been widely discussed and documented on these forums, Reddit, the HA Facebook group, etc since about May last year. It shouldn’t be coming as a shock that you need to adhere to the guidelines HERE that have been in place since June 2020 and again, widely linked and discussed.

As already suggested, spin up a HA OS VM on the machine using something like Proxmox. If it’s no longer running HA Supervised, then running a VM shouldn’t have a huge effect on the machines resources.

3 Likes

Expecting people to change their entire server OS to make one single application happy is indeed ridiculous. Thankfully, it is also not needed.

HA is just a simple Python application. Just run HA core in a venv on whatever OS or distro you want. As far as I see it, all these bells and whistles around Supervisor, HACS and an overengineered Docker setup is, in the context of HA, nothing but useless bloat that creates more problems than anything else. I’ve run a venv since I started with HA and never had a problem. The update to the latest security patch was one line on the CLI. A few minutes and HA was up and running again.

Well it is if like a lot of people you want the full HA experience with the supervisor. If you don’t want that then have at it.

Done a Python update lately?

2 Likes

I feel your pain man… anyway trying to help people who dont want to start over with lots of problem. So building this auto scripts its not yet perfect but will be gratefull if you can test it and let me know if this really help.

1 Like

Depends on how you define ‘full HA experience’. I don’t miss any functionality running bare bones. No, you won’t get the click’n’play HACS thing and you need to manage your custom integrations and backups manually. Which is actually a good thing. Since the OP says he is running a rather big server, doing this should not be a big deal for him. On the upside, you don’t have to change your entire OS for it. I’d consider this a much better ‘full HA experience’.

Yup, all the time. No big deal to recompile Python from source. And btw, you can update to the latest HA version without updating Python, it still runs on 3.7.

He like many other people prefer the Supervised install otherwise he wouldn’t be here complaining!
You are also showing ignorance because HACS is available for every HA installation method. You just don’t have the addons provided by a supervised installation and MANY people prefer that instead of battling with installing components manually.

A once off change. I don’t consider that much of a burden and for novice users, having to source and install additional functionality from a Linux command line is too hard when a few clicks in supervised gets you there.

Well there are plenty of threads similar to this one except complaining about updating python every year and likewise, that is not that easy for a novice user.

In any case, the poster in this thread is looking to continue running supervised.

1 Like

A change that is absolutely unacceptable in many cases. And it seems that for the OP, it is not acceptable either.

Yes, I agree. But since the OP says he’s already running a substantial Ubuntu server, we’re not talking about a total novice here. A few (rather simple) manipulations on the command line should not be an issue for someone running a Linux based server already.

Is he really ? Or maybe he’s just not aware that there are alternatives ? In any case, running a venv would be a good solution for the OP to continue running on Ubuntu with only very little loss of functionality, if any. Something the OP could at least consider as a way out of his unfortunate situation.

If he wasn’t he wouldn’t have started this thread.

(It’s not like he stumbled over the supervised installation… it’s listed as an advanced installation method and he chose that cos he wants to run supervised)

Where is the facepalm icon when you need it.

Okay let me rephrase this into a suggestion for an alternative then. @Sloth-on-meth, have you considered a venv based installation instead of the Supervised one ? It would allow you to continue running on Ubuntu and avoid all Supervisor related problems in the future.

try this as a solution

alright, future googlers and others in this thread: my friend dev has found the cause:

except OSError

this error automatically throws the NOT PRIVILIGED error. ANY OSerror.

my friend the god dev is working on a PR to fix this

[edited out fix that didnt work]

This is a temporary fix commenting out the overzealous OS-ERROR.

USE AT YOUR OWN RISK, only to update HA

ha jobs options --ignore-conditions healthy

read for reference https://github.com/home-assistant/supervisor/pull/2462

How many hours do you think you’ve spent trying to troubleshoot and fix this now? 5? 10? more?

1 Like

probably. the point is not to direct me towards other install methods etc. this is for people who like me have a setup that works, and want to keep it running as-is. The error handling in this part of HA is pretty atrocious, as it excepts all OSerrors as udev errors.

The above command line flag is not documented anywhere, by the way