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