-
-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controller not reachable after update 1.0.0 #249
Comments
I am getting the same error and logs after the upgrade also. I reverted back to v0.23.2 version successfully, https://github.com/hassio-addons/addon-unifi/releases/tag/v0.23.2 |
Here also same issue. HASSIO CORE core-2021.8.5 64BIT OS Raspberry pi 4 8gb restored the backup working OK now |
Same here, logs mention the unifi controller successfully started. No visible errors in the add-on logs. The "Log Viewer" does repeatedly show this error: edit |
This comment has been minimized.
This comment has been minimized.
version 0.23.2 broke the use of Let's Encrypt SSL and I had to uninstall unifi controller and disable SSL. A painful process as I had not made a backup of the config file and I have to reset my unifi devices for re-adoption. For version 1.0.0, this broke the web UI access. Logs as follows:
Reverted back to version 0.23.2. |
This comment has been minimized.
This comment has been minimized.
Same here with me, it fails to load UI after upgrade. Tried to reinstall clean and restore from backup, the UI came back online but the login fails(even default). |
This comment has been minimized.
This comment has been minimized.
I'm not sure if this is actually what made it work for me, but I went into the addon Configuration, selected to 'Edit in YAML'. |
Same here.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
reverted back, too. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hello, |
This comment has been minimized.
This comment has been minimized.
same here, controller not reachable after update 1.0.0
https://IP:8443 -> ERR_CONNECTION_REFUSED |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
No, I clearly said a partial restore of a Home Assistant snapshot, that will allow you to restore just the old version of Unifi and your old config |
This comment has been minimized.
This comment has been minimized.
I see that in this new 1.0.0 release, mongodb was upgrade from 2.6.10-0ubuntu1[ubuntu repo] to 3.4.24 [Mongodb repo] (without be reflected on the release notes). Could this be the problem? @frenck 0.23.2 version: 1.0.0 version: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I've hidden all "I have the same issue" comments. Please use a 👍 on a comment or report. Those comments add nothing to debugging the issue at hand. Additionally, this isn't a support forum either. Thanks for understanding 👍 |
Any change between the previous and last version could potentially be the problem. Could you explain why you conclude that is the problem? |
Checking the documentation and say that we need to perform more upgrades steps:
2.6 -> 3.0 upgrade to 3.0 So we need to go first to 3.0? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
When I upgraded to 0.23.2 I was caught in the #235 and couldn't connect to the controller. Installing a fresh 1.0.0 gives me a functional web interface, but trying to upgrade from 0.23.2 to 1.0.0 results in non functional web interface. I did a manual restore from a home assistant add on backup (0.23.2), using method number 3 in this link: https://help.ui.com/hc/en-us/articles/204952144-UniFi-How-to-Create-and-Restore-a-Backup both preserving and replacing the the keystore file. All attempts result in:
So even trying to manually upgrade from a borked 0.23.2 to a fresh new 1.0.0 by simply copying the /data dir inside the docker volume results in non-functional and in no really useful log entries. Could this be a mongodb version thing? EDIT:
So Mongo engine missing from an old implementation compared to the new. Migration path issue? |
According to the server itself, it can upgrade from 2.x -> 3.4 directly (which has been done for a lot of people. Considering 24 participants in this issue and over 5K instances already upgraded/migrated, I would think there is an edge case. One that happens and is real, but still... As said, the upgrade path for MongoDB has been tested in different scenarios. In the end, is just odd in some cases it reports a missing mmapv1 engine, while that is still part of the 3.x MongoDB series (dropped in 4.x). I'm in the dark at this point, and I'm really concerned about a path moving forward. I've broken my head over this for days to figure out the current path and getting things reliable. With this, as a result, I'm afraid it starts to look like it isn't something that can be fixed. Honestly, if anybody from Ubiquiti reads this: Get rid of MongoDB or at least try to keep up (oh and if you are at it... time ditch Java 8, originating from 2014, as well...) 😢 |
I had some free time today. what i have done:
All OK now. this is maybe the easiest step for the 24 users |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@frenck what storageEngine you use with the in 3.4 version, MMAPv1 or WiredTiger? |
@marcomsousa That is controlled by UniFi, it loads and configures MongoDB (its not a separate process) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
When I use the Unifi addon 1.0.0 from scratch, the storageEngine used are the wireTiger.
I think the mongodb 3.4.24 ARM64-bit from Mongo repo doesn't have included the mmapv1 storageEngine. @frenck if true, and if you want to reproduce our issues, you can do this:
This will reproduce our error because mongodb ARM64-bit, don't have include by default the mmapv1 storageEngine. |
Who is using HA 64-bit restored from an old HA 32-bit version? I think this will 100% the users that are complaining. |
@marcomsousa Now that you mention it. I indeed restored a Home Assisant setup from a 32-bit Home Assistant OS onto a fresh 64 bit HA OS version. Since I wanted to be able to upgrade to Unifi Add-on 1.0.0. |
It depends, tending to say "no that's not the case": My whole HA instance was running on 32 bit (Pi 3B+ hardware) in the beginning before I updated to HASS OS 64 bit on Pi 4 (migrated restoring a full snapshot). BUT I didn't use Unifi addon before that migration. |
My HA is native 64 bit (PI4). |
I'm also having this problem but I'd disagree on the idea of the 32 bit to 64 being the issue, I bought and setup from zero a Pi 4 specifically for the UniFi controller, so there wasn't a previous HA to restore :) |
I never ran an HA32, I've always been doing HA64 ever since I setup my Pi4 8GB which is the first time I installed this addon. After futzing around with getting NGinx Proxy Manager working so I could deal with a new subdomain along with my HSTS configuration, I too got this working by doing an uninstall, re-install + backup restore. I also had to rest my integration since everything changed with having to setup a new subdomain :-/ |
This comment has been minimized.
This comment has been minimized.
I've locked down the issue, as people keep posting unrelated stuff here. This is not about an issue with other error messages, this issue is also not a support forum on how Home Assistant snapshots/backups work. If you have this exact issue, please upvote the issue instead of writing "Me too" response as well. This is not unique to this project or issue, this is how generally GitHub works. It is super distracting to find solutions and focus on the problem at hand with all that noise. I've asked a couple of times nows, unfortunately, it is ignored leaving me no other choice than to stop this madness. Before you downvote this comment: You don't have to agree and I don't care if you don't. ../Frenck |
This issue is way overdue, and closing it as won't fix at this point. |
Add-on updated to 1.0.0.
http nor https onto controller possible.
However, Log looks good saying controller is starting... .
Hassio Log says the following:
Any Idea?
The text was updated successfully, but these errors were encountered: