Skip to content

ISchemaWrapper.getDatabasePlatform requires Nextcloud 22.2.4 - #6641

Merged
ChristophWurst merged 1 commit into
mainfrom
bug/6630/oh-no-database-platform
Jun 3, 2022
Merged

ISchemaWrapper.getDatabasePlatform requires Nextcloud 22.2.4#6641
ChristophWurst merged 1 commit into
mainfrom
bug/6630/oh-no-database-platform

Conversation

@kesselb

@kesselb kesselb commented Jun 3, 2022

Copy link
Copy Markdown
Contributor

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@ChristophWurst

Copy link
Copy Markdown
Member

/backport to stable1.13

@steglicd

steglicd commented Jun 7, 2022

Copy link
Copy Markdown

@ChristophWurst is this fix available in production instantly? Because web UI changelog now tells me:
image

But still:

occ app:install  mail
An unhandled exception has been thrown:
Error: Call to undefined method OC\DB\SchemaWrapper::getDatabasePlatform() in /var/www/html/custom_apps/mail/lib/Migration/Version1130Date20220412111833.php:173
Stack trace:
#0 /var/www/html/lib/private/DB/MigrationService.php(454): OCA\Mail\Migration\Version1130Date20220412111833->changeSchema(Object(OC\Migration\SimpleOutput), Object(Closure), Array)
#1 /var/www/html/lib/private/DB/MigrationService.php(417): OC\DB\MigrationService->migrateSchemaOnly('latest')
#2 /var/www/html/lib/private/Installer.php(153): OC\DB\MigrationService->migrate('latest', true)
#3 /var/www/html/core/Command/App/Install.php(75): OC\Installer->installApp('mail', false)
#4 /var/www/html/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\App\Install->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 /var/www/html/3rdparty/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /var/www/html/3rdparty/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\App\Install), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/html/3rdparty/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/lib/private/Console/Application.php(209): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/console.php(99): OC\Console\Application->run()
#10 /var/www/html/occ(11): require_once('/var/www/html/c...')
#11 {main}

@ChristophWurst

Copy link
Copy Markdown
Member

@kesselb there is another one at

if ($schema->getDatabasePlatform() instanceof PostgreSQL94Platform) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nextcloud stuck in maintenance mode after upgrade from 1.12.1 to 1.13.0

3 participants