Hello, this is my first post, I hope you can help me with this issue.
After an apparently correct installation of the Ghost 2.16.3 version with Ghost-CLI, when I try to access the url of my new blog, it shows a 404 error page.
During the installation I have omitted the configuration of Nginx and SSL, I have indicated my own database user and my own database already created since i had permissions issues. When checking the database I have seen that the tables have been created correctly by the installer. The configuration of config.production.json is correct as well, coinciding with the url and database data that had been configured.
When I use the ghost start command, it tells me that Ghost is running:
seogea@vultr:/var/www/ghost$ ghost start
- sudo systemctl is-active ghost_seogea-pro
Ghost is already running! For more information, run:
ghost ls
With ghost ls I get this message where it seems to be all right, but when I try to access the url it always gives me an error 404
seogea@vultr:/var/www/ghost$ ghost ls
- sudo systemctl is-active ghost_seogea-pro
ââââââââââââââ¬âââââââââââââââââ¬ââââââââââ¬âââââââââââââââââââââââ¬ââââââââââââ ââââââââââââââ¬âââââââ¬ââââââââââââââââââ
â Name â Location â Version â Status â URL â Port â Process Manager â
ââââââââââââââ¼âââââââââââââââââ¼ââââââââââ¼âââââââââââââââââââââââ¼ââââââââââââ ââââââââââââââ¼âââââââ¼ââââââââââââââââââ¤
â seogea-pro â /var/www/ghost â 2.16.3 â running (production) â https://seogea. pro/blog â 2368 â systemd â
ââââââââââââââ´âââââââââââââââââ´ââââââââââ´âââââââââââââââââââââââ´ââââââââââââ ââââââââââââââ´âââââââ´ââââââââââââââââââ
And if I stop it with ghost stop and then start it again, I have this result:
seogea@vultr:/var/www/ghost$ ghost stop
- sudo systemctl is-active ghost_seogea-pro
- sudo systemctl stop ghost_seogea-pro
â Stopping Ghost
seogea@vultr:/var/www/ghost$ ghost start - sudo systemctl is-active ghost_seogea-pro
â Ensuring user is not logged in as ghost user
â Checking if logged in user is directory owner
â Checking current folder permissions - sudo systemctl is-active ghost_seogea-pro
â Validating config
â Checking folder permissions
â Checking file permissions
â Checking content folder ownership
â Checking memory availability - sudo systemctl start ghost_seogea-pro
â Starting Ghost - sudo systemctl is-enabled ghost_seogea-pro
Your admin interface is located at:
https://seogea.pro/blog/ghost/
But the 404 error in this url remains.
When observing the logs, I can see how there are several errors that are repeated:
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:8705,“level”:30,“msg”:"Your blog is now available on seogea.pro ",“time”:“2019-03-05T16:16:19.744Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:8705,“level”:30,“msg”:"Ctrl+C to shut down ",“time”:“2019-03-05T16:16:19.744Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:8705,“level”:30,“msg”:"Ghost boot 4.135s ",“time”:“2019-03-05T16:16:19.791Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:8705,“level”:30,“msg”:"Bootstrap client was closed. ",“time”:“2019-03-05T16:16:19.792Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Theme’s file locales/en.json not found. ",“time”:“2019-03-05T16:22:02.715Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:30,“msg”:"Ghost is running in production… ",“time”:“2019-03-05T16:22:10.353Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:30,“msg”:"Your blog is now available on seogea.pro ",“time”:“2019-03-05T16:22:10.355Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:30,“msg”:"Ctrl+C to shut down ",“time”:“2019-03-05T16:22:10.356Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Can’t connect to the bootstrap socket (localhost 8000) ECONNREFUSED ",“time”:“2019-03-05T16:22:10.385Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Tries: 0 ",“time”:“2019-03-05T16:22:10.387Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Retrying… ",“time”:“2019-03-05T16:22:10.388Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Can’t connect to the bootstrap socket (localhost 8000) ECONNREFUSED ",“time”:“2019-03-05T16:22:10.540Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Tries: 1 ",“time”:“2019-03-05T16:22:10.540Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Retrying… ",“time”:“2019-03-05T16:22:10.540Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Can’t connect to the bootstrap socket (localhost 8000) ECONNREFUSED ",“time”:“2019-03-05T16:22:10.692Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Tries: 2 ",“time”:“2019-03-05T16:22:10.692Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Retrying… ",“time”:“2019-03-05T16:22:10.692Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:40,“msg”:"Can’t connect to the bootstrap socket (localhost 8000) ECONNREFUSED ",“time”:“2019-03-05T16:22:10.845Z”,“v”:0}
{“name”:“Log”,“hostname”:“vultr.seogea”,“pid”:1639,“level”:30,“msg”:"Ghost boot 46.966s ",“time”:“2019-03-05T16:22:10.846Z”,“v”:0}
Can’t connect to the bootstrap socket (localhost 8000) ECONNREFUSED
And
Theme’s file locales/en.json not found.
But I do not know how to solve the 404 error problem in the blog url configured in the installation.
When I launch ghost doctor with the app stopped:
seogea@vultr:/var/www/ghost$ ghost stop
- sudo systemctl is-active ghost_seogea-pro
- sudo systemctl stop ghost_seogea-pro
â Stopping Ghost
seogea@vultr:/var/www/ghost$ ghost doctor
â Checking system Node.js version
â Checking logged in user
â Ensuring user is not logged in as ghost user
â Checking if logged in user is directory owner
â Checking current folder permissions
â Checking operating system compatibility
â Checking for a MySQL installation - sudo systemctl is-active ghost_seogea-pro
â Validating config
â Checking folder permissions
â Checking file permissions
â Checking content folder ownership
â Checking memory availability
I hope you can help me. Thank you!