-
Notifications
You must be signed in to change notification settings - Fork 25
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
docker container started but protect not started no log output #14
Comments
I am suffering from the same problem trying to run the container on Ubuntu 22.04.1 (arm64) on a RasPi 4B. When opening a shell in the running container, the only process I see running is systemd. Doing some digging there should be at least postgresql, unifi-core and unifi-protect services up in addition to systemd. When trying to start services manually they typically fail at "cannot connect to bus". I'm no systemd expert, but this seems to indicate that there is some problem with the container's use of whatever it requires from the host to be able to run systemd. This scenario (systemd inside docker) is not at all common for, I guess, good reasons... |
Hello, Firstly, thank you for creating this image. I seem to be having the same problem. Container seems to start, but nothing is running. I check the logs and it says: No log line matching the '' filter My environment is:
My docker compose file:
Any help would be highly appreciated. |
Adding
Even without |
So has anyone got it running? I would love to get it running. |
I have the exact same issue. Other containers are running without issue. Really weird that this image just gives no output at all. |
Same for me. No log output after starting the container. In the container only systemd is running. I'm using Ubuntu 22.04 as the host for my other systems. Also tried RPI OS (Bullseye), because it's the same Debian version like in the Docker container (look at the Dockerfile). But also doesn't work. Are there specific requirements for the host OS or Docker daemon.json settings and if yes, would be great to publish it in the README.md |
Works for me now. I don't read the other logs. Need to boot the system with kernel parameter Works great since 1.5h |
Are you running on a Pi? if so where do you enter "systemd.unified_cgroup_hierarchy=0" I've been trying on 22.04 with no luck. |
I've used Raspberry Pi OS 64 Bit for this test and added the Kernel option to the end of this line, which is common for RPI OS: pi@example:~ $ cat /boot/cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=12345678-00 rootfstype=ext4 fsck.repair=yes rootwait systemd.unified_cgroup_hierarchy=0 I guess on Ubuntu 22 64 Bit you need to add it in |
Alright this has already helped me alot but i still have one issue i am unable to resolve, maybe someone else can help me with this. Together with the This command successfully starts the container and works like expected. But now i want to start it up using docker compose so i converted the cmd into the following docker compose file, but with that i get no log output again.
This should be the same, but for some reason its not working and i am at my wits end. Hope someone can help with this. |
You really don't see any logs with |
Yeah i usually start it with Edit: oh and also just to add some info, i am also starting the system with |
Do you see logs from other apps, that you start with a docker-compose.yml? Any special (log) configuration in |
No special log configuration, its a fresh ubuntu 22.04 orangepi install, with the kernel parameter added, docker-ce and docker-compose-plugin installed and up to date. Then I added the compose file. I could spin up a diffrent container with compose just to test, but i would assume that should work fine. /etc/docker/daemon.json:
|
In your docker run, you use I was just a test, but I used this one:
|
So from my google search on how to do Also trying your file also does not work/show any output at all. I am thinking it has to do with the cgroup, since thats seems to be the only part that slightly differs from my docker run cmd which works great. Sources: |
Yes! Run |
Hey anyone got it working? My docker and docker compose is stuck. It does not output logs or anything. |
@xF4m3 How did you get it to work? I have the same problem. Can you help me please? |
Never did get it to work with a docker compose file no matter what i tried, something is diffrent with the cgroup via compose and via cmd line, no idea what. created the docker via: and i can start and stop doing |
Hello!
I saw this project here and with the raspberries i have it looks promising with higher Version numbers of protect
I wanted to start this container on a raspberry pi 4 4gb with raspberry os lite 64 bit with 128 GB sdcard and an usb disk connected with 4TB space.
Its mounted as /mnt/usb1 and i created a symlink to /storage.
I started the container with 1:1 as written on the Info Page.
It creates the folders on the usb disk and with docker ps says that unifi-protect-arm64 is started.
But on https://raspberryip there is nothing started and docker logs gives no output.
Am i missing something?
thanks
christoph
The text was updated successfully, but these errors were encountered: