Skip to content

Create storage dirs before enabling maintenance mode#2459

Merged
williamjallen merged 1 commit intoKitware:masterfrom
williamjallen:docker-create-directories
Sep 24, 2024
Merged

Create storage dirs before enabling maintenance mode#2459
williamjallen merged 1 commit intoKitware:masterfrom
williamjallen:docker-create-directories

Conversation

@williamjallen
Copy link
Collaborator

Laravel's maintenance mode writes a file to the storage directory, which is problematic for new instances which do not have storage directories created yet. This PR moves the directory creation logic before the command to turn on maintenance mode, which allows new instances to be spun up seamlessly without needing commands to be run manually.

@williamjallen williamjallen added this pull request to the merge queue Sep 24, 2024
Merged via the queue into Kitware:master with commit 1308df8 Sep 24, 2024
@williamjallen williamjallen deleted the docker-create-directories branch September 24, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unable to start cdash becasuse of ERROR Failed to enter maintenance mode: Please provide a validcache path..

2 participants

Comments