tom472 / mediabox

Container based media tools configuration
MIT License
431 stars 84 forks source link

Muximux not loading on new build #66

Closed nfields03 closed 5 years ago

nfields03 commented 5 years ago

I started up a fresh install from scratch of mediabox on my home server and everything seems to be coming up okay except muximux. When I look in the Portainer logs for that container, I'm seeing the following error repeated over and over. Maybe a slight adjustment in the config for it is required? If it's a muximux build issue, i'm happy to close it out and take it up with them...

Thoughts?

[02-Jan-2019 16:49:37] ERROR: [pool www] please specify user and group other than root, [02-Jan-2019 16:49:52] ERROR: [pool www] please specify user and group other than root, [02-Jan-2019 16:53:02] ERROR: FPM initialization failed, [02-Jan-2019 16:53:00] ERROR: [pool www] please specify user and group other than root

tom472 commented 5 years ago

What user is running your containers?

What are the: PUID and PGID values in your /mediabox/.env file?

nfields03 commented 5 years ago

It's brand new as of a few days ago, and I checked the file just now. Both values are 0 in the .env file.

nfields03 commented 5 years ago

Any particular concerns if I change it from 0/root to something else?

nfields03 commented 5 years ago

Nevermind, I tried resetting the values in the .env file and then re-ran the mediabox.sh file, but the script overwrote my changes and put it back to 0/root.

tom472 commented 5 years ago

That's the problem .. those values should be a higher number.

You should not be running the ./mediabox.sh script as root or with sudo .. you should be running it from a regular user account.

That should put those values at something like 1000.

nfields03 commented 5 years ago

Ahh, good to get clarified, thank you and testing it today.

nfields03 commented 5 years ago

Looks like it worked, I will stand corrected and be sure to follow the readme to the exact letter in the future. Thanks!

tom472 commented 5 years ago

@nfields03 No problem - And you are not the first person to do that.

After sudo is used to do the installs, pre-reqs - the rest of the set-up is done using your regular account.

Glad it's working for you now and thanks for playing with Mediabox.