Problem with ghost CLI (cannot restart or stop)

Hi,
This morning, I cannot launch my local Ghost install
http://localhost:2368/ don’t work
I try to restart Ghost with “ghost restart”

× Restarting Ghost
A CliError occurred.
Message: An unexpected error occurred while stopping Ghost.

This is the log file

Debug Information:
OS: Microsoft Windows 10 Professionnel, v10.0.19042
Node Version: v12.19.0
Ghost Version: 3.37.1
Ghost-CLI Version: 1.15.2
Environment: development
Command: ‘ghost restart’
Message: An unexpected error occurred while stopping Ghost.
Stack: Error: An unexpected error occurred while stopping Ghost.
at C:\Users\xtric\AppData\Roaming\npm\node_modules\ghost-cli\lib\utils\local-process.js:124:39
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async LocalProcess.restart (C:\Users\xtric\AppData\Roaming\npm\node_modules\ghost-cli\lib\process-manager.js:34:9)
at async Instance.restart (C:\Users\xtric\AppData\Roaming\npm\node_modules\ghost-cli\lib\instance.js:326:9)

Original Error Message:
Message:
Error: Killing process 8592 failed: Process doesn’t exist
at Array.map ()
at fkill (C:/Users/xtric/AppData/Roaming/npm/node_modules/ghost-cli/node_modules/fkill/index.js:128:9)
at async LocalProcess.restart (C:/Users/xtric/AppData/Roaming/npm/node_modules/ghost-cli/lib/process-manager.js:34:9)
at async Instance.restart (C:/Users/xtric/AppData/Roaming/npm/node_modules/ghost-cli/lib/instance.js:326:9)
Stack: AggregateError:
Error: Killing process 8592 failed: Process doesn’t exist
at Array.map ()
at fkill (C:/Users/xtric/AppData/Roaming/npm/node_modules/ghost-cli/node_modules/fkill/index.js:128:9)
at async LocalProcess.restart (C:/Users/xtric/AppData/Roaming/npm/node_modules/ghost-cli/lib/process-manager.js:34:9)
at async Instance.restart (C:/Users/xtric/AppData/Roaming/npm/node_modules/ghost-cli/lib/instance.js:326:9)
at fkill (C:\Users\xtric\AppData\Roaming\npm\node_modules\ghost-cli\node_modules\fkill\index.js:128:9)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async LocalProcess.restart (C:\Users\xtric\AppData\Roaming\npm\node_modules\ghost-cli\lib\process-manager.js:34:9)
at async Instance.restart (C:\Users\xtric\AppData\Roaming\npm\node_modules\ghost-cli\lib\instance.js:326:9)

@Publipresse does ghost start work? The error you’ve given is showing that Ghost isn’t running so there was nothing to stop as part of the restart.

Hi Kevin,
No, ghost start says it is running

PS E:\Documents\GHOST LPDD> ghost start

Ghost is already running! For more information, run:

ghost ls

PS E:\Documents\GHOST LPDD> ghost stop
× Stopping Ghost: ghost-local
A CliError occurred.

Message: An unexpected error occurred while stopping Ghost.

Debug Information:
OS: Microsoft Windows 10 Professionnel, v10.0.19042
Node Version: v12.19.0
Ghost Version: 3.37.1
Ghost-CLI Version: 1.15.2
Environment: development
Command: ‘ghost stop’

Additional log info available in: C:\Users\xtric.ghost\logs\ghost-cli-debug-2020-12-07T15_15_36_721Z.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.
PS E:\Documents\GHOST LPDD> 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.
E:\Documents\GHOST LPDD\versions\3.37.1\core\shared\config\utils.js:103
delete database.connection.host;
^

TypeError: Cannot read property ‘connection’ of undefined
at exports.Provider.sanitizeDatabaseProperties (E:\Documents\GHOST LPDD\versions\3.37.1\core\shared\config\utils.js:103:25)
at Object.loadNconf (E:\Documents\GHOST LPDD\versions\3.37.1\core\shared\config\index.js:52:11)
at Object. (E:\Documents\GHOST LPDD\versions\3.37.1\core\shared\config\index.js:83:27)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (E:\Documents\GHOST LPDD\versions\3.37.1\core\shared\sentry.js:1:16)
PS E:\Documents\GHOST LPDD>