-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
📖 documentationDocumentation needs more loveDocumentation needs more love
Description
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
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
📖 documentationDocumentation needs more loveDocumentation needs more love