Skip to content

Upgrade from 24.05.1 to 25.07 fails on authentication part (ldap_read(): Search: No such object) #6076

@aguiot

Description

@aguiot

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Hello,

We are currently using Bookstack v24.05.1, and was working great.
We are upgrading to v25.07, and we are able to deploy it BUT the ldap authentication part is no longer working, and we are stuck on a An unknown error occurred window.
I have read release notes, debug/upgrade documentation, and I have been able to retrieve an Erro message (cf log content part):

And I am not able to find what I am doing wrong.
On top of that, I have made some tests, and I figured out that the first version not working for us is the v24.05.4.
I have found nothing in the release notes about a change we would need to do.

Do you have any idea on what we should change to upgrade to a newer version?

Thanks!

Exact BookStack Version

25.07

Log Content

[2026-03-30 12:03:27] production.ERROR: ldap_read(): Search: No such object {"exception":"[object] (ErrorException(code: 0): ldap_read(): Search: No such object at /var/www/bookstack/app/Access/Ldap.php:71)

Hosting Environment

Alpine based image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions