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

can not open gitea web after restart #32634

Open
Leo2442926161 opened this issue Nov 25, 2024 · 4 comments
Open

can not open gitea web after restart #32634

Leo2442926161 opened this issue Nov 25, 2024 · 4 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail

Comments

@Leo2442926161
Copy link

Description

Hi folks,
I installed gitea with Docker on my SBC and I had pushed a lot code to my repository, after several days, I restarted my SBC, I can not visit to my git web anymore.

I tried to run iotop and it seems keep reading from disk for hours, has anyone knows how to solve this? the docker logs is attached, please check out, thans very much.

docker ps
CONTAINER ID   IMAGE                COMMAND                  CREATED       STATUS          PORTS                                                                                          NAMES
3ce78aa0dfb3   gitea/gitea:latest   "/usr/bin/entrypoint…"   2 weeks ago   Up 22 minutes   0.0.0.0:2222->2222/tcp, :::2222->2222/tcp, 22/tcp, 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp   gitea

gitea.log

Gitea Version

latest

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?

running on ubuntu with docker

Database

None

@lunny
Copy link
Member

lunny commented Nov 25, 2024

Can you try to enter the container and run gitea manually?

@lunny lunny added issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail and removed type/bug labels Nov 25, 2024
@Leo2442926161
Copy link
Author

Thanks Lunny, I've entered docker container and stop/start gitea, I got same problem.

seems it's retriving data from my disk, the web is keeping in wait stauts, I could open somethings but didn't show up all of my git repository.

is there any other command should I run?

@Leo2442926161
Copy link
Author

I am wondering that if gitea retrieves data from disk at boot stage everytime? if yes, does that means it takes a lot time at boot stage?

I am also curious when will gitea need to retrieve all of data from disk?

@yp05327
Copy link
Member

yp05327 commented Nov 27, 2024

Some possibly related logs:
image
image
image

I can see many Slow SQL Query in ScheduleTask, but it should not block the web access?
And looks like that the web access is working but the DB is frozen because of these slow queries. (DB is SQLite)
@lunny

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail
Projects
None yet
Development

No branches or pull requests

3 participants