Blank screen #3875

Closed
opened 2026-02-05 07:44:46 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @apatuka on GitHub (Jun 21, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

SQLSTATE[HY000] [2002] Connection refused (SQL: select * from settings where setting_key not like user:%)

Exact BookStack Version

v23.05.2

Log Content

In Connection.php line 760:

SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = bookstack and table_name =
migrations and table_type = 'BASE TABLE')

In Connector.php line 70:

SQLSTATE[HY000] [2002] No such file or directory

PHP Version

8.1

Hosting Environment

Ubuntu 22.01

Originally created by @apatuka on GitHub (Jun 21, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `settings` where `setting_key` not like user:%) ### Exact BookStack Version v23.05.2 ### Log Content In Connection.php line 760: SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from information_schema.tables where table_schema = bookstack and table_name = migrations and table_type = 'BASE TABLE') In Connector.php line 70: SQLSTATE[HY000] [2002] No such file or directory ### PHP Version 8.1 ### Hosting Environment Ubuntu 22.01
OVERLORD added the 🐕 Support label 2026-02-05 07:44:46 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jun 21, 2023):

This appears to be a general failure of database connection.
Is the database running, at the location defined by the .env database details?

Is this a new instance being set-up? Or an existing instances that was working before?
If it's a new instance, how have you installed BookStack?

@ssddanbrown commented on GitHub (Jun 21, 2023): This appears to be a general failure of database connection. Is the database running, at the location defined by the `.env` database details? Is this a new instance being set-up? Or an existing instances that was working before? If it's a new instance, how have you installed BookStack?
Author
Owner

@ssddanbrown commented on GitHub (Jul 4, 2023):

Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed respond to my previous comment and this can then be re-opened.

@ssddanbrown commented on GitHub (Jul 4, 2023): Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed respond to my previous comment and this can then be re-opened.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3875