BookStack - knowledge management application
-
Bad timing, I just pushed an update with the new manifestVersion, now LDAP is working properly. The downside: You still have to chose, either regular users or ldap, they won't mix.
You can grab it from here: https://git.cloudron.io/msbt/bookstack-app/ and this is how to get it working:
1) Login after installation using email 'admin@admin.com' and password of 'password'
2) Go toEdit Profile
and change the password
3) Go to settings and make sure that registration is disabled and theDefault user role after registration
is set to Admin (at least until you've first logged in with an admin-account) and save the settings (even when you haven't changed anything)
4) Remove the comment of AUTH_METHOD=ldap in /app/data/.env
5) Login with your Cloudron accountI will check out the thing with saving a setting which seems to be default, if that works we don't need a default admin account and steps 1, 2, 3 and 4 won't be necessary
-
@msbt Just an FYI I am getting a LOT of login errors after restarting the container after initial login:
Jun 26 20:59:30 + [[ ! -f /app/data/.env ]] Jun 26 20:59:30 + [[ ! -d /run/sessions/ ]] Jun 26 20:59:30 + chmod -R 755 /app/data/uploads /app/data/storage Jun 26 20:59:30 + php artisan migrate --no-interaction --force [PDOException] Jun 26 20:58:28 SQLSTATE[HY000] [1045] Access denied for user 'REDACTED'@'f45baf31- Jun 26 20:58:28 somethingsomething.cloudron' (using password: YES)
It has been sitting at repeating the above message for 30 minutes for me.
-