Solved 3CX on raspberry pi4 version 16 update it to version 18

Status
Not open for further replies.

Hoygen

Bronze Partner
Advanced Certified
Joined
Dec 21, 2021
Messages
7
Reaction score
1
Hello,
I have a raspberry pi4 with debian version 10.9
kernel 5.10.17-v7l+ #1403
Arch armv7l

I can not phisically access that raspberry, I can interact with it only using SSH or webconsole https.
3CX is still at version 16.0.16
apt sources list are like this:

/etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

/etc/apt/sources.list.d/3cxpbx.list
deb http://downloads-global.3cx.com/downloads/debian buster main

/etc/apt/sources.list.d/3cxpbx-testing.list
deb [arch=armhf] http://downloads-global.3cx.com/downloads/debian buster-testing main

I was thinking, since i have a backup, in order to upgrade, should I do a purge of 3cx, and then what repository should I keep and install 3cx from?
Will then be possible to continue the install telling 3cx to use the backup to progress like it happens on windows?
Kindest Regards
 
Last edited:
Ideally, what we recommend is to reflash the SD to also get a clean OS config. Since you don't have physical access to the Pi though, you would have to indeed purge 3CX and re-install to get v18. Just make sure you've download the backup file from the pi before you begin:

1. Uninstall 3CX with:
apt remove 3cxpbx --purge
apt remove postgresql --purge
apt remove nginx --purge
apt autoremove
apt autoclean

2. Update:
apt update

3. To install use step 5.2 in our guide: https://www.3cx.com/docs/installing-pbx-raspberry-pi/

4. Use the backup to restore during the installation.
 
  • Like
Reactions: Hoygen
Hello,

thank you for your kind answer.

It worked.

After a week of testing I can say that there are some problems with the stability, I had to restart the server in two different occasions.

I was checking the list of the updatable packages to figure out if there was something that needed an advancement.

Would you recommend an apt upgrade?

Regards
 
What stability issues wold you be referring to?
 
  • Like
Reactions: Hoygen
Hi, thanks, for two times it happened that when there was an outgoing call, the app complained "internal server error". But after logging in the web consolle and restarting the database server I did not receive any other complaints.
Just asking to be sure if I should check to have the system in the raspberry fully updated with a sudo apt update && sudo apt upgrade .
 
The 3CX Apps don't use the SBC at all, the SBC is only useful to connect remote IP Phones and FXS devices.

All Apps communicate directly with your 3CX Server without going via the SBC.
 
never talked about an sbc. just to clear eventual confusion: the raspberry is the 3cx server.
 
Your absolutely right, my bad.

"Internal Server Error" is usually an error that is seen if the Management Console service has stopped for whatever reason. Restarting the DB service also restarts this service, so that is why it recovered after this.

Monitor this to see if it happens again, it shouldn't though.
 
Not happened again, so i guess it is safe to consider it a successful upgrade.
thanks
 
  • Like
Reactions: ChrisC_3CX
Glad to hear this got sorted!

Do let us know if anything changes by starting a new post!
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet