Mimetype Definitions Not Upgraded in Marklogic Server v8.0-1
24 February 2015 08:37 PM
New and updated mimetypes were added for MarkLogic 8. If your MarkLogic Server instance has customized mimetypes, the upgrade to MarkLogic Server v8.0-1 will not update the mimetypes table.
MarkLogic 8 includes the following new mimetype values:
If you upgraded to 8.0 from a previous version of MarkLogic Server and if you have ever customized your mimetypes (for example, using the MIME Types Configuration page of the Admin Interface), the upgrade will not automatically add the new mimetypes to your configuration. If you have not added any mimetypes, then the new mimetypes will be automatically added during the upgrade. You can check if you have these mimetypes configured by going to the Mimetype page of the Admin Interface and checking if the above mimetypes exist. If they exist, then there is nothing you need to do.
If you do not have the above mimetypes after upgrading to 8.0, you can manually add the mimetypes to your configuration using the Admin Interface. To manually add the configuration, perform the following
Please be aware that updating the mimetype table results in a MarkLogic Server restart. You will want to execute this procedure when MarkLogic Server is idle or during a maintenance window.
Resolve by Script
Alternatively, if you do not have the above mimetypes after upgrading to 8.0, you can add the mimetypes to your configuration by executing the following script in Query Console:
Please be aware that updating the mimetype table results in a MarkLogic Server restart. You will want to execute this script when MarkLogic Server is idle or during a maintenance window.
At the time of this writting, it is expected that the upgrade scripts will be improved in a maintenance release of MarkLogic Server where these updates will occur automatically.