你正通过安全连接访问你的实例,然而你的实例正生成不安全的 URL
在
config.php
中添加
'overwriteprotocol'=>'https',
该实例缺少一些推荐的 PHP 模块,强烈建议您安装以下模块以提升性能和兼容性:bz2
参考 Github Issue #2118,进入容器后运行,安装后重启容器
apt-get update &&apt-getinstall-y libbz2-dev &&rm-rf /var/lib/apt/lists/*
docker-php-ext-install bz2
Server has no maintenance window start time configured.
Server has no maintenance window start time configured. This means resource intensive daily background jobs will also be executed during your main usage time. We recommend to set it to a time of low usage, so users are less impacted by the load caused from these heavy tasks.
参考官方文档,在
config.php
中添加
'maintenance_window_start'=>1,
您的网页服务器未正确设置以解析
您的网页服务器未正确设置以解析 “/.well-known/caldav”,“/.well-known/carddav””/.well-known/webfinger”,”/.well-known/nodeinfo”
修改 Nginx 配置文件
location ^~ /.well-known {
rewrite ^/\.well-known/host-meta\.json $scheme://$host:$server_port/public.php?service=host-meta-json last;
rewrite ^/\.well-known/host-meta $scheme://$host:$server_port/public.php?service=host-meta last;
rewrite ^/\.well-known/webfinger $scheme://$host:$server_port/public.php?service=webfinger last;
rewrite ^/\.well-known/nodeinfo $scheme://$host:$server_port/public.php?service=nodeinfo last;
location = /.well-known/carddav { return 301 $scheme://$host:$server_port/remote.php/dav/; }
location = /.well-known/caldav { return 301 $scheme://$host:$server_port/remote.php/dav/; }
try_files $uri $uri/ =404;
}
或者,在
config.php
中添加
'check_for_working_wellknown_setup'=>false,
当前正在使用数据库处理事务性文件锁定,若有内存缓存可用,请进行配置以提升性能
通过进入容器查看 PHP 扩展,发现官方镜像已经安装了 Redis 扩展,则只需在
config.php
中添加
'memcache.local'=>'\OC\Memcache\Redis','redis'=>['host'=>'localhost','port'=>6379,],'memcache.locking'=>'\OC\Memcache\Redis',
您在安装过程中未设置默认的国际区号
在
config.php
中添加
'default_phone_region'=>'CN',
The OPcache buffer is nearly full.
The PHP OPcache module is not properly configured. The OPcache buffer is nearly full. To assure that all scripts can be hold in cache, it is recommended to apply “opcache.memory_consumption” to your PHP configuration with a value higher than “128”
参考Github Issue #1692,进入容器后运行,安装后重启容器
sed-i"s/opcache.interned_strings_buffer=8/opcache.interned_strings_buffer=16/g" /usr/local/etc/php/conf.d/opcache-recommended.ini |grep opcache.interned_strings_buffer /usr/local/etc/php/conf.d/opcache-recommended.ini
版权归原作者 JasperXzy 所有, 如有侵权,请联系我们删除。