Mimetype warning won't go away

Hello all,

I have a message in my admin section which appeared after I used nextcloudpi’s update tool to go from 28.0.5 to 28.0.9. And the warning does not go away when I run the command provided. It says:

One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades. Use the command `occ maintenance:repair --include-expensive` to perform the migrations.

Instead, when I run this command, I see the line - Repair mime types but the whole command is very fast.

Since it didn’t go away, I also tried these commands:

root@nextcloudpi:~# sudo -u www-data php /var/www/nextcloud/occ maintenance:mimetype:update-js
mimetypelist.js is updated
root@nextcloudpi:~# sudo -u www-data php /var/www/nextcloud/occ maintenance:mimetype:update-db --repair-filecache
Added mimetype "video/3gpp" to database
Added mimetype "application/vnd.android.package-archive" to database
[...]
Added mimetype "application/yaml" to database
Added 94 new mimetypes
Updated 6 filecache rows

And yet after running --include-expensive again, the warning is still there. Is there anything I can do or investigate why?
Thanks!

P.S., Also, if anyone knows, is it possible to configure NCP to raise an alert within nextcloud when there is an available tested nextcloud update? I saw that you can do this for ncp updates but not regular NC updates? Thanks!

This topic has already been discussed in this forum for a while, so you should find the answer by using the find function of this forum. To keep a long story short, you have to wait for the next release.

Thanks, I did search with the tool that pops up but didn’t see anything. Thank you for your quick answer. Here is another link for anyone interested: Mimetype Warning after upgrading to 28.0.9 or 29.0.5 - #15 by Tiger.