dax
(Daniela)
1월 30, 2018, 7:54오후
1
If you are in read-only mode and you try to upload a backup via gui, the site go ahead and seems to upload the backup even if this is not true.
When you are in read-only mode there should be an alert telling you that you can not load the backup before you disable that mode.
3개의 좋아요
Hmm shouldn’t uploading a backup be OK in read only mode? I am not sure, @zogstrip ?
1개의 좋아요
I just tested and uploading a backup while in read-only mode works as expected.
@dax do you have a repro?
jomaxro
(Joshua Rosenfeld)
1월 30, 2018, 11:12오후
7
Did the backup show up? I was able to upload and get the “uploaded successfully” message, but the backup never appeared in the list.
1개의 좋아요
They take a little while to appear since there is a background task that needs to run in sidekiq to merge the uploaded chunks. Waiting one minute is often enough.
PRO TIP: clicking Logs and then Backups will force a refresh of the backups list.
2개의 좋아요
Closing this but clearly the UI message presented should warn about the refresh @zogstrip that’s the real “bug” here.. and should be fixed.
2개의 좋아요
I’ve added some code to push the new list of backups once the file is merged so it automagically updates
https://github.com/discourse/discourse/commit/d233ecbe34f319a8f41ae995c9175fe7a127a353
Also, here’s the new message
6개의 좋아요