Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Database table seems broken after consecutive upgrades #309
Steps to reproduce
Functionnalities should not be broken
unable to run occ db:convert-filecache-bigint: it throws an exception:
unable to remove events from calendar because of the same reason
the table looks like this:
Operating system: debian 8
Web server: apache
PHP version: 5.6
Nextcloud version: 13
Where did you install Nextcloud from: upgrade from 12 on same server
List of activated apps:
What should I do to fix the database ?
referenced this issue
Nov 7, 2018
That was quick!
Is there any chance to this fix coming also as a possible update for the current 13 and 14 versions of nextcloud ? I haven't updated to 14 yet, but I plan to do so.
I can also add manually the column is this fixes the issue, but with what properties ?
Thanks for quick reaction again guys!
The columns are:
ALTER TABLE `oc_activity` ADD `object_type` varchar(255) COLLATE utf8mb4_bin DEFAULT NULL; ALTER TABLE `oc_activity` ADD `object_id` bigint(20) NOT NULL DEFAULT '0';
I'm not sure about 13, people had the app disabled for a long time already. So they can also just leave it disabled until the 14 update ;)