its-network/docs/space/srv-acraze/gitea.md
Wachtl Enterprises LLC 57de17fe39 Update documentation
Signed-off-by: Wachtl Enterprises LLC <tyrolyean@escpe.net>
2025-03-19 00:15:14 +01:00

30 lines
889 B
Markdown

# About
This file contains the documenation for our forgejo instance found at
<https://git.it-syndikat.org>.
## Location
The VM is running as `tea.srv.it-syndikat.org` on acraze. It used to run
[gitea](https://gitea.com/), but because they drifted a bit too far into the
crypto world, we migrated to the codeberg fork [Forgejo](https://forgejo.org/).
## Updates
Update forgejo by running `update-forgejo.sh`. Take a VM snapshot first!
## Fixups
Admin status for users is supposed to be obtained through LDAP, but it's not
currently working. Sometimes the admin flags are forgotten. To manually make a
user an admin:
```
$ sudo -u git psql \
"postgres://forgejo@pgsql.srv.it-syndikat.org/forgejo?sslmode=verify-ca" \
-c 'UPDATE "user" SET is_admin=true WHERE lower_name=\'USERNAME\';'
```
## Maintainers
- @robelix: VM maintenance and gitea software updates/maintenance