gitea web lost css. #5055

Closed
opened 2025-11-02 06:12:35 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @mmiker on GitHub (Mar 12, 2020).

  • Gitea version (or commit ref):

  • Git version: 1.11.2/1.11.1

  • Operating system: win10 x64 ltsc 17763.1039

  • Database (use [x]):

    • PostgreSQL
    • [ x] MySQL
    • MSSQL
    • [x ] SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

the web page of http://localhost:3000/ look like only load text/html , and no css loading.
...

Screenshots

lost_css
lost_css2

Originally created by @mmiker on GitHub (Mar 12, 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: 1.11.2/1.11.1 - Operating system: win10 x64 ltsc 17763.1039 - Database (use `[x]`): - [ ] PostgreSQL - [ x] MySQL - [ ] MSSQL - [x ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description the web page of http://localhost:3000/ look like only load text/html , and no css loading. ... ## Screenshots ![lost_css](https://user-images.githubusercontent.com/7027280/76480721-86ca8c00-644a-11ea-88e2-bc7373337770.png) ![lost_css2](https://user-images.githubusercontent.com/7027280/76481176-ca71c580-644b-11ea-8726-1b9b52f86a33.png) <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/question label 2025-11-02 06:12:35 -06:00
Author
Owner

@guillep2k commented on GitHub (Mar 12, 2020):

Some questions:

Can you show us your app.ini (passwords removed)?

Have you installed a docker image, from binaries or from source?

Can you tell us the URL in your browser to compare with your results?

Are you using a reverse proxy?

How are you starting gitea? As a windows service? Manually?

@guillep2k commented on GitHub (Mar 12, 2020): Some questions: Can you show us your app.ini (passwords removed)? Have you installed a docker image, from binaries or from source? Can you tell us the URL in your browser to compare with your results? Are you using a reverse proxy? How are you starting gitea? As a windows service? Manually?
Author
Owner

@mmiker commented on GitHub (Mar 12, 2020):

I'm run gitea in console mode. eg. "C:\GITEA>gitea.exe web"
I tried http://127.0.0.1:3000/ , http://localhost:3000/ , and in other LAN IP visit my computer. http://192.168.0.102:3000/, the result is same.
I'd tested Windows Service mode . the result is same.
I'd tested some explorer, include IE ,chrome, firefox. result is same.
I'm only used in my own computer and not use reverse proxy.
app.zip

@mmiker commented on GitHub (Mar 12, 2020): I'm run gitea in console mode. eg. "C:\GITEA>gitea.exe web" I tried http://127.0.0.1:3000/ , http://localhost:3000/ , and in other LAN IP visit my computer. http://192.168.0.102:3000/, the result is same. I'd tested Windows Service mode . the result is same. I'd tested some explorer, include IE ,chrome, firefox. result is same. I'm only used in my own computer and not use reverse proxy. [app.zip](https://github.com/go-gitea/gitea/files/4322373/app.zip)
Author
Owner

@mmiker commented on GitHub (Mar 12, 2020):

here is some console log
console_log.zip

@mmiker commented on GitHub (Mar 12, 2020): here is some console log [console_log.zip](https://github.com/go-gitea/gitea/files/4322401/console_log.zip)
Author
Owner

@guillep2k commented on GitHub (Mar 12, 2020):

I normally use Gitea in a Linux environment, but this is what I did to test your case:

  • I'm using Windows 10 Home
  • Created C:\Gitea, C:\Gitea\custom\conf and C:\Gitea\log.
  • Copied your app.ini into C:\Gitea\custom\conf.
  • Downloaded both adm64 and x86 versions from https://dl.gitea.io/gitea/1.11.3/ (I didn't know which one you've used).
  • Copied one (started with the amd64 version) as C:\Gitea\Gitea.exe.
  • Executed the program.
  • From localhost:3000 in my browser (Firefox), everything looks fine.
  • Closed Gitea.
  • Copied the x86 version over C:\Gitea\Gitea.exe.
  • Tested again. Everything looks fine.

(It's the first time I run Gitea in this Notebook).

So it seems that your problem comes from the way you've got Gitea (have you compiled it yourself? Is it possible it is an incomplete download?).

@guillep2k commented on GitHub (Mar 12, 2020): I normally use Gitea in a Linux environment, but this is what I did to test your case: - I'm using Windows 10 Home - Created `C:\Gitea`, `C:\Gitea\custom\conf` and `C:\Gitea\log`. - Copied your `app.ini` into `C:\Gitea\custom\conf`. - Downloaded both adm64 and x86 versions from https://dl.gitea.io/gitea/1.11.3/ (I didn't know which one you've used). - Copied one (started with the amd64 version) as `C:\Gitea\Gitea.exe`. - Executed the program. - From `localhost:3000` in my browser (Firefox), everything looks fine. - Closed Gitea. - Copied the x86 version over `C:\Gitea\Gitea.exe`. - Tested again. Everything looks fine. (It's the first time I run Gitea in this Notebook). So it seems that your problem comes from the way you've got Gitea (have you compiled it yourself? Is it possible it is an incomplete download?).
Author
Owner

@guillep2k commented on GitHub (Mar 12, 2020):

Note: in Firefox, if I need to reload the service worker and make sure that all cached content is dropped, I use CTRL+F5.

@guillep2k commented on GitHub (Mar 12, 2020): Note: in Firefox, if I need to reload the service worker and make sure that all cached content is dropped, I use `CTRL+F5`.
Author
Owner

@mmiker commented on GitHub (Mar 15, 2020):

Maybe my system had same problem. I'd run gitea on another LAN computer. It samed work fine.

@mmiker commented on GitHub (Mar 15, 2020): Maybe my system had same problem. I'd run gitea on another LAN computer. It samed work fine.
Author
Owner

@skye95git commented on GitHub (Mar 26, 2020):

Maybe my system had same problem. I'd run gitea on another LAN computer. It samed work fine.

I have the same problem with you. Have you found the cause of the problem?How to solve it?

@skye95git commented on GitHub (Mar 26, 2020): > Maybe my system had same problem. I'd run gitea on another LAN computer. It samed work fine. I have the same problem with you. Have you found the cause of the problem?How to solve it?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5055