t1tin 1 Posted April 2, 2019 Share Posted April 2, 2019 Hi I realized a new EMBY installation on a new server and left blank all configuration. I do not even set the media libraries. I recovered a backup made with the plugin "Backup & Restore". I specify that the server and plugin versions are strictly the same. The problem is that when I perform the restore on the new server, the media are duplicated on the home screen but not in the dashboard. See yourself on this screenchot: Can you help me ? Thanks Link to comment Share on other sites More sharing options...
t1tin 1 Posted April 4, 2019 Author Share Posted April 4, 2019 Let it go, I managed with a reverse proxy and set EMBY on it. Here is my Nginx configuration for those who are interested;) server { listen 80; listen 443; server_name subdomain.domain.com; rewrite https: // $ host $ request_uri? permanent; error_log /var/log/nginx/emby_error.log error; access_log /var/log/nginx/emby_access.log combined; ssl on; # These are the paths to your generated Let's Encrypt SSL certificates. ssl_certificate /etc/letsencrypt/live/subdomain.domain.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/subdomain.domain.com/privkey.pem; # To generate your dhparam.pem file, run openssl dhparam -out /etc/nginx/dhparam.pem 2048 (without the quotes) in your terminal. ssl_dhparam /etc/nginx/ssl/dhparam.pem; ssl_session_timeout 1d; location / proxy_pass https://127.0.0.1:8920; proxy_buffering off; proxy_redirect off; proxy_http_version 1.1; proxy_set_header X-Real-IP $ remote_addr; proxy_set_header X-Forwarded-For $ proxy_add_x_forwarded_for; proxy_set_header Upgrade $ http_upgrade; proxy_set_header Connection $ http_connection; access_log off; } } Link to comment Share on other sites More sharing options...
Luke 36881 Posted April 8, 2019 Share Posted April 8, 2019 Hi there, did you by chance restore the libraries mulitple times? Link to comment Share on other sites More sharing options...
wernerb 0 Posted April 4, 2020 Share Posted April 4, 2020 HELP PLEASE; HAVE SAME ISSUE... Just did a complete overhaul of my server; fresh format/install of Ubuntu 19.10 and have installed Emby beta 4.5.0.4. which I was running before I did a backup of everything with the 'Backup/Restore' plugin ver.1.4.4.0. After backing up again, before running restore, so I could return to previous place in time, ran the restore and (yes I only restored ONCE). My libraries are tripled!! Please suggest a course of action? Should I deselect something in the plugin? Only restore certain items? HELP....PLEASE! Please let me know what logs you need/want? And, yes, I can restore to before, during, after using timeshift....so I can reproduce...but I would like this fixed as soon as possible for my friends to get back online...THANKS! PS. Don't have debug on; let me know If I should activate. Had trouble trying to product screen image; they are nearly identical to above images of other user....(every library tripled on home page).... Link to comment Share on other sites More sharing options...
Luke 36881 Posted April 9, 2020 Share Posted April 9, 2020 Are you able to delete the duplicate? Link to comment Share on other sites More sharing options...
Kimballslice1890 6 Posted May 23, 2020 Share Posted May 23, 2020 Are you able to delete the duplicate? Can confirm, I came looking for a solution to the same problem. If you delete one of the duplicate libraries, it deletes all of the libraries (example, deleting 1 of the 3 identical 'Movies' libraries will delete all 3) I then had issues trying to manually add and map back to the network share. I am doing another fresh restore now and letting the library scan complete to see if it corrects it when it is done. This is using the Server Configuration Backup plugin on latest version 1.4.5.0 I had done this before about a year ago with no issue. Link to comment Share on other sites More sharing options...
Luke 36881 Posted May 23, 2020 Share Posted May 23, 2020 Thanks for reporting. We will take another look at this. For right now I would just remove them to clear out the duplicates and then add it back. Link to comment Share on other sites More sharing options...
Kimballslice1890 6 Posted May 23, 2020 Share Posted May 23, 2020 Thats what I had to do. I let the scan finish. Had to delete the paths and libraries completely then manually re add them. I did go from Server 2008 to Windows 10 Pro. Not sure if it has anything to with the issue happening. Link to comment Share on other sites More sharing options...
Luke 36881 Posted May 23, 2020 Share Posted May 23, 2020 Thanks for the feedback. Link to comment Share on other sites More sharing options...
Kimballslice1890 6 Posted May 23, 2020 Share Posted May 23, 2020 So upon re-adding the libraries after restore. I noticed most of my 'tv show' content were missing the seasons (I have a tv shows folder. With each individual tv show in sub folders with season # subfolders) I deleted the TV show library from emby. Ran a library scan and it automatically recreated the tv shows library without a folder path. Under metadata I noticed TV shows was still there and an entire duplicate of my other libraries' metadata was nested under it. Not sure the backups are corrupted or the restores are getting corrupted. I'm currently troubleshooting remote and had to kill the corrupt server and spin up the original. should be back on site after the weekend and can do any suggested troubleshooting. Link to comment Share on other sites More sharing options...
Kimballslice1890 6 Posted May 25, 2020 Share Posted May 25, 2020 (edited) So I just tinkered with it a bit more. The backup restore plugin seems to be seriously broken. I spun up a Windows 2008 R2 VM (which is what the current emby server is running on) reinstalled the plugin on the current server and took a manual backup. Attempted to restore on the new installation and replicated the same exact problem. I tried to not include libraries however since I have a DVR, I still get 4 recordings libraries. These are the immediate obvious issues being caused by the plugin. There could be some deeper dirtier issues going on but I haven't gotten past the library problems. I am by no means better than novice when it comes to developing and database design, just want to report the issue with the best detail possible to eliminate as much legwork as possible for whoever has the capabilities of identifying the issue. In the meantime, any alternative recommendations on migrating emby to a new server? Edit: Successfully migrated server without extension. How I did it was install the Emby server on the new machine. Run basic Setup. Shut down emby server application Copy the Emby-Server folder from appdata on the old server and replaced that folder on the new server. Everything migrated including DVR recording schedule. Also did not need to re-add the server to all of my client devices. Edited May 27, 2020 by mtait4893 Link to comment Share on other sites More sharing options...
revengineer 121 Posted July 16, 2020 Share Posted July 16, 2020 Confirmed restoring backup is broken. Just tried restoring a v4.4.3 config backup to a fresh v4.5.0 beta install and ended up with multiple version of all libraries, where multiple ranged from 3 to 6 depending on the library. This used to work, may we are going backwards again. I am now following a variant of the above approach where I copy the programdata folder manually. It's 100,000+ files so will take a while and hopefully this will work. Link to comment Share on other sites More sharing options...
Happy2Play 8140 Posted July 17, 2020 Share Posted July 17, 2020 35 minutes ago, revengineer said: Confirmed restoring backup is broken. Just tried restoring a v4.4.3 config backup to a fresh v4.5.0 beta install and ended up with multiple version of all libraries, where multiple ranged from 3 to 6 depending on the library. This used to work, may we are going backwards again. I am now following a variant of the above approach where I copy the programdata folder manually. It's 100,000+ files so will take a while and hopefully this will work. Wonder what the variables are as I just did the same and everything restored without issue (3 separate movies libraries and 1 tv). Link to comment Share on other sites More sharing options...
revengineer 121 Posted July 18, 2020 Share Posted July 18, 2020 I used a fresh install without anything setup except the back&restore plugin. Did you try restoring on a fresh emby install or were your libraries already setup? Also, my libraries are all on smb shares now. Does this make a difference? Link to comment Share on other sites More sharing options...
Luke 36881 Posted July 19, 2020 Share Posted July 19, 2020 We'll try to reproduce it. Thanks for reporting. 1 Link to comment Share on other sites More sharing options...
catch42 3 Posted August 11, 2020 Share Posted August 11, 2020 Same problem here. Migrated from WHS 2011 to Win 10 Pro. Used the backup/restore plugin and now have 3-5 duplicates of each library. I do not want to delete and re-add because I will lose play states. Any new suggestions? Link to comment Share on other sites More sharing options...
Happy2Play 8140 Posted August 11, 2020 Share Posted August 11, 2020 2 minutes ago, catch42 said: Same problem here. Migrated from WHS 2011 to Win 10 Pro. Used the backup/restore plugin and now have 3-5 duplicates of each library. I do not want to delete and re-add because I will lose play states. Any new suggestions? Lost Played state would only apply to media that does not have a online provider id. Everything is tracked by provider id except things like home videos. Link to comment Share on other sites More sharing options...
catch42 3 Posted August 11, 2020 Share Posted August 11, 2020 14 minutes ago, Happy2Play said: Lost Played state would only apply to media that does not have a online provider id. Everything is tracked by provider id except things like home videos. Thanks, good to know. Before I proceed, any real downside to recreating the libraries? Link to comment Share on other sites More sharing options...
Happy2Play 8140 Posted August 11, 2020 Share Posted August 11, 2020 2 minutes ago, catch42 said: Thanks, good to know. Before I proceed, any real downside to recreating the libraries? All depends on if you save metadata and images with media or not. If not it will pull everything from providers again. Link to comment Share on other sites More sharing options...
kellerstern 0 Posted August 13, 2020 Share Posted August 13, 2020 I too have the exact same problem. I've been using emby for like 2,5 years now. I needed to use my backup twice during that time. I just ran in to this problem again: Every entity of my library items is there twice.The last time I was not able to solve it and just recreated everything from scratch. This time I really would like to avoid this because it's really a lot of work... Background: I migrated from FreeBSD jail FreeNAS 11.3U4 to FreeNAS 12 Beta 2, which is FreeBSD 12.1. Procedure: Install Emby Run through wizard Activate emby premiere Install Backup Plugin Choose last backup and restore Please fix this :-/ Link to comment Share on other sites More sharing options...
MRobi 159 Posted August 14, 2020 Share Posted August 14, 2020 I ran into this too. Spun up a new install of 4.5.0.16 and restored a backup from 4.4.3.0 and all my libraries were triplicated. I just removed them all and re-added the libraries and all was good. Link to comment Share on other sites More sharing options...
Luke 36881 Posted August 14, 2020 Share Posted August 14, 2020 We're looking into this. Thanks for reporting. 1 Link to comment Share on other sites More sharing options...
striker008 2 Posted November 15, 2020 Share Posted November 15, 2020 (edited) This is still messed up with the restore part of the backup. I waited until it was done scanning from initial restore and now the page shows triplicate libraries. In settings, if I delete one, it deletes them all. Normally, wouldn't be an issue to just dump the libraries and re-create them. However, I have 5tb gmount and every full library scan uses about 400gb of my comcast limited data. Anyway I can get rid of the duplicates without dumping the libraries? Edited November 15, 2020 by striker008 Link to comment Share on other sites More sharing options...
Carlo 4328 Posted November 15, 2020 Share Posted November 15, 2020 Can you rename each library to a different name? Link to comment Share on other sites More sharing options...
striker008 2 Posted November 26, 2020 Share Posted November 26, 2020 I literally rename one and all three get renamed Link to comment Share on other sites More sharing options...
Recommended Posts
Posted by Sekers,
Possibly helpful workaround
Recommended by Happy2Play
2 reactions
Go to this post
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