Cannot update from 3.1.1 to 3.4.2

Get help with all aspects of SABnzbd
Forum rules
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.
Post Reply
Lukeeexd
Newbie
Newbie
Posts: 7
Joined: January 22nd, 2022, 11:28 am

Cannot update from 3.1.1 to 3.4.2

Post by Lukeeexd »

Hi,

I installed sab with apt and I'm on version 3.1.1 but even if I git pull develop or master branch it will not update me.

My directory is /opt/sabnzbd and sab must run as the user "media" if I install sab again with git in a different directory and run with python I have the latest version, but this won't work because I've lost all my stats and it downloads the files as root and not media

If I cd to /opt/sabnzbd and update with git clone after moving to develop branch it seems to update. (I cant paste output because it thinks I'm posting links

But I'm still on 3.1.1. Has anyone got any ideas ?
User avatar
safihre
Administrator
Administrator
Posts: 5524
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Cannot update from 3.1.1 to 3.4.2

Post by safihre »

Have you used this? https://sabnzbd.org/wiki/installation/i ... buntu-repo
And what version of which OS are you on?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
n00b
Newbie
Newbie
Posts: 6
Joined: January 3rd, 2022, 11:54 am

Re: Cannot update from 3.1.1 to 3.4.2

Post by n00b »

I'm looking for some help too. I need to upgrade from 3.1.1 to 3.4.2 running on Debian 11. Any advice?
Lukeeexd
Newbie
Newbie
Posts: 7
Joined: January 22nd, 2022, 11:28 am

Re: Cannot update from 3.1.1 to 3.4.2

Post by Lukeeexd »

safihre wrote: January 22nd, 2022, 2:04 pm Have you used this?
And what version of which OS are you on?
I have not, I'm on debian 11. Would that work too?
User avatar
sander
Release Testers
Release Testers
Posts: 9079
Joined: January 22nd, 2008, 2:22 pm

Re: Cannot update from 3.1.1 to 3.4.2

Post by sander »

Lukeeexd wrote: January 22nd, 2022, 3:19 pm
safihre wrote: January 22nd, 2022, 2:04 pm Have you used this?
And what version of which OS are you on?
I have not, I'm on debian 11. Would that work too?
So you installed via Debian's apt, right?
If so, how can it have landed in /opt/sabnzbd? Maybe it's possible, but I don't know how. On my Ubuntu's and Debian's, it lands in /usr/bin/ and /usr/share/sabnzbdplus/. See https://packages.debian.org/bullseye/al ... s/filelist

EDIT: as https://packages.debian.org/sid/all/sab ... s/download is SAB 3.4.2, why not login as the user that is going to run SABnzbd, install SAB 3.4.2 as that user, and use it from there, and ignore (remove) stuff in /opt/sabnzbd. Seems easier to me

Or: if you want to use the git version, login as the user that use run SABnzbd, git clone SAB in to ~/sabnzbd, and use it from there?

EDIT: maybe this an option for you: Ubuntu is available for Raspi 4. If you run that, all the nice user-friendly features of Ubuntu (including SABnzbd and unrar-free) are there ready-made for you. See https://ubuntu.com/download/raspberry-pi
Lukeeexd
Newbie
Newbie
Posts: 7
Joined: January 22nd, 2022, 11:28 am

Re: Cannot update from 3.1.1 to 3.4.2

Post by Lukeeexd »

sander wrote: January 22nd, 2022, 4:50 pm
Lukeeexd wrote: January 22nd, 2022, 3:19 pm
safihre wrote: January 22nd, 2022, 2:04 pm Have you used this?
And what version of which OS are you on?
I have not, I'm on debian 11. Would that work too?
So you installed via Debian's apt, right?
If so, how can it have landed in /opt/sabnzbd? Maybe it's possible, but I don't know how. On my Ubuntu's and Debian's, it lands in /usr/bin/ and /usr/share/sabnzbdplus/. See

EDIT: as is SAB 3.4.2, why not login as the user that is going to run SABnzbd, install SAB 3.4.2 as that user, and use it from there, and ignore (remove) stuff in /opt/sabnzbd. Seems easier to me

Or: if you want to use the git version, login as the user that use run SABnzbd, git clone SAB in to ~/sabnzbd, and use it from there?

EDIT: maybe this an option for you: Ubuntu is available for Raspi 4. If you run that, all the nice user-friendly features of Ubuntu (including SABnzbd and unrar-free) are there ready-made for you. See
Not sure how it ended up in /opt. I do have some files in /usr/share/sabnzbd but not the same ones as in /opt. I guess I could try that link and install it as the media user
Lukeeexd
Newbie
Newbie
Posts: 7
Joined: January 22nd, 2022, 11:28 am

Re: Cannot update from 3.1.1 to 3.4.2

Post by Lukeeexd »

sander wrote: January 22nd, 2022, 4:50 pm
Lukeeexd wrote: January 22nd, 2022, 3:19 pm
safihre wrote: January 22nd, 2022, 2:04 pm Have you used this?
And what version of which OS are you on?
I have not, I'm on debian 11. Would that work too?
So you installed via Debian's apt, right?
If so, how can it have landed in /opt/sabnzbd? Maybe it's possible, but I don't know how. On my Ubuntu's and Debian's, it lands in /usr/bin/ and /usr/share/sabnzbdplus/. See https://packages.debian.org/bullseye/al ... s/filelist

EDIT: as https://packages.debian.org/sid/all/sab ... s/download is SAB 3.4.2, why not login as the user that is going to run SABnzbd, install SAB 3.4.2 as that user, and use it from there, and ignore (remove) stuff in /opt/sabnzbd. Seems easier to me

Or: if you want to use the git version, login as the user that use run SABnzbd, git clone SAB in to ~/sabnzbd, and use it from there?

EDIT: maybe this an option for you: Ubuntu is available for Raspi 4. If you run that, all the nice user-friendly features of Ubuntu (including SABnzbd and unrar-free) are there ready-made for you. See https://ubuntu.com/download/raspberry-pi
Thanks man, I got it by adding that repo you linked and doing apt install sabnzbd and it updated it for me. Appreciate it
Post Reply