If you’re looking for help, please provide information about your environment. If you delete this template and don’t provide any information, your topic will be automatically closed.
If you aren’t running the latest version of Ghost, the first thing we’ll ask you to do is update to the latest version of Ghost.
- What’s your URL? This is the easiest way for others to help you
My blog:
- What version of Ghost are you using? If it’s not the latest, please update Ghost first before opening your topic
Current version: 5.80.0
And
- How was Ghost installed and configured?
Digitalocean 1 click
- What Node version, database, OS & browser are you using?
Debug Information:
OS: Ubuntu, v22.04.3 LTS
Node Version: v18.17.1 Ghost Version: 5.80.0 Ghost-CLI Version: 1.26.0 Environment: production Command: 'ghost update'
- What errors or information do you see in the console?
I have multiple errors, like updating failing because no permission:
Message: 'EACCES: permission denied, mkdir '/var/www/ghost/versions/5.81.1''
And Mail related errors:
Apr 01 18:23:17 ghostonubuntu2204-s-1vcpu-2gb-sfo3-01 node[65051]: [2024-04-01 18:23:17] INFO [EmailAnalytics] Aggregating for 0 emails
Apr 01 18:23:17 ghostonubuntu2204-s-1vcpu-2gb-sfo3-01 node[65051]: [2024-04-01 18:23:17] INFO [EmailAnalytics] Aggregating for 0 members
Apr 01 18:23:17 ghostonubuntu2204-s-1vcpu-2gb-sfo3-01 node[65051]: [2024-04-01 18:23:17] ERROR Error while fetching email analytics Not Found
Apr 01 18:23:17 ghostonubuntu2204-s-1vcpu-2gb-sfo3-01 node[65051]: [2024-04-01 18:23:17] ERROR Not Found
- What steps could someone else take to reproduce the issue you’re having?
- Setup Ghost From DigitalOcean 1 click
- Disable mailing in control panel (because I just want to post)
- Publish a lot
- Enable and setup mailing again in control panel
- Login terminal in DigitalOcean and accidentally make faulty json format mistake
- Realize you need regular user (ghost-mgr) to restart Ghost instead of as root user.
- I didn’t know password of regular user so I changed it.
- Retry and successfully added Mailgun credential and restarted Ghost.
Mailgun still doesn’t work, but I have bigger issue, old images aren’t loading…
After that it was just hell, lots of permission issues, couldn’t start Ghost because Ghost didn’t had permission to read all kinds of logs and files. I was so frustrated because I posted lots, and I started gaining users. I wanted to just quit and start with Wordpress, but I managed to bring Ghost online again after lots of “sudo chmod +rw” commands on all kinds of files… but images aren’t loading now.