I copied the db – the files are not there. Tarballing the uploads now and will transfer them over.
Looks like this duplication is also happening with the address hierarchy module too - one with id 3 and another with id 246
I deleted this, as well as some duplicates of htmlformflowsheet.
I noticed that these were all uploaded by the same user.
@manuel1972, what’s going on here? Normally the author of a module uploads it to modules.openmrs.org. Is there a reason why you are reuploading existing modules?
Darius, based on the lack of activity it seems it’s a spam account. We should have been doing checksums(SHA) all along.
I deleted several more duplicate modules (all from this same spam user), as mentioned on https://issues.openmrs.org/browse/MOD-94.
Since the modulus code has been updated, and jQuery is no longer available, but there’s no admin function to delete modules, I needed to use the following hack to make REST calls:
- Log into https://modules.openmrs.org
- Inspect Element (in Chrome) and find the Authorization request header sent with a REST request (should be “Bearer …”)
- Using Postman manually add a header with name=Authorization and value=(copied from previous step)
- Using Postman, DELETE https://modules.openmrs.org/modulus/api/modules/252
@darius, This needs to be documented on the wiki. You can deploy via Bamboo.