Reputation: 1192
I have recently deployed my Laravel 5.5 app on heroku. Everything works fine, except for the maintenance mode. The command php artisan down
doesn't seem to work on heroku which works fine on my local machine. Any ideas?
Upvotes: 1
Views: 818
Reputation: 1945
Make sure your storage folder have sufficient permission so try following steps:
heroku run php artisan down --app appname
You can directly make maintenance on mode on heroku that is visiting https://dashboard.heroku.com/apps/appname/settings
Upvotes: 1
Reputation: 12460
Another solution to this problem is to use heroku maintenance:on
and heroku maintenance:off
which use Heroku's maintenance mode instead.
Upvotes: 0
Reputation: 9146
The down
command writes a file into the <storagepath>/framework
folder named down
. Make sure that's writeable.
Upvotes: 1