Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface or css bug #9845

Closed
2 of 7 tasks
Aryesia opened this issue Jan 17, 2020 · 12 comments
Closed
2 of 7 tasks

Interface or css bug #9845

Aryesia opened this issue Jan 17, 2020 · 12 comments

Comments

@Aryesia
Copy link

Aryesia commented 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

@guillep2k
Copy link
Member

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

@6543
Copy link
Member

6543 commented Jan 17, 2020

are you behind a reverse proxy?

@Aryesia
Copy link
Author

Aryesia commented 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
Copy link
Author

Aryesia commented Jan 17, 2020

are you behind a reverse proxy?

Yes. I use Cloudflare

@6543
Copy link
Member

6543 commented Jan 17, 2020

this may cause it ...

@6543
Copy link
Member

6543 commented 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

@Aryesia
Copy link
Author

Aryesia commented 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?

@6543
Copy link
Member

6543 commented 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 :/

@lunny
Copy link
Member

lunny commented Jan 18, 2020

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

@6543
Copy link
Member

6543 commented Jan 18, 2020

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

@lunny
Copy link
Member

lunny commented Jan 18, 2020

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

@techknowlogick
Copy link
Member

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.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants