release: v20240729 Co-authored-by: Laura Hausmann <laura@hausmann.dev> Co-authored-by: GitLab CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Saamkhaih Kyakya <70475761+hiohlan@users.noreply.github.com> See merge request firefish/firefish!11214
1.2 KiB
1.2 KiB
Upgrade instruction
For systemd/pm2 users
- Check
docs/notice-for-admins.md
- Stop the server
sudo systemctl stop your-firefish-service.service # or pm2 stop firefish
- Pull the latest source code
git checkout -- packages/backend/assets git pull --ff origin main
- Build Firefish and apply changes to the database
corepack prepare pnpm@latest --activate pnpm install --frozen-lockfile NODE_ENV='production' NODE_OPTIONS='--max_old_space_size=3072' pnpm run rebuild pnpm run migrate
- Start the server
sudo systemctl start your-firefish-service.service # or pm2 start firefish
For Docker/Podman users
- Check
docs/notice-for-admins.md
- Pull the latest container image
docker pull registry.firefish.dev/firefish/firefish:latest # or podman pull registry.firefish.dev/firefish/firefish:latest
- Start the container
docker compose up --detach # or podman-compose up --detach