Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to open stream #44

Open
v2less opened this issue Apr 29, 2024 · 1 comment
Open

failed to open stream #44

v2less opened this issue Apr 29, 2024 · 1 comment

Comments

@v2less
Copy link

v2less commented Apr 29, 2024

docker compose logs app
pastebin-app-1  | [29-Apr-2024 10:20:34] NOTICE: fpm is running, pid 1
pastebin-app-1  | [29-Apr-2024 10:20:34] NOTICE: ready to handle connections
pastebin-app-1  | NOTICE: PHP message: PHP Warning:  require(/var/www/app/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/app/public/index.php on line 34
pastebin-app-1  | NOTICE: PHP message: PHP Fatal error:  require(): Failed opening required '/var/www/app/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/app/public/index.php on line 34
pastebin-app-1  | 172.31.0.5 -  29/Apr/2024:10:20:41 +0200 "GET /index.php" 200
pastebin-app-1  | 172.31.0.5 -  29/Apr/2024:10:20:46 +0200 "GET /index.php" 200
pastebin-app-1  | NOTICE: PHP message: PHP Warning:  require(/var/www/app/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/app/public/index.php on line 34
pastebin-app-1  | NOTICE: PHP message: PHP Fatal error:  require(): Failed opening required '/var/www/app/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/app/public/index.php on line 34
pastebin-app-1  | NOTICE: PHP message: PHP Warning:  require(/var/www/app/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/app/public/index.php on line 34
pastebin-app-1  | NOTICE: PHP message: PHP Fatal error:  require(): Failed opening required '/var/www/app/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/app/public/index.php on line 34
pastebin-app-1  | 172.31.0.5 -  29/Apr/2024:10:20:48 +0200 "GET /index.php" 200
pastebin-app-1  | 172.31.0.5 -  29/Apr/2024:10:20:48 +0200 "GET /index.php" 200
pastebin-app-1  | NOTICE: PHP message: PHP Warning:  require(/var/www/app/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/app/public/index.php on line 34
pastebin-app-1  | NOTICE: PHP message: PHP Fatal error:  require(): Failed opening required '/var/www/app/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/app/public/index.php on line 34
pastebin-app-1  | NOTICE: PHP message: PHP Warning:  require(/var/www/app/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/app/public/index.php on line 34
pastebin-app-1  | NOTICE: PHP message: PHP Fatal error:  require(): Failed opening required '/var/www/app/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/app/public/index.php on line 34
pastebin-app-1  | 172.31.0.5 -  29/Apr/2024:10:20:49 +0200 "GET /index.php" 200
pastebin-app-1  | NOTICE: PHP message: PHP Warning:  require(/var/www/app/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/app/public/index.php on line 34
pastebin-app-1  | NOTICE: PHP message: PHP Fatal error:  require(): Failed opening required '/var/www/app/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/app/public/index.php on line 34
pastebin-app-1  | 172.31.0.5 -  29/Apr/2024:10:20:49 +0200 "GET /index.php" 200
@Sobak
Copy link
Owner

Sobak commented Apr 30, 2024

Hi @v2less, thanks for checking out!

Please go into the container (docker compose exec --user=app app bash) and run composer install. Also, as per readme you will have to run php artisan migrate in the container as well.

Then you will have to go into the container with nodejs intalled (docker compose exec node bash) and run yarn dev (or yarn prod if you intend to use it on production - but the docker setup contained in the repository is prepared strictly with local development in mind!)

Please let me know if these worked and then I'll clarify the readme further. I realized now it might have been a little bit unclear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants