Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
1.1 KiB
1.1 KiB
To update discourse, do the following:
- Switch to and work from the
masterbranch and the directory this file is in. - Run
./update.py print-diffsand update the nginx settings and backend settings accordingly. If you don't know how to, ask for help - do not skip this step! - Run
./update.py update. - Run
nix build -L -f ../../../../ discourse.teststo make sure the update works. Also test manually, if possible. - If the update works, commit it. If not, apply necessary fixes and
commit. No manual fixes that would be overwritten by the
./update.pyscript should be committed - the script should be fixed instead. - Run
./update.py update-mail-receiver. If there's an update, do step 4 and 5 again. - Run
./update.py update-plugins. - Run
nix build -L -f ../../../../ discourseAllPlugins.teststo make sure the plugins build and discourse starts with them. Also test manually, if possible. - If the update works, commit it. If not, apply necessary fixes and
commit. No manual fixes that would be overwritten by the
./update.pyscript should be committed - the script should be fixed instead.