lancachenet / monolithic

A monolithic lancache service capable of caching all CDNs in a single instance
https://hub.docker.com/r/lancachenet/monolithic
Other
728 stars 73 forks source link

Stuck at CRIT set uid to user 0 #62

Closed sfulham closed 4 years ago

sfulham commented 4 years ago

Describe the issue you are having

When I try to install lancachenet/monolithic the install gets stuck at Stuck at CRIT set uid to user 0

How are you running the container(s)?

sudo docker run --restart unless-stopped --name lancache -v /cache/data:/data/cache -v /cache/logs:/data/logs -p 10.0.0.102:80:80 lancachenet/monolithic:latest

DNS Configuration

I haven't set that up yet because I'm stuck at installing monolithic

Output of container(s)

https://pastebin.com/xppu99Bt

VibroAxe commented 4 years ago

This is actually an oddity with supervisord running as root. All is ok!

BigJoeS commented 4 years ago

This is actually an oddity with supervisord running as root. All is ok!

I am trying to understand what "All is ok" means. I am trying to trouble shoot the same issue and can't find a resolution.

Thanks.

VibroAxe commented 4 years ago

The crit error isn't actually an error. It's supervisord informing us that it is running as root (nginx is chrooted to the nginx user).

You should see activity in the access.log if your DNS is configured correctly

BigJoeS commented 4 years ago

Thanks. I worked out to just terminate the ssh session and open a new ssh session for each container. Now checking docker all three containers are active.

I had also installer supervisord as it wasn't previous install on this vm for me.

Unsure of the reason each contain was not returning to standard prompt.

VibroAxe commented 4 years ago

You shouldn't need to have installed supervisord on the VM host, that's not how docker works I suspect your docker run command is missing --detach