Skip to content
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

Enhancement: system check command #47

Open
robbieaverill opened this issue Feb 26, 2017 · 3 comments
Open

Enhancement: system check command #47

robbieaverill opened this issue Feb 26, 2017 · 3 comments
Assignees

Comments

@robbieaverill
Copy link
Contributor

robbieaverill commented Feb 26, 2017

A system:check command could perform a series of automated checks on your environment. This wouldn't necessarily replace things like the silverstripe/environmentcheck module, but more basic checks that would be required for SilverStripe to operate (NB: it's possible that the command itself may not run if that were the case):

  • PHP version support
  • php-intl installed
  • dotenv is available
  • Permissions across various folders (read everywhere, local write on assets)
  • Database is reachable

cc @silverleague/console for feedback

@robingram
Copy link
Contributor

Is there any gain from having this outside the installation process? I'm assuming that those things are checked on install, or should be.

I guess one use would be troubleshooting problems after deploying to a new server.

@robbieaverill
Copy link
Contributor Author

@robingram yeah they're checked on install provided you use the web installer. If you configure it yourself then you will have to rely on any composer requirements to check your server specs.

@robbieaverill robbieaverill removed this from the 1.0.0 milestone Apr 26, 2018
@robbieaverill
Copy link
Contributor Author

Perhaps this might be more useful as a diagnose command, doing something similar to what composer diagnose does - system information, SilverStripe version information etc

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

No branches or pull requests

4 participants