Skip to content

Running artisan up without w permission doesn't display an error message #30421

Closed
@robchava

Description

  • Laravel Version: 5.8
  • PHP Version: PHP 7.2.19-0ubuntu0.18.04.2
  • Database Driver & Version: NA

Description:

Running ./artisan down with incorrect permissions fails with an error message. However running ./artisan up does not, but instead indicates it did exit maintenance mode but it does not remove the app from maintenance mode.

Steps To Reproduce:

cd into your app directory (in which your current user doesn't have w permission)
./artisan down
Verify you get an error message on the console
Verify your site is not in maintenance mode
sudo ./artisan down
Verify your site is in maintenance mode
./artisan up
Verify you didn't get any error message on the console, but instead a success message ("Application is now live.")
Verify your site is still in maintenance mode

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions