I had ghost running yesterday! I realized that I need to get a mail service running so I could actually log in! I tried with postfix since Iβm not doing mass mailing (no need for mailgun). I couldnβt get it to run so I removed it and tried to go back to the default config. Now I have a 502 error at the address.
Ghost status is running with no errors and nginx is the same. Mysterious!
Fritz
ps I tried ghost run after another post suggestion and got this:
[2023-06-29 20:15:48] ERROR (EADDRINUSE) Cannot start Ghost.
(EADDRINUSE) Cannot start Ghost.
βPort 2369 is already in use by another program.β
βIs another Ghost instance already running?β
Error ID:
bc7466d0-16b9-11ee-806b-c9c95cd7c31f
InternalServerError: (EADDRINUSE) Cannot start Ghost.
at Server. (/var/www/fourankles/versions/5.52.1/core/server/GhostServer.js:89:34)
at Server.emit (node:events:513:28)
at emitErrorNT (node:net:1490:8)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2023-06-29 20:15:48] WARN Ghost is shutting down
[2023-06-29 20:15:48] WARN Ghost has shut down
[2023-06-29 20:15:48] WARN Your site is now offline
[2023-06-29 20:15:48] WARN Ghost was running for a few seconds
gbadmin@vps2685427:/var/www/fourankles$ ghost status
Good catch. The port in the nginx config was on 2368. So I changed it to 8 and restarted. I then moved it back to strict proxy on cloudflare. No change that I can tell though.
F
ps, It might take a few to populate the new values on the web?