Skip to navigation
Upgrade forgejo
13.08.26
1. Back up (important) sudo systemctl stop forgejo sudo tar -czf ~/forgejo-backup-13.0.3.tar.gz -C /var/lib forgejo # data dir sudo cp /etc/forgejo/app.ini ~/app.ini.bak # also dump the database if using PostgreSQL/MySQL 2. Download the 16.0.2 binary (from the release page (https://codeberg.org/forgejo/forgejo/releases/tag/v16.0.2)) cd /usr/local/bin sudo wget -O forgejo https://codeberg.org/forgejo/forgejo/releases/download/v16.0.2/forgejo-16.0.2-linux-amd64 sudo chmod +x forgejo 3. Start and let it migrate sudo systemctl start forgejo sudo journalctl -u forgejo -f The first start runs the DB migrations (13 → 16); watch for errors, then verify the version: forgejo --version If the binary path differs, check the systemd unit first with systemctl cat forgejo and adjust accordingly
Reply
Anonymous
Information Epoch 1792130165
Your system is just a path for moving data along.
Home
Notebook
Contact us