gomulius 1 Posted July 27, 2022 Posted July 27, 2022 Hi there. I have updated my Emby Server from version 4.6.4.0 to 4.7.5.0 - unfortunately after update the server won't start. I've searched this community but couldn't find any related topic. I was trying to reinstall and even revert to the older version but the service simply won't start. I am attaching the log files. Maybe someone will be able to help please as I am not a very experienced Linux user and run out of ideas what to do. Immediately after update there was some access denied (log files) error which I think I have fixed - or perhaps made thinks works, I don't know. I am attaching log files for reference. embyserver-63794525127.txt embyserver-63794537833.txt embyserver-63794541728.txt
Luke 42078 Posted July 27, 2022 Posted July 27, 2022 Hi, is any server log file generated by 4.7? These log files appear to be from 4.6. Thanks.
gomulius 1 Posted July 28, 2022 Author Posted July 28, 2022 Hi Luke, thank you for the quick reply. That's the only embyserver logs I found in /var/lib/emby/logs. There are ffmpeg and hardware_detection logs as well if you want, I can share these as well, but their timestamps are also for the time before the update. Every time I try to start the server (systemctl start emby-server) the new log file is generated by it contains just two lines, so they all look exactly the same as the 145 B file I shared. Cheers
Q-Droid 989 Posted July 28, 2022 Posted July 28, 2022 Try to start the server again, then share the output from: systemctl status -l emby-server ls -l /var/lib/emby/logs The last 20 lines (if that many) of: grep emby-server /var/log/messages
gomulius 1 Posted July 28, 2022 Author Posted July 28, 2022 Thanks. I run the commands and here is the output: gomulius@gomulius-linux:~$ sudo systemctl start emby-server gomulius@gomulius-linux:~$ systemctl status -l emby-server ● emby-server.service - Emby Server is a personal media server with apps on just about every device. Loaded: loaded (/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled) Active: inactive (dead) since Thu 2022-07-28 13:35:31 CEST; 10s ago Process: 53744 ExecStart=/opt/emby-server/bin/emby-server (code=exited, status=0/SUCCESS) Main PID: 53744 (code=exited, status=0/SUCCESS) lip 28 13:35:31 gomulius-linux systemd[1]: Started Emby Server is a personal media server with apps on just about every device.. lip 28 13:35:31 gomulius-linux emby-server[53744]: Info Main: Application path: /opt/emby-server/system/EmbyServer.dll lip 28 13:35:31 gomulius-linux emby-server[53744]: Info Main: Shutdown complete lip 28 13:35:31 gomulius-linux systemd[1]: emby-server.service: Succeeded. gomulius@gomulius-linux:~$ ls -l /var/lib/emby/logs razem 3228 [translation: total 3228] -rw-r--r-- 1 gomulius gomulius 1027630 lip 27 13:24 embyserver-63794525127.txt -rw-r--r-- 1 gomulius gomulius 1478041 lip 27 16:57 embyserver-63794537833.txt -rw-r--r-- 1 emby emby 145 lip 27 18:02 embyserver-63794541728.txt -rw-r--r-- 1 emby emby 145 lip 27 18:03 embyserver-63794541822.txt -rw-r--r-- 1 emby emby 145 lip 27 18:04 embyserver-63794541879.txt -rw-r--r-- 1 emby emby 145 lip 27 18:12 embyserver-63794542320.txt -rw-r--r-- 1 emby emby 145 lip 27 21:06 embyserver-63794552818.txt -rw-r--r-- 1 emby emby 145 lip 27 21:17 embyserver-63794553428.txt -rw-r--r-- 1 emby emby 145 lip 27 21:17 embyserver-63794553465.txt -rw-r--r-- 1 emby emby 145 lip 27 22:05 embyserver-63794556326.txt -rw-r--r-- 1 emby emby 145 lip 28 13:35 embyserver-63794612131.txt -rw-r--r-- 1 gomulius gomulius 195653 lip 27 13:58 ffmpeg-transcode-288b9180-862d-40e8-88d7-2255ac425ef9_1.txt -rw-r--r-- 1 gomulius gomulius 196594 lip 27 13:56 ffmpeg-transcode-debbfa07-6867-411e-83e6-5837f3fa9290_1.txt -rw-r--r-- 1 gomulius gomulius 178168 lip 27 12:54 hardware_detection-63794523241.txt -rw-r--r-- 1 gomulius gomulius 178168 lip 27 13:25 hardware_detection-63794525133.txt gomulius@gomulius-linux:~$ grep emby-server /var/log/messages grep: /var/log/messages: Nie ma takiego pliku ani katalogu [translation: No such file or folder] gomulius@gomulius-linux:~$
gomulius 1 Posted July 28, 2022 Author Posted July 28, 2022 gomulius@gomulius-linux:~$ ls -l /var/lib/emby razem 320 drwxr-xr-x 7 gomulius gomulius 4096 lip 27 12:57 cache drwxr-xr-x 3 gomulius gomulius 4096 sie 29 2021 config drwxr-xr-x 5 gomulius gomulius 4096 lip 27 16:57 data drwxrwxrwx 2 gomulius gomulius 69632 lip 28 13:35 logs drwxr-xr-x 9 gomulius gomulius 4096 sie 29 2021 metadata drwxr-xr-x 3 gomulius gomulius 4096 sie 29 2021 plugins drwxr-xr-x 3 gomulius gomulius 4096 sie 29 2021 root drwxr-xr-x 2 gomulius gomulius 229376 lip 27 14:26 transcoding-temp gomulius@gomulius-linux:~$
Q-Droid 989 Posted July 28, 2022 Posted July 28, 2022 It looks like you were running Emby as user gomulius before the update? Either that or you chowned the emby app data tree to that user. Your options are to change one of the two: 1. run as gomulius. 2. chown app data to emby. I recommend the second option but don't know the reasons for the current state.
Solution gomulius 1 Posted July 28, 2022 Author Solution Posted July 28, 2022 Gents, thanks to your suggestions I have managed to fix users permissions using this command: sudo chown -R emby:emby /var/lib/emby/ [where emby is a name of the user as well as a group] The server is up and running. THANK you very much for pointing me into the right direction - much appreciated! 1
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