Automatic Update Failing

Status
Not open for further replies.

David Searles

Forum User
Basic Certified
Joined
Mar 19, 2019
Messages
53
Reaction score
16
Hi,

I've been having this trouble for a month or so (just getting round to having a look at it).

Each night about 10 of my hosted 3CX systems fail to update.

The same thing happens if I try to update manually too...

This is the error log - see pretty obvious what the issue is, but does anyone have any advice on the best way to resolve?

Hit:1 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://downloads-global.3cx.com/downloads/debian stretch InRelease
Ign:4 http://repo.saltstack.com/apt/debian/9/amd64/archive/2019.2.0 stretch InRelease
Err:5 http://repo.saltstack.com/apt/debian/9/amd64/archive/2019.2.0 stretch Release
404 Not Found [IP: 143.204.192.38 80]
Ign:6 http://cdn-aws.deb.debian.org/debian stretch InRelease
Get:7 http://cdn-aws.deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Hit:8 http://cdn-aws.deb.debian.org/debian stretch Release
Reading package lists...
E: The repository 'http://repo.saltstack.com/apt/debian/9/amd64/archive/2019.2.0 stretch Release' does no longer have a Release file.
 
SSH to your instance (will need to do this per instance)

run this command

Code:
wget -O - https://downloads.3cx.com/downloads/misc/debianpatches/9/16/0/5/20200619-os-update.sh | bash
 
Many thanks indeed for that...

Has anyone managed to run this on a hosted EC2 instance? I just get a "you need to be root to run this script" error - even running:

sudo wget -O - https://downloads.3cx.com/downloads/misc/debianpatches/9/16/0/5/20200619-os-update.sh | bash
--2020-11-09 12:12:47-- https://downloads.3cx.com/downloads/misc/debianpatches/9/16/0/5/20200619-os-update.sh
Resolving downloads.3cx.com (downloads.3cx.com)... 151.80.125.73
Connecting to downloads.3cx.com (downloads.3cx.com)|151.80.125.73|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14738 (14K) [application/x-sh]
Saving to: ‘STDOUT’

- 100%[===================>] 14.39K --.-KB/s in 0s

2020-11-09 12:12:47 (501 MB/s) - written to stdout [14738/14738]

You have to be root to run the script
 
Yes you'll need to SSH in as root.

Never used AWS so couldnt tell you. Might be a question for Amazon Support.
 
Yeah, I was being a bit of an idiot - just needed to sudo -s :rolleyes:

All sorted now - many thanks for the input...
 
I have tried all advises in this forum to get rid of the error http://repo.saltstack.com/apt/debian/9/amd64/archive/2019.2.0 stretch Release does no longer have a release file, but none do work.

I can run the commands as above, but the result is that the old update is still present. If I look in the
/etc/apt/sources.list but here is no 2019 repo present at all, so nothing to put a # in front of?

Has anybody another tip as my version remains 16.0.619 and for half a year nothing can be updated...Really a pain as 3CX did ruin the environment and no clear manual to solve the problem they created!!!!

Hit:1 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://security.debian.org stretch/updates InRelease
Hit:5 http://downloads-global.3cx.com/downloads/debian stretch InRelease
Hit:6 http://deb.debian.org/debian stretch Release
Ign:7 http://repo.saltstack.com/apt/debian/9/amd64/archive/2019.2.0 stretch InRelease
Err:8 http://repo.saltstack.com/apt/debian/9/amd64/archive/2019.2.0 stretch Release
404 Not Found [IP: 13.224.78.4 80]
Reading package lists...
E: The repository 'http://repo.saltstack.com/apt/debian/9/amd64/archive/2019.2.0 stretch Release' does no longer have a Release file.
 

Attachments

  • 2020-11-22_22-30-15.jpg
    2020-11-22_22-30-15.jpg
    14.6 KB · Views: 2
Last edited:
@UnDutchable30 you have Buster repositories from what I can see in the screenshot.

Repositories don't need to be changed and when installing with the 3CX ISO you do not need to perform any changes to the OS itself. 3CX will take care of that.

The issue at hand was with a 3rd party repository going stale.

The command which you will need is:
wget -O - https://downloads.3cx.com/downloads/misc/debianpatches/9/16/0/5/20200619-os-update.sh | bash

You may need to sudo if you you aren't logged in as root.
 
Hi Nicolas,

The buster repositories where there from the OVH setup, I did not select/choose them.

I used now several times the wget command, but every time it does not result in anything, so for some reason this command is not sticky or does not run wel, despite it does not show any error.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,990
Messages
590,163
Members
164,926
Latest member
tohoken1