Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

felipesmendes's avatar

Laravel 6 Aways given Be right back.

Hello,

I'm deploying to aws a version of my platform made in laravel 6, so after deploy I'm running this scritpt:

#!/bin/bash
php /var/www/html/tracker/artisan clear-compiled
php /var/www/html/tracker/artisan view:clear
php /var/www/html/tracker/artisan cache:clear

chown -R www-data:www-data /var/www/html/tracker
sudo find /var/www/html/tracker -type d -exec chmod 755 {} +
sudo find /var/www/html/tracker -type f -exec chmod 644 {} +
chmod -R 777 /var/www/html/tracker/storage

composer update -d /var/www/html/tracker

Gotting in every route I try to access Be right back message.

Someone could please get me a light about that?

0 likes
2 replies
felipesmendes's avatar
felipesmendes
OP
Best Answer
Level 1

Guys I found the problem, is missing .env file.

Thanks for atention.

Please or to participate in this conversation.