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. Discourse
  3. Discourse Backup Failed

Discourse Backup Failed

Scheduled Pinned Locked Moved Solved Discourse
backupdiscourseerrorpostgresql
3 Posts 2 Posters 729 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.
  • RahimR Offline
    RahimR Offline
    Rahim
    wrote on last edited by girish
    #1

    Hello Cloudron,
    Hope you are fine.

    First of all thank you so much for creating such a great service.

    I have installed Discourse and when I want to create back in the app, I receive this log and the backup fails.

    [2021-01-04 19:04:17] 'Rahim' has started the backup!
    [2021-01-04 19:04:17] Marking backup as running...
    [2021-01-04 19:04:17] Making sure '/app/code/tmp/backups/default/2021-01-04-190416' exists...
    [2021-01-04 19:04:17] Making sure '/app/code/public/backups/default' exists...
    [2021-01-04 19:04:17] Updating metadata...
    [2021-01-04 19:04:17] Dumping the public schema of the database...
    [2021-01-04 19:04:17] 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)
    [2021-01-04 19:04:17] pg_dump: aborting because of server version mismatch
    [2021-01-04 19:04:17] EXCEPTION: pg_dump failed
    [2021-01-04 19:04:17] /app/code/lib/backup_restore/backuper.rb:152:in `dump_public_schema'
    /app/code/lib/backup_restore/backuper.rb:36:in `run'
    /app/code/script/spawn_backup_restore.rb:9:in `backup'
    /app/code/script/spawn_backup_restore.rb:34:in `block in <main>'
    /app/code/script/spawn_backup_restore.rb:4:in `fork'
    /app/code/script/spawn_backup_restore.rb:4:in `<main>'
    [2021-01-04 19:04:17] Deleting old backups...
    [2021-01-04 19:04:17] Cleaning stuff up...
    [2021-01-04 19:04:17] Removing '.tar' leftovers...
    [2021-01-04 19:04:17] Marking backup as finished...
    [2021-01-04 19:04:17] Refreshing disk stats...
    [2021-01-04 19:04:17] Notifying 'Rahim' of the end of the backup...
    [2021-01-04 19:04:20] Finished!
    

    Why this is happening?

    Kind regards.

    girishG 1 Reply Last reply
    0
    • RahimR Rahim

      Hello Cloudron,
      Hope you are fine.

      First of all thank you so much for creating such a great service.

      I have installed Discourse and when I want to create back in the app, I receive this log and the backup fails.

      [2021-01-04 19:04:17] 'Rahim' has started the backup!
      [2021-01-04 19:04:17] Marking backup as running...
      [2021-01-04 19:04:17] Making sure '/app/code/tmp/backups/default/2021-01-04-190416' exists...
      [2021-01-04 19:04:17] Making sure '/app/code/public/backups/default' exists...
      [2021-01-04 19:04:17] Updating metadata...
      [2021-01-04 19:04:17] Dumping the public schema of the database...
      [2021-01-04 19:04:17] 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)
      [2021-01-04 19:04:17] pg_dump: aborting because of server version mismatch
      [2021-01-04 19:04:17] EXCEPTION: pg_dump failed
      [2021-01-04 19:04:17] /app/code/lib/backup_restore/backuper.rb:152:in `dump_public_schema'
      /app/code/lib/backup_restore/backuper.rb:36:in `run'
      /app/code/script/spawn_backup_restore.rb:9:in `backup'
      /app/code/script/spawn_backup_restore.rb:34:in `block in <main>'
      /app/code/script/spawn_backup_restore.rb:4:in `fork'
      /app/code/script/spawn_backup_restore.rb:4:in `<main>'
      [2021-01-04 19:04:17] Deleting old backups...
      [2021-01-04 19:04:17] Cleaning stuff up...
      [2021-01-04 19:04:17] Removing '.tar' leftovers...
      [2021-01-04 19:04:17] Marking backup as finished...
      [2021-01-04 19:04:17] Refreshing disk stats...
      [2021-01-04 19:04:17] Notifying 'Rahim' of the end of the backup...
      [2021-01-04 19:04:20] Finished!
      

      Why this is happening?

      Kind regards.

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

      @rahim This is same as https://forum.cloudron.io/topic/4100/pg_dump-aborting-because-of-server-version-mismatch . We will push a new package shortly. In the meantime, Cloudron level backups should work (this is just the backup from inside discourse that does not work).

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        This should be fixed in the latest package.

        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