Welcome to crosstalk solutions: my name is Chris, and this is free. Pbx 101 for free PBX version 14. This is video 9, where we’re gon na be talking about a system updates. So the first question that I get on a very regular basis is Chris. How often should I be updating free PBX and what I tell most people, assuming that you are secured and you’re not directly connected to the internet, I would say updating about once a month is appropriate.
However, if you are directly connected to the Internet, you probably want to run your updates as soon as possible when they come out just to make sure that there’s no, you know security exploits that have been patched or anything like that. So, first of all, don’t put your server directly on the Internet to begin with, but if it is run your updates very quickly after they come out. There are two types of updates in free PBX. There are system updates. So that’s your back-end updates, the core operating system updates, the Linux updates, etc, and then there are the free, PBX updates, which are the modules such as your extensions, your voicemail, all of the little bits of software within free PBX.
Now you can think of this very much like Windows right if you’re a Windows user, you have Windows updates, which updates the operating system, and then you have all of your programs that are installed in Windows and those periodically need to be updated as well. Well, free PBX is just a program, that’s installed on to an operating system, and so it has a separate set of updates from the operating system. Ok, so let’s hop right into it. Here I am at the free PBX dashboard and we can see that I have this message down here. That says there are 58 modules available for online upgrade so to get to our updates.
We want to go to admin and then pull it all the way down to updates. So here’s our summary. We can see that modules with upgrades. It says there’s 62 available actually instead of 58 and then system upgrades available 58. So modules are the free PBX software upgrades system upgrades.
Are the Linux the back end operating system upgrades okay, so the scheduler and alerts tab allows you to set up free PBX to automatically update itself. Now I personally never run it this way. I do have it notify me via email when updates are available, but I don’t actually let the system update itself I like to have control over that. You know your mileage may vary. You might want to turn on the updates, but I’m always concerned that potentially an update comes out that break something, and I don’t know that the system updated.
And so then you know the phone system’s down or there’s a problem or whatever the case may be, and then it takes me awhile to figure out that there was an upgrade. I prefer to do the upgrades in a controlled environment. You know after hours when I can be sure that it’s not going to affect anything or if it does affect something. I can immediately respond to that and get it resolved. I’M gon na leave this on email only, but you can set up an email address to notify the system identifier, I think it says VoIP server by default.
You’Re gon na want to make that something unique, especially if you’re running multiple instances of free PBX. Okay. So, let’s do our module updates first, so for module updates. These are the free PBX updates. All you have to do is say check online, and this is now gon na reach out to sangomas central repository and it’s gon na say hey what updates do we have available and so as soon as this finishes checking online we’re going to get a list and Anything red is anything: that’s labeled red are updates that can be made to these modules, so we see the backup and restore module.
The blacklist module the bulk handler there’s a lot of updates that need to be done now. The free PBX guys are really good at keeping up and constantly developing software and coming out with updates to all of these modules, so about once a week you will get that upgrade notification again. I only run mine about once a month, but as you can see after a month, or so I mean there’s 62 upgrades available to these software packages, so if you want to just go ahead and blank it upgrade everything all you have to do is click. This upgrade all button and then just click process. That’S going to bring you to this other window here, and it says there are some errors within this selection, meaning that appointment reminder can be upgraded and the reason that these happen are because of dependencies right.
So basically, it’s saying that core can’t be upgraded until free PBX version has been upgraded to 14.0 3.13. Okay, I’m sorry free PBX version has to be updated to 1400 3.17 before core can be upgraded, and if we scroll down here, we should see that free PBX is being upgraded.
So here’s the framework. This is going to be upgraded as part of the first brush through these updates. Now, whenever you see errors like this, that are dependency errors that hey this needs to be updated first, then, you can update this package. You have to go through this update process multiple times until all of those errors are clear and everything has been properly updated. However, if you update free PBX through SSH, which I’m going to show you later in this video, that’s my preferred method of doing updates.
If you update through SSH instead, you don’t have to contend with these dependencies. It handles all of that automatically. So that’s why I like doing it an SSH. Instead, it just seems to work a lot better and you don’t have to run it multiple times. You just run it once, let it run and then you’re done so normally.
If I wanted to go ahead and upgrade, I would just hit confirm and that would upgrade all of these modules. In our case, though, I’m going to go back to my update section, because I’m going to show you how to do the update in SSH and that’s where I’m actually going to run the update okay. So now we’re gon na go admin updates, and now, let’s click on the fourth tab over here. This is the system updates. Now, if you’ve never checked, for what system updates are available, you’ll have a second button right here that says check online.
My button was moved. All the way to the bottom, because I already hit it once today and it found all of these packages here that need to be updated. These are the system updates the backend Linux updates that need to be performed. If you want to run these updates, all you have to do is just click update system and it will go through and process. All of these updates again, though, I personally like to run these updates through SS, so let’s go ahead and do that next, if you’re comfortable with the GUI, you can absolutely run all these updates through the GUI.
I personally like to do SSH just because it’s a little bit more efficient okay. So here I am an SSH now, of course, to log in with SSH we’ve covered that in previous videos, but you just bring up you know putty or your favorite SSH emulator. You log in with the root password and the default root. Password is sangoma but of course, hopefully you’ve changed that to something a lot stronger by now and once you log in if there are updates available, you should see this right here. So there are 58 system updates available, run yum update to update them.
Also, there are 58 PBX module updates available, so we’re gon na run commands to do both of those things. So it tells you what to run for these system updates. You have to run yum update, so let’s go ahead and do that first, yum update and now it’s going through and finding all of those same packages that need to be updated and then it’s just gon na process that, through it says, total download side size. 201 megabytes is this: okay, yes and enter, and so now it’s going to download and install 58 system updates. Okay, so all of those updates have now finished running that took about 10 minutes or so and now we’re going to move on to the free PBX module updates.
I don’t think there’s any particular order that you have to do those in the system updates or the free PBX free, PBX updates. It can be kind of either/or. I just always personally like to run the system updates first and then I follow up with the three PBX updates. Okay, so to run the free PBX updates, we’re going to use a command called FW console and that is sort of a back end command that lets. You do a ton of things with free PBX through the command line, and one of the things you can do is FW console space ma for module admin and then space upgrade all now this command I’m going to go ahead and run it.
This will again, it will go through. It will check online, it will see which modules need to be upgraded, including their dependencies, and it will fire through that entire list. So again, I’m gon na let this run and then, when it’s finished I will come back and we will talk about it. Okay, so those updates are all done that took about half an hour to run. All of those updates so just keep in mind that it may take a while from time to time, usually it’s about 10 to 15 minutes.
This one was a little bit longer, probably because it’s been a little bit longer since I’ve run updates. However, it did remind me there’s one other reason that I liked using the SSH method over the graphical user interface and that’s that when you’re using the graphical interface, you don’t get a lot of feedback. It’S just kind of you know thinking and it’s doing its thing and it’s running fur. You know potentially half an hour long. So with the essence H method, you actually get a very verbose, a readout of what’s happening.
It tells you exactly what module is being updated. The other things that are being updated, etc. So you can see that it’s still working the entire time. There’S! No second guessing there’s!
No, you know canceling and then you know we’re having to restart the updates or anything like that. So again, you can do updates either way. I personally prefer SSH and I would encourage you to at least test it out if for nothing else, to give you some experience in the backend of free PBX. Ok! Well, I hope you guys enjoyed this video actually before we sign off.
Let’S go back to the dashboard there’s one final thing: we should probably do and that’s hit the apply config button. Now that we’ve run all of those updates. Ok, so welcome to free PBX and we’re just gon na hit apply config and then it should come back. Ok, ok! There we go now.
I do see a note here that says you have a disabled module. Let’S take a look at that. The following modules have been disabled because they need to be upgraded, sangoma CRM, so that means we probably just need to run our SSH command one more time, let’s go ahead and do that and it was successfully installed that took less than one minute. Okay, so we are all done there. Let’S go ahead and refresh this feed one more time and then we can see a system alerts, no critical issues found, so we are all up to date.
Okay, so there you go hope you enjoyed this video on how to update the free PBX system. Our next video we’re finally gon na get into trunking, okay, so SIP trunking pots lines PRI we’re gon na talk about all of that, so stay tuned for the next video hope you guys enjoyed this video. My name is Chris with crosstalk solutions. If you did enjoy the video, please give me a thumbs up and if you’d like to see more videos like this, please click subscribe. Thank you so much for watching [, Music, ]