HI all,
I tested the updgrade script a few months back and all went well and then last week I went do test once more before upgrading my production unit and it failed saying it cannot find packages.
I know that I am really late in doing this but is there any way to go from 4.2.0-3 to current version without a backup and restore?
Or am I better just doing a backup and restore?
Is this as simple as backing up the 4.0, installing debian 12 on new VM and running VitalPBX install script and then restore backup? Does it restore licence etc as well?
Can you please share the errors? It worked for me two weeks ago.
Hi there, I should be in the office in a couple of hours so I will do then. Something about missing things in repositories bookworm something ..
I tried it again yesterday in my test system and it works so I will push ahead and upgrade over the weekend.
Weird as before it was complaining about missing repositories for
deb http://deb.debian.org/debian bookworm-backports main
deb-src http://deb.debian.org/debian bookworm-backports main
OK, I just cloned my server again to a temp server and ran the script and got the same error.
[INFO] Updating Debian Bullseye to the latest available version...
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Ign:3 http://deb.debian.org/debian bullseye-backports InRelease
Get:4 http://security.debian.org/debian-security bullseye-security InRelease [27.2 kB]
Err:5 http://deb.debian.org/debian bullseye-backports Release
404 Not Found [IP: 199.232.138.132 80]
Hit:6 https://repo.vitalpbx.com/vitalpbx/v4/apt/audios stable InRelease
Hit:7 https://repo.vitalpbx.com/vitalpbx/v4/apt/base stable InRelease
Hit:8 https://repo.vitalpbx.com/vitalpbx/v4/apt/core stable InRelease
Hit:9 https://repo.vitalpbx.com/vitalpbx/v4/apt/extras stable InRelease
Reading package lists... Done
E: The repository 'http://deb.debian.org/debian bullseye-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@temp-pbx:~#
For anyone else coming across this issue. You just need to open /etc/apt/sources.list and comment out the bookworm-backports lines.
root@temp-pbx:~# cat /etc/apt/sources.list
deb http://deb.debian.org/debian bookworm main
deb-src http://deb.debian.org/debian bookworm main
deb http://security.debian.org/debian-security bookworm-security main
deb-src http://security.debian.org/debian-security bookworm-security main
deb http://deb.debian.org/debian bookworm-updates main
deb-src http://deb.debian.org/debian bookworm-updates main
#deb http://deb.debian.org/debian bookworm-backports main
#deb-src http://deb.debian.org/debian bookworm-backports main
Then run script and relax.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.