Uploads page keeps redownloading the uploads info

OK, so re-processing the upload with nomad admin uploads re-process -- <upload-id> fixes the upload state, so it shows “published” globe icon. I also found out what causes this bad state. It is the re-pack command. I did run mass “nomad admin uploads re-pack” on the whole database a while ago after the global reprocessing and new entries discovery, as discussed and suggested in How to start re-processing of undetected entries - #17 by mscheidgen

If I run re-pack on some published test upload, it will get switched to this “processing” state.