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

ghost start does not work after fresh install #1524

Closed
2 of 4 tasks
pbnsilva opened this issue Jul 29, 2021 · 4 comments
Closed
2 of 4 tasks

ghost start does not work after fresh install #1524

pbnsilva opened this issue Jul 29, 2021 · 4 comments

Comments

@pbnsilva
Copy link

pbnsilva commented Jul 29, 2021

Summary

After a local install and ghost stop, doing ghost start does not work with output:

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/p/ 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: Arch Linux, vunknown
    Node Version: v14.17.0
    Ghost Version: 4.10.2
    Ghost-CLI Version: 1.17.3
    Environment: development
    Command: 'ghost start'

Steps to Reproduce

  1. mkdir my-site && cd my-site
  2. ghost install local
  3. ghost stop
  4. ghost start

Log file

Error log is empty. ghost log returns:

[2021-07-30 07:19:36] INFO Creating table: tokens
[2021-07-30 07:19:36] INFO Creating table: snippets
[2021-07-30 07:19:36] INFO Model: Product
[2021-07-30 07:19:36] INFO Model: Tag
[2021-07-30 07:19:36] INFO Model: Role
[2021-07-30 07:19:36] INFO Model: Permission
[2021-07-30 07:19:36] INFO Model: User
[2021-07-30 07:19:36] INFO Model: Post
[2021-07-30 07:19:37] INFO Model: Integration
[2021-07-30 07:19:37] INFO Relation: Role to Permission
[2021-07-30 07:19:37] INFO Relation: Post to Tag
[2021-07-30 07:19:37] INFO Relation: User to Role
[2021-07-30 07:19:37] INFO Database is in a ready state.
[2021-07-30 07:19:37] INFO Ghost database ready in 3.077s
[2021-07-30 07:19:39] INFO Ghost booted in 5.187s
[2021-07-30 07:19:39] INFO Adding offloaded job to the queue
[2021-07-30 07:19:39] INFO Scheduling job update-check at 10 41 16 * * *. Next
run on: Fri Jul 30 2021 16:41:10 GMT+0100 (Western European Summer Time)
[2021-07-30 07:19:48] WARN Ghost is shutting down
[2021-07-30 07:19:48] WARN Ghost has shut down
[2021-07-30 07:19:48] WARN Ghost was running for a few seconds

Technical details

  • OS: Arch Linux
  • Node Version: v14.17.0
  • Ghost-CLI Version: 4.10.2
  • Environment: development
  • Command: 'ghost start'

Bug submission checklist

Please fill out this checklist to acknowledge that you followed the requirements to submit a bug report.

  • Tried to find help in the forum & docs
  • Checked for existing issues
  • Attached log file
  • Provided technical details incl. operating system
@acburdine
Copy link
Member

@pbnsilva can you post the rest of the output? there should be more logs there.

@pbnsilva
Copy link
Author

@acburdine my bad, I've updated the original post with the full output after ghost start, and the output of ghost log.

@pbnsilva
Copy link
Author

Found the same issue here, with a temporary solution: #711

Closing.

@acburdine
Copy link
Member

@pbnsilva sorry meant to reply again to this yesterday, this is a known issue that does have that --no-setup-linux-user workaround 😄 we'll get the underlying issue fixed as quick as we can though

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

No branches or pull requests

2 participants