I installed Discourse 0.9.4 a while ago using Bitnami. After some troubleshooting, it worked for a few months without problem. However, when I tried to upgrade, I ran into all sorts of problems but I didn’t have the time to debug back then. A few months later, I could not access the website online anymore (I would just see a blank page).
I now have a bit of time again, and was hoping to backup the contents (maybe a json, csv or some format that I can parse and upload somewhere else). I can log into the EC2 instance and see the apps, htdocs, stack directories.
Is there an easy way to export? Is there a tutorial to do so?
/opt/bitnami/postgresql/bin/pg_dump.bin: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory
I tried to find the offending library with sudo find /opt/bitnami/postgresql/ -name libpq.so.5 and indeed it’s at /opt/bitnami/postgresql/lib/libpq.so.5
I tried sudo ldconfig -v as per this SO answer and this one but without success.
I’m afraid when I opened /opt/bitnami/postgresql/bin/setenv.sh to try to change the psql password, because of lack of space nothing was saved. So setenv.sh is now empty. Are the contents of sentenv.sh standard? Or should I ask at Bitnami?