tda0626 0 Posted October 27, 2024 Posted October 27, 2024 I had such a time getting Emby to work this time around. After 8-12 hours of troubleshooting, I found what was causing my problems and the bane of my existence. Some of the files in the /var/lib/emby location, were set to root:root ownership for some reason. How in the world did that happen because I would like to know this? It sure as hell was not me that changed the ownership to root:root. Regards, Tim
Luke 42077 Posted October 28, 2024 Posted October 28, 2024 Hi, is this a new installation? What problem were you having?
tda0626 0 Posted October 28, 2024 Author Posted October 28, 2024 It is a new OS installation. I was originally on Garuda Linux. It wouldn't play anything so I initially thought it was permissions and most of my troubleshooting revolved around that assumption. However, later, I got an error from Emby that it couldn't access a file in the Emby installation directory so I went to the Emby files location that I specified above and checked the ownership of files. For some reason, a few of the files were set to root:root ownership. I changed the ownership over to Emby and everything worked after that. I spent a whole weekend getting it work and was just curious how they got changed to root. Tim
Luke 42077 Posted October 28, 2024 Posted October 28, 2024 Are you sure it was rot right from the get go after installing?
tda0626 0 Posted October 28, 2024 Author Posted October 28, 2024 I installed Emby and tried to get it working immediately so it was from the start.
alucryd 315 Posted November 8, 2024 Posted November 8, 2024 Hi there, it's definitely not emby, we even chown the dir to `emby:emby` when creating the emby user on the first installation if for some reason the directory already exists. Here's an excerpt from our install script. getent passwd emby > /dev/null 2>&1 || (useradd -r -c 'Emby Server' -g emby -d /var/lib/emby -m -s /usr/sbin/nologin emby && passwd -l emby > /dev/null && chown emby:emby -R /var/lib/emby) Also please make sure you're using the regular `emby-server` service, the only thing I can think of that would create root owned files from our side would be to run the `emby-server@root` service.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now