Since Nextcloud 13 big integers are used to store identifiers and auto-increment keys in the database. Because changing columns on huge tables can take quite a while (up to hours or days), the update from Nextcloud 12 or earlier did not perform this migration on the filecache and activity table.

nextcloud官方文件[1]

在進入到下一步前,請先確認nextcloud的容器名稱

此範例假設容器名稱為drive_app_1

docker exec -it -u www-data drive_app_1 php occ db:convert-filecache-bigint
Nextcloud is in maintenance mode -- no apps have been loaded
Following columns will be updated:
* filecache.mtime
* filecache.storage_mtime
This can take up to hours, depending on the number of files in your instance!
Continue with the conversion (y/n)? [n] y

檢測是否成功(再度執行一次指令)

docker exec -it -u www-data drive_app_1 php occ db:convert-filecache-bigint
Nextcloud is in maintenance mode -- no apps have been loaded
All tables already up to date!

參考來源:https://docs.nextcloud.com/server/15/admin_manual/configuration_database/bigint_identifiers.html