Page 1 of 1

DSM: install always restores from existing backup

Posted: 19 May 2018, 03:03
by Matt Zornig

Code: Select all

=========================================================================================
VERSION: MADSONIC 6.3 | BUILD: 9840.8df1ddd.20180107.0710
REST: MADSONIC REST API v3.0.0, MADSONIC REST API v2.8.0, SUBSONIC REST API v1.16.0
OS: Linux 3.10.102 #15266 SMP Mon Mar 26 15:08:28 CST 2018 x86_64 GNU/Linux
SERVER: jetty/8.y.z-SNAPSHOT, java 1.8.0_172, Linux 3.10.102 (amd64)
HOST: Synology NAS 1815+ (DSM 6.1.6-15266 Update 1) | CPU: INTEL Atom C2538| ARCH: X64 | MEMORY: 16GB | HDD: 36TB, RAID6
CLIENT/BROWSER: FF 53.x
JAVA: ORACLE JDK 1.8.0_172
DESCRIPTION: as in the topic's subject or body
REPRODUCIBLE: Yes
logged in as admin
=========================================================================================
If the user has uninstalled the package via the synology package manager and activated the backup checkbox, a backup was written to /volume1/public/Madsonic/*

If the user installs the package (again) and does not activate the restore checkbox, the backup is restored anyways.

the user needs to delete the files in /volume1/public/Madsonic/* to NOT have the backup restored.
Bildschirmfoto 2018-05-19 um 04.01.38.png
expected behaviour: backup is only restored, if user activates the checkbox.

DSM: deinstall always backups files to public folder

Posted: 20 May 2018, 23:06
by Matt Zornig
After deinstalling the Madsonic Package AND CHOOSING NO to backup, those files are written

Code: Select all

\\Server\public\Madsonic\db\madsonic.properties
\\Server\public\Madsonic\db\madsonic.script
\\Server\public\Madsonic\madsonic.properties
I guess, thats a bug too.
expected behaviour: respect the users choice.
Goodbye.