We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running some composer scripts Craft says: "Craft commands should not be run as the root/super user." and points to a docs site: https://craftcms.com/knowledge-base/craft-console-root
However, there is the option to continue the script anyways.
Is this something to worry about? Is there even a non-root user in that Docker container?
Steps to reproduce the behaviour:
make composer post-craft-update
Composer script runs successfully
The text was updated successfully, but these errors were encountered:
It's fine in local dev, just put something like this in your .env file:
.env
# Allow superuser in local dev CRAFT_ALLOW_SUPERUSER=1 COMPOSER_ALLOW_SUPERUSER=1
Addressed in: e567ada
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When running some composer scripts Craft says: "Craft commands should not be run as the root/super user." and points to a docs site: https://craftcms.com/knowledge-base/craft-console-root
However, there is the option to continue the script anyways.
Is this something to worry about? Is there even a non-root user in that Docker container?
To reproduce
Steps to reproduce the behaviour:
make composer post-craft-update
Expected behaviour
Composer script runs successfully
Versions
The text was updated successfully, but these errors were encountered: