Skip to content

Undefined constant OCA\Keeweb\Migration\RegisterMimeType trace during Update attempt to Nectcloud 28 #236

Description

@c-schwamborn

during an attempt to upgrade our Nextcloud instance from 27.1.5 to 28.0.1 I got the following trace:

An unhandled exception has been thrown: Error: Undefined constant OCA\Keeweb\Migration\RegisterMimeType::CUSTOM_MIMETYPEALIASES in /var/www/nextcloud/apps/keeweb/lib/Migration/RegisterMimeType.php:25 Stack trace: #0 /var/www/nextcloud/apps/keeweb/lib/Migration/RegisterMimeType.php(41): OCA\Keeweb\Migration\RegisterMimeType->registerForNewFiles() #1 /var/www/nextcloud/lib/private/Repair.php(127): OCA\Keeweb\Migration\RegisterMimeType->run() #2 /var/www/nextcloud/lib/private/legacy/OC_App.php(836): OC\Repair->run() #3 /var/www/nextcloud/lib/private/Installer.php(166): OC_App::executeRepairSteps() #4 /var/www/nextcloud/lib/private/legacy/OC_App.php(264): OC\Installer->installApp() #5 /var/www/nextcloud/lib/private/Updater.php(431): OC_App->enable() #6 /var/www/nextcloud/lib/private/Updater.php(284): OC\Updater->upgradeAppStoreApps() #7 /var/www/nextcloud/lib/private/Updater.php(140): OC\Updater->doUpgrade() #8 /var/www/nextcloud/core/Command/Upgrade.php(222): OC\Updater->upgrade() #9 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(298): OC\Core\Command\Upgrade->execute() #10 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run() #11 /var/www/nextcloud/3rdparty/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand() #12 /var/www/nextcloud/3rdparty/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun() #13 /var/www/nextcloud/lib/private/Console/Application.php(206): Symfony\Component\Console\Application->run() #14 /var/www/nextcloud/console.php(100): OC\Console\Application->run() #15 /var/www/nextcloud/occ(11): require_once('...') #16 {main}
So I rolled back the whole update for now. Has anyone seen this before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions