Unifi Container - after import unable to openGUI link to page

Post Reply
User avatar
scottdavidcarter
Getting the hang of things
Posts: 85
Joined: Fri Mar 11, 2016 12:03 am

Unifi Container - after import unable to openGUI link to page

Post by scottdavidcarter »

I just did some disk magagement and had to reload my container station. I run the Unifi JacobAlberty unifi AP server container.
Before doing the disk stuff I exported the container to a tar so it would be easier to restart the unifi server.
When I imported the tar and ran it it seemed ok, but the link to the unifi webpage GUI comes up with an error.
It links to https://192.168.1.201:32776/manage and says:
This site can’t provide a secure connection
192.168.y.xxx sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
Rather than dump the container and restart from scratch, I'd like to try to fix the issue directly.
Ideas?
Scott
Two each QNAP TS-251 with 8GB (Firmware 5.0.1.2277)
- Media/File Server, QVRPro with 7x ReoLink-410 5mp wired security cams, PC & Mac backups
User avatar
scottdavidcarter
Getting the hang of things
Posts: 85
Joined: Fri Mar 11, 2016 12:03 am

Re: Unifi Container - after import unable to openGUI link to page

Post by scottdavidcarter »

in looking at the logs it shuts down and says
unable to load properties from '/usr/lib/unifi/system.properties' no such file or directory
It used to work fine before I exported and imported it. I'll try and pull a new image and see if it does the same shutdown.
Two each QNAP TS-251 with 8GB (Firmware 5.0.1.2277)
- Media/File Server, QVRPro with 7x ReoLink-410 5mp wired security cams, PC & Mac backups
User avatar
oyvindo
Experience counts
Posts: 1399
Joined: Tue May 19, 2009 2:08 am
Location: Norway, Oslo

Re: Unifi Container - after import unable to openGUI link to page

Post by oyvindo »

If you're using NAT, the port number changes randomly every time you reload/restart the container unless you add a fixed number to your Docker run or Docker compose.
ImageImageImage
User avatar
scottdavidcarter
Getting the hang of things
Posts: 85
Joined: Fri Mar 11, 2016 12:03 am

Re: Unifi Container - after import unable to openGUI link to page

Post by scottdavidcarter »

I didn't build the container and have no clue how to modify/set the port... The gouge I found (https://www.qnap.com/en/how-to/tutorial ... er-station) on how to install and run it shows to use Bridge. I found that trying NAT which is the way it starts up in the settings when you configur it, it did not run.
But will this affect the ability for the container to find the system.properties file noted below?

From what I can see below, it looks like the path is included, but the error is saying it cannot load the file. Can you see if there is something in the settings below that might be the cause of the probelm? And what I need to fix?

The actual file is located here: /Container/container-station-data/lib/docker/volumes/unifi/_data/data/system.properties

And this is what the settings shows for environment and shared folder:

Container Settings: Environment:
Name Value
BASEDIR /usr/lib/unifi
BIND_PRIV true
CERT_IS_CHAIN false
CERT_PRIVATE_NAME privkey.pem
CERTDIR /unifi/cert
CERTNAME cert.pem
DATADIR /unifi/data
GOSU_VERSION 1.10
LOGDIR /unifi/log
ODATADIR /var/lib/unifi
OLOGDIR /var/log/unifi
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUNAS_UID0 true
RUNDIR /var/run/unifi
UNIFI_GID 999
UNIFI_UID 999

Shared Folders:
/unifi
/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/volumes/unifi/_data

/var/run/unifi
/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/volumes/09c046b2d528fa2d045c8279ae68b200e055841e10e378f03cd497c5a75928d6/_data
Two each QNAP TS-251 with 8GB (Firmware 5.0.1.2277)
- Media/File Server, QVRPro with 7x ReoLink-410 5mp wired security cams, PC & Mac backups
Teutates
First post
Posts: 1
Joined: Wed Jun 06, 2012 2:03 pm

Re: Unifi Container - after import unable to openGUI link to page

Post by Teutates »

Hi together,
I also neehelp to install the Unifi Container.

I use the same way to install the application and I have the same problem.
I know the IP Adresse (ping is possible) but I don't have the link to connect by browser.
Image
Image

I just install a Wordpress Docker and this application works without problems.
Both Application use the bridge mode

Teutates
TS-531P 8GB 2x1TG Flash Raid 0 3x4 TB Raid 5
Post Reply

Return to “Container Station”