Github Storage - Permission denied (publickey) #3231
-
|
See Edit below Host Info:
Issue
Error Message Additional Info Edit
I logged into the container as Root user and performed those commands, now the files appear in my github repository, but I'm getting a new error when trying to force sync trough wikijs Which from what I found might be because I used the user Root inside the docker container with the git command. So I removed the master file and I'm back to the first error I got. I logged into the container as the wikijs user and that gives the same error as wikijs (see screenshot). I also tried to just enter the private key as content in wikijs and then try a git push with the wikijs user inside the Docker Container, but that still gives me a permission error. Screenshots with root user commands |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Please don't create the key directly into the container, this is very bad practice and your key will be lost if you upgrade the container to a newer image. Paste the key directly into the web administration area instead... As to why you're having this error: your file permissions to the key are incorrect. The wiki.js process user must have read access to the file. But again, creating the key directly into the container is a big no no. |
Beta Was this translation helpful? Give feedback.








Please don't create the key directly into the container, this is very bad practice and your key will be lost if you upgrade the container to a newer image. Paste the key directly into the web administration area instead...
As to why you're having this error: your file permissions to the key are incorrect. The wiki.js process user must have read access to the file. But again, creating the key directly into the container is a big no no.