Hi there, wondering if someone can help... I have Sabnzbd running in a docker container on my Synology NAS - it's a DS718+ running DSM7 and my Sabnzbd version is 3.1.1.
The interface is showing an update available to 3.4.0, are there any step by step instructions available anywhere to do the upgrade and save settings, config, etc? I can see the new container available for download in the docker registry but not sure of the easiest way to upgrade... perhaps just to setup a new container and copy over the settings file so it retains all my information?
I'm used to running pretty seamless updates in Windows but am struggling with the process since I've got it running on the NAS. Any help would be most appreciated.
Sabnzbd upgrade in docker on Synology NAS (Docker)
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
-
- Newbie
- Posts: 3
- Joined: September 21st, 2021, 4:33 am
Re: Sabnzbd upgrade in docker on Synology NAS (Docker)
It's essential that you're using Docker, so I've put that in the title.
The docker upgrade process should just update the docker container, and keep your settings ... those settings are outside the docker container.
The docker upgrade process should just update the docker container, and keep your settings ... those settings are outside the docker container.
-
- Newbie
- Posts: 3
- Joined: September 21st, 2021, 4:33 am
Re: Sabnzbd upgrade in docker on Synology NAS (Docker)
Ok it looks like I've went with the defaults, and as far as I can tell the config files seem to be located inside the container...
When I ssh into the NAS it shows the sabnzbd.ini file under volume1/docker/sabnzbd, does this mean that if I upgrade the container in docker it will blow away the settings I have?
Sorry if this is obvious... I'm new to using this and don't want to upgrade losing what I already have set up.
When I ssh into the NAS it shows the sabnzbd.ini file under volume1/docker/sabnzbd, does this mean that if I upgrade the container in docker it will blow away the settings I have?
Sorry if this is obvious... I'm new to using this and don't want to upgrade losing what I already have set up.
-
- Newbie
- Posts: 3
- Joined: September 21st, 2021, 4:33 am
Re: Sabnzbd upgrade in docker on Synology NAS (Docker)
Anyone any further information to help... I guess worst case I just upgrade and lose all the settings and re-enter them. Would copying the docker/sabnzbd folder off the nas and restoring it in the new container do the trick... it contains the admin folder, logs, as well as the sabnzbd.ini in the root.
Re: Sabnzbd upgrade in docker on Synology NAS (Docker)
I have nothing else to say than viewtopic.php?p=125735#p125735
By making the step, you'll find out how/if it works.
Well, if you say so, my statement is not true. And if you're correct, the whole point of docker is gone. So make up your mind.as far as I can tell the config files seem to be located inside the container...
Indeed. So you have to determine yourself: it is worth the risk?I guess worst case I just upgrade and lose all the settings and re-enter them.
By making the step, you'll find out how/if it works.
Re: Sabnzbd upgrade in docker on Synology NAS (Docker)
To update to a new image of SABNZBD on Synology and retain all your settings do the following.....
Open Docker
Click on the Container tab
In the Container tab click on your current Sabnzbd container
Stop the currently running (old) version of Sabnzbd "Action / Stop"
Click "Edit"
Rename the container i.e. Sabnzbd-Backup
Select the "Sabnzbd-Backup" entry
Click "Settings"
Click "Duplicate Settings"
Enter your new container name i.e. "Sabnzbd" which will create a new container for your new updated image
Click "Apply"
Click on the Docker Registry tab
Search for the new image i.e. "Sabnzbd"
Double click the image you need and it will download, overwriting the old image
Click the "Container" Tab
Start the new "Sabnzbd" container which should start with all previous settings intact and using the new downloaded image
I think in theory you can skip the container backup step and just download / update the image from the registry however better to be safe than sorry!
Open Docker
Click on the Container tab
In the Container tab click on your current Sabnzbd container
Stop the currently running (old) version of Sabnzbd "Action / Stop"
Click "Edit"
Rename the container i.e. Sabnzbd-Backup
Select the "Sabnzbd-Backup" entry
Click "Settings"
Click "Duplicate Settings"
Enter your new container name i.e. "Sabnzbd" which will create a new container for your new updated image
Click "Apply"
Click on the Docker Registry tab
Search for the new image i.e. "Sabnzbd"
Double click the image you need and it will download, overwriting the old image
Click the "Container" Tab
Start the new "Sabnzbd" container which should start with all previous settings intact and using the new downloaded image
I think in theory you can skip the container backup step and just download / update the image from the registry however better to be safe than sorry!
-
- Newbie
- Posts: 1
- Joined: November 28th, 2021, 4:08 pm
Re: Sabnzbd upgrade in docker on Synology NAS (Docker)
This worked well for me with one exception. When I duplicated the settings, it set the port(s) to Auto in the new container, since the old container (sabnzbd-backup) was still configured with those ports. So when you run the new container, you won't be able to reach it at the old port. Either 1) change the ports on the old container and then edit the new container and put the proper ports in, or 2) just blow away the old container and put the correct ports in the new container.Mandarin wrote: ↑October 30th, 2021, 11:07 am To update to a new image of SABNZBD on Synology and retain all your settings do the following.....
<snip>
I think in theory you can skip the container backup step and just download / update the image from the registry however better to be safe than sorry!