Changing Application Homepage breaks login #1237

Closed
opened 2026-02-05 00:21:29 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @bitos on GitHub (Jun 25, 2019).

Describe the bug

  • Changing the "Application Homepage" setting to Shelves 'broke' the application.
  • Unable to logon after changing this setting. The /login page stays blank for all users and does not redirect to the application.
  • Unable to change the setting, even with the still logged on admin user.
  • The view profile page also seems broken.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Login as an admin user
  2. Go to Settings
  3. Scroll down to 'Application Homepage'
  4. Change setting from Default to Shelves
  5. Press Save settings
  6. (Note that the Application Homepage setting did not change to reflect the desired state.)

Expected behavior
After logging in, the application should redirect the user to the Shelves page.

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): BookStack v0.26.2
  • PHP Version: 7.0
  • Hosting Method (Nginx/Apache/Docker): NGINX
Originally created by @bitos on GitHub (Jun 25, 2019). **Describe the bug** - Changing the "Application Homepage" setting to Shelves 'broke' the application. - Unable to logon after changing this setting. The /login page stays blank for all users and does not redirect to the application. - Unable to change the setting, even with the still logged on admin user. - The view profile page also seems broken. **Steps To Reproduce** Steps to reproduce the behavior: 1. Login as an admin user 2. Go to Settings 3. Scroll down to 'Application Homepage' 4. Change setting from Default to Shelves 5. Press Save settings 6. (Note that the Application Homepage setting did not change to reflect the desired state.) **Expected behavior** After logging in, the application should redirect the user to the Shelves page. **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): BookStack v0.26.2 - PHP Version: 7.0 - Hosting Method (Nginx/Apache/Docker): NGINX
OVERLORD added the 🐕 Support🔍 Pending Validation labels 2026-02-05 00:21:29 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jun 25, 2019):

Hi @bitos,
Thanks for the report and sorry to hear you are having issues.

Unfortunately I'm not able to replicate this behaviour.

With the following point:

Unable to change the setting, even with the still logged on admin user.

In what way are you unable to change the setting? Are you able to visit/see the /settings page of the application if you navigate to it directly?

In addition:

  • Did you experience this soon after updating or installing your instance?
  • Is your BookStack instance hosted in a reverse proxy or on a subpath? (eg: http://example.com/wiki/)
  • Was any Custom Head HTML content set in the settings?
@ssddanbrown commented on GitHub (Jun 25, 2019): Hi @bitos, Thanks for the report and sorry to hear you are having issues. Unfortunately I'm not able to replicate this behaviour. With the following point: > Unable to change the setting, even with the still logged on admin user. In what way are you unable to change the setting? Are you able to visit/see the `/settings` page of the application if you navigate to it directly? In addition: - Did you experience this soon after updating or installing your instance? - Is your BookStack instance hosted in a reverse proxy or on a subpath? (eg: http://example.com/wiki/) - Was any Custom Head HTML content set in the settings?
Author
Owner

@bitos commented on GitHub (Jun 26, 2019):

Hi Dan,

Thanks for your quick reply (and for creating this amazing application!)

I insalled the application on a clean CentOS 7 VM, following this guide: https://www.howtoforge.com/tutorial/centos-bookstack-nginx/. I did not set any Custom Head HTML.

Since I needed to be up and running fast, I started completely from scratch (now taking snapshots along the way ;)) and the issue did not reappear when trying it the second time...

@bitos commented on GitHub (Jun 26, 2019): Hi Dan, Thanks for your quick reply (and for creating this amazing application!) I insalled the application on a clean CentOS 7 VM, following this guide: https://www.howtoforge.com/tutorial/centos-bookstack-nginx/. I did not set any Custom Head HTML. Since I needed to be up and running fast, I started completely from scratch (now taking snapshots along the way ;)) and the issue did not reappear when trying it the second time...
Author
Owner

@ssddanbrown commented on GitHub (May 8, 2021):

Sorry for the late reply, but thanks for confirming. Will therefore close this since the issue was no longer apparent.

@ssddanbrown commented on GitHub (May 8, 2021): Sorry for the late reply, but thanks for confirming. Will therefore close this since the issue was no longer apparent.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1237