YunoHost-Apps / wikijs_ynh

Modern and powerful wiki app package for YunoHost
https://wiki.js.org/
GNU Affero General Public License v3.0
18 stars 4 forks source link

Git storage setup #62

Closed stilobique closed 5 years ago

stilobique commented 5 years ago

Hello, i want use the Git storage, i need to generate an SSH key, however, i don't know where i can store my key. If i'm read the Wiki Js documentation, it's write to use a path accessible by Wiki Js, but i don't know a good path to store this key.

When prompted to save the generated file, enter a path which can be accessed by Wiki.js /etc/wiki/github.pem

yalh76 commented 5 years ago

Hi @stilobique

/etc/wiki/ seems like a good place. You just have to create the folder and give rights to the wiki.js user.

stilobique commented 5 years ago

Hum alright, the data folder work correctly -i think, i'm generate a SSH key -but with my admin user account- and Wiki Js give an error. I don't what look to fix this error. I'm look this log, but i don't see an specific error Connection refused and graphql.

fatal: Ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git

yalh76 commented 5 years ago

Are you sure of the url for the git repository ? Have you tested it manually ?