Version 4.8.1¶
We have found a bug that unfortunately causes some forms to fail to render.
With LiberaForms v4.7.0 we upgraded the upstream formBuilder (we like to keep things up-to-date).
Then, with LiberaForms v4.8.0 we upgraded again.
To our dismay, we have discovered that unexpected Header and Paragraph field parameters are saved to the database when forms created before v4.7.0 are then later edited by v4.7.0.
Consequently, after upgrading to LiberaForms v4.8.0, these fields throw and error.
v4.8.1 now looks for these rouge fields and repairs inconsistencies in the background, but this only happens when forms are edited or saved.
You should preventively repair the forms on your installation.
Follow the upgrade instructions below and then run
source ./venv/bin/activate
flask site repair-forms
Sorry about that!
Upgrade from v4.7.0 or later¶
Important
If you are upgrading from a version prior to v4.7.0 please read those upgrade notes first.
Stop LiberaForms
sudo supervisorctl stop liberaforms
sudo supervisorctl stop liberaforms-logs
Fetch version 4.8.1
git fetch origin tag v4.8.1 --no-tags
git checkout v4.8.1 -b v4.8.1
cat VERSION.txt
Upgrade python packages (not required if upgrading from v4.8.0)
source ./venv/bin/activate
pip install --upgrade pip
pip install -r ./requirements.txt
Upgrade the database schema to 7400724a9c65 (not required if upgrading from v4.8.0)
flask db upgrade
See the installed versions
flask site get-versions
Restart the supervisor processes.
sudo supervisorctl start liberaforms-logs
sudo supervisorctl start liberaforms