You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After ghost install local it would initially run fine and load up the server.
then ghost stop then ghost start it would fail with SystemError
Message: The directory /home/fanna/ is not readable by other users on the system.
This can cause issues with the CLI, you must either make this directory readable by others or install node and Ghost-CLI in another location.
home/ is ofcourse read and writable considering the generated ./ghost directory
install ghost locally in newly created empty directory. ghost install local
ghost install local ✔
✔ Checking system Node.js version - found v14.17.0
✔ Checking current folder permissions
✔ Checking memory availability
✔ Checking free space
✔ Checking for latest Ghost version
✔ Setting up install directory
✔ Downloading and installing Ghost v4.10.2
✔ Finishing install process
✔ Configuring Ghost
✔ Setting up instance
✔ Starting Ghost
Ghost was installed successfully! To complete setup of your publication, visit:
http://localhost:2369/ghost/
run ghost stop (in created directory)
✔ Stopping Ghost: ghost-local
run ghost start (in created directory)
Found a development config but not a production config, running in development mode instead
✖ Checking system Node.js version - found v14.17.0
ℹ Ensuring user is not logged in as ghost user [skipped]
ℹ Checking if logged in user is directory owner [skipped]
✔ Checking current folder permissions
✔ Validating config
✔ Checking memory availability
✔ Checking binary dependencies
One or more errors occurred.
1) SystemError
Message: The directory /home/fanna/ is not readable by other users on the system.
This can cause issues with the CLI, you must either make this directory readable by others or install node and Ghost-CLI in another location.
Debug Information:
OS: ManjaroLinux, v21.0.7
Node Version: v14.17.0
Ghost Version: 4.10.2
Ghost-CLI Version: 1.17.3
Environment: development
Command: 'ghost start'
run ghost doctor
ghost doctor 1 ✘
Found a development config but not a production config, running in development mode instead
✖ Checking system Node.js version - found v14.17.0
ℹ Ensuring user is not logged in as ghost user [skipped]
ℹ Checking if logged in user is directory owner [skipped]
✔ Checking current folder permissions
✔ Validating config
✔ Checking memory availability
✔ Checking binary dependencies
✔ Checking free space
One or more errors occurred.
1) SystemError
Message: The directory /home/fanna/ is not readable by other users on the system.
This can cause issues with the CLI, you must either make this directory readable by others or install node and Ghost-CLI in another location.
Debug Information:
OS: ManjaroLinux, v21.0.7
Node Version: v14.17.0
Ghost Version: 4.10.2
Ghost-CLI Version: 1.17.3
Environment: development
Command: 'ghost doctor'
Try running ghost doctor to check your system for known issues.
ghost ls ✔
┌─────────────┬────────────────────┬─────────┬─────────┬─────┬──────┬─────────────────┐
│ Name │ Location │ Version │ Status │ URL │ Port │ Process Manager │
├─────────────┼────────────────────┼─────────┼─────────┼─────┼──────┼─────────────────┤
│ ghost-local │ ~/Documents/ghost1 │ 4.10.2 │ stopped │ n/a │ n/a │ n/a │
└─────────────┴────────────────────┴─────────┴─────────┴─────┴──────┴─────────────────┘
ghost run ✔
The `ghost run`command is used by the configured Ghost process manager and for debugging. If you're not running this to debug something, you should run `ghost start` instead.TypeError: Cannot read property 'connection' of undefined at Object.sanitizeDatabaseProperties (/home/fanna/Documents/ghost1/versions/4.10.2/core/shared/config/utils.js:62:25) at Object.loadNconf (/home/fanna/Documents/ghost1/versions/4.10.2/core/shared/config/loader.js:53:16) at Object.<anonymous> (/home/fanna/Documents/ghost1/versions/4.10.2/core/shared/config/index.js:3:25) at Module._compile (internal/modules/cjs/loader.js:1068:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10) at Module.load (internal/modules/cjs/loader.js:933:32) at Function.Module._load (internal/modules/cjs/loader.js:774:14) at Module.require (internal/modules/cjs/loader.js:957:19) at require (internal/modules/cjs/helpers.js:88:18) at bootGhost (/home/fanna/Documents/ghost1/versions/4.10.2/core/boot.js:275:18)
The text was updated successfully, but these errors were encountered:
Issue Summary
After
ghost install local
it would initially run fine and load up the server.then
ghost stop
thenghost start
it would fail withSystemError
home/ is ofcourse read and writable considering the generated
./ghost
directoryTo Reproduce
npm install ghost-cli@latest -g
ghost install local
ghost stop
(in created directory)ghost start
(in created directory)ghost doctor
ghost log
Technical details:
.ghost/config
ghost ls
ghost ls ✔ ┌─────────────┬────────────────────┬─────────┬─────────┬─────┬──────┬─────────────────┐ │ Name │ Location │ Version │ Status │ URL │ Port │ Process Manager │ ├─────────────┼────────────────────┼─────────┼─────────┼─────┼──────┼─────────────────┤ │ ghost-local │ ~/Documents/ghost1 │ 4.10.2 │ stopped │ n/a │ n/a │ n/a │ └─────────────┴────────────────────┴─────────┴─────────┴─────┴──────┴─────────────────┘
The text was updated successfully, but these errors were encountered: