-
Notifications
You must be signed in to change notification settings - Fork 478
Upgrading OpenWebRX to a newer version
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
.
If you encounter any problems after the fast upgrade detailed here, please do a clean install of the new versions of both csdr and OpenWebRX.
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.
However, there is another way as well: 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
# This lists the changes you made under this directory.
# If anything else than config_webrx.py is modified, you should do a clean reinstall of OpenWebRX.
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.
# If this does not work, you should manually edit the new config file to copy the correct settings from the old one (config_webrx.py.bak).
less config_webrx.py
# Now check your config file manually!
# There should be no duplicate entries (the last one would be valid).
# Also if there are any deeper changes in OpenWebRX, you might have to fallback to a new, clean install.