Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved pg_dump: aborting because of server version mismatch

    Support
    postgresql
    2
    5
    418
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      p44 translator last edited by girish

      I tried to run this command:

      # PGPASSWORD=${CLOUDRON_POSTGRESQL_PASSWORD} pg_dump --no-owner --no-privileges --username=${CLOUDRON_POSTGRESQL_USERNAME} --host=${CLOUDRON_POSTGRESQL_HOST} ${CLOUDRON_POSTGRESQL_DATABASE} > /tmp/pgdump.sql
      

      as explained here.

      But when I run string I get this error:

      pg_dump: server version: 11.9 (Ubuntu 11.9-1.pgdg18.04+1); pg_dump version: 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)
      pg_dump: aborting because of server version mismatch
      

      Maybe one version should be updated?

      Thank's!

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @p44 last edited by

        @p44 Thanks for reporting. I think we have to update the client side postgres tools since we upgraded postgres recently. Which app are you trying to take the dump off? I can upgrade that app to have the right tools for a start.

        P 1 Reply Last reply Reply Quote 1
        • P
          p44 translator @girish last edited by

          @girish Thank's a lot Girish! App is Statping.

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @p44 last edited by

            This should be fixed now with the latest package.

            P 1 Reply Last reply Reply Quote 1
            • P
              p44 translator @girish last edited by

              @girish Dump now works fine. 😄 Thank's a lot!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB