RichardDCG Posted January 25, 2023 Report Posted January 25, 2023 Failed update to 68.0.26 potentially due to disk space. I rebooted and now cannot log in, wont open web browser. SSH works ok. Quote
Vodia PBX Posted January 25, 2023 Report Posted January 25, 2023 Maybe the pbxctrl.dat file did not make it. You can easily copy this to the disk manually, the link is in http://portal.vodia.com/downloads/pbx/version-68.0.26.xml (e.g. wget http://portal.vodia.com/downloads/pbx/dat/pbxctrl-68.0.26.dat). Quote
RichardDCG Posted January 25, 2023 Author Report Posted January 25, 2023 I have a pbxctrl.dat and a pbxctrl-old.dat the 68.0.26 failed to install, I was on 68.0.24. Can I rename the -old.dat to the .dat? Quote
RichardDCG Posted January 25, 2023 Author Report Posted January 25, 2023 Can I reapply 68.0.24 via CLI? Quote
Vodia PBX Posted January 25, 2023 Report Posted January 25, 2023 1 hour ago, RichardDCG said: Can I reapply 68.0.24 via CLI? If you have made a file system backup, it is actually very easy to revert to the previous version — just revert the file system. And if you have not made a backup, its a good time to do it now. Yes the -old files are there to revert them back if the update fails. But you still need to be careful because there is guarantee that they match. You can use ./pbxctrl --version to find out what the executable version is. You can overwrite the pbxctrl (pbxctrl.exe for Windows) and the pbxctrl.dat. Just make sure that the pbxctrl is executable (chmod a+rx pbxctrl). The differences between 68.0.24 and 68.0.26 and very small and there should be no issue switching between those builds. Quote
RichardDCG Posted January 25, 2023 Author Report Posted January 25, 2023 root@ip-xxx-xxx-xxx-xxx:/usr/local/pbx# ./pbxctrl --version Version: 68.0.24 Debian64 Date: Oct 14 2022 No login page to access the PBX. Quote
Vodia PBX Posted January 25, 2023 Report Posted January 25, 2023 Well please make sure that the pbxctrl.dat is the one from http://portal.vodia.com/downloads/pbx/dat/pbxctrl-68.0.24.dat. If it is a different version this will be a problem. Quote
RichardDCG Posted January 25, 2023 Author Report Posted January 25, 2023 it is the 68.0.24 version the message on the browser is : pbx.domain.com refused to connect. Quote
Vodia PBX Posted January 26, 2023 Report Posted January 26, 2023 If it does not connect then the port seems to be closed. You can see that e.g. with netstat. It should obviously not happen. Maybe double check if the pbxctrl has the execute permission and the process is even running? You can always stop the service (e.g. /etc/init.d/pbx stop or just ps auxww|grep pbxctrl and then kill pid) and then start it manually (cd /usr/local/pbx; ./pbxctrl --no-daemon --log 9). Then you should see lots of error messages that should point to the problem. Quote
RichardDCG Posted January 26, 2023 Author Report Posted January 26, 2023 What seems to have happened was the CDR record was corrupted potentially by low disk space and we had a number of records with 1/1/1970. The low space failed the upgrade and then a reboot caused the system to not be able to be logged in for some reason. I ended up having to rebuild from scratch and copy folders back ... as soon as I copied the CDR folders it failed. So now the system is back up with no CDR history. Quote
Vodia PBX Posted January 27, 2023 Report Posted January 27, 2023 Well, running out of hard drive space is a major problem. We show the available space on the general status web page for a reason. The hard drive does not make a difference between CDR and actual configuration data, e.g. if writing the pbx.xml file fails the system will be in serious trouble after a restart. I would recommend to really make sure enough space is available, plus it is relatively cheap these days anyway. Quote
RichardDCG Posted January 27, 2023 Author Report Posted January 27, 2023 28 minutes ago, Vodia PBX said: Well, running out of hard drive space is a major problem. We show the available space on the general status web page for a reason. The hard drive does not make a difference between CDR and actual configuration data, e.g. if writing the pbx.xml file fails the system will be in serious trouble after a restart. I would recommend to really make sure enough space is available, plus it is relatively cheap these days anyway. I can see CPU and memory and keep an eye on those, but not HDD space on the status page. Am I missing something? Quote
mskenderian Posted January 27, 2023 Report Posted January 27, 2023 i use zabbix to monitor my servers for things like this. but maybe this should be included in notification, like when we get to 80% we get a warning email. Besides this issue, i wish the PBX would do checks, like disk space, like SSL, config errors, and display it on the top, as warning messages. Quote
RichardDCG Posted January 29, 2023 Author Report Posted January 29, 2023 If there is a HDD space graph I would be very interested in having it visible, how do I go about this? Quote
mskenderian Posted January 29, 2023 Report Posted January 29, 2023 It monitors everything you want. I even made a custom template in Zabbix to use Vodia API to get system stats and graph it. I just started using Zabbix to monitor Vodia ssl script, I have had many issue where it did not renew the cert. Zabbix.com Quote
RichardDCG Posted January 29, 2023 Author Report Posted January 29, 2023 On 1/27/2023 at 11:52 AM, Vodia PBX said: We show the available space on the general status web page for a reason. This seems to indicate it is already a feature? If so how do I enable it? Quote
Vodia PBX Posted January 30, 2023 Report Posted January 30, 2023 2 hours ago, RichardDCG said: This seems to indicate it is already a feature? If so how do I enable it? Well it is on the status page, not the graphs (it is not supposed to change much during 24 hours). Quote
RichardDCG Posted January 30, 2023 Author Report Posted January 30, 2023 19 minutes ago, Vodia PBX said: Well it is on the status page, not the graphs (it is not supposed to change much during 24 hours). I see it there. I get emailed a status report daily that I check, it would be handy to have disk space on there as well. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.