Following the steps for upgrading on both the release steps on GitHub and the Administration documents gave me errors. The main issue was that I was not able to log into the instance after upgrading.
However I have been successful following the steps below:
To upgrade from 5.5.0 to 5.6.0 I had to do the following:
systemctl stop cryptpad
git fetch origin --tags
git stash
git checkout 5.6.0
npm ci
npm run install:components
git stash pop
git add package-lock.json
git restore --staged www/common/application_config_internal.js
npm run install:components
systemctl restart cryptpad
To upgrade from 5.6.0 to 5.7.0 I had to do the following:
systemctl stop cryptpad
git fetch origin --tags
git stash
git checkout 5.7.0
npm ci
npm run install:components
git stash pop
git add package-lock.json
git restore --staged www/common/application_config_internal.js
npm run install:components
systemctl restart cryptpad
To upgrade from 5.7.0 to 2024.3.0 I had to do the following:
systemctl stop cryptpad
git fetch origin --tags
git stash
git checkout 2024.3.0
npm install <-- Extra Step to previous
npm ci
npm run install:components
git stash pop
git add package-lock.json
git restore --staged www/common/application_config_internal.js
npm run install:components
systemctl restart cryptpad
So now it has been upgraded to the latest release, I hope that this might help others who are facing the same issues.