007revad / Synology_app_mover

Easily move Synology packages from 1 volume to another volume
MIT License
413 stars 26 forks source link

Docker error need urgent help #139

Open BlackJoker90 opened 1 day ago

BlackJoker90 commented 1 day ago

I recently moved the Container Manager from Volume1 to Volume2, following the official instructions step by step. However, I am now experiencing several critical issues. While I managed to update the paths for some containers and successfully started them (as shown in the attached screenshot), many other containers are failing to start or adjust.

One of the most critical containers, Paperless-NGX, refuses to start, and I am encountering various error messages for different containers. When I try to deploy the stack in portainer nothing happens. In the Container Manager in DSM the Log says the Container is marked to removal and cannot be startet.

image

007revad commented 23 hours ago

That's a LOT of broken containers. Were there any errors from the script when you ran it?

Are both volume1 and volume2 btrfs? Or both ext4?

The orphaned containers script ( https://github.com/007revad/Synology_docker_cleanup ) should remove the broken containers and images. But make sure you have a backup of all your docker compose files - just in case something that is currently working gets removed. If I remember correctly you should have all the working containers running so their images don't get deleted.

BlackJoker90 commented 19 hours ago

No errors occurred in the script; everything ran smoothly. After hours of work, I restored a Hyper Backup of my Docker folder, reinstalled the Container Manager on Volume1, and recreated all containers. Both are btrfs

However, two issues remain:

  1. I cannot delete the @docker folder on Volume2, even with sudo via SSH.
  2. I attempted to move only my Paperless NGX instance to the SSD, but the Redis broker failed to start.

Can we resolve these two issues?

BlackJoker90 commented 19 hours ago

I was able to solve the first problem with the folder after I unmounted the docker volumes but I would be very happy to solve the paperless ngx redis problem

007revad commented 2 hours ago

I didn't even know what Paperless NGX or redis were until a minute ago.

Does your Paperless NGX docker compose look anything like these: https://github.com/paperless-ngx/paperless-ngx/tree/main/docker/compose