Closed
Description
- Gitea version (or commit ref): 2c57352
- Git version: 2.31.1
- Operating system: arm64 MacOS Big Sur
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Log gist:
```
021/04/28 22:10:29 ...uters/routes/base.go:36:1() [I] Started GET /assets/img/loading.png for 127.0.0.1:60212
2021/04/28 22:10:29 ...uters/routes/base.go:36:1() [I] Started GET /assets/img/loading.png for 127.0.0.1:60212
2021/04/28 22:10:29 ...uters/routes/base.go:36:1() [I] Started GET /assets/css/index.css?v=59069cfb7c25ec07d836c20cccdeb08a for 127.0.0.1:60211
2021/04/28 22:10:29 ...uters/routes/base.go:45:1() [I] Completed GET /assets/img/loading.png 302 Found in 92.75µs
2021/04/28 22:10:29 ...uters/routes/base.go:45:1() [I] Completed GET /assets/css/index.css?v=59069cfb7c25ec07d836c20cccdeb08a 302 Found in 129.833µs
2021/04/28 22:10:29 ...uters/routes/base.go:45:1() [I] Completed GET /assets/img/loading.png 302 Found in 405.875µs
2021/04/28 22:10:29 ...uters/routes/base.go:45:1() [I] Completed GET /assets/css/index.css?v=59069cfb7c25ec07d836c20cccdeb08a 302 Found in 457.958µs
2021/04/28 22:10:29 ...uters/routes/base.go:36:1() [I] Started GET /assets/js/index.js?v=59069cfb7c25ec07d836c20cccdeb08a for 127.0.0.1:60211
2021/04/28 22:10:29 ...uters/routes/base.go:36:1() [I] Started GET /assets/js/index.js?v=59069cfb7c25ec07d836c20cccdeb08a for 127.0.0.1:60211
2021/04/28 22:10:29 ...uters/routes/base.go:45:1() [I] Completed GET /assets/js/index.js?v=59069cfb7c25ec07d836c20cccdeb08a 302 Found in 145.25µs
2021/04/28 22:10:29 ...uters/routes/base.go:45:1() [I] Completed GET /assets/js/index.js?v=59069cfb7c25ec07d836c20cccdeb08a 302 Found in 361.375µs
2021/04/28 22:10:29 ...uters/routes/base.go:36:1() [I] Started GET / for [::1]:60222
2021/04/28 22:10:29 ...s/context/context.go:184:HTML() [D] Template: install
2021/04/28 22:10:29 ...uters/routes/base.go:45:1() [I] Completed GET / 200 OK in 2.298333ms
2021/04/28 22:10:29 ...uters/routes/base.go:36:1() [I] Started GET / for [::1]:60223
2021/04/28 22:10:29 ...s/context/context.go:184:HTML() [D] Template: install
2021/04/28 22:10:29 ...uters/routes/base.go:45:1() [I] Completed GET / 200 OK in 1.780292ms
2021/04/28 22:10:29 ...uters/routes/base.go:36:1() [I] Started GET / for [::1]:60224
2021/04/28 22:10:29 ...s/context/context.go:184:HTML() [D] Template: install
2021/04/28 22:10:29 ...uters/routes/base.go:45:1() [I] Completed GET / 200 OK in 1.823291ms
2021/04/28 22:10:30 ...uters/routes/base.go:36:1() [I] Started GET /assets/img/favicon.png for 127.0.0.1:60211
2021/04/28 22:10:30 ...uters/routes/base.go:36:1() [I] Started GET /assets/img/favicon.png for 127.0.0.1:60211
2021/04/28 22:10:30 ...uters/routes/base.go:45:1() [I] Completed GET /assets/img/favicon.png 302 Found in 132.375µs
2021/04/28 22:10:30 ...uters/routes/base.go:45:1() [I] Completed GET /assets/img/favicon.png 302 Found in 458.084µs
2021/04/28 22:10:30 ...uters/routes/base.go:36:1() [I] Started GET / for [::1]:60225
2021/04/28 22:10:30 ...s/context/context.go:184:HTML() [D] Template: install
2021/04/28 22:10:30 ...uters/routes/base.go:45:1() [I] Completed GET / 200 OK in 991.417µs
2021/04/28 22:10:30 ...uters/routes/base.go:36:1() [I] Started GET /assets/img/logo.svg for 127.0.0.1:60211
2021/04/28 22:10:30 ...uters/routes/base.go:36:1() [I] Started GET /assets/img/logo.svg for 127.0.0.1:60211
2021/04/28 22:10:30 ...uters/routes/base.go:45:1() [I] Completed GET /assets/img/logo.svg 302 Found in 75.958µs
2021/04/28 22:10:30 ...uters/routes/base.go:45:1() [I] Completed GET /assets/img/logo.svg 302 Found in 255.291µs
2021/04/28 22:10:30 ...uters/routes/base.go:36:1() [I] Started GET / for [::1]:60226
2021/04/28 22:10:30 ...s/context/context.go:184:HTML() [D] Template: install
2021/04/28 22:10:30 ...uters/routes/base.go:45:1() [I] Completed GET / 200 OK in 771.958µs
```
Description
The setup process has trouble accessing the assets (js and css). I'm quite certain that this issue is identical with #13725, just with another cause.
It seems like the temporary fix introduced in that issue has been broken during a refactoring. I'm not entirely sure, but maybe 6433ba0 has to do with this, since it fiddles around with Chi and it touches the code in question. Maybe I'm on a wrong track entirely though.
Screenshots
Metadata
Metadata
Assignees
Labels
No labels