Mimetype Warning after upgrading to 28.0.9 or 29.0.5

Oh, I hadn’t thought of that, but yes, of course Nextcloud doesn’t like it when you change any core files. Well, in that case, I guess we only get to choose whether we want to go with a red or yellow message in the overview until an official update with the fix is released :wink:

In case anyone that already applied the patch wants to revert it…

Download the patch again…

Nextcloud 28.0.9:

wget https://github.com/nextcloud/server/pull/47377.patch    

Nextcloud 29.0.5:

wget https://github.com/nextcloud/server/pull/47378.patch

…and then revert it with the following command:

Nextcloud 28.0.9:

patch -R -p 1 < 47377.patch

Nextcloud 29.0.5:

patch -R -p 1 < 47378.patch

:warning: Don’t forget to delete the .patch file if you downloaded it into the nextcloud folder, or you’ll get an integrity check warning because of the extra file :wink:

6 Likes