[PDOException] SQLSTATE[HY000] [2002] No such file or directory #263

Closed
opened 2026-02-04 18:08:33 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @s0n- on GitHub (Feb 10, 2017).

I am attempting to install Bookstack from the ububtu install script on 16.04

Everything looks good except I get the following error before the end and when i visit the IP i get the error from bookstack "something may have went wrong"

Originally created by @s0n- on GitHub (Feb 10, 2017). I am attempting to install Bookstack from the ububtu install script on 16.04 Everything looks good except I get the following error before the end and when i visit the IP i get the error from bookstack "something may have went wrong"
Author
Owner

@lommes commented on GitHub (Feb 10, 2017):

First thing that came to my mind was, that you are trying to use sqlite. If so please check if a file named database.sqlite is existing in the storage/ directory. If this file does not exist please create an empty file with that name.

If you try to use any other database please provide further information from storage/logs/laravel.log

@lommes commented on GitHub (Feb 10, 2017): First thing that came to my mind was, that you are trying to use sqlite. If so please check if a file named `database.sqlite` is existing in the storage/ directory. If this file does not exist please create an empty file with that name. If you try to use any other database please provide further information from `storage/logs/laravel.log`
Author
Owner

@s0n- commented on GitHub (Feb 10, 2017):

Apparantly the first option was to put in a domain, the first time I put in http://IP and got this error. The next time I ran this i tried http://FQDN and this time it worked perfectly.

@s0n- commented on GitHub (Feb 10, 2017): Apparantly the first option was to put in a domain, the first time I put in http://IP and got this error. The next time I ran this i tried http://FQDN and this time it worked perfectly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#263