Forum

Please or Register to create posts and topics.

Time to update your Control Panel

Page 1 of 2Next

Go to Putty, choose option 1 to update your control panel.

Uploaded files:
  • Screenshot-2023-10-05-131935.jpg

Question about this.

I've gone in via SSH, I've selected option 1 for update software image, then I've run option 17 to restart asterisk. I've repeated this a couple of times, and I've even used option 18 to reboot the entire system.

Still showing control panel 1.5.8.

What am I doing incorrectly here?

Thanks,

Rob

 

Uploaded files:
  • Screenshot-2024-02-12-193119.jpg

You will not see a version change because you are still running the 1.5.8 image. The updates add the features that will be in the 1.5.9 image when released. You just get them before we make the official release. I hope that makes sense.

There have been some reports that the updates don't get applied. If you hit option 1 and it kinda just sits there, let me know. I have found the update server is blocking some IP addresses. If yours is one, I will have to whitelist you on the server.

This is what we have done for 1.5.9 so far.

1.5.9
1) Redesign SuperMon
2) Changed Software Update to use ftp passive mode
3) Added node shutdown from Supermon

Ok, I thought perhaps because your attachment showed dashboard 1.5.9 I was supposed to see that after running 1.

In terms of updates being applied, when run option 1, I get an immediate "no such file" then a bunch of "downloads" (screenshot attached), then it just drops back to the Asterisk menu. Is that the expected behavior? Is there a log I can use to see if it actually applied anything?

Thanks,

Rob

Uploaded files:
  • Screenshot_20240212-203736.png

Yup, that look correct. You supermon should look like this:

 

Uploaded files:
  • Screenshot-2024-02-12-213519.jpg

Mine looks very different. 2 browsers (Opera, Chrome), and even incognito browsing, my Supermon dashboard looks very different from yours. Is there a cache I need to flush on the node itself?

Just to confirm, I am accessing it at http://<nodes-local-ip>/supermon/

I used the 1.5.8 image downloaded from this web site, and it's a fresh image I just put in place yesterday. No changes to stock other than modifying rpt.conf to add my zip code for weather and doing the same to crontab so that it announced weather on the hour.

Thanks,

Rob

 

 

Uploaded files:
  • Screenshot-2024-02-13-095041.jpg

That's not right. I have added your IP address to the server whitelist. Try the update again.

It looks like you where blocked. You are the 3rd person this has happened to. I'm not sure why.

I ran option 1 - Update Software Image again. This time is was very slow. Took from when I saw your post until about noon, perhaps longer I didn't note the exact time. So I was optimistic. However...

  • restarted Asterisk, navigated to Supermon using an incognito tab: no change
  • rebooted the entire system, navigates to Supermon using a new incognito tab: still no change

What command is being run for this update check? Wondering if it's a CLI tool I might be able to run from the shell with more arguments to get a verbose output.

Thanks,

Rob

Edit: Based on the screenshot attached below, *something* did happen this time when I used the update command... the "node not in database" stuff is new. Not sure that's a step forward though. It does not like whatever permissions issue/missing file is going on there!

[Tue Feb 13 12:35:57.432863 2024] [:error] [pid 820] [client 192.168.86.41:61774] PHP Warning: file(/var/log/asterisk/astdb.txt): failed to open stream: No such file or directory in /srv/http/supermon/link.php on line 415, referer: http://192.168.86.34/supermon/link.php?nodes=1123
[Tue Feb 13 12:35:57.432987 2024] [:error] [pid 820] [client 192.168.86.41:61774] PHP Warning: Invalid argument supplied for foreach() in /srv/http/supermon/link.php on line 419, referer: http://192.168.86.34/supermon/link.php?nodes=1123
[Tue Feb 13 12:36:07.394248 2024] [:error] [pid 829] [client 192.168.86.41:61780] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123
[Tue Feb 13 12:36:18.831889 2024] [:error] [pid 830] [client 192.168.86.41:61802] PHP Warning: file(/var/log/asterisk/astdb.txt): failed to open stream: No such file or directory in /srv/http/supermon/link.php on line 415, referer: http://192.168.86.34/supermon/link.php?nodes=1123
[Tue Feb 13 12:36:18.831988 2024] [:error] [pid 830] [client 192.168.86.41:61802] PHP Warning: Invalid argument supplied for foreach() in /srv/http/supermon/link.php on line 419, referer: http://192.168.86.34/supermon/link.php?nodes=1123
[Tue Feb 13 12:39:45.763897 2024] [:error] [pid 831] [client 192.168.86.41:62027] PHP Warning: file_get_contents(/var/log/asterisk/astdb.txt): failed to open stream: No such file or directory in /srv/http/supermon/astnodes.php on line 22, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:39:58.572519 2024] [:error] [pid 832] [client 192.168.86.41:62030] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:40:05.745459 2024] [:error] [pid 349] [client 192.168.86.41:62031] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:40:19.480742 2024] [:error] [pid 351] [client 192.168.86.41:62036] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:40:23.970678 2024] [:error] [pid 351] [client 192.168.86.41:62036] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:40:30.164467 2024] [:error] [pid 347] [client 192.168.86.41:62051] PHP Warning: file_get_contents(/var/log/asterisk/astdb.txt): failed to open stream: No such file or directory in /srv/http/supermon/astnodes.php on line 22, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:41:10.253698 2024] [:error] [pid 1427] [client 192.168.86.41:62088] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:41:18.126217 2024] [:error] [pid 1429] [client 192.168.86.41:62091] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:41:37.775974 2024] [:error] [pid 1431] [client 192.168.86.41:62111] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:41:53.226337 2024] [:error] [pid 1433] [client 192.168.86.41:62122] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:41:58.943238 2024] [:error] [pid 1439] [client 192.168.86.41:62127] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:43:50.987432 2024] [:error] [pid 1557] [client 192.168.86.41:62201] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999
[Tue Feb 13 12:43:57.358913 2024] [:error] [pid 1559] [client 192.168.86.41:62209] PHP Warning: fopen(/var/log/asterisk/astdb.txt): failed to open stream: Permission denied in /usr/local/sbin/astdb.php on line 106, referer: http://192.168.86.34/supermon/link.php?nodes=1123,1999

Uploaded files:
  • Screenshot-2024-02-13-123722.jpg

I don't think "node not in database" is related to the update issue, other then it looks like you have an internet issue. The nodelist gets updated when you boot the node and then every 5 minutes. The update is just a FTP download. I can see that you are registering with the server when you boot, but for some reason you node is having trouble downloading. Maybe reboot your router, if you get a new IP address after the reboot, let me know.

Your Supermon should show and IP of 73.89.1.112 right now.

I didn't see the rest of your post, can you create that file /var/log/asterisk/astdb.txt ? If you can, all you need is an empty text file. Then reboot. Make sure the rights are 775 or 777

Page 1 of 2Next