503 Service Unavailable for Ghost Bitnami AWS

Keywords: Ghost - AWS - Technical issue - Other

bnsupport ID: 3206d26e-6d19-ab7d-aa88-1b099bd82be6

bndiagnostic output:

? Apache: Found possible issues
? Resources: Found possible issues

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


Hi, our site is receiving a 503 service unavailable error, and it seems that ghost is not booting up. I increased the instance ram size from 512Mb to 1Gb, but same error. At this point, I’m not sure if it’s config issue with Ghost or Apache. Any input is appreciated. Thanks.

? Apache: Found possible issues
✓ Mariadb: No issues found
✓ Connectivity: No issues found
? Resources: Found possible issues
✓ Processes: No issues found


Found recent error or warning messages in the Apache error log.

[Fri Dec 17 01:38:09.992444 2021] [proxy_http:error] [pid 5428:tid 
140466267797248] [client **ip_address**:58042] AH01114: HTTP: failed to make
connection to backend:
 [Fri Dec 17 01:38:10.136310 2021] [proxy:error] [pid 4974:tid 1404663601169
(111)Connection refused: AH00957: http: attempt to connect to 
**ip_address**:2368 ( failed
 [Fri Dec 17 01:38:10.136362 2021] [proxy_http:error] [pid 4974:tid 
Press [Enter] to continue:
140466360116992] [client **ip_address**:61948] AH01114: HTTP: failed to make
connection to backend:

Please check the following guide to troubleshoot server issues:



Your instance has little available RAM memory.

 total used free shared buff/cache available Mem: 983 330 128 3 525 469 Swap
634 2 632

You could try to increase your instance’s memory. Please check your cloud
provider’s documentation for more information.

bitnami@ip-172-26-15-3:/opt/bitnami/ghost$ sudo /opt/bitnami/ctlscript.sh restart ghost
Failed to restart ghost: Failed to restart ghost

Hi @livelyhealth,

I found this error in the Ghost’s log files (/opt/bitnami/ghost/content/logs)

50)","errorDetails":"{\"checkedVersion\":\"4.x\",\"name\":\"london\",\"path\":\"/tmp/35b370b5-2d62-4595-b927-b48b5de600b0/TryGhost-London-040a2d3\",\"version\":\"1.0.0\",\"errors\":[{\"fatal\":true,\"level\":\"error\",\"rule\":\"Templates must contain valid Handlebars\",\"details\":\"Oops! You seemed to have used invalid Handlebars syntax. This mostly happens, when you use a helper that is not supported.<br>See the full list of available helpers <a href=\\\"https://ghost.org/docs/api/handlebars-themes/helpers/\\\" target=_blank>here</a>.\",\"failures\":[{\"ref\":\"default.hbs\",\"message\":\"Missing helper: \\\"match\\\"\"}],\"code\":\"GS005-TPL-ERR\"}]}"},"msg":"Theme \"london\" is not compatible or contains errors.","time":"2021-12-16T02:01:36.274Z","v":0}

This seems to be a specific question about the application so we suggest you ask in the official forums of the application to get more information about that. The app’s documentation should also describe how to achieve what you want to, so please take a look at it too.

However, we will also keep this ticket open in this forum in case any Bitnami user configured the application they way you want to.


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