V20 Upgrade - Self Hosted via MS Azure Issue

georgeic

Silver Partner
Advanced Certified
Joined
Nov 30, 2022
Messages
4
Reaction score
0
Hello all,

I've just tried to upgrade 3cx from v18 to v20, after making sure I have actioned the important checklist items (2GB RAM + 2 vCPUs, System Owner etc...). We seem to get the following error that stands out from the logs:

"result": "aborted",
"time": "15-10-2024 18:30:05",
"title": "Source/repository problem detected",
"message": "A preflight check of the current sources/repositories indicated that there is an issue upgrading to Debian 11. The upgrade aborted to prevent failure."
}
[31m[18:30] aborted: Source/repository problem detected

This is a normal installation of 3cx on a linux VM via Microsoft Azure, so I am not sure what could be causing this Source/Repository problem. Has anyone had any experience with this error? We have a bunch more Self hosted systems to upgrade, and we were hoping this would be a smooth operation...

Thanks.
 
Having similar/same issue, same install, MS Azure Debian installed via Marketplace template trying to upgrade from v18 to v20. Looks like the issue is with:
The repository 'https://packages.microsoft.com/debian/10/prod bullseye Release' does not have a Release file
Can this can be resolved by removing this? Not sure where it is located and best way to "remove".
 
  • Like
Reactions: georgeic
Use this command to display the list of sources.
Bash:
sudo grep -r '^deb ' /etc/apt/sources.list /etc/apt/sources.list.d/ | awk -F: 'BEGIN { print "\n———————" } $1 != lastfile { if (lastfile) print "[/LIST]"; print "[b]" $1 ":[/b]\n[LIST]"; lastfile=$1 } { sub($1 ":", ""); print "  [*] " $0 } END { print "[/LIST]\n———————\n" }'
Copy the list and share it here.
 
Hi Guillaume,

Sure. Thanks for the help. Here's the list:

/etc/apt/sources.list:
/etc/apt/sources.list.d/microsoft-prod.list:
/etc/apt/sources.list.d/3cxpbx-testing.list:
  • deb [arch=amd64 by-hash=yes signed-by=/usr/share/keyrings/3cx-archive-keyring.gpg] http://repo.3cx.com/3cx buster-testing main
/etc/apt/sources.list.d/3cxpbx.list:
  • deb [arch=amd64 by-hash=yes signed-by=/usr/share/keyrings/3cx-archive-keyring.gpg] http://repo.3cx.com/3cx buster main
 
Hi All,
I've run into this issue on a ESXi VM same error in the logs, anyone got a solution? I also not I can't ping the location its trying to access on multiple ISPs "packages.microsoft.com" but can access the following seems the path may be incorrect in the config.

https://packages.microsoft.com/debian/10/prod/dists/buster/main/

Missing the dist folder
 
Hi Guillaume,

Sure. Thanks for the help. Here's the list:

/etc/apt/sources.list:
/etc/apt/sources.list.d/microsoft-prod.list:
/etc/apt/sources.list.d/3cxpbx-testing.list:
  • deb [arch=amd64 by-hash=yes signed-by=/usr/share/keyrings/3cx-archive-keyring.gpg] http://repo.3cx.com/3cx buster-testing main
/etc/apt/sources.list.d/3cxpbx.list:
  • deb [arch=amd64 by-hash=yes signed-by=/usr/share/keyrings/3cx-archive-keyring.gpg] http://repo.3cx.com/3cx buster main

Hi all,

Just bumping this. If anyone has any clues that would be appreciated.

Thanks
 
I managed to resolve the issue by going into the repo list - /etc/apt/sources.list.d/microsoft-prod.list
and commenting out the troublesome MS repo and re-running the upgrade in the admin console and it went through and upgraded as normal.
 
  • Like
Reactions: georgeic

Forum statistics

Threads
111,956
Messages
589,928
Members
164,861
Latest member
LewisJC