Restore not taking multisites into account


(Sander Datema) #1

When you upload a backup file (or when you made one) and want to restore it, Discourse will look for the archive in the default location. That tar command, however, does look in the right place but will fail of course.

No error is shown, it’s only visible in the log.


(Jeff Atwood) #2

@zogstrip can you have a look at this?


(Sander Datema) #3

It seems the same goes for backups: nothing happens when creating a backup.


(Régis Hanol) #4

nothing? really? no log?


(Sander Datema) #5

Nope, not even a log. Which is odd.


(Régis Hanol) #6

I fixed it :goat:

https://github.com/discourse/discourse/commit/bb0baa6d7ccfc068b630e4918c64b7e2e3b4bc82

The issue was that it was reconnecting to the default db after forking and thus was sending the logs to the default site.


(Régis Hanol) #7

This topic was automatically closed after 12 hours. New replies are no longer allowed.