007revad / Synology_app_mover

Easily move Synology packages from 1 volume to another volume
MIT License
278 stars 23 forks source link

App settings lost when moving Drive Server #103

Open RealLarwood opened 1 month ago

RealLarwood commented 1 month ago

I'm not sure if what happened is a freak incident or a persistent issue, as I only encountered it once, but I think I should report it anyway.

I moved Drive Server and everything appeared to go fine with the script, the app did move to the other volume, but when I opened the admin console all the settings were gone. It had no team folder configured, the database showed 0 bytes used for versioning (should be several GB), clients had been forgotten, it was as if the app had just been installed for the first time.

Moving the app back to the original volume did not fix the issue, but restoring from Hyper Backup did.

After restoring from backup I tried again, but this time I moved the database to the new volume before running the script, and this time everything went smoothly. No idea if that's the reason or if it's just a coincidence.

This was moving from an ext4 volume to btrfs. All other apps moved without issue. DSM 7.2.1.

bglf83 commented 1 week ago

I will try restoring with Hyperbackup but all my applications except Driver Server migrated correctly. I am on 7.2.2.

I also found this reference in other searches.

"If you are moving Synology Drive it appears you need to move the synology drives database from with in the Drive admin console before moving any files for the application from one volume to another."

007revad commented 1 week ago

"If you are moving Synology Drive it appears you need to move the synology drives database from with in the Drive admin console before moving any files for the application from one volume to another."

@bglf83 Did you move the synology drives database from with in the Drive admin console before using the script to move the Synology Drive package?

I'll do some experiments.