Comments (20)
@emolchanov Based on what you've shown, I'm not entirely sure what error is occurring, but it appears that the npm install ghost
command is hanging up on one of its dependencies. I'm going to take a look later at changing from npm over to yarn, so we'll see if that helps at all.
Would you be willing/able to provide a better description of your environment so I can further help debug this?
from ghost-cli.
@acburdine, sure :) What do you need?
from ghost-cli.
I am having the exact same issue. Literally left it running overnight to no avail. Happy to help in any way I can
node: v6.9.4
npm: 3.10.10
macOS: 10.12.2
iTerm2: 3.0.13
ghost-cli: 1.0.0-alpha.8
from ghost-cli.
@ecwyne sorry you're having trouble as well!
Can both of you update to 1.0.0-alpha.9 (of the CLI, just published it) and see if that solves the issue with ghost install local
?
If that doesn't fix the issue, I'm planning on refactoring the CLI tool to use Yarn here soon, so it should make it a little more stable wrt the installation process.
from ghost-cli.
@acburdine thanks for the rapid response!
Just updated to 1.0.0-alpha.9 and still seems to get stuck at the same place.
Downloading and installing Ghost v1.0.0-alpha.9
from ghost-cli.
@emolchanov @ecwyne I just released a new version of the CLI (1.0.0-alpha.10) - can you try that and let me know if the issue is fixed?
The new version uses Yarn rather than npm - so you'll need to install Yarn first π Fortunately though - it should improve reliability of things tremendously.
from ghost-cli.
from ghost-cli.
@ecwyne so - the issue there is that Ghost by default tries to run on a system stack that is Ubuntu 16, nginx, and systemd-based. The problem you're getting is because you're trying to run this on a mac.
In the next version, there will be more strides given to ensure that ^ error doesn't occur, and the process manager falls back to the local one, but for the moment just run ghost install local
instead.
(Also, that was the original title of the issue, so if ghost install local
works now then I'll close this π)
from ghost-cli.
I actually realized that I ran ghost i
without local
so I started that right after I sent that picture. It's Starting ghost
now. Install went MUCH faster thanks to yarn caching! π
from ghost-cli.
Not sure how long "Starting Ghost
" should take, but it's looked like this for maybe 5 mins.
from ghost-cli.
After leaving this running for 30 minutes it still was saying "Starting Ghost"
I then
- Stopped the process
- Ran
ghost config
- Ran
ghost run
from ghost-cli.
@ecwyne try running ghost run -D
ghost install local uses the development NODE_ENV, so if you want to use the config created for a local setup you have to run Ghost in development as well.
from ghost-cli.
I WAS able to start the server when I ran ghost run -D
though I still get lots of Error: Cannot find module './build/Release/DTraceProviderBindings'
errors
I cleared the directory and started over again one more time, got stuck at Starting Ghost
but then checked if localhost:2368
was working and it WAS.
from ghost-cli.
Hmm...ok - would you be willing to hop on the ghost slack channel here? https://slack.ghost.org
We can chat in real time there.
Ping me once you're on (username: austin) and we can hopefully get this resolved quicker :)
from ghost-cli.
I'm actually fairly certain that the bug that caused this issue initially is the same bug that caused the second issue - this should be fixed in #139
from ghost-cli.
@emolchanov @ecwyne Released this fix with Ghost-CLI 1.0.0-alpha.11 - please let me know if you have further issues π
from ghost-cli.
@acburdine with Ghost-CLI 1.0.0-alpha.11 all is ok π thx
from ghost-cli.
@acburdine but after install, if I stop ghost with ghost stop
and try to start it again with ghost start
I have an error on macOs Sierra.
from ghost-cli.
@emolchanov So if you installed with ghost install local
- you'll need to start it with ghost start -D
, because ghost start
by default tries to start Ghost in the production environment.
I'll do some messaging improvements this week too to try and improve the UI around this, but as a workaround ghost start -D
will work π
from ghost-cli.
@acburdine ok, thanks.
from ghost-cli.
Related Issues (20)
- Ghost instances not starting up: They get stuck at "Starting Ghost: HOT 1
- ghost cli config help ambiguity HOT 1
- ghost-cli complains about systemd files corrupted, then about "ghost" user not created when recreating them HOT 1
- Strictly following the Ubuntu install guide on Ubuntu 22.04 fails, because the `root` MySQL user gets created with `auth_socket` auth, not a password HOT 5
- Handle email sending failures during setup more cleanly HOT 2
- Ghost install did not create system/nginx-root folder HOT 1
- Command failed: yarn install --no-emoji --no-progress HOT 1
- Create users from client HOT 2
- Access denied for user 'root'@'localhost' HOT 5
- installation fails with success message - database empty HOT 4
- Installation Issues - Blinking at Step 4 & 5 HOT 3
- The underlying principle of Ghost-CLI HOT 1
- The way ghost doctor checks permissions could be improved HOT 1
- Systemd _precheck() code could be improved HOT 1
- Ghost install thinks itβs running in a non interactive shell HOT 6
- latest ghost-cli start crashing on freebsd stable/14 HOT 5
- Change font HOT 1
- Faulty ghost install from ghost install/update --archive or --zip HOT 3
- Local Ghost Installation Permission Issue HOT 1
- Add Dynamic Internal Linking via JSON input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghost-cli.