Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

php artisan up command not working in laravel?

I have this very strange problem in laravel. I successfully put my website into maintenance mode via artisan by this command:

php artisan down

But now i have to put my website back into live mode.I tried:

php artisan up

However, the site isn't going live even though i get success message? Have you guys ever faced this issue? Whats the fix?

I'm on :

1. Macbook pro Mamp
2. Laravel 5.1

Thanks

like image 754
Prajwol Onta Avatar asked Jan 07 '23 22:01

Prajwol Onta


1 Answers

artisan up command simply deletes storage/framework/down file. Please check if the file exits after you execute the up command. If it still exists, it seems like a file access issue. Whenever you run down/up commands, make sure that you run them as the same user that is running your application.

In order to get the site up and running again, remove the storage/framework/down file manually.

like image 157
jedrzej.kurylo Avatar answered Jan 14 '23 20:01

jedrzej.kurylo