宝塔面板部署NextCloud-安全及设置警告解决(1)

参考文章:

  • https://blog.csdn.net/qq_39574546/article/details/83446104
  • https://blog.csdn.net/qq_39574546/article/details/83417341

警告

数据库中的一些列由于进行长整型转换而缺失。由于在较大的数据表重改变列类型会耗费一些时间,因此程序没有自动对其更改。您可以通过命令行手动执行 “occ db:convert-filecache-bigint” 命令以应用挂起的更改。该操作需要当整个实例变为离线状态后执行。查阅相关文档以获得更多详情。
filecache.mtime
filecache.storage_mtime

根据提示手动执行命令

root@VM-0-5-ubuntu:/# occ db:convert-filecache-bigint

Command 'occ' not found, but there are 21 similar ones.

root@VM-0-5-ubuntu:/# php occ db:convert-filecache-bigint
Console has to be executed with the user that owns the file config/config.php
Current user: root
Owner of config.php: www
Try adding 'sudo -u www ' to the beginning of the command (without the single quotes)
root@VM-0-5-ubuntu:/# sudo -u www php occ db:convert-filecache-bigint
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

你可能感兴趣的:(nextcloud)