Jump to content

Why does a full server restoration lead to broken images?


Go to solution Solved by VoidEmperor,

Recommended Posts

Posted

probably a permission error for that folder. make sure emby has access to the all the folders. just do a chown -R and chgrp -R with the user that is running emby

VoidEmperor
Posted
8 hours ago, guunter said:

probably a permission error for that folder. make sure emby has access to the all the folders. just do a chown -R and chgrp -R with the user that is running emby

Hi, it's not a permission issue - some images are showing up. It's not a cache issue either since the same broken images appear on every client.image.thumb.png.75bf284cbea2f1b5c875de16f06dbf4a.png

VoidEmperor
Posted

Hi @Luke

Please find the attached log. Just a heads up - my backup did not include metadata subfolders. I expected Emby to automatically download images from the internet.

embyserver_updated.txt

Posted
5 minutes ago, VoidEmperor said:

Hi @Luke

Please find the attached log. Just a heads up - my backup did not include metadata subfolders. I expected Emby to automatically download images from the internet.

embyserver_updated.txt 116.54 kB · 0 downloads

Hi, no, this does not happen following a restore from backup. What you can do to fix the broken images is run the scan metadata folder scheduled task. That is a good thing to do since you did not carry over all of the metadata subfolders.

Please note, this will only cleanup the broken  image icons. To actually look for new images on the internet you'll need to refresh metadata. So for the cast members of a movie, try refreshing the metadata on the movie.

VoidEmperor
Posted

Actually I wanted to know why the issue occurred after restoring from a backup and how can I prevent it in the future. I am asking because I am setting up a backup server in case my original one goes down for any reason, and I'd like to avoid any manual steps after restoring from a backup to minimize downtime for users.

To double check I tried restoring from a fresh backup on a clean installation but the issue remained the same.

  • Solution
VoidEmperor
Posted

The solution was to include the metadata folders in the backup. After that the restore didn’t cause broken images.

Happy2Play
Posted

Yep one has to manually clear the linked cast members in the database/Refresh metadata on every item (not positive if replace images is required as each person has an existing missing image)/or ensure you manually backup/restore the /metadata folder.

Since people are only gotten when media is imported it really has to be part of ones backup.  

Or your query the database to get every persons dbid and refresh each id but that has to be throttled as you will be spamming the providers api refreshing lots of people depending on the size of your library.  I think the last time I did this it took almost a week to refresh every person.

Posted

Yea we'll need to look at improving this. Thanks.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...