diff --git a/Upgrade-from-a-previous-version.md b/Upgrade-from-a-previous-version.md index 109a0c4..7157e7a 100644 --- a/Upgrade-from-a-previous-version.md +++ b/Upgrade-from-a-previous-version.md @@ -4,7 +4,14 @@ 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 --no-default-features --features sqlite` to compile, unless you want to migrate to PostgreSQL or MySQL. See [this page](/wiki/Setting-up-Nextcloud-and-sncf) for more information. +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](/wiki/Setting-up-Nextcloud-and-sncf) 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 = ""` in the configuration file +- change `config_version = 1` to `config_version = 2`. Save and upgrade. ### Nextcloud updates