NC 20 - warnings - Some columns in the database are missing

Some columns in the database are missing a conversion to big int. Due to the fact that changing column types on big tables could take some time they were not changed automatically. By running ‘occ db:convert-filecache-bigint’ those pending changes could be applied manually. This operation needs to be made while the instance is offline. For further details read the documentation page about this.

  • federated_reshares.share_id
  • share_external.id
  • share_external.parent

Bekomme ich weder mit der occ app noch per shell access gelöst.

occweb hängt einfach ein N dran und ist fertig:

Mon Dec 28 2020 02:28:20

Press Enter for more information on occ commands.

occ $ db:convert-filecache-bigint

Following columns will be updated:

* federated_reshares.share_id

* share_external.id

* share_external.parent

This can take up to hours, depending on the number of files in your instance!

Continue with the conversion (y/n)? [n ]

occ $

per Shell-Access besteht das gleiche Problem?

Ich würde es einmal mit dem noninteractive-flag versuchen. Bin mir aber nicht sicher, ob occweb das berücksichtigt:

-n db:convert-filecache-bigint

Wow, super! Offenbar hat es geklappt!
Habe ich in occweb aufgerufen:

Following columns will be updated:

* federated_reshares.share_id
* share_external.id
* share_external.parent

This can take up to hours, depending on the number of files in your instance!

Mit dem Unterschied, dass es jetzt auch funktioniert hat und die Fehlermeldung nicht mehr erscheint.

Ich habe den Befehl in occweb daraufhin noch einmal aufgerufen:

occ $ -n db:convert-filecache-bigint

All tables already up to date!

occ $

Das klingt doch einfach nur gut!
Vielen Dank Bernie_O!

2 Likes