8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
log/gogs.log 文件 报错 [gogs.io/gogs/internal/ssh/ssh.go:118 func1()] SSH: Wait: exit status 1
[gogs.io/gogs/internal/ssh/ssh.go:118 func1()] SSH: Wait: exit status 1
查看 log/hooks/serv.log 文件是 [ERROR] [...ogs.io/gogs/internal/cmd/serv.go:48 fail()] UpdatePublicKey: attempt to write a readonly database
[ERROR] [...ogs.io/gogs/internal/cmd/serv.go:48 fail()] UpdatePublicKey: attempt to write a readonly database
说明是db文件没有写权限
查看同目录其他文件是lighthouse组和用户的
将db文件给这个组和用户 chown lighthouse gogs.db chgrp lighthouse gogs.db
然后重启docker容器,就能启动ssh了
帮助解决ssh启动问题
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What needs to be improved? Please describe
log/gogs.log 文件 报错
[gogs.io/gogs/internal/ssh/ssh.go:118 func1()] SSH: Wait: exit status 1
查看 log/hooks/serv.log 文件是
[ERROR] [...ogs.io/gogs/internal/cmd/serv.go:48 fail()] UpdatePublicKey: attempt to write a readonly database
说明是db文件没有写权限
查看同目录其他文件是lighthouse组和用户的
将db文件给这个组和用户
chown lighthouse gogs.db
chgrp lighthouse gogs.db
然后重启docker容器,就能启动ssh了
Why do you think it is important?
帮助解决ssh启动问题
Code of Conduct
The text was updated successfully, but these errors were encountered: