Closed iamtristan closed 4 hours ago
Gitea JavaScript code couldn't run correctly, please check your custom templates
means the outputed page is corrupted.
You could also check page source code and browser's console errors.
There could also be something wrong in your reverse proxy, please make sure every step you have done you could understand, otherwise don't do it.
If there is still a problem, please show a reproducible example with all config and detailed steps.
Hello - Found it. A severely hardened environment.
add_header Content-Security-Policy "default-src 'self'" always;
Thanks wxiaoguang for actually hinting it out :)
Works now with some changes...
Description
Installing Docker Root less per the manual using RHEL9. Nothing changed starting it with docker compose up. And nothing works. Banner on top is "Gitea JavaScript code couldn't run correctly, please check your custom templates"
This happens before and after installation.
Used the instructions here to the letter.
https://docs.gitea.com/installation/install-with-docker-rootless
Gitea Version
1.22.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
RHEL9 via Docker Compose
version: "2"
services: server: image: gitea/gitea:1.22.3-rootless restart: always volumes:
Database
SQLite