-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Check nginx install without dpkg #853
Comments
@enguerran that's a possibility, however it might be a little tricky as nginx by default (at least in Ubuntu) is installed in |
After an update, I find this error on my Arch Linux server (which doesn't have dpkg -l to search if nginx is installed). I thought that maybe one solution was to ask the user if we skip or not after The solution may be something like this Ghost-CLI/lib/commands/doctor/checks/system-stack.js Lines 43 to 62 in 94389d5
I can write the code needed using inquirer if the proposotion is accepted. |
@enguerran I'm working on some improvements to these checks - should have something out soon. |
refs TryGhost#853,TryGhost#1265 - refactor system stack check to use systeminformation to check support - update ubuntu allowed versions to support Ubuntu 20
@enguerran I've refactored the stack check to use systeminformation's This change will be released with Ghost-CLI 1.15.0. |
Thank you very much @acburdine for following up on this modification request which is clearly not proprietary but which I am very pleased with! |
Unfortunately, I am still having this issue on Archlinux with ghost-cli 1.17.3. Did anything in the detection mechanism change again? |
Summary
Regarding https://github.com/TryGhost/Ghost-CLI/blob/master/extensions/nginx/index.js#L282
We check Nginx by using a third-party command called
dpkg
that is available only on Debian-based distributions.I use Arch linux and I have nginx installed. I can check it with
Then the command
ghost setup nginx
can do everything it needs:Can we not consider using
nginx -v
to check for the presence of nginx?The text was updated successfully, but these errors were encountered: