Derkington 14 Posted August 17, 2022 Posted August 17, 2022 Hi I had to rebuild my emby server. This is Ubuntu 22.04 LTS 1- Took a backup of /var/lib/emby 2- Rebuilt server 3 - Copied my backup to /var/lib/emby 4- Installed same version of emby Emby would not start. So I moved /var/lib/emby out the way, uninstalled emby. Then tried again, it still will not start after many attempts. Below is the only clue I can find but it is not clear to me what is wrong. 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 Wed 2022-08-17 07:59:11 BST; 32s ago Process: 10083 ExecStart=/opt/emby-server/bin/emby-server (code=exited, status=0/SUCCESS) Main PID: 10083 (code=exited, status=0/SUCCESS) CPU: 135ms Aug 17 07:59:11 nuci5 emby-server[10083]: Source: System.Private.CoreLib Aug 17 07:59:11 nuci5 emby-server[10083]: TargetSite: Void CreateDirectory(System.String) Aug 17 07:59:11 nuci5 emby-server[10083]: at System.IO.FileSystem.CreateDirectory(String fullPath) Aug 17 07:59:11 nuci5 emby-server[10083]: at System.IO.Directory.CreateDirectory(String path) Aug 17 07:59:11 nuci5 emby-server[10083]: at Emby.Server.Implementations.Logging.FileLogger..ctor(String path) Aug 17 07:59:11 nuci5 emby-server[10083]: at Emby.Server.Implementations.Logging.SimpleLogManager.ReloadLogger(LogSeverity severity, CancellationToken cancellationToken) Aug 17 07:59:11 nuci5 emby-server[10083]: InnerException: System.IO.IOException: Permission denied Aug 17 07:59:11 nuci5 emby-server[10083]: Source: Aug 17 07:59:11 nuci5 emby-server[10083]: TargetSite: Aug 17 07:59:11 nuci5 systemd[1]: emby-server.service: Deactivated successfully.
Solution Derkington 14 Posted August 17, 2022 Author Solution Posted August 17, 2022 (edited) Reinstalled linux fresh again. This time round installed emby first, then ran through a minimal emby setup. Stopped emby then moved /var/lib/emby out the way and replaced with my backup of /var/lid/emby, restarted and it worked straight away with nothing else required. Edited August 17, 2022 by Derkington Added a bit more info. 1
brypie 0 Posted January 30, 2023 Posted January 30, 2023 Sorry to resurrect this thread, but I am getting the same error in systemctl after downgrading from 4.8.x beta to 4.7.11.0 ubuntu server on raspberry pi (armhf). Any solution which does not involve re-installing the entire ubuntu server?? TIA
Luke 42078 Posted January 30, 2023 Posted January 30, 2023 1 hour ago, brypie said: Sorry to resurrect this thread, but I am getting the same error in systemctl after downgrading from 4.8.x beta to 4.7.11.0 ubuntu server on raspberry pi (armhf). Any solution which does not involve re-installing the entire ubuntu server?? TIA HI, downgrading from 4.8 beta to 4.7 is not supported. I would expect all kinds of problems when trying to do that. If you really want to go back to 4.7 then I would suggest a fresh start instead.
WyattZirbel 16 Posted March 29, 2023 Posted March 29, 2023 On 8/17/2022 at 8:34 AM, Luke said: Thanks for the feedback. I was having this exact same issue. Using the CentOS version on Rocky Linux 9.1 (Rocky is a CentOS clone made by the original CentOS devs. "bug-for bug" they say.) I noticed that /var/lib/emby just didnt exist after installing. I created it and gave it permissions for the correct user and now I'm not having any issues. I ran yum install https://github.com/MediaBrowser/Emby.Releases/releases/download/4.7.11.0/emby-server-rpm_4.7.11.0_x86_64.rpm as Emby Server for Linux - Emby says and got that issue directly after trying to start it. I hope that helps with your bugfixes!!
Luke 42078 Posted March 29, 2023 Posted March 29, 2023 57 minutes ago, WyattZirbel said: I was having this exact same issue. Using the CentOS version on Rocky Linux 9.1 (Rocky is a CentOS clone made by the original CentOS devs. "bug-for bug" they say.) I noticed that /var/lib/emby just didnt exist after installing. I created it and gave it permissions for the correct user and now I'm not having any issues. I ran yum install https://github.com/MediaBrowser/Emby.Releases/releases/download/4.7.11.0/emby-server-rpm_4.7.11.0_x86_64.rpm as Emby Server for Linux - Emby says and got that issue directly after trying to start it. I hope that helps with your bugfixes!! Hi, we'll take a look at it. Thanks. 1
WyattZirbel 16 Posted April 23, 2023 Posted April 23, 2023 On 3/28/2023 at 10:24 PM, Luke said: Hi, we'll take a look at it. Thanks. I ended up needing to reinstall Rocky on that VM and the /var/lib/emby directory created like it was supposed to the first time. I'm not sure I did anything different. 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