Upgrade AWS Instance size, can no longer connect to Bitnami / Ghost

Keywords: Ghost - AWS - Technical issue - Services (Apache, MariaDB, MySQL…)

bnsupport ID: 79395de5-dc5c-4035-a3bf-c4fda5f07f63

bndiagnostic output:

? Apache: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/

bndiagnostic failure reason: The suggested guides are not related with my issue

Description:
I upgraded the size of our AWS instance from micro to small because I was running into issue with the Ghost Command-Line, and now the site won’t come back.

This was the message in the error log:
[Fri Dec 17 14:23:17.743850 2021] [proxy_http:error] [pid 669:tid 140090267477760] [client **ip_address**:51880] AH01114: HTTP: failed to make connection to backend: 127.0.0.1, referer: https://3.145.215.222/ [Fri Dec 17 14:50:39.587098 2021] [proxy:error] [pid 1391:tid 139741785712384] (111)Connection refused: AH00957: http: attempt to connect to **ip_address**:2368 (127.0.0.1) failed [Fri Dec 17 14:50:39.587213 2021] [proxy_http:error] [pid 1391:tid Press [Enter] to continue: 139741785712384] [client **ip_address**:55820] AH01114: HTTP: failed to make connection to backend: 127.0.0.1

Hi @ej-reef,

The Ghost service is not running. Can you try to start it?

sudo /opt/bitnami/ctlscript.sh start

If you get any gonit-related error, please run these other commands

sudo gonit
sudo gonit start

Happy to help!


Was my answer helpful? Click on :heart:

Hi, thank you for the response -

This was the output:

Full output after running the program suggested:

Hi @ej-reef,

From the systemctl output, I can see all services are up and running but ghost, can you take a look at the Ghost’s log files and investigate what’s wrong with the application? For example, I found this error in the http___seeds_reefgrows_com_production.error.log file

{"name":"Log","hostname":"ip-172-31-21-51","pid":25072,"level":50,"err":{"domain":"http://seeds.reefgrows.com","code":"MODULE_NOT_FOUND","message":"Cannot find module 'bthreads'\nRequire stack:\n- /opt/bitnami/ghost/versions/4.31.0/core/ server/services/email-analytics/jobs/fetch-latest.js","stack":"Error: Cannot find module 'bthreads'\nRequire stack:\n- /opt/bitnami/ghost/versions/4.31.0/core/server/services/email-analytics/jobs/fetch-latest.js\n    at Function.Module.  _resolveFilename (internal/modules/cjs/loader.js:902:15)\n    at Function.Module._load (internal/modules/cjs/loader.js:746:27)\n    at Module.require (internal/modules/cjs/loader.js:974:19)\n    at require (internal/modules/cjs/helpers.  js:93:18)\n    at Object.<anonymous> (/opt/bitnami/ghost/versions/4.31.0/core/server/services/email-analytics/jobs/fetch-latest.js:1:22)\n    at Module._compile (internal/modules/cjs/loader.js:1085:14)\n    at Object.Module._extensions.. js (internal/modules/cjs/loader.js:1114:10)\n    at Module.load (internal/modules/cjs/loader.js:950:32)\n    at Function.Module._load (internal/modules/cjs/loader.js:790:12)\n    at Function.executeUserEntryPoint [as runMain] (internal/  modules/run_main.js:76:12)"},"msg":"Cannot find module 'bthreads'\nRequire stack:\n- /opt/bitnami/ghost/versions/4.31.0/core/server/services/email-analytics/jobs/fetch-latest.js","time":"2021-12-17T14:09:33.751Z","v":0}
{"name":"Log","hostname":"ip-172-31-21-51","pid":25072,"level":50,"err":{"domain":"http://seeds.reefgrows.com","message":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","stack":"Error: Worker for job \"email-         analytics-fetch-latest\" exited with code 1\n    at Worker.<anonymous> (/opt/bitnami/ghost/versions/4.31.0/node_modules/bree/lib/index.js:419:40)\n    at Worker.emit (events.js:400:28)\n    at Worker.[kOnExit] (internal/worker.js:278:    10)\n    at Worker.<computed>.onexit (internal/worker.js:203:20)"},"msg":"Worker for job \"email-analytics-fetch-latest\" exited with code 1","time":"2021-12-17T14:09:33.752Z","v":0}

That seems to be a problem with the application so I suggest you ask in its official forum to get more information about how to proceed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.