I’ve tried all the suggestions in this post: https://www.digitalocean.com/community/questions/can-t-restart-ghost-after-update-ghost-cli-commands-do-not-work-error
Steps to reproduce
cd into ghost project (e.g. /var/www/ghost)ghost helpExpected behavior
Ghost command should return list of help instructions.
Actual behavior:
When I run ghost help, nothing happens the command just hangs.
Out of ideas on this one. I’m just trying to restart ghost after making a change to default.hbs
I’ve also noticed that my ghost droplet has been ridiculously slow. Taking 20 seconds or so just to load the homepage which has a few static assets, nothing more. Was seeing some 5xx gateway timeout errors intermittently. Monitoring graphs show 99% CPU and Memory usage. Is that normal for the $6/mo tier ghost droplet?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Update:
I ssh’d into the droplet and ran reboot. Everything seems to be working now, the slow speeds appear to be gone, and ghost commands are working. Will keep this ticket updated if something changes or goes similarly wrong again.
Hi @jonwt,
Let’s start with the usage question. I believe the minimum RAM for ghost installation is 1GB , (as stated in their documentation) and for lower than 1GB we you use swap memory. Having said that, that can cause some slowness.
A couple of things to check according to GHOST docs again
Are you using the default theme?
The theme is the place where you as a user have the most ability to cause performance bottlenecks by accident, as it were.
Are you up-to-date?
We regularly test and make improvements to performance, so it should pay off to keep up-to-date. If your performance decreases significantly after an update, we’d want to know about it.
Additionally, can you see if you can use the ghost-cli with your root user or you can’t use it with it as well? If that’s the case you can try and install ghost cli on your user by running the following command:
- npm install ghost-cli@latest -g
I follow your step and I got same issue.
And then I try this command but still same issue.
$ sudo -i -u ghost-mgr
$ ghost help
Does not return anything. Anyone can help me please?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.