Hello dear Yunohosters,
I im trying to setup wiki.js.
My YunoHost server
Hardware: Rock64 at home
YunoHost version: 4.1.5
wiki.js version 2.5.170
I have access to my server : through the webadmin and if required direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : new install, IPv6 and email not yet working, registered the wiki.js admin wih my private (non-yunohost) email
Description of my issue
Problem 1 (solved)
Email is not setup correctly, so I did not receive the post installation email with the steps to setup LDAP. Unfortunately those LDAP steps are
- neither here GitHub - YunoHost-Apps/wikijs_ynh: An open source, modern and powerful wiki app built on Node.js, Git and Markdown for YunoHost
- nor here YunoHost ⢠index
- but I found them here: wikijs_ynh/ldap_message at master ¡ YunoHost-Apps/wikijs_ynh ¡ GitHub
Problem 2
I copy pasted everything, removing the cn=ârootâ from Admin Bind DN.
Then I created a custom group that can read/write all content things.
Then I added this group to âregistrationâ/âassign to groupâ
Trying to log in I get the error
Invalid email / username or password
Questions:
- Was it ok to register wih a non-yunohost email or should I re-install registering the yunohost admin as wiki admin?
- Was it ok to copy paste settings or should I replace dc=yunohost,dc=org with my domain?
- Was it ok to copy paste settings or should I replace LDAP_PASSWORD and LDAP_USER with email and password of the administrator I set up during installation or the yunohost admin?
Thanks in advance!
EDIT:
Reading the install script, wikijs_ynh/install at master ¡ YunoHost-Apps/wikijs_ynh ¡ GitHub
ynh_replace_string --match_string=âLDAP_PASSWORDâ --replace_string="$ldap_password" --target_file="âŚ/conf/ldap_message"
the answer to question 3 is yes, but
ldap_password=$(ynh_string_random --length=8)
the password is random and you cannot tell me, so I either
A) need to setup email and re-install
B) find that mail in a file via command line
C) Change the password of user svc_wikijs_ldap via the admin interface