Skip to content

Unable to login to bookstack from within webpage dashboard #399

@mylarhomestead

Description

@mylarhomestead

HARDWARE
Raspberry Pi 4B 8GB

System
Installation method: Home Assistant OS
Core: 2025.7.1
Supervisor: 2025.06.2
Operating System: 15.2
Frontend: 20250702.1
SSL: Valid LetsEncrypt wildcard cert for *.mydomain.com
Home Assistant URL: https://ha.mydomain.com
Connectivity to Bookstack: Webpage Dashboard within HA using sidebar pointing to https://ha.mydomain.com:2665/

Bookstack Configuration
envvars:

  • name: LOG_FAILED_LOGIN_MESSAGE
    value: Failed login for %u
  • name: SESSION_COOKIE_NAME
    value: bookstack_session
  • name: ALLOWED_IFRAME_HOSTS
    value: https://ha.mydomain.com https://192.168.32.125 <-ip address of the HA server
  • name: ALLOWED_IFRAME_SOURCES
    value: "*"
    ssl: true
    certfile: fullchain.pem
    keyfile: privkey.pem

Issue:
Regardless of trying to login using the "OPEN WEB UI" button or using the sidebar, I am unable to login. It does not throw an error in the HA logs, it does not tell me that there was an authentication error with my credentials, it does not do anything other than take me back to the default page of bookstack. The only way to get it to work is if I remove the following from the environment variables:

The only errors/warnings I am receiving from the addon logs are as follows:

[17:13:24] INFO: Starting NGINX...
nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/servers/direct.conf:3
nginx: [warn] "ssl_stapling" ignored, no OCSP responder URL in the certificate "/ssl/fullchain.pem"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions