-
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.
-
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.
@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).
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