503 Server Issue After Installing Ghost CLI

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

bnsupport ID: d7bbf719-e2a6-c250-371d-8852a51c00e3

bndiagnostic output:

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

bndiagnostic failure reason: The documentation did not make any significant change

Description:
After installing the Ghost CLI per the instructions on the Bitnami site, I can no longer start Ghost and when I visit the domain, I get a 503 error. Please help!

I ran systemctl status bitnami.service
and this is what was returned:
`bitnami.service - LSB: bitnami init script
Loaded: loaded (/etc/init.d/bitnami; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-12-09 01:35:04 UTC; 12s ago
Process: 11673 ExecStart=/etc/init.d/bitnami start (code=exited, status=1/FAILURE)
Tasks: 431 (limit: 1164)
Memory: 171.8M
CGroup: /system.slice/bitnami.service
├─1908 /opt/bitnami/gonit/bin/gonit
├─8961 /opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf
├─8964 /opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf
├─8965 /opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf
├─9237 /opt/bitnami/mariadb/sbin/mysqld --defaults-file=/opt/bitnami/mariadb/conf/my.cnf --basedir=/opt/bitnami/mariadb --datadir=/bitnami/mariadb/data --socket=/opt/bitnami/mariadb/tmp/mysql.sock --pid-file=/opt/bitnami/mariad
└─9588 /opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf

    Dec 09 01:35:04 ip-172-31-91-217 bitnami[11673]: ghost 01:35:04.00 ERROR ==> ghost did not start
    Dec 09 01:35:04 ip-172-31-91-217 bitnami[11673]: 2021-12-09T01:35:04.008Z - error: Unable to perform start operation Export start for ghost failed with exit code 1
    Dec 09 01:35:04 ip-172-31-91-217 bitnami[11673]: ## 2021-12-09 01:35:04+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/010_bitnami_agent_extra...
    Dec 09 01:35:04 ip-172-31-91-217 bitnami[11673]: ## 2021-12-09 01:35:04+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/020_bitnami_agent...
    Dec 09 01:35:04 ip-172-31-91-217 bitnami[11673]: ## 2021-12-09 01:35:04+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/030_update_welcome_file...
    Dec 09 01:35:04 ip-172-31-91-217 bitnami[11673]: ## 2021-12-09 01:35:04+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/040_bitnami_credentials_file...
    Dec 09 01:35:04 ip-172-31-91-217 bitnami[11673]: ## 2021-12-09 01:35:04+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/050_clean_metadata...
    Dec 09 01:35:04 ip-172-31-91-217 systemd[1]: bitnami.service: Control process exited, code=exited, status=1/FAILURE
    Dec 09 01:35:04 ip-172-31-91-217 systemd[1]: bitnami.service: Failed with result 'exit-code'.
    Dec 09 01:35:04 ip-172-31-91-217 systemd[1]: Failed to start LSB: bitnami init script.`

Hello @mdma,

Our diagnostic tool detected a memory-related issue, could you please take a look?

Your instance has little available RAM memory.

              total        used        free      shared  buff/cache   available
Mem:            983         340         154           2         488         461
Swap:           634          20         614

You could try to increase your instance’s memory. Please check the following documentation for more information:

https://docs.bitnami.com/aws/faq/administration/change-server-type/

Regards,
Francisco de Paz

This solved the problem! Thank you

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