← Go back to PwOSS Status

Merging of the new Gitea configuration

October 20, 2021 at 11:40 PM NZ


Resolved after 110h 50m of downtime. October 25, 2021 at 2:30 PM NZ

(08:20 NZ — Oct 25)
Sorry for the delay. I’m stuffed with work.
In the end, it had nothing to do with the configuration file itself.
The problems are in the custom/templates.

Just change StaticUrlPrefix or AppSubUrl into AssetUrlPrefix.
Check your instance journalctl -eu gitea -b.
You might see something like base/head_navbar:4: function "StaticUrlPrefix" not defined.

See also Rename StaticUrlPrefix to AssetUrlPrefix #15779

So, I’ll keep the issue as info/notice because I still need to merge the new config file.

(23:40 NZ — Oct 20)

The app.ini configuration file is not prefilled anymore.
The current one has been saved to .pacsave, you need to at least rename it before restarting gitea.
The app.example.ini file is provided for a reference of settings.

Simply renaming doesn’t work. I’ll get to it tomorrow.

Last updated: October 20, 2021 at 11:40 PM NZ