# Wiki.js installation fails to install due to invalid password

**URL:** <https://forum.yunohost.org/t/wiki-js-installation-fails-to-install-due-to-invalid-password/35844>\
**Category:** Support apps\
**Tags:** wikijs, install, english\
**Created:** [March 9, 2025, 8:21pm UTC](https://forum.yunohost.org/t/wiki-js-installation-fails-to-install-due-to-invalid-password/35844 "2025-03-09T20:21:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![joh6nn](https://forum.yunohost.org/user_avatar/forum.yunohost.org/joh6nn/32/11632_2.png) [@joh6nn](https://forum.yunohost.org/u/joh6nn)\
**Post date:** [March 9, 2025, 8:21pm UTC](https://forum.yunohost.org/t/wiki-js-installation-fails-to-install-due-to-invalid-password/35844/1 "2025-03-09T20:21:33Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.0.11 (stable)  
**What app is this about** : Wiki.js

### Describe your issue

When I try to install Wiki.js, I get the following error message in the logs:

```auto
2025-03-04 08:44:36,286: DEBUG - + yunohost user create svc_wikijs_ldap --fullname SvcWikijsLdap --domain wiki.maindomain.tld --password ********** -q 0
2025-03-04 08:44:36,287: WARNING - ERROR The password needs to be at least 12 characters long and contain a digit, upper, lower and special characters
2025-03-04 08:44:36,293: DEBUG - You are now about to define a new user password. The password should be at least 8 characters long—though it is good practice to use a longer password (i.e. a passphrase) and/or to a variation of characters (uppercase, lowercase, digits and special characters).
2025-03-04 08:44:36,294: DEBUG - + ynh_exit_properly
2025-03-04 08:44:36,295: DEBUG - + [[install =~ ^install$|^upgrade$|^restore$]]
2025-03-04 08:44:36,892: ERROR - Unable to install wikijs: An error occurred inside the app installation script

```

Any assistance would be greatly appreciated 🙂 .

Kann auch Deutsch, aber ich verstehe besser als ich schreibe.

### Share relevant logs or error messages

[https://paste.yunohost.org/raw/zetuhepiho](https://paste.yunohost.org/raw/zetuhepiho)

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [March 9, 2025, 9:27pm UTC](https://forum.yunohost.org/t/wiki-js-installation-fails-to-install-due-to-invalid-password/35844/2 "2025-03-09T21:27:17Z")

</div>

> [@joh6nn](#):
>
> `ERROR The password needs to be at least 12 characters long and contain a digit, upper, lower and special characters`

Need a more complex password

---

<div class="post-metadata">

**Author:** ![joh6nn](https://forum.yunohost.org/user_avatar/forum.yunohost.org/joh6nn/32/11632_2.png) [@joh6nn](https://forum.yunohost.org/u/joh6nn)\
**Post date:** [March 9, 2025, 9:34pm UTC](https://forum.yunohost.org/t/wiki-js-installation-fails-to-install-due-to-invalid-password/35844/3 "2025-03-09T21:34:03Z")

</div>

Yes, I see that, but the password is being set by the app install script. There’s no obvious way for me to change it

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [March 9, 2025, 10:48pm UTC](https://forum.yunohost.org/t/wiki-js-installation-fails-to-install-due-to-invalid-password/35844/4 "2025-03-09T22:48:16Z")

</div>

You have changed the pzss8 setting in the yunohost webadmin \> Tools\>  
YunoHost settings

Change it back to the first option, retry the install then revert the change

---

<div class="post-metadata">

**Author:** ![joh6nn](https://forum.yunohost.org/user_avatar/forum.yunohost.org/joh6nn/32/11632_2.png) [@joh6nn](https://forum.yunohost.org/u/joh6nn)\
**Post date:** [March 10, 2025, 12:37pm UTC](https://forum.yunohost.org/t/wiki-js-installation-fails-to-install-due-to-invalid-password/35844/5 "2025-03-10T12:37:32Z")

</div>

Thank you, I set it back and was able to install the wiki.

1. I would consider this a bug in the installer script, since I’d expect the script to respect this setting. What’s the correct place for me to report this: the app repo?
2. now that the wiki has been installed, is it safe for me to change the password complexity setting back, or would this break the wiki install (because its service user’s password isn’t compliant) ?

---

<div class="post-metadata">

**Author:** ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)\
**Post date:** [March 10, 2025, 1:29pm UTC](https://forum.yunohost.org/t/wiki-js-installation-fails-to-install-due-to-invalid-password/35844/6 "2025-03-10T13:29:58Z")

</div>

Possible fix:

> <https://github.com/YunoHost-Apps/wikijs_ynh/pull/255>
>
> set password with 12 characters long, digit, upper, lower and special characters

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [March 25, 2025, 1:30pm UTC](https://forum.yunohost.org/t/wiki-js-installation-fails-to-install-due-to-invalid-password/35844/7 "2025-03-25T13:30:02Z")

</div>

Closed on March 25, 2025, 1:30pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
