Report this

What is the reason for this report?

Django app/postgres don't respond after running Snapshot!?

Posted on October 8, 2014

I made a Snapshot yesterday of a Django app running on a development server. I made sure to run sudo poweroff before the Power Cycle.

After the App restarted, I couldn’t access the domain in my browser. I then try to dump my database, but I get the following error:

pg_dump: [archiver (db)] connection to database "db" failed: could not connect to server: Connection refused
	Is the server running on host "####" and accepting
	TCP/IP connections on port ###?

It actually seems like I can’t get any response from the DB or the app.

Response from nmap ip##

PORT   STATE  SERVICE
80/tcp closed http````

But the logs from the Django app tell me that it should be running. 
How do I retrieve the data from my database and get the app running again?

Thank you!


The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.