DSM: install always restores from existing backup

Post your Server Bug Report
User avatar
Matt Zornig
Contributor
Contributor
Posts: 242
Joined: 14 Feb 2017, 12:03
Has thanked: 38 times
Been thanked: 28 times

DSM: install always restores from existing backup

Unread post 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.
User avatar
Matt Zornig
Contributor
Contributor
Posts: 242
Joined: 14 Feb 2017, 12:03
Has thanked: 38 times
Been thanked: 28 times

DSM: deinstall always backups files to public folder

Unread post 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.
Post Reply