Problem migrating mimetypes after upgrade to 28.0.11

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 29.0.5): 28.0.11
Operating system and version (eg, Ubuntu 24.04): 20.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.46
PHP version (eg, 8.3): 8.2.24

The issue you are facing:
After upgrade i Get the message:
One or more mimetype migrations are available. Occasionally…
Use the command occ maintenance:repair --include-expensive to perform the migrations.
When I used that command in Terminal I get the message
Command “maintenance:repair --include-expensive” is not defined.
I read already that there’s a bug, but my problem seems different, because the command don’t work at all

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE
<?php $CONFIG = array ( 'instanceid' => 'octwfmkva7ix', 'passwordsalt' => 'l', 'secret' => '', 'trusted_domains' => array ( 0 => 'glinithai.ddns.net', ), 0 => array ( 'host' => 'localhost', 'port' => 6379, ), 'memcache.local' => '\\OC\\Memcache\\APCu', 'memcache.locking' => '\\OC\\Memcache\\APCu', 'datadirectory' => '/srv/dateien/nextcloud/data', 'overwrite.cli.url' => 'https://glinithai.ddns.net/nextcloud', 'dbtype' => 'mysql', 'version' => '28.0.11.1', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'nextcloud', 'dbpassword' => ', 'logtimezone' => 'UTC', 'installed' => true, 'maintenance' => false, 'mail_from_address' => 'carlo', 'mail_smtpmode' => 'sendmail', 'mail_domain' => 'glini.net', 'mail_smtphost' => 'smtp.glini.net', 'theme' => '', 'defaultapp' => 'spreed', 'loglevel' => 2, 'remember_login_cookie_lifetime' => 1296000, 'data-fingerprint' => 'd56160fd802481e31384c5f12bcd8494', 'mail_smtpport' => '465', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpsecure' => 'ssl', 'mysql.utf8mb4' => true, 'has_rebuilt_cache' => true, 'default_phone_region' => 'TH', 'app_install_overwrite' => array ( 0 => 'apporder', 1 => 'health', 2 => 'podcast', 3 => 'weather', 4 => 'carnet', 5 => 'facerecognition', 6 => 'officeonline', 7 => 'cms_pico', ), 'updater.release.channel' => 'stable', 'encryption.legacy_format_support' => false, 'encryption.key_storage_migrated' => false, 'allow_local_remote_servers' => 'true', 'memories.db.triggers.fcu' => true, 'memories.exiftool' => '/srv/dateien/html/nextcloud/apps/memories/bin-ext/exiftool-amd64-glibc', 'memories.vod.path' => '/srv/dateien/html/nextcloud/apps/memories/bin-ext/go-vod-amd64', 'memories.vod.ffmpeg' => '/usr/local/bin/ffmpeg', 'memories.vod.ffprobe' => '/usr/local/bin/ffprobe', 'memories.gis_type' => 1, 'maintenance_window_start' => 1, 'enabledPreviewProviders' => array ( 0 => 'OC\\Preview\\Image', 1 => 'OC\\Preview\\HEIC', 2 => 'OC\\Preview\\TIFF', 3 => 'OC\\Preview\\Movie', ), 'preview_max_memory' => 1024, 'memories.vod.disable' => false, 'memories.vod.vaapi' => true, 'updater.secret' => '$2y$10$89X1ZbEqUIrHGJlAPJOOv.EFUKU4AZqPB3eoiPC5zQhCjb8tbWTra', ); The output of your Apache/nginx/system log in `/var/log/____`: ``` PASTE HERE ``` Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary. ``` PASTE HERE ```
1 Like

Prepend occ. :slight_smile:

Also, there are some variations, which depend on your local environment and installation method. See Using the occ command in the Nextcloud Server Admin Manual.

Hi jtr,
sorry I can’t understand what you mean by Prepend occ, because I use the occ command, but the link you gave me to the manual was a good typ, because I found out that I quoted my command on the wrong place.
thanks for that :grinning:

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.