Hello,
After updating to latest 3.4.0.beta3-dev on selfhosted forum I’m getting errors from backup job and I can’t open backups page with error 500 [/admin/backups.json]
Error from backup job
undefined method `start_with?' for nil /var/www/discourse/app/models/site_setting.rb:172:in ` use_dualstack_endpoint’
/var/www/discourse/lib/s3_helper.rb:269:in `s3_options' /var/www/discourse/lib/backup_restore/s3_backup_store.rb:14:in ` initialize’
/var/www/discourse/lib/backup_restore/backup_store.rb:17:in `new' /var/www/discourse/lib/backup_restore/backup_store.rb:17:in ` create’
/var/www/discourse/lib/backup_restore/backuper.rb:85:in `initialize_state' /var/www/discourse/lib/backup_restore/backuper.rb:18:in ` initialize’
/var/www/discourse/app/jobs/scheduled/schedule_backup.rb:30:in `new' /var/www/discourse/app/jobs/scheduled/schedule_backup.rb:30:in ` delete_prior_to_n_days’
/var/www/discourse/app/jobs/scheduled/schedule_backup.rb:9:in `execute' /var/www/discourse/app/jobs/base.rb:322:in ` block (2 levels) in perform’
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-6.1.0/lib/rails_multisite/connection_management/null_instance.rb:49:in `with_connection' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rails_multisite-6.1.0/lib/rails_multisite/connection_management.rb:21:in ` with_connection’
/var/www/discourse/app/jobs/base.rb:309:in `block in perform' /var/www/discourse/app/jobs/base.rb:305:in ` each’
/var/www/discourse/app/jobs/base.rb:305:in `perform' /var/www/discourse/app/jobs/base.rb:376:in ` perform’
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_scheduler-0.17.0/lib/mini_scheduler/manager.rb:137:in `process_queue' /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_scheduler-0.17.0/lib/mini_scheduler/manager.rb:77:in ` worker_loop’
/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/mini_scheduler-0.17.0/lib/mini_scheduler/manager.rb:63:in `block (2 levels) in ensure_worker_threads’
Any help will be much appreciated.
Second question how can I backup postgres manually as it doesn’t expose any ports from docker installation?