[wikijs] Modern and powerful wiki

#Wiki.js for #YunoHost has been upgraded to version 2.0.0-beta.241,

#Wiki.js is an open source, modern and powerful wiki app built on Node.js, Git and Markdown.

Changes:

  • feat: page recycle bin ui (wip)
  • fix: UI improvements
  • feat: azure ad auth
  • feat: azure ad auth (wip)
  • fix: locale db field length
  • feat: editor - warn on leave without save
  • feat: details + summary tag styles
  • fix: fontawesome 5 latest version
  • fix: git private key alt paste mode

Upgrade with the following command:

$ yunohost app upgrade wikijs -u https://github.com/YunoHost-Apps/wikijs_ynh

#Wiki.js for #YunoHost has been upgraded to version 2.0.12,

#Wiki.js is an open source, modern and powerful wiki app built on Node.js, Git and Markdown.

Detailed fixes:

Upgrade with the following command:

$ yunohost app upgrade wikijs -u https://github.com/YunoHost-Apps/wikijs_ynh

2 Likes

#Wiki.js for #YunoHost has been upgraded to version 2.1.113,

#Wiki.js is an open source, modern and powerful wiki app built on Node.js, Git and Markdown.

Detailed fixes:

Upgrade with the following command:

$ yunohost app upgrade wikijs -u https://github.com/YunoHost-Apps/wikijs_ynh

1 Like

just to make sure by default this uses a DB to save not RCS?

I don’t know what is RCS…
But you can read the code: https://github.com/YunoHost-Apps/wikijs_ynh/blob/ed3d16ea928155936ecf8753fcc6096a01971e6d/scripts/_common.sh#L8

RCS = store stuff in git instead of plaintxt(dokuwiki) or DB(mediawiki)

By default, all is stored in the postgresql dB

1 Like

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:

  1. Run ssh-keygen -t rsa -b 4096
  2. “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)

1 Like

Yes it needs to be done from the YunoHost server command line.
You can for example store the key in /var/www/wikijs/.ssh/github

I have installed wiki.js 2.5.201.
I found a new user in nextcloud called

svc_wikijs_ldap

Is that a normal behaviour?

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

After uninstalling it, the user created is still there in nextcloud talk but deleted in yunohost users.

That’s an nextcloud issue, that don’t delete YunoHost deleted users …

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?

Thank you!

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

1 Like

Salut,
petit soucis avec la dernière mise à jour, j’ai une erreur durant la mise à jour. Le log complet :
https://paste.yunohost.org/raw/osujofeket

Hiya,

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.

Can you provide a yunopaste link of the install log, what you provided is not enough

https://paste.yunohost.org/raw/feyazifowe

and another one emailed to you …
thanks for helping me with this stuff

I have a similar issue with Mobilzon here Mobizon restore failed
similar because of these lines:

Is it since the version unstable 11.1.0.2 ? There is something related with this PR perhaps Merge firstname and lastname by alexAubin · Pull Request #1516 · YunoHost/yunohost · GitHub ???