Interface or css bug #4673

Closed
opened 2025-11-02 05:59:02 -06:00 by GiteaMirror · 12 comments
Owner

Originally created by @Aryesia on GitHub (Jan 17, 2020).

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

2020/01/18 00:56:41 ...dules/setting/log.go:273:newLogService() [I] Gitea Log Mode: File(File:info)
2020/01/18 00:56:41 ...les/setting/cache.go:45:newCacheService() [I] Cache Service Enabled
2020/01/18 00:56:41 ...s/setting/session.go:44:newSessionService() [I] Session Service Enabled
2020/01/18 00:56:41 routers/init.go:51:initDBEngine() [I] Beginning ORM engine initialization.
2020/01/18 00:56:41 routers/init.go:53:initDBEngine() [I] ORM engine initialization attempt #1/10...
2020/01/18 00:56:41 ...orm@v0.7.9/engine.go:330:Ping() [I] PING DATABASE sqlite3
2020/01/18 00:56:41 models/models.go:180:NewEngine() [W] Table repository Column original_service_type db default is 0, struct default is
2020/01/18 00:56:41 routers/init.go:86:GlobalInit() [I] ORM engine initialization successful!
2020/01/18 00:56:41 routers/init.go:111:GlobalInit() [I] SQLite3 Supported
2020/01/18 00:56:41 routers/init.go:39:checkRunMode() [I] Run Mode: Production
2020/01/18 00:56:44 cmd/web.go:151:runWeb() [I] Listen: unix:///run/gitea/gitea.socket
2020/01/18 00:56:44 cmd/web.go:154:runWeb() [I] LFS server enabled

Description

Hello! I have interface or css bug. As seen in the screenshot. So on all pages. It started spontaneously. I tried reinstalling, but the problem remained. Help me please

Screenshots

Screenshot_20200118_005713

Originally created by @Aryesia on GitHub (Jan 17, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: > 2020/01/18 00:56:41 ...dules/setting/log.go:273:newLogService() [I] Gitea Log Mode: File(File:info) > 2020/01/18 00:56:41 ...les/setting/cache.go:45:newCacheService() [I] Cache Service Enabled > 2020/01/18 00:56:41 ...s/setting/session.go:44:newSessionService() [I] Session Service Enabled > 2020/01/18 00:56:41 routers/init.go:51:initDBEngine() [I] Beginning ORM engine initialization. > 2020/01/18 00:56:41 routers/init.go:53:initDBEngine() [I] ORM engine initialization attempt #1/10... > 2020/01/18 00:56:41 ...orm@v0.7.9/engine.go:330:Ping() [I] PING DATABASE sqlite3 > 2020/01/18 00:56:41 models/models.go:180:NewEngine() [W] Table repository Column original_service_type db default is 0, struct default is > 2020/01/18 00:56:41 routers/init.go:86:GlobalInit() [I] ORM engine initialization successful! > 2020/01/18 00:56:41 routers/init.go:111:GlobalInit() [I] SQLite3 Supported > 2020/01/18 00:56:41 routers/init.go:39:checkRunMode() [I] Run Mode: Production > 2020/01/18 00:56:44 cmd/web.go:151:runWeb() [I] Listen: unix:///run/gitea/gitea.socket > 2020/01/18 00:56:44 cmd/web.go:154:runWeb() [I] LFS server enabled ## Description Hello! I have interface or css bug. As seen in the screenshot. So on all pages. It started spontaneously. I tried reinstalling, but the problem remained. Help me please ## Screenshots ![Screenshot_20200118_005713](https://user-images.githubusercontent.com/55660158/72634768-d3837080-398d-11ea-9193-62f03edf1e72.png) <!-- **If this issue involves the Web Interface, please include a screenshot** -->
Author
Owner

@guillep2k commented on GitHub (Jan 17, 2020):

Which Gitea version? Are you using custom templates? What page are you currently looking at?

@guillep2k commented on GitHub (Jan 17, 2020): Which Gitea version? Are you using custom templates? What page are you currently looking at?
Author
Owner

@6543 commented on GitHub (Jan 17, 2020):

are you behind a reverse proxy?

@6543 commented on GitHub (Jan 17, 2020): are you behind a reverse proxy?
Author
Owner

@Aryesia commented on GitHub (Jan 17, 2020):

Which Gitea version? Are you using custom templates? What page are you currently looking at?

Gitea version 1.10.2 built with GNU Make 4.2.1, go1.13.5 : bindata, sqlite, pam

No, standart theme and standart templates. Main page after authorization

@Aryesia commented on GitHub (Jan 17, 2020): > Which Gitea version? Are you using custom templates? What page are you currently looking at? Gitea version 1.10.2 built with GNU Make 4.2.1, go1.13.5 : bindata, sqlite, pam No, standart theme and standart templates. Main page after authorization
Author
Owner

@Aryesia commented on GitHub (Jan 17, 2020):

are you behind a reverse proxy?

Yes. I use Cloudflare

@Aryesia commented on GitHub (Jan 17, 2020): > are you behind a reverse proxy? Yes. I use Cloudflare
Author
Owner

@6543 commented on GitHub (Jan 17, 2020):

this may cause it ...

@6543 commented on GitHub (Jan 17, 2020): this may cause it ...
Author
Owner

@6543 commented on GitHub (Jan 17, 2020):

@Aryesia there is a config option so serve css/js files via CDN:
https://docs.gitea.io/en-us/config-cheat-sheet/#server-server STATIC_URL_PREFIX

@6543 commented on GitHub (Jan 17, 2020): @Aryesia there is a config option so serve css/js files via CDN: https://docs.gitea.io/en-us/config-cheat-sheet/#server-server **STATIC_URL_PREFIX**
Author
Owner

@Aryesia commented on GitHub (Jan 17, 2020):

@Aryesia there is a config option so serve css/js files via CDN:
https://docs.gitea.io/en-us/config-cheat-sheet/#server-server STATIC_URL_PREFIX

Sorry, I don’t understand how the line "STATIC_URL_PREFIX" should look exactly for cloudflare. Can you help me?

@Aryesia commented on GitHub (Jan 17, 2020): > @Aryesia there is a config option so serve css/js files via CDN: > https://docs.gitea.io/en-us/config-cheat-sheet/#server-server **STATIC_URL_PREFIX** Sorry, I don’t understand how the line "STATIC_URL_PREFIX" should look exactly for cloudflare. Can you help me?
Author
Owner

@6543 commented on GitHub (Jan 18, 2020):

I dont use / know well cloudflate ... I sugest asking on discord https://discordapp.com/invite/NsatcWJ there is perhaps a other user/maintainer who have a setup running with cloudflare

one thing: if i remeber me correctly about cloudflair: with this setup ssh clone/pull/push wont work :/

@6543 commented on GitHub (Jan 18, 2020): I dont use / know well cloudflate ... I sugest asking on discord https://discordapp.com/invite/NsatcWJ there is perhaps a other user/maintainer who have a setup running with cloudflare one thing: if i remeber me correctly about cloudflair: with this setup ssh clone/pull/push wont work :/
Author
Owner

@lunny commented on GitHub (Jan 18, 2020):

@Aryesia If you don't know what that is, you could leave it blank.

@lunny commented on GitHub (Jan 18, 2020): @Aryesia If you don't know what that is, you could leave it blank.
Author
Owner

@6543 commented on GitHub (Jan 18, 2020):

@lunny issue is that @Aryesia like to setup gitea behind cloudflare - and at the moment CSS is not loading proberly

@6543 commented on GitHub (Jan 18, 2020): @lunny issue is that @Aryesia like to setup gitea behind cloudflare - and at the moment CSS is not loading proberly
Author
Owner

@lunny commented on GitHub (Jan 18, 2020):

For CDN, I think gitea.com has done that. It works.

@lunny commented on GitHub (Jan 18, 2020): For CDN, I think gitea.com has done that. It works.
Author
Owner

@techknowlogick commented on GitHub (Jan 22, 2020):

It could be that cloudflare has cached incorrect information. Please try suggestions above about setting STATIC_URL_PREFIX to blank. For now I will close this issue, please comment/re-open issue if you have more information.

@techknowlogick commented on GitHub (Jan 22, 2020): It could be that cloudflare has cached incorrect information. Please try suggestions above about setting STATIC_URL_PREFIX to blank. For now I will close this issue, please comment/re-open issue if you have more information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4673