Fork me on GitHub

GITEA 503 after changing RPI @IP post

After moving RPI from a lan to another lan, service gitea failed with a 503 error.

This error comes from the new @IP of the device on the lan, this is now 192.168.0.13

Edit /mnt/gitea/custom/conf/app.ini

[database]
DB_TYPE  = postgres
HOST     = 192.168.0.13:5432

Edit /etc/postgresql/11/main/postgresql.conf

listen_addresses = '192.168.0.13'

Restart

service gitea restart

service gitea status

Check

curl localhost:3000

Categories: rpi, gitea, linux