Updating your Portsdown Software

From BATC Wiki
Revision as of 10:26, 22 April 2017 by G8GKQ (talk | contribs)
Jump to navigation Jump to search

You can update your Portsdown software to the latest version by entering the Console Menu, selecting "System Setup" and then selecting "Update".

The software will check the latest version available against your current version and then give you the option to update. At the end of the update it will ask you to reboot; if it does not ask you to reboot, you have a failed update and you should copy the last page of messages on the screen and post the on the Forum requesting help.

  • Troubleshooting

A small number of users have had problems with the update process. It has some basic diagnostics built in; 4 failure modes have been reported so far:

  • Unable to connect to the internet

If you get the message "Unable to connect to the internet", it means that your RPi has tried to check the latest version online and failed to get a valid response. It has then checked whether it can contact Google's servers and also failed. You should check the internet connection for the RPi. Start by confirming the connection of other computers on the same network; if they can see Google.com, check that your RPi has ONLY one network connection (wired or wireless) and that that is a connection directly to your router or internet connection device. DO NOT try to connect the RPi to the internet through another computer unless you are totally confident in your abilities. You will then need to try to diagnose the problem on the RPi from the Linux Command Line. Use commands such us "ifconfig", and "netstat -rn" to see what is happening and post the responses on the forum to get help.

  • Unable to connect to GitHub to check the latest version

If you get the message "Unable to connect to GitHub to check the latest version. There is a working internet connection, but GitHub is not responding or being blocked", it means that your RPi has tried to check the latest version online, but failed to get a valid response. It has checked and succeeded with a connection to google.com. The page that it is trying to contact on GitHub is https://raw.githubusercontent.com/BritishAmateurTelevisionClub/rpidatv/master/scripts/latest_version.txt ; you should first try get to this page on another computer on the same network (the response should be the latest version number). If other computers on your network cannot see this page, the problem is with your internet connection.

If your ISP is Virgin Media it may be that they are blocking access to GitHub. If (only if) you get this error with Virgin Media, go to the Linux Command Line (from the shutdown menu) and paste the following command in, and press return.

sudo sed -i 's/^#name_servers.*/name_servers=8.8.8.8/' /etc/resolvconf.conf

Then reboot and try an update again. The command asks your RPi to use Google's Domain Name Server (DNS), not your ISP's DNS.

If your ISP is BT, you will need to make sure that "BT Web Protect" is disabled so that you are able to download the software.

  • No reboot

If your RPi does not ask for a reboot at the end of the update process, it means that it has encountered an error. Take a screenshot or a photo of the last messages on the screen, post them on the forum and ask for help.

  • Lost Settings on Reboot

There is an unresolved bug that causes the Portsdown software to lose the pre-configured settings (screen type, callsign, locator, symbol rate, output mode etc) occasionally. You can reset the Portsdown to Factory Settings using the "Factory Settings" option in the Advanced System Setup menu. Please post on the forum with any clues as to why this might have happened - it could help us track down the bug!

  • What Does the Update Do?

The "Check For Update" script downloads the latest version number and checks it against the current installed version. It then gives you the option to install the update. If you respond with y (or Y), it downloads the latest update script and runs it.

The update script:

- saves your configuration file to a safe place

- updates all the basic (3rd party) software on your RPi

- checks for and installs any new (3rd party) packages required by the update

- downloads all the components of the Portsdown software and then compiles each one

- downloads and compiles the latest DATV Express software and the button shutdown script

- makes any system changes required by the update

- copies your configuration file back into place and adds any new options required

- offers you a reboot

DGC 22 Apr 2017