[arm-allstar] Update from supermon
Lloyd Duck
lduck at me.com
Fri Nov 2 17:19:38 EDT 2018
Doug,
Right when everything shuts down and restarts you would lose supermon.
It isn’t something we do too troubling often, that’s what makes it hard for some to dig the notes back out on how they used ssh to login the pi.
Lloyd Duck, W5LND
On Nov 2, 2018, at 4:10 PM, Doug Crompton <wa3dsp at gmail.com> wrote:
LLoyd,
Yes I think you could but don't expect any feedback in that case and you will probably lose your supermon connection until it restarts. I still think the cleanest and safest way would be to ssh in and run item 1 on the menu. It is not a big deal to do. If you have supermon access your would have ssh access to your server. This is not something you need to do every day.
The other option is just use the script with cron to do it at some random time in the middle of the night on a regular basis. The logfile is in /tmp/update.log
73 Doug
WA3DSP
http://www.crompton.com/hamradio
> On Fri, Nov 2, 2018 at 4:59 PM Lloyd Duck <lduck at me.com> wrote:
> Thanks Doug,
>
> This may help me out as it’s a script I can call from dtmf or even call the code from the website for that matter right?
>
>
> Lloyd Duck, W5LND
>
>
> On Nov 2, 2018, at 1:32 PM, Doug Crompton via ARM-allstar <arm-allstar at hamvoip.org> wrote:
>
> Lloyd,
>
> Unfortunately the answer is no. Supermon will tell you if an update is
> available for that server but there is no safe way to actually do the
> update from Supermon. It is better to wait and to it from an ssh login
> using the menu. There is a script /usr/local/sbin/hamvoip-sys-update.sh
> that could be run unattended. Here is some text from the script -
>
> # This script can be run attended or unattended.
> # If run unattended such as in a cron job output
> # goes to a log script. This script should only
> # be run unattended on systems with stable power.
> # Update intervals should generally not be more
> # than once a week. User can manually run the update
> # when a known update is available in addition to it
> # running on a scheduled basis.
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
> On Fri, Nov 2, 2018 at 2:15 PM "Lloyd Duck via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> Is there a way and I’m missing it to do the updates from the supermon
>> admin page and not SSH into the pi and select option #1 to update?
>>
>> Most people don’t use putty or other ssh clients that often to stay up
>> with all the great updates.
>>
>>
>> Lloyd Duck, W5LND
>>
>> _______________________________________________
>>
>> ARM-allstar mailing list
>> ARM-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
More information about the ARM-allstar
mailing list