chrismallia 12 Posted September 11, 2021 Posted September 11, 2021 Hi, I have moved my dockers to my zpool drives from my main OS drive, I edit all docker compose config to point to the new location, all dockers are back up and working fine, but emby server does not come up, the docker container builds fine and says running but I cant access emby. Any Ideas if emby docker can be moved? Thanks Oh and I cant provident think logs as emby is not starting.
mastrmind11 722 Posted September 11, 2021 Posted September 11, 2021 1 hour ago, chrismallia said: Hi, I have moved my dockers to my zpool drives from my main OS drive, I edit all docker compose config to point to the new location, all dockers are back up and working fine, but emby server does not come up, the docker container builds fine and says running but I cant access emby. Any Ideas if emby docker can be moved? Thanks Oh and I cant provident think logs as emby is not starting. what do you mean you moved your dockers? what did you move?
chrismallia 12 Posted September 11, 2021 Author Posted September 11, 2021 (edited) 3 hours ago, mastrmind11 said: what do you mean you moved your dockers? what did you move? I moved the docker directory (where docker apps are ), then in the config compose file I change the path container_name: emby network_mode: proxynet environment: - PUID=1000 - PGID=1000 - TZ=Europe/ volumes: > - /home/docker/emby/library:/config < (changed it to /storage where the new volume has moved) - /storage/Media:/data/Media - /opt/vc/lib:/opt/vc/lib #optional ports: - 8096:8096 - 8920:8920 restart: unless-stopped Edited September 11, 2021 by chrismallia
mastrmind11 722 Posted September 12, 2021 Posted September 12, 2021 see if you can find some system logs for when you bring everything up. dmesg or whatever. also can you shell into your emby container?
chrismallia 12 Posted September 12, 2021 Author Posted September 12, 2021 2 hours ago, mastrmind11 said: see if you can find some system logs for when you bring everything up. dmesg or whatever. also can you shell into your emby container? I re mapped the volume to /home (where the old directory is still there( and emby came back up, so something in emby is not liking the drive change, here are logs I have when emby came back up, I do not know if emby logs anything from the problem. as for the shell I dont know, I would have to change the path again to /storage, I would have to do this again as I need everything off the main drive, I hope I wouldn't have to re install emby just to move it, as other docker moved and work fine. embyserver.txt
mastrmind11 722 Posted September 12, 2021 Posted September 12, 2021 4 hours ago, chrismallia said: I re mapped the volume to /home (where the old directory is still there( and emby came back up, so something in emby is not liking the drive change, here are logs I have when emby came back up, I do not know if emby logs anything from the problem. as for the shell I dont know, I would have to change the path again to /storage, I would have to do this again as I need everything off the main drive, I hope I wouldn't have to re install emby just to move it, as other docker moved and work fine. embyserver.txt 959.87 kB · 2 downloads nah you should just have to repoint to your movd config directory in your run/compose file. weird, i'm not sure.
chrismallia 12 Posted September 13, 2021 Author Posted September 13, 2021 (edited) 26 minutes ago, Luke said: Hi @chrismallia has this helped? Thanks for the reply. Problem still happens when I point the compose config to new directory location, it seams like you cant migrate emby directory, maybe its due to product key license ? if you need more info I would be happy to provide, I wish to be able to make this work, I cant get why all other dockers work fine and emby does not come up, but when I point the config back to the old directory it comes back up. the way I did it (ubun tu server) sudo docker stop emby sudo cp -R /home/docker/emby /storage/docker sudo nano docker-compose.yml replaced volume /home with /storage save sudo docker-compose up -d Edited September 13, 2021 by chrismallia
chrismallia 12 Posted September 13, 2021 Author Posted September 13, 2021 @Luke I managed to get logs from the emby container, I can see some errors but you might see whats going on. emby docker logs.txt
Q-Droid 989 Posted September 13, 2021 Posted September 13, 2021 When you copy/move/relocate the emby config path you MUST preserve ownership and permissions. Your log is full of access errors. 1 1
chrismallia 12 Posted September 14, 2021 Author Posted September 14, 2021 6 hours ago, Q-Droid said: When you copy/move/relocate the emby config path you MUST preserve ownership and permissions. Your log is full of access errors. Hey thank you sooo much. that was the problem. I now used rsync -a and permissions and ownerships where preserved correctly, emby is working great now. Thanks again. 2
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