Homepage unknown error occurred #4808

Closed
opened 2026-02-05 09:17:35 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @trekie80 on GitHub (Jun 3, 2024).

Describe the Bug

After updating from v24.02.3 -> v24.05.1 the homepage now displays 'An Unknown Error Occurred'.
This occurs for both signed in and guest users.

Tried changing the 'Application Homepage' setting from Shelves to Default (and back) with no success.
/shelves & /books appear to work no issue.

Apache logged no errors, but the following access logs.

10.xx.xx.xx - - [03/Jun/2024:09:53:36 +0100] "GET / HTTP/1.1" 500 15398 "http://bookstack-url/settings/customization" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0"

10.xx.xx.xx - - [03/Jun/2024:09:53:39 +0100] "GET /dist/styles.css?version=v24.05.1 HTTP/1.1" 304 - "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0"

10.xx.xx.xx - - [03/Jun/2024:09:53:39 +0100] "GET /dist/app.js?version=v24.05.1 HTTP/1.1" 304 - "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0"

10.xx.xx.xx - - [03/Jun/2024:09:54:43 +0100] "GET / HTTP/1.1" 500 10241 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0"

10.xx.xx.xx - - [03/Jun/2024:09:54:45 +0100] "GET /dist/styles.css?version=v24.05.1 HTTP/1.1" 200 118688 "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0"

10.xx.xx.xx - - [03/Jun/2024:09:54:45 +0100] "GET /dist/app.js?version=v24.05.1 HTTP/1.1" 200 180401 "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0"

10.xx.xx.xx - - [03/Jun/2024:09:54:45 +0100] "GET /uploads/images/system/2022-12/chP5LYGbFjWYCDvv-outline-crest-only-white-400x400.png HTTP/1.1" 200 8039 "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0"

10.xx.xx.xx - - [03/Jun/2024:09:54:45 +0100] "GET /icon-32.png HTTP/1.1" 200 746 "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0"

Steps to Reproduce

Navigate to base url e.g http://bookstack-url/ or click the link in top left

Expected Behaviour

Display configured homepage

Screenshots or Additional Context

Browser Details

Multiple

Exact BookStack Version

v24.05.1

Originally created by @trekie80 on GitHub (Jun 3, 2024). ### Describe the Bug After updating from v24.02.3 -> v24.05.1 the homepage now displays 'An Unknown Error Occurred'. This occurs for both signed in and guest users. Tried changing the 'Application Homepage' setting from Shelves to Default (and back) with no success. /shelves & /books appear to work no issue. Apache logged no errors, but the following access logs. ``` 10.xx.xx.xx - - [03/Jun/2024:09:53:36 +0100] "GET / HTTP/1.1" 500 15398 "http://bookstack-url/settings/customization" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0" 10.xx.xx.xx - - [03/Jun/2024:09:53:39 +0100] "GET /dist/styles.css?version=v24.05.1 HTTP/1.1" 304 - "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0" 10.xx.xx.xx - - [03/Jun/2024:09:53:39 +0100] "GET /dist/app.js?version=v24.05.1 HTTP/1.1" 304 - "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0" 10.xx.xx.xx - - [03/Jun/2024:09:54:43 +0100] "GET / HTTP/1.1" 500 10241 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0" 10.xx.xx.xx - - [03/Jun/2024:09:54:45 +0100] "GET /dist/styles.css?version=v24.05.1 HTTP/1.1" 200 118688 "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0" 10.xx.xx.xx - - [03/Jun/2024:09:54:45 +0100] "GET /dist/app.js?version=v24.05.1 HTTP/1.1" 200 180401 "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0" 10.xx.xx.xx - - [03/Jun/2024:09:54:45 +0100] "GET /uploads/images/system/2022-12/chP5LYGbFjWYCDvv-outline-crest-only-white-400x400.png HTTP/1.1" 200 8039 "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0" 10.xx.xx.xx - - [03/Jun/2024:09:54:45 +0100] "GET /icon-32.png HTTP/1.1" 200 746 "http://bookstack-url/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0" ``` ### Steps to Reproduce Navigate to base url e.g http://bookstack-url/ or click the link in top left ### Expected Behaviour Display configured homepage ### Screenshots or Additional Context - ### Browser Details Multiple ### Exact BookStack Version v24.05.1
OVERLORD added the 🐛 Bug label 2026-02-05 09:17:35 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jun 3, 2024):

Hi @trekie80,
Please follow our debugging guidance to get errors from you app logs or debug view:
https://www.bookstackapp.com/docs/admin/debugging/

@ssddanbrown commented on GitHub (Jun 3, 2024): Hi @trekie80, Please follow our debugging guidance to get errors from you app logs or debug view: https://www.bookstackapp.com/docs/admin/debugging/
Author
Owner

@trekie80 commented on GitHub (Jun 3, 2024):

@ssddanbrown Thanks for the link, through debugging mode I got the following error:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'activities.loggable_id'

re-run php artisan migrate and this cleared it right up - not sure whether the migrate failed the first time round or what, but this is now working. Much appreciated!

@trekie80 commented on GitHub (Jun 3, 2024): @ssddanbrown Thanks for the link, through debugging mode I got the following error: `SQLSTATE[42S22]: Column not found: 1054 Unknown column 'activities.loggable_id'` re-run `php artisan migrate` and this cleared it right up - not sure whether the migrate failed the first time round or what, but this is now working. Much appreciated!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4808