Quote:
Quote:
Quote:
If you're using our image, log in with ssh (for example with putty) or directly on the Pi itself if you have a monitor and keyboard connected, and then run "update.sh".
Username / password: mpx / micro
Then just type
./update.sh
And follow the steps there.
Thanks i thougt that this was to update for a release and not for also a beta version. And what command can i use for checking the version?
O! You're right - this won't work for the beta. For the beta you'll have to download it manually. I don't have access to the script now, but you can check how it's done in the script (it's just a few lines, I think I was using wget to download, if not it might have been curl).
I edit the script.
the only strange thing what is see is the MicroMPX_selected_ARM32.working is not the 10.329 KB as the downloaded version.
___
update_beta.sh
echo Downloading decoder
wget --quiet
https://www.stereotool.com/download/Mic ... ETA963-018 -OMicroMPX_Decoder_ARM32
echo Downloading encoder
wget --quiet
https://www.stereotool.com/download/Mic ... ETA963-018 -OMicroMPX_Encoder_ARM32
echo Downloading command line
wget --quiet
https://www.stereotool.com/download/MicroMPX_ARM32 -OMicroMPX_ARM32
ls -lart MicroMPX_Decoder_ARM32
ls -lart MicroMPX_Encoder_ARM32
ls -lart MicroMPX_ARM32
echo Files have been updated, but not yet activated.
echo ----------------------------------------------------------------
echo Was the current binary working? If so, we can make a backup now.
echo 1. Yes.
echo 2. No, please restore the previous working version.
echo Any other answer: Do nothing
read backup
if [ "$backup" == "1" ]
then
cp MicroMPX_Selected_ARM32 MicroMPX_Selected_ARM32.working
fi
if [ "$backup" == "2" ]
then
cp MicroMPX_Selected_ARM32.working MicroMPX_Selected_ARM32
fi
echo -----------------------------------------------------
echo Do you want to activate a freshly downloaded version?
echo 1. Decoder with web interface
echo 2. Encoder with web interface
echo 3. Command line version, requires changing the file run
echo Anything else keeps the current binary running
read activate
if [ "$activate" == "1" ]
then
rm MicroMPX_Selected_ARM32_ >/dev/null 2>&1
mv MicroMPX_Selected_ARM32 MicroMPX_Selected_ARM32_
cp MicroMPX_Decoder_ARM32 MicroMPX_Selected_ARM32
fi
if [ "$activate" == "2" ]
then
rm MicroMPX_Selected_ARM32_ >/dev/null 2>&1
mv MicroMPX_Selected_ARM32 MicroMPX_Selected_ARM32_
cp MicroMPX_Encoder_ARM32 MicroMPX_Selected_ARM32
fi
if [ "$activate" == "3" ]
then
rm MicroMPX_Selected_ARM32_ >/dev/null 2>&1
mv MicroMPX_Selected_ARM32 MicroMPX_Selected_ARM32_
cp MicroMPX_ARM32 MicroMPX_Selected_ARM32
fi
ls -lart MicroMPX_Selected_ARM32
echo ----------------------------------
echo For a new release, run also update_release.sh