Sonarr version (exact version): 2.0.0.4427 Mono version (if Sonarr is not running on Windows): 4.6.2.7-8 OS: DSM 6 ((Debug logs)): - Description of issue:
I needed to reinstall Sonarr as it always crashed 30 seconds after start. I downloaded the backup .zip-file to my local Windows PC.
After the reinstall all previous backups were deleted from my NAS, so i need a way to put my config.xml and nzbdrone.db into the folder “/usr/local/nzbdrone/var/.config/NzbDrone/”.
The owner of the folder is a user called “nzbdrone”.
I tried copying the files via SCP into the folder, but my admin-user always gets permission-errors.
I don’t know how to login with the “nzbdrone”-user as i didn’t specify a password for this user.
Looks like you had same issue I just had. If you see the link someone posted, it gives the steps. You will not be able to SCP the files as you need to do it sudo. I copied the two files to another location on the NAS, then copied them over to the sonarr directory. After that, chown them both to nzbdrone:users. Then start sonarr back up. This must be done via SSH. I was not able to get files over any other way. I was logged in as admin when I did all of this. I’m not a Linux guru so had to look it up and don’t remember. Currently not home so can’t help with that either but hopefully this points you in right direction.
Yeah i tried that.
I moved both the files to a temporary folder called “nzbdrone_backup2” and then used:```
sudo cp -r /tmp/nzbdrone_backup2/ /usr/local/nzbdrone/var/.config/NzbDrone/
But that didn't help. The files in the destination-folder were unaffected :/. It didn't overwrite them...