This page will list all necessary edits following every update.
From 1.0.x to 1.1.x
You now need to use
cargo run --release --no-default-features --features sqlite to compile, unless you want to migrate to PostgreSQL or MySQL. See this page for more information.
From 1.1.x to 1.2.x
The configuration option
cookie_key has been added. To upgrade:
- Generate a cookie key using
openssl rand -base64 32
- add the line
cookie_key = "<your-base64-encoded-key>"in the configuration file
config_version = 1to
config_version = 2. Save and upgrade.
Nextcloud / NC Forms updates
From 19.x to 20.x
Ensure you have a compatible sncf version: check the compatibility table.
Disable / remove the following apps in the admin apps page (https://xxx/settings/apps/enabled) :
- User status
- Weather status
You're good to go!
From 20.x to 21.x
- Upgrade Nextcloud.
- Remove new apps installed by Nextcloud, only keep the four apps we use: Forms, AppOrder, Custom CSS and Theming.
- There are new CSS rules for this version (to cover new Nextcloud Forms features), you need to update your custom CSS rules according to the setup guide.
- Upgrade and test sncf.