Errors when updating from 1.15.8 to 1.19.3 Docker image

Hello all,
I recently updated my docker installation of gitea from 1.15.8 to 1.19.3. Things look OK after the update except that the pages don’t look as expected. Some of the items on the page seem a bit misplaced.

Looking at docker-compose logs, I see 404 errors:

gitea     | 2023/06/04 01:33:56 [647bea04-12] router: completed GET /assets/css/themes/default/assets/fonts/icons.woff for 5.190.128.223:0, 404 Not Found in 0.1ms @ public/public.go:42(AssetsHandler)
gitea     | 2023/06/04 01:33:56 [647bea04-13] router: completed GET /assets/css/themes/default/assets/fonts/icons.ttf for 5.190.128.223:0, 404 Not Found in 0.1ms @ public/public.go:42(AssetsHandler)

Plus, my log-in page shows this error in red on top:

JavaScript error: Uncaught ReferenceError: renderMathInElement is not defined

Any thoughts on how to resolve these errors and get the normal looking repo pages?

Are you running custom templates? If you go to Site Administration -> Configuration -> Custom File Root Path, then actually browse to that directory. The templates would be stored in the templates subdirectory.

If you are, you will need to update them for 1.19 or get rid of them. Alternatively, it may be that you just have cached assets and need to Ctrl + Shift + R the page to do a full refresh without cached items.

Hi Jake,
Ctrl + Shift + R solved the issue. Thanks!

1 Like