Failed to open eautoload.php" on the new release #3834

Closed
opened 2026-02-05 07:37:43 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @hermannbile on GitHub (Jun 4, 2023).

Describe the Bug

Hello,

After cloning the folder in the new release, error in nginx log.

2023/06/04 09:15:45 [error] 1566#1566: *2 FastCGI sent in stderr: "PHP message: PHP Warning: require(/var/www/BookStack/public/../vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/BookStack/public/index.php on line 34; PHP message: PHP Fatal error: Uncaught Error: Failed opening required '/var/www/BookStack/public/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php:/usr/share/pear:/usr/share/php') in /var/www/BookStack/public/index.php:34 Stack trace:

Steps to Reproduce

1- clone the folder
==> git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch
2- Put the correct Right
==> chown -R nginx:nginx /var/www/BookStack
4- Try to access through the browser
5- Check nginx log

Expected Behaviour

Acces to the GUI

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

23.05.2

PHP Version

8.2

Hosting Environment

Centos 7

Originally created by @hermannbile on GitHub (Jun 4, 2023). ### Describe the Bug Hello, After cloning the folder in the new release, error in nginx log. `2023/06/04 09:15:45 [error] 1566#1566: *2 FastCGI sent in stderr: "PHP message: PHP Warning: require(/var/www/BookStack/public/../vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/BookStack/public/index.php on line 34; PHP message: PHP Fatal error: Uncaught Error: Failed opening required '/var/www/BookStack/public/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php:/usr/share/pear:/usr/share/php') in /var/www/BookStack/public/index.php:34 Stack trace: ` ### Steps to Reproduce 1- clone the folder ==> git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch 2- Put the correct Right ==> chown -R nginx:nginx /var/www/BookStack 4- Try to access through the browser 5- Check nginx log ### Expected Behaviour Acces to the GUI ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version 23.05.2 ### PHP Version 8.2 ### Hosting Environment Centos 7
OVERLORD added the 🐛 Bug label 2026-02-05 07:37:43 +03:00
Author
Owner

@hermannbile commented on GitHub (Jun 4, 2023):

I was an isse with file permission.

@hermannbile commented on GitHub (Jun 4, 2023): I was an isse with file permission.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3834