My ghost blog lives on https://domain.com while the admin url is https://lorem.domain.com.
When I run ghost backup, I get a 404:
Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org
- sudo systemctl is-active ghost_lorem-com
- sudo mkdir -p /var/www/lorem/backup
Backing up site
An error occurred.
Message: ‘Response code 404 (Not Found)’Debug Information:
OS: Ubuntu, v22.04.2 LTS
Node Version: v18.19.0
Ghost Version: 5.96.0
Ghost-CLI Version: 1.26.1
Environment: production
Command: ‘ghost backup’Additional log info available in: /home/lara/.ghost/logs/ghost-cli-debug-2024-10-10T16_58_00_492Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to Ghost-CLI - A fully loaded tool for installation and configuration for troubleshooting.
Tailing the referenced log file prints:
Ghost-CLI Version: 1.26.1
Environment: production
Command: ‘ghost backup’
An error occurred.
Message: ‘Response code 404 (Not Found)’Stack: HTTPError: Response code 404 (Not Found)
at EventEmitter. (/usr/lib/node_modules/ghost-cli/node_modules/got/source/as-promise.js
:74:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Path: /ghost/api/admin/authentication/setup/
Any idea what the problem could be?