欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

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

最编程 2024-08-14 13:07:48
...

警告

数据库中的一些列由于进行长整型转换而缺失。由于在较大的数据表重改变列类型会耗费一些时间,因此程序没有自动对其更改。您可以通过命令行手动执行 “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

推荐阅读