Error: Can't notify admin while restoring backup during a migration to a fresh install

Looked into this a bit further.

#<NoMethodError: undefined method `join' for nil:NilClass>
Backtrace:
     lib/discourse.rb:45:in `pretty_logs'
     /var/www/discourse/lib/backup_restore/restorer.rb:134:in `notify_user'

Seems like @logs is not initialized?

7 Likes