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

Docker gogs cannot be restarted #7727

Open
1 task done
itcastJava opened this issue Apr 15, 2024 · 2 comments
Open
1 task done

Docker gogs cannot be restarted #7727

itcastJava opened this issue Apr 15, 2024 · 2 comments
Labels
💊 bug Something isn't working

Comments

@itcastJava
Copy link

Gogs version

latest

Git version

  • Server:
  • Client:

Operating system

debian12

Database

MySQL8.0.36

Describe the bug

Although there is an error during the first startup, it can be initialized and used normally. However, it cannot be restarted and the page cannot be accessed.
Even older versions of 0.13 will not be able to restart.

To reproduce

root@debian12:# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a0c29c06acec gogs/gogs:0.13 "/app/gogs/docker/st…" 22 minutes ago Up 38 seconds (health: starting) 0.0.0.0:10022->22/tcp, :::10022->22/tcp, 0.0.0.0:10880->3000/tcp, :::10880->3000/tcp gogs
root@debian12:
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a0c29c06acec gogs/gogs:0.13 "/app/gogs/docker/st…" 25 minutes ago Up 3 minutes (unhealthy) 0.0.0.0:10022->22/tcp, :::10022->22/tcp, 0.0.0.0:10880->3000/tcp, :::10880->3000/tcp gogs

Expected behavior

Can be restarted

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@itcastJava itcastJava added the 💊 bug Something isn't working label Apr 15, 2024
@itcastJava
Copy link
Author

图片
图片
This is because the version is too old. We need to use a domestic image repository and update it to the latest version.
https://mirrors.tuna.tsinghua.edu.cn/help/docker-ce/

@itcastJava
Copy link
Author

111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💊 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant