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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. Discourse - pg_dump: aborting because of server version mismatch

Discourse - pg_dump: aborting because of server version mismatch

Scheduled Pinned Locked Moved Discourse
5 Posts 4 Posters 1.4k Views 4 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.
  • J Offline
    J Offline
    jamryl
    wrote on last edited by
    #1

    Hi team,

    After the update to Cloudron v8.3.0 I am getting the following pg_dump errors when Discourse tries to back up:

    [quote="system, post:1, topic:4776"]

    [2025-03-19 05:04:33] pg_dump: error: server version: 16.6 (Ubuntu 16.6-0ubuntu0.24.04.1); pg_dump version: 14.9 (Ubuntu 14.9-0ubuntu0.22.04.1)
    [2025-03-19 05:04:33] pg_dump: error: aborting because of server version mismatch
    [2025-03-19 05:04:33] EXCEPTION: pg_dump failed
    

    [/quote]

    I assume there is some client nonsense going on here that I shouldn't try and fix myself (based on previous posts from a few years ago) and will await advice from the smarter and wiser folks here.

    Thanks!

    1 Reply Last reply
    1
    • J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #2

      @jamryl if you open a Web Terminal and click the Postgresql button at the top and press enter, does it connect? I think you can use show tables to see the tables in the database .

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ari
        wrote on last edited by
        #3

        @joseph I ran into the same issue with Discourse after upgrading to Cloudron 8.3.0. Here's what I see when connecting via psql:

        psql (14.9 (Ubuntu 14.9-0ubuntu0.22.04.1), server 16.6 (Ubuntu 16.6-0ubuntu0.24.04.1))
        WARNING: psql major version 14, server major version 16.
                 Some psql features might not work.
        Type "help" for help.
        
        1 Reply Last reply
        0
        • girishG girish moved this topic from Support on
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          Oh, this is because the discourse image is not update to 5.0.0 . I have started a CI task https://git.cloudron.io/packages/discourse-app/-/merge_requests/12

          1 Reply Last reply
          1
          • A Offline
            A Offline
            ari
            wrote on last edited by
            #5

            Confirming that Discourse backup worked properly after updating the app to pick up the 5.0.0 image. Thank you!

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            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