Closed RezzZ closed 5 years ago
I don't see anything with your volume configuration that sticks out. Make sure the files in /opt/unifi/varlib
make sense and have the right ownership.
Note: The ports
section is unneeded with host networking.
what is the correct owner for the files? It might be the cause but I chowned all files and folders to root:root and I still can't login.
In the logs I find the following error:
Java HotSpot(TM) Client VM warning: You have loaded library /usr/lib/unifi/lib/native/Linux/armv7/libubnt_webrtc_jni.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
That error message is standard for unifi installations (for whatever reason).
Can you run uname -a
and let me know what the output is?
I'm also curious to know if this is the problem: https://github.com/ryansch/docker-unifi-rpi/blob/master/5.9/Dockerfile.arm32v7#L35
Hi Ryan, I started with a new set of files and restored the settings with a backup file so can't verify this any more. I will revisit your git if the problem reoccurs should I ever move to a different SD or perhaps usb/ssd again. One thing that might be the reason is that I noticed some big changes in Unify itself so perhaps the my persisted config files were outdated and not compatible with the latest unify version?
Oh that's great @RezzZ. I'm glad you got it working.
Hi, I just installed a new sd in my raspberry (3B+) and tried to restore my unifi installation. I backed up my opt/ folder and restored in on the new sd card. I created new images and containers for all my running docker applications. Unfortunately I cannot login to unifi, I get a:
My compose file looks like this:
Any ideas why my credentials are rejected? I already tried the default ubnt/ubnt but without luck