Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.

Upgrading OpenWebRX to a newer version

András Retzler edited this page Jul 20, 2016 · 13 revisions

The instructions provided here to upgrade OpenWebRX and csdr will only work if the only file you modified in openwebrx and csdr directories is config_webrx.py.

When upgrading OpenWebRX, first upgrade csdr:

cd csdr
git pull 
make && sudo make install

Only the corresponding (latest) versions of OpenWebRX and csdr will work together.

The OpenWebRX git repository contains the default configuration file config_webrx.py along with the software. In newer versions of OpenWebRX, the configuration options might change, which makes the upgrade harder to do automatically.

The clean way to upgrade OpenWebRX is to clone the git repository again, and copy your changes from the old config_webrx.py to the new one manually:

git clone https://github.com/simonyiszk/openwebrx new_openwebrx     # new_openwebrx will be the destination
cd new_openwebrx
nano config_webrx.py
python2 ./openwebrx.py

However, there is another way: the following sequence of commands might upgrade your current OpenWebRX instance very fast, but there is also a chance that your config file will be screwed up, so you should start by making a backup.

cd openwebrx

git status
# From here, you should continue only if you see that you did not modify anything else than config_webrx.py

cp config_webrx.py config_webrx.py.bak      
# Made a backup of the config!

git stash 
#This puts your changes to config_webrx.py on the "stack" of the git version control system.

git pull
# This tries to download the new version from GitHub.

git stash pop 
# This tries to apply your changes to the current config file.

After that, you should check your config file manually:

less config_webrx.py

There should be no duplicate entries (the last one will be valid).

If git failed to merge your changes to the new config file, you should manually edit the new config file to copy the correct settings from the old one. You can find the old config file at:

less config_webrx.py.bak
Clone this wiki locally