Hi @phb,
I spoke to the developer and he confirmed the assets you have been uploading to a different directory on our asset server and are safe and present! He found that 1,105 assets (JPGs, TIFFs, PNGs, PDFs, etc.) have been uploaded since March 1st of this year. We can work with you to sync over the attachments added to our server so they are present on yours, then we can switch to using yours instead.
Our developer has updated your Specify Cloud configuration to direct it to your custom asset server. However, this change will not take effect until you give us the approval to restart your Specify instance as it will interrupt any ongoing processes/users. Once this switch is made, the 1,105 assets that are visible in Specify now will become broken links until the assets are synced with your server. They will still be present, just inaccessible, and this can be quickly resolved by copying the assets over to your server via rsync or other file transfer options.
Attachments were first added to the Specify Cloud asset server (assets-ca.specifycloud.org) directory after the custom asset server was deployed on May 2nd. No assets were added again until August 13th, 14th, and 19th. Most assets were added in the past week, with a significant addition on September 11th and one added yesterday, September 15th.
I have emailed you the list of all these assets privately along with instructions on how to view them manually. I believe this confirms that everything uploaded to Specify is either on your asset server (pre-May 2nd) or on ours (after May 2nd).
Why did this change and how do I prevent this from happening again? Did someone or something overwrite a config file?
It appears that the custom asset server configuration was removed earlier this year, changing the server Specify used for depositing and retrieving assets. This change took place in early May, and all assets added afterward were deposited on our server. This represented a regression from the custom configuration established on April 7th, according to our emails with Mark.
To prevent this from happening again, our team must ensure that custom configurations remain intact during deployment changes and updates. Since the asset server change occurred, we have implemented a policy for more thorough auditing of all Specify instances after updates. We are implementing a policy to audit every change. This will help us understand when changes are made and who makes them.
On your end, in the scenario all attachments become inaccessible and broken, please reach out to us directly over email (via our Help Desk at support@specifysoftware.org). If you need a quick response, feel free to send another message to let us know, and we will do our best to get back to you as soon as possible. The question raised late last month was put on hold because we believed Mark was collaborating with your team to resolve it.
Confusingly, I have been able to upload images occasionally and even download them, but then the files have gone missing. Now I can’t even upload images, which is further confusing me.
Where did our images go that we supposedly uploaded? There’s a non-zero chance that we’ve lost expensive and important images with the erroneous trust that they were being uploaded.
From the application perspective, I believe the missing files are those that were uploaded before May 2nd (present only on the images.beatymuseum.ubc.ca server). The files that are visible and downloadable are from after May 2nd (present only on the assets-ca.specifycloud.org server).
-
I expect that all currently inaccessible assets should be accessible by adjusting the URL to point to the appropriate server.
For example, missing files can be accessed by changing the base of the URL (https://assets-ca.specifycloud.org/fileget?coll=beaty&type=O&filename=) to the one for your server (https://images.beatymuseum.ubc.ca/fileget?coll=beaty&type=O&filename=)
https://assets-ca.specifycloud.org/fileget?coll=beaty&type=O&filename=4d7ecceb-d040-40d4-bb9f-3f3e12dea957.tif&downloadname=B020450_egg.tif
to
https://images.beatymuseum.ubc.ca/fileget?coll=beaty&type=O&filename=4d7ecceb-d040-40d4-bb9f-3f3e12dea957.tif&downloadname=B020450_egg.tif.
The next step for us is to sync the assets from our server (assets-ca.specifycloud.org) to yours (images.beatymuseum.ubc.ca), which our team is happy to help with. Once they are all there, everything should be visible again in Specify from the same server!