Hi,
i updated to the latest version of ghost-cli and ghost but it can’t start:
ghost_user@ghostname:/var/www/ghostname.com/html/blog$ ghost start
++ sudo systemctl is-active ghost_ghostname-com
✔ 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_ghostname-com
✔ Validating config
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking content folder ownership
✔ Checking memory availability
+ sudo systemctl start ghost_ghostname-com
+ sudo systemctl stop ghost_ghostname-com
✖ Starting Ghost
A GhostError occurred.
Message: Could not communicate with Ghost
Suggestion: journalctl -u ghost_ghostname-com -n 50
Debug Information:
OS: Ubuntu, v18.04
Node Version: v12.13.0
Ghost-CLI Version: 1.12.0
Environment: production
Command: 'ghost start'
Additional log info available in: /home/ghost_user/.ghost/logs/ghost-cli-debug-2019-10-23T09_41_50_082Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to https://ghost.org/docs/api/ghost-cli/ for troubleshooting.
ghost_user@ghostname:/var/www/ghostname.com/html/blog$ ^C
ghost_user@ghostname:/var/www/ghostname.com/html/blog$ journalctl -u ghost_ghostname-com -n 50
Hint: You are currently not seeing messages from other users and the system.
Users in groups 'adm', 'systemd-journal' can see all messages.
Pass -q to turn off this notice.
-- Logs begin at Mon 2019-09-09 16:40:50 CEST, end at Wed 2019-10-23 11:30:48 CEST. --
-- No entries --
ghost_user@ghostname:/var/www/ghostname.com/html/blog$ sudo journalctl -u ghost_ghostname-com -n 50
-- Logs begin at Mon 2019-08-26 07:58:40 CEST, end at Wed 2019-10-23 11:49:26 CEST. --
Oct 23 11:37:08 ghostname.com systemd[1]: Stopped Ghost systemd service for blog: ghostname-com.
Oct 23 11:37:08 ghostname.com systemd[1]: Started Ghost systemd service for blog: ghostname-com.
Oct 23 11:37:09 ghostname.com node[2421]: Knex: run
Oct 23 11:37:09 ghostname.com node[2421]: $ npm install sqlite3 --save
Oct 23 11:37:09 ghostname.com node[2421]: Cannot find module '/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/sqlite3/lib/binding/node-v57-linux-x64/node_sqlite3.node'
Oct 23 11:37:09 ghostname.com node[2421]: Error: Cannot find module '/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/sqlite3/lib/binding/node-v57-linux-x64/node_sqlite3.node'
Oct 23 11:37:09 ghostname.com node[2421]: at Function.Module._resolveFilename (module.js:548:15)
Oct 23 11:37:09 ghostname.com node[2421]: at Function.Module._load (module.js:475:25)
Oct 23 11:37:09 ghostname.com node[2421]: at Module.require (module.js:597:17)
Oct 23 11:37:09 ghostname.com node[2421]: at require (internal/module.js:11:18)
Oct 23 11:37:09 ghostname.com node[2421]: at Object.<anonymous> (/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/sqlite3/lib/sqlite3.js:4:15)
Oct 23 11:37:09 ghostname.com node[2421]: at Module._compile (module.js:653:30)
Oct 23 11:37:09 ghostname.com node[2421]: at Object.Module._extensions..js (module.js:664:10)
Oct 23 11:37:09 ghostname.com node[2421]: at Module.load (module.js:566:32)
Oct 23 11:37:09 ghostname.com node[2421]: at tryModuleLoad (module.js:506:12)
Oct 23 11:37:09 ghostname.com node[2421]: at Function.Module._load (module.js:498:3)
Oct 23 11:37:09 ghostname.com node[2421]: at Module.require (module.js:597:17)
Oct 23 11:37:09 ghostname.com node[2421]: at require (internal/module.js:11:18)
Oct 23 11:37:09 ghostname.com node[2421]: at Client_SQLite3._driver (/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/knex/lib/dialects/sqlite3/index.js:36:12)
Oct 23 11:37:09 ghostname.com node[2421]: at Client_SQLite3.initializeDriver (/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/knex/lib/client.js:221:26)
Oct 23 11:37:09 ghostname.com node[2421]: at Client_SQLite3.Client (/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/knex/lib/client.js:59:10)
Oct 23 11:37:09 ghostname.com node[2421]: at new Client_SQLite3 (/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/knex/lib/dialects/sqlite3/index.js:18:10)
Oct 23 11:37:09 ghostname.com node[2421]: /var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/knex/lib/client.js:225
Oct 23 11:37:09 ghostname.com node[2421]: throw new Error(`${message}\n${e.message}`);
Oct 23 11:37:09 ghostname.com node[2421]: ^
Oct 23 11:37:09 ghostname.com node[2421]: Error: Knex: run
Oct 23 11:37:09 ghostname.com node[2421]: $ npm install sqlite3 --save
Oct 23 11:37:09 ghostname.com node[2421]: Cannot find module '/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/sqlite3/lib/binding/node-v57-linux-x64/node_sqlite3.node'
Oct 23 11:37:09 ghostname.com node[2421]: at Client_SQLite3.initializeDriver (/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/knex/lib/client.js:225:13)
Oct 23 11:37:09 ghostname.com node[2421]: at Client_SQLite3.Client (/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/knex/lib/client.js:59:10)
Oct 23 11:37:09 ghostname.com node[2421]: at new Client_SQLite3 (/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/knex/lib/dialects/sqlite3/index.js:18:10)
Oct 23 11:37:09 ghostname.com node[2421]: at Knex (/var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/knex/lib/knex.js:52:28)
Oct 23 11:37:09 ghostname.com node[2421]: at Object.<anonymous> (/var/www/ghostname.com/html/blog/versions/3.0.0/core/server/data/db/connection.js:33:20)
Oct 23 11:37:09 ghostname.com node[2421]: at Module._compile (module.js:653:30)
Oct 23 11:37:09 ghostname.com node[2421]: at Object.Module._extensions..js (module.js:664:10)
Oct 23 11:37:09 ghostname.com node[2421]: at Module.load (module.js:566:32)
Oct 23 11:37:09 ghostname.com node[2421]: at tryModuleLoad (module.js:506:12)
Oct 23 11:37:09 ghostname.com node[2421]: at Function.Module._load (module.js:498:3)
Oct 23 11:37:09 ghostname.com node[2421]: at Module.require (module.js:597:17)
Oct 23 11:37:09 ghostname.com node[2421]: at require (internal/module.js:11:18)
Oct 23 11:37:09 ghostname.com node[2421]: at isDatabaseInitialisationRequired (/var/www/ghostname.com/html/blog/versions/3.0.0/core/server/index.js:156:16)
Oct 23 11:37:09 ghostname.com node[2421]: at makeGhost (/var/www/ghostname.com/html/blog/versions/3.0.0/core/index.js:13:12)
Oct 23 11:37:09 ghostname.com node[2421]: at Object.<anonymous> (/var/www/ghostname.com/html/blog/versions/3.0.0/index.js:20:1)
Oct 23 11:37:09 ghostname.com node[2421]: at Module._compile (module.js:653:30)
Oct 23 11:37:10 ghostname.com systemd[1]: ghost_ghostname-com.service: Service hold-off time over, scheduling restart.
Oct 23 11:37:10 ghostname.com systemd[1]: ghost_ghostname-com.service: Scheduled restart job, restart counter is at 10.
Oct 23 11:37:10 ghostname.com systemd[1]: Stopped Ghost systemd service for blog: ghostname-com.
Oct 23 11:37:10 ghostname.com systemd[1]: ghost_ghostname-com.service: Start request repeated too quickly.
Oct 23 11:37:10 ghostname.com systemd[1]: ghost_ghostname-com.service: Failed with result 'start-limit-hit'.
Oct 23 11:37:10 ghostname.com systemd[1]: Failed to start Ghost systemd service for blog: ghostname-com.
ghost_user@ghostname:/var/www/ghostname.com/html/blog$
Installed with sqlite3 fro DB
Any advice? It seems somthign regarding sqlite database.
Thanks
Mik