-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
SSH keeps restarting / receiving signal 15 (and DISABLE_SSH does not work) #12592
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
Comments
What does your app.ini look like? The default docker runs opensshd and should not have START_SSH_SERVER set. |
I did not make any changes to app.ini. It is generated from the docker yml file.
|
Ok so the issue is that the opensshd server cannot open port 22 on the docker. Presumably there is something else listening on that port or it is being mapped to it? Or you have some other setting preventing it from working Try setting the SSH_LISTEN_PORT environment variable to something above 1024 (perhaps even 20122) and see if then things can start. |
That is one of the things I already tried, but did not mention. That makes unfortunately no difference (except that is is being killed on port 20122)
Is 'DISABLE_SSH=true' not supposed to prevent the SSH server from starting? |
Having the same issue now after an upgrade - is there a fix for this? |
@sardaukar We need logs. |
Fixed it by replacing |
the |
For me this was related to #13588
I've fixed this by upgrading from mysql 5.6 to mysql 5.7 and finally to version 8.0.
After that the gitea container was able to process the db migration and the webserver sucessfully started. |
I've just setup the latest gitea version (and version 1.12.3) with a docker image following the instructions at:
https://docs.gitea.io/en-us/install-with-docker/. All the mapped data folders / mysql folders are created from scratch (so no prior data)
I have used the following docker compose:
The log shows the following (ssh keeps restarting, sometimes signal 15)
I have tried plenty of things, but the following does not make any difference.
Any suggestions how I can debug where this problem is coming from or how I can fix it?
Thanks
The text was updated successfully, but these errors were encountered: