Allow_restore -> set from command-line?

(Slack-Moehrle) #1

I’m restoring to a new server, can I set allow_restore in a config file? I can’t use the wen interface right yet because I can’t receive my activation e-mail.

(Régis Hanol) #2

Have you tried via the rails console?

cd /var/discourse
./launcher enter app
rails c
SiteSetting.allow_restore = true

Can't restore from backup
(Slack-Moehrle) #3

I did not. Thanks for pointing this out.