Apps that have a to long identifier name break the update.
So far I found:
Ref https://github.com/nextcloud/server/pull/10221
Is there anything we could do about that to avoid having the update stopped with those long names? Like can we just enforce the check on oracle and maybe only log a warning on other database types where this is not an issue?
Disabling the app also doesn't work, since the check is executed anyway.
cc @nickvergessen
GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/5627 (Broken app update notification), https://github.com/nextcloud/server/issues/6191 (cannot update database), https://github.com/nextcloud/server/issues/6277 (Broken instance after Update), https://github.com/nextcloud/server/issues/1236 (Show apps with available updates first), and https://github.com/nextcloud/server/issues/8303 (Database Update Command Fails).
Like can we just enforce the check on oracle and maybe only log a warning on other database types where this is not an issue?
The thing is that would just obsolete the check all together, because no one of us ever installs oracle or checks the logs.
But yeah I will look into how we can improve the situation, so apps can have a compatibility upgrade going forward.
But also Note, if you make a new migration to fix your database layout, oracle still can't install, because the old table names you are using would need to install because migrations are applied incremental, not all combined into one batch.
i am having the same problem with ownbackup also.
Had a couple of thoughts. But they all failed. The problem is we currently analyse all tables/columns/indexes/... everytime and not just the new ones. Otherwise we could have checked if the app supports oracle or not and only check it in case it does.
So my suggestion would be to only check the length in debug for 14 (or we simply disable the check in stable14 once its branched off) while we try to find a more clever solution for 15, which:
Opinions @rullzer @ChristophWurst
For a temporary solution you can delete https://github.com/nextcloud/server/blob/ef5074adaaac675a2fe5e250549d8092f628299c/lib/private/DB/MigrationService.php#L460
A big problem with this is that it doesn't limit the checks to apps that are currently enabled, meaning that you can't disable the problematic app and continue the upgrade.
Given how it checks against the entire database for each migration and not just the changed tables, I'm not even sure if you can solve this in the app if a core migration is triggered first.
Work around for beta3: https://github.com/nextcloud/server/pull/10553
https://github.com/nextcloud/server/pull/10554 changes it to only check tables that are touched by a migration
Fixed for 14 with #10553
Lets fix properly for 15 with #10555
Getting this error message

@andyxh yes it is not released yet. Beta3 will be fixed. Which is scheduled for tomorrow.
Thank you!
From: Roeland Jago Douma notifications@github.com
Sent: Wednesday, August 8, 2018 1:49 PM
To: nextcloud/server server@noreply.github.com
Cc: andyxh xhelia@outlook.com; Mention mention@noreply.github.com
Subject: Re: [nextcloud/server] Long database names in apps break the update (#10518)
@andyxhhttps://github.com/andyxh yes it is not released yet. Beta3 will be fixed. Which is scheduled for tomorrow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nextcloud/server/issues/10518#issuecomment-411512366, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXb4Q3faBpVvZ4yrDm6VYz7rsLdubLLpks5uOzKegaJpZM4VtiGP.
Most helpful comment
The thing is that would just obsolete the check all together, because no one of us ever installs oracle or checks the logs.
But yeah I will look into how we can improve the situation, so apps can have a compatibility upgrade going forward.
But also Note, if you make a new migration to fix your database layout, oracle still can't install, because the old table names you are using would need to install because migrations are applied incremental, not all combined into one batch.