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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. pg_dump: aborting because of server version mismatch

pg_dump: aborting because of server version mismatch

Scheduled Pinned Locked Moved Solved Support
postgresql
5 Posts 2 Posters 1.2k Views 2 Watching
  • 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 Offline
    P Offline
    p44
    translator
    wrote on last edited by girish
    #1

    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!

    girishG 1 Reply Last reply
    0
    • P p44

      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!

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @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
      1
      • girishG girish

        @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 Offline
        P Offline
        p44
        translator
        wrote on last edited by
        #3

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

        girishG 1 Reply Last reply
        0
        • P p44

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

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          This should be fixed now with the latest package.

          P 1 Reply Last reply
          1
          • girishG girish

            This should be fixed now with the latest package.

            P Offline
            P Offline
            p44
            translator
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search