jmangan 11 Posted July 25, 2018 Share Posted July 25, 2018 (edited) I've just realised that I haven't had an Emby update for a while - nothing in yum update - even though there has been an update displayed as available on the server management screen. So I've come here and seen that the update mechanism has changed but I can't see how to move from 'legacy' to new. On my system I've removed the old Emby (yum remove emby-server) and then run the install command on the site: yum install https://github.com/MediaBrowser/Emby.Releases/releases/download/3.5.1.0/emby-server-rpm_3.5.1.0_x86_64.rpm It's generated an error (attached) and systemctl status shows the server hasn't started (also attached). The install error appears to be related to /var/lib/emby which doesn't exist on my machine although /var/lib/emby-server does. What have I missed? If I run yum remove emby-server yum install emby-server then I can revert to 3.3.1 with no problem. But that's clearly not a solution. Thanks. emby upgrade.txt Edited July 25, 2018 by jmangan Link to comment Share on other sites More sharing options...
Solution dcrdev 251 Posted July 25, 2018 Solution Share Posted July 25, 2018 Yeah you're going to have a bunch of plugins that are not compiled against .net core and that's likely why it's failing - they should really remove this bollocks from the startup script: if [ -z $EMBY_DATA ]; then if [ -d /var/lib/emby-server ]; then export EMBY_DATA=/var/lib/emby-server else export EMBY_DATA=/var/lib/emby fi fi It's not going to work out-of-the box and the majority of users aren't going to know why. Do this: mkdir /var/lib/emby rsync -avPX /var/lib/emby-server/. /var/lib/emby/. chown -R emby:emby /var/lib/emby mv /var/lib/emby-server /var/lib/emby-server.bak rm -rf /var/lib/emby/plugins systemctl restart emby-server Another shitshow - that would have likely been fixed if they hadn't closed up the build system for their packages #shitshow. 1 Link to comment Share on other sites More sharing options...
Luke 37094 Posted July 26, 2018 Share Posted July 26, 2018 Thanks for this info which should get him sorted out. Link to comment Share on other sites More sharing options...
jmangan 11 Posted July 29, 2018 Author Share Posted July 29, 2018 (edited) @@dcrdev - Many thanks. That looks to have been successful. I'm up and running on the latest version. So, I presume that I should now disable the 'opensuse' repo and I'm wondering do I have to manually download the latest updates as they are announced or will future updates be in a different repo? Thanks again for the clear, concise and above all successful instructions. Edited July 29, 2018 by jmangan Link to comment Share on other sites More sharing options...
Luke 37094 Posted July 29, 2018 Share Posted July 29, 2018 Future updates can be installed by running the install command again that is listed on our website for your distro: https://emby.media/download It is likely that we will setup a repository in the future so that you can apply your updates in more native ways, we're just not there yet. Thanks. Link to comment Share on other sites More sharing options...
jmangan 11 Posted July 29, 2018 Author Share Posted July 29, 2018 Sorry, new problem. The update seemed to work with the instructions above. emby-server starts and runs okay but now library scanning is failing. This is in the dashboard: If I click on the 'i' I get: but there seems to be no way to scroll or copy the data. If I go directly to a library and select a single library to scan I just get a blank, black page which, so far, doesn't go anywhere and there is no message on the dashboard page of a manual scan successful or otherwise. Any ideas? Link to comment Share on other sites More sharing options...
Luke 37094 Posted July 29, 2018 Share Posted July 29, 2018 Please attach the emby server log, thanks. Link to comment Share on other sites More sharing options...
jmangan 11 Posted July 29, 2018 Author Share Posted July 29, 2018 No problem. Hope this helps. Thanks. Emby Log.txt Link to comment Share on other sites More sharing options...
dcrdev 251 Posted July 30, 2018 Share Posted July 30, 2018 Looks like some of the metadata is using absolute paths in the database instead of relative paths, you're going to have to move it back: mv /var/lib/emby /var/lib/emby-server systemctl restart emby-server Link to comment Share on other sites More sharing options...
Luke 37094 Posted July 30, 2018 Share Posted July 30, 2018 That's correct, or you can symlink one folder to the other. New installations of Emby Server 3.5+ will now virtualize those paths using %MetadataPath% in the database, so going forward this won't happen again. Thanks. Link to comment Share on other sites More sharing options...
jmangan 11 Posted July 30, 2018 Author Share Posted July 30, 2018 That might have done it. I used 'ln -s /var/lib/emby /var/lib/emby-server' because emby-server wouldn't startup at all when I had no /var/lib/emby I started a library scan which looked to have stopped at around 85%-ish. When I checked the process emby-server had stopped/crashed. I restarted it and it looks good now. I'll keep an eye in case it fails again during the scheduled scans. Thanks all. Link to comment Share on other sites More sharing options...
jmangan 11 Posted July 30, 2018 Author Share Posted July 30, 2018 Just for fun I tried another couple of manual library scans and it crashed every time. Logs attached. Thanks. embyserver-63668586341_30-07-2018 22-23.txt unhandled_a8b5e76e-9bda-4d9d-a503-30051a4541cc_30-07-2018 22-23.txt Link to comment Share on other sites More sharing options...
Luke 37094 Posted July 31, 2018 Share Posted July 31, 2018 Please update to 3.5.2. Thanks. Link to comment Share on other sites More sharing options...
jmangan 11 Posted July 31, 2018 Author Share Posted July 31, 2018 (edited) That seems to have done it! The first library scan after upgrading seemed to 'stick' at 87.5% but I left it and eventually it finished without crashing. Second scan seemed to slow at around 93% but then completed within a minute. I'll keep an eye on it but I think my upgrade is 'successful'. Thanks. Edited July 31, 2018 by jmangan Link to comment Share on other sites More sharing options...
Luke 37094 Posted July 31, 2018 Share Posted July 31, 2018 Thanks for the feedback. Link to comment Share on other sites More sharing options...
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