Skip to content

AppStarter Vanilla Installation - No hint that writable directory is not writable #1934

Description

@Tilogorn

Just installed CI4 via AppStarter, changed nothing more than the baseURL and got a 500 in the browser saying "Whoops! We seem to have hit a snag. Please try again later...".

Digging deeper I found out that there happens a call to a cache()->get()-function which checks if the current request is already cached. Combined with the finding, that the default cache handler is "file", I guessed and made the writable directory writable for www-data and the request succeeded.

Neither the installation section in the CI4-docs nor the CI4-error message gave me a hint to the correct direction. Maybe one of those two could be optimized (preferring a more meaningful 500 error message). It was just experienced PHP-dev intuition and debugging in the vendors directory, which not everyone may be capable of, that lead me to the right fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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