Login error after updating to v21.08.5 (LDAP) #2432

Closed
opened 2026-02-05 04:07:29 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @ADMDW on GitHub (Oct 15, 2021).

Hello,

after updating to version v21.08.5, I get the following error message when logging in: "An unknown error occurred"
If I confirm the error message, I am logged in an everything ist fine. I get the same error when I make a change to a user profile.

I use LDAP for authentication and the server is running Ubuntu 20.04.3 including all available updates.

Thanks for your help

Originally created by @ADMDW on GitHub (Oct 15, 2021). Hello, after updating to version v21.08.5, I get the following error message when logging in: "An unknown error occurred" If I confirm the error message, I am logged in an everything ist fine. I get the same error when I make a change to a user profile. I use LDAP for authentication and the server is running Ubuntu 20.04.3 including all available updates. Thanks for your help
Author
Owner

@ssddanbrown commented on GitHub (Oct 15, 2021):

Hi @ADMDW,
Can you follow the guidance on the below link to get the error detail from your laravel.log file:
https://www.bookstackapp.com/docs/admin/debugging/

@ssddanbrown commented on GitHub (Oct 15, 2021): Hi @ADMDW, Can you follow the guidance on the below link to get the error detail from your `laravel.log` file: https://www.bookstackapp.com/docs/admin/debugging/
Author
Owner

@ADMDW commented on GitHub (Oct 15, 2021):

laravel.log
Hi ssddanbrown,
here is the log file.
many thanks

@ADMDW commented on GitHub (Oct 15, 2021): [laravel.log](https://github.com/BookStackApp/BookStack/files/7353454/laravel.log) Hi ssddanbrown, here is the log file. many thanks
Author
Owner

@ADMDW commented on GitHub (Oct 15, 2021):

The "ip" column is missing in the "activities" table of the "bookstack" database. After I added this manually, the login works without any errors.
Did I do something wrong with the update?

@ADMDW commented on GitHub (Oct 15, 2021): The "ip" column is missing in the "activities" table of the "bookstack" database. After I added this manually, the login works without any errors. Did I do something wrong with the update?
Author
Owner

@ssddanbrown commented on GitHub (Oct 15, 2021):

Hi @ADMDW,

After I added this manually, the login works without any errors.

Changing the database manually will likely cause you problems during future updates.

Did I do something wrong with the update?

I would assume that either the php artisan migrate step was not ran or there was an error upon running that step. This command would have updated the database to match the updated code-base.

@ssddanbrown commented on GitHub (Oct 15, 2021): Hi @ADMDW, > After I added this manually, the login works without any errors. Changing the database manually will likely cause you problems during future updates. > Did I do something wrong with the update? I would assume that either the `php artisan migrate` step was not ran or there was an error upon running that step. This command would have updated the database to match the updated code-base.
Author
Owner

@ADMDW commented on GitHub (Oct 15, 2021):

#Changing the database manually will likely cause you problems during future updates.

it was just the test system ;)

#I would assume that either the php artisan migrate step was not ran or there was an error upon running that step. This command would have updated the database to match the updated code-base.

I ran the update again and started the command "php artisan migrate" separately after the command "git pull origin release && composer install --no-dev".
That was the mistake - now everything works fine.

Many many thanks

@ADMDW commented on GitHub (Oct 15, 2021): #Changing the database manually will likely cause you problems during future updates. it was just the test system ;) #I would assume that either the php artisan migrate step was not ran or there was an error upon running that step. This command would have updated the database to match the updated code-base. I ran the update again and started the command "php artisan migrate" separately after the command "git pull origin release && composer install --no-dev". That was the mistake - now everything works fine. Many many thanks
Author
Owner

@ssddanbrown commented on GitHub (Oct 15, 2021):

Awesome! Will therefore close this off.

@ssddanbrown commented on GitHub (Oct 15, 2021): Awesome! Will therefore close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2432