dax
(Daniela)
January 30, 2018, 7:54pm
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 Likes
Hmm shouldn’t uploading a backup be OK in read only mode? I am not sure, @zogstrip ?
1 Like
zogstrip
(Régis Hanol)
January 30, 2018, 11:11pm
6
I just tested and uploading a backup while in read-only mode works as expected.
@dax do you have a repro?
jomaxro
(Joshua Rosenfeld)
January 30, 2018, 11:12pm
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 Like
zogstrip
(Régis Hanol)
January 30, 2018, 11:15pm
8
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 Likes
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 Likes
zogstrip
(Régis Hanol)
January 31, 2018, 11:05am
11
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 Likes