[SOLVED] Setting up a cloned install

Hi

I have a cloned forum, which I need to do some setup on. My attempts so far has only resultet in grief and tears. If you are a seasoned Discourse sys-admin, and can fix this, please PM me.
Thanks

My problem is described here
https://meta.discourse.org/t/email-verification-not-working-in-a-cloned-forum/28203

Why doesn’t Admin, Backups work?

Because of this issue

http://meta-originpull.discourse.org/t/sql-error-during-import/27793

May I should add, that I have tried this on a 100% clean install, with matching version numbers.

We should fix that, its a bug.

1 Like

So no chance of getting this to work from a snapshot?

Edit:
Seems I hit a limit of 8 mails in 8 hours …

For now, just disregard my impatience :slight_smile:

Unfortunately, the bug @sam mentioned still causes this.

[2015-05-03 07:30:42] CREATE INDEX
[2015-05-03 07:30:43] CREATE INDEX
[2015-05-03 07:30:44] psql:/var/www/discourse/tmp/restores/default/2015-05-03-072756/dump.sql:3864981: ERROR:  could not create unique index "post_timings_unique"
[2015-05-03 07:30:44] DETAIL:  Key (topic_id, post_number, user_id)=(13868, 7, 6580) is duplicated.
[2015-05-03 07:30:44] EXCEPTION: psql failed
[2015-05-03 07:30:44] /var/www/discourse/lib/backup_restore/restorer.rb:217:in `restore_dump'
/var/www/discourse/lib/backup_restore/restorer.rb:38:in `run'
/var/www/discourse/lib/backup_restore/backup_restore.rb:161:in `block in start!'
/var/www/discourse/lib/backup_restore/backup_restore.rb:158:in `fork'
/var/www/discourse/lib/backup_restore/backup_restore.rb:158:in `start!'
/var/www/discourse/lib/backup_restore/backup_restore.rb:17:in `restore!'
/var/www/discourse/app/controllers/admin/backups_controller.rb:74:in `restore'

Thanks to @elberet for helping me get the backup to work.