Thank you for having made Wiki-js available on Yunohost.
By chance, did anyone here implement the GitHub-integration (import/export & sync with a GitHub repository) or has an idea on how to implement this on YunoHost? [link to Wiki-js GitHub integration docs]
In order to generate a key, the Wiki-js documentation suggests to:
Run ssh-keygen -t rsa -b 4096
“When prompted to save the generated file, enter a path which can be accessed by Wiki.js (e.g. /etc/wiki/github.pem) and press Enter.”
Should this be done on the server side command line, do you have some pointers on the domain structure of yunohost? (Wiki-js is installed on a dedicated url)
yes it’s normal, wikijs need a user to authenticate to ldap, so no other choice than creating a dedicated user.
One day YunoHost will implement service account and we will switch to it
Hello @yalh76 and thank you for your work!
Do you know by any chance if there would be a way to automate things like Wiki.js user creation or a way to automate and enable LDAP authentification by default?
user creation doesn’t seems to me interesting as wiki.js can authenticate on ldap.
I’ven’t found an easy way to configure and enable LDAP authentication, for far, the only option i’ve seen, would be to use curl to make user actions. As doing curl stuff add complexity to installation and as LDAP configuration has only be done one time, I choose to send the instruction to the admin user.
If you find a easy way to automate LDAP configuration, let me know
I have a big issue with restoring or installing wikijs and I have lost all my data of a large documentation project.
The output during install via ssh connection is:
Info: INFO - [#########+..........] > Creating LDAP user...
Info: DEBUG - + yunohost user create svc_wikijs_ldap --firstname SvcWikijsLdap --lastname SvcWikijsLdap --domain fuguita.liquorstane.eu --password ********** -q 0
Info: WARNING - Not a tty, can't do interactive prompts
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure...
Info: [++..................] > Loading installation settings...
Info: [##++................] > Stopping and removing the systemd service...
Info: [####++..............] > Removing the PostgreSQL database...
Info: [######++............] > Removing app main directory...
Info: [########++..........] > Removing NGINX web server configuration...
Info: [##########++........] > Removing dependencies...
Info: '/usr/local/n' wasn't deleted because it doesn't exist.
Info: [############++......] > Removing LDAP user...
Warning: Unknown user: svc_wikijs_ldap
Info: [##############++....] > Removing the dedicated system user...
Info: [################++..] > Removal of wikijs completed
The same happens when I attempt to restore it from backups.
Any help? Any thing I can do?
I am very frustrated due to the loss of work done…
Thanks if you can help with this issue.