007revad / Synology_app_mover

Easily move Synology packages from 1 volume to another volume
MIT License
180 stars 16 forks source link

Failed to Move or Backup Docker, package & container hosed after attempt; custom config / possible edge case #82

Open DanBurkhardt opened 3 weeks ago

DanBurkhardt commented 3 weeks ago

I ran this application last today to move one of the official synology apps and it worked great-- but when I tried to move the Docker package, it threw an error (line 388) without much in the way of details.

Subsequent attempts to either move or backup Docker (installed normally via package center) either failed, or just hung.. but I couldn't tell if it was working or not.

Some context that might be helpful:

In any case, when I stopped the tool and tried starting Docker from the package center, it failed to start. Installation seems like it is hosed now, all containers lost.

Seems like the private docker container could be an edgy case, idk. I see Docker is on the verified package list

DanBurkhardt commented 3 weeks ago

Though the Docker package initially failed after the first attempt to move / back it up, it seems to have kicked back on and it working fine.

Sounds like this is more related to lack of progress indication, since Docker can have tons of data from images / containers.

Would rec some evaluation of the total file size of a move / backup operation prior to starting it, and above a certain limit (maybe 1gb?) start a progress indicator, otherwise it looks to me like the script is just hanging, and I quit early instead of waiting.

007revad commented 3 weeks ago

There is a progstatus function (on line 325) that calls a progbar function (on oine 307) that shows a progress bar of dots at the end of each line that's printed.

Like the following (except it's done on 1 row), incrementing every 0.2 seconds

Moving @docker to volume2 .
Moving @docker to volume2 ..
Moving @docker to volume2 ...
Moving @docker to volume2 ....
Moving @docker to volume2 .....
Moving @docker to volume2 ......
Moving @docker to volume2 .......

If/when the progress bar gets to column 80 it starts again.

Did you not see the progress dots at all for any process?

DanBurkhardt commented 3 weeks ago

Nope, no process ever showed a progress bar like that. Personally though I would prefer a percentage representation for more accurate monitoring.

On Jun 28, 2024, at 6:37 AM, Dave Russell @.***> wrote:

There is a progstatus function (on line 325) that calls a progbar function (on oine 307) that shows a progress bar of dots at the end of each line that's printed.

Like the following (except it's done on 1 row), incrementing every 0.2 seconds

Moving @docker to volume2 . Moving @docker to volume2 .. Moving @docker to volume2 ... Moving @docker to volume2 .... Moving @docker to volume2 ..... Moving @docker to volume2 ...... Moving @docker to volume2 ....... If/when the progress bar gets to column 80 it starts again.

Did you not see the progress dots at all for any process?

— Reply to this email directly, view it on GitHub https://github.com/007revad/Synology_app_mover/issues/82#issuecomment-2196604807, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADK5RWQOVKN2PD5AZKQDS43ZJU4FRAVCNFSM6AAAAABKBK7HY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWGYYDIOBQG4. You are receiving this because you authored the thread.

007revad commented 3 weeks ago

So you didn't notice the little ... like in this video? https://github.com/007revad/Synology_app_mover#video

DanBurkhardt commented 3 weeks ago

Buddy, I’m telling you, it did not work on my system. Just didn’t happen, no “…”. I’m just telling you my experience. Not at my machine right now, but I can post a screenshot or a video whenever I get access to it again.On Jun 28, 2024, at 9:37 AM, Dave Russell @.***> wrote: So you didn't notice the little ... like in this video? https://github.com/007revad/Synology_app_mover#video

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>