Jump to content

Changing Path of Library to new one without Rescanning


Recommended Posts

Posted

Ahh OK , I will try.

Thanks!

Posted

I also had to adapt user and pw in item extra data.

In general, the replacement works.

Unfortunately, I had user access problems afterwards. Don't ask me why ?!

some series and movies where missing, so I removed the path. An error message popped up. Also re assignment of the path now does not work anymore because I have not the right user rights?!

Posted

Fu..

Now I chrashed soemthing and also the backup does not work anymore .....

Not good.

 

I will now reinstall a full backup

Posted

So now 4 GB to delete and restore, then unfortunatly the rescan of all libraries.

Greetings

Juro

Happy2Play
Posted

Have no idea of everything you are changing but this is one reason I save everything with media as everything is alway available.

Have only don't db changes on test systems that don't store with media.  But have not run into any issues with path changes in my tests.

tedfroop21
Posted

Silly suggestion?  Why not edit fstab and name your old /mnt/movies to /mnt/old_movies and your new drive to /mnt/movies, since you can name the mount point name to whatever you want?  

If your folder structures are the same,  shutdown Emby, make the changes to fstab,  run "sudo mount -a" to mount everything and when you turn Emby back on it won't know anything has changed....

Posted

Because the IP /domain where the external USB was connected to has also changed. Moved the drive from a shield to the raspberry directly.

 

However this was a total nightmare for me. I don't know what went wrong. I had many error messages and at the end a corrupt installation. Also the restoring of a local backup did not went well. After the restore emby server did not start. So I had to reinstall emby. 

Now I have my old status and now re scan 😐 and waiting for days.

Changing Path of Library for me a valid use case which should be supported by standard @Luke

This is not the last time I change my media paths. I have many project with different machines where I test. Next project is to move everting or split Home assistant and emby ?! It would be better if I bought a PI 5 to have more power and have the possibility of transcoding. Maybe now a mini PC with more power then a PI4. Have already one but this one is an oversized with I5 with 16 GB RAM. too much ... 5-10 W in idle. I am looking for a Dell wyse 5070 with a Celeron CPU and passive cooling. 3-5 W in idle.

  • Thanks 1
  • 1 year later...
_NAME_
Posted (edited)

My solution for a similar problem - maybe this helps someone!

I wanted to move my Emby Server from my Synology NAS (because of better transcoding performance) to an Ubuntu server (virtual machine) that already runs multiple Docker containers. All my media should remain on the NAS and will be accessed via NFS.

1. I made a backup of everything inside Emby's /config folder on my NAS and copied it over to the Emby /config folder on my Ubuntu server.
2. I mounted the NFT share on my NAS to /mnt/nas/video on the Ubuntu server.
3. In docker-compose.yml I just defined a volume (/volume1/video) which is the same as it used to be on my NAS.

This way I did not need to change anything inside the Emby DB. Even if I should move my media to a new location, I just need to update the docker volume entry.

Here's the docker-compose.yml
 

  emby:
    image: emby/embyserver:latest
    container_name: embyserver
    network_mode: host 
    environment:
      - UID=1000
      - GID=1000
      - GIDLIST=123 # Matches 'render' group ID
    volumes:
      - /opt/emby/config:/config
      - /mnt/nas/video:/volume1/video
    devices:
      - /dev/dri/renderD129:/dev/dri/renderD129 # Direct path to the Iris Xe
    restart: unless-stopped

 

Edited by _NAME_
  • Thanks 1

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...