-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
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
If CLI user does not have permissions on Backdrop folders then Bootstrap commands show configuration directory error #428
Comments
Hi @marcus-leonard I've tested with this release and can't reproduce as it stands, so we may need to delve deeper. I can't see any recent fixes that might be related to this. |
Thanks for the quick reply. I dug a bit further and it looks like permissions. I should have realised sooner, but I've got Bd chown'd to apache, but I ran I could suggest Having done this, I'm now getting another error, but I'll log that separately. Cheers. |
Hi @marcus-leonard I've changed the title of this issue. I think it would make sense to add some checks for file permissions so that error messages can be more meaningful. |
Needs a bit of thought about where to put this as will not be relevant to all commands in all scenarios: for example EDIT: Another thought: If the user is using database config storage then we don't want to rely on checking the readability or writability of config files. Wider feedback please |
I'm not sure if this is a Bee issue or something else, but the issue only happens when running Bee.
Running Bd 1.28.2, Bee 1.x-1.0.2.
The site runs fine without problems afaik.
bee st
works fine.bee cron
andbee pml
throw this error:Exception: The configuration directory in settings.php is specified as './files/config_9c5e4e5663bfc5ea8eca0ce92b9bca01/active', but this directory is either empty or missing crucial files. Check that the $config_directories variable is correct in settings.php. in _backdrop_bootstrap_configuration() (line 3064 of /srv/www/profess/backdrop/core/includes/bootstrap.inc).
There's nothing in the recent log messages.
Calling cron with curl or in a browser also has no issues.
The text was updated successfully, but these errors were encountered: