r/forgejo • u/seanthegeek • Sep 21 '26
Here's a script to make upgrading binary installs of Forgejo easy
I decided to try Forgejo, and I like it, but upgrading binary installs the right way can be complex for users new to Linux. So, I created a script to make upgrading quick and easy.
Any feedback is welcome and appreciated!
https://github.com/seanthegeek/forgejo-upgrade
2
Upvotes
2
u/MiserableNobody4016 Sep 21 '26
2000 lines!? I think I'll pass...
1
u/SmeagolISEP Sep 21 '26
This is nice, but I’m curious. Why not using docker to host Forgejo? That’s what I’m using when upgrade time comes I just stop the old version, zip all the data from the volumes and pull the new image.
Then if something is not as expected, stop the container, restore the backup and lunch a container with the old version of the data