Question

I am stuck with an error trying to push a database to heroku

pg_dump: server version: 9.3.3; pg_dump version: 9.1.9
pg_dump: aborting because of server version mismatch
pg_dump: *** aborted because of error
pg_restore: [archiver] input file is too short (read 0, expected 5)

I have tried making additions to my PATH as described in other questions, and I have installed 9.3.3 using the package as described on the heroku doc page. But no luck so far.

Was it helpful?

Solution

I just needed to remove pg_dump from the two existing installations on the system and copy over the dump from the .app package installation, I found this location from the documentation on the website. This fixed the issue for me.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top