1、NextCloud更新以后 无法打开动态与任务
解决办法:请在nginx的配置文件mime.types中,修改“application/javascript js;”为“application/javascript js mjs;”,然后重启Nginx
文件位置在:/www/server/nginx/conf/mime.types
2、Your web server is not properly set up to resolve "/ocm-provider/". This is most likely related to a web server configuration that was not updated to deliver this folder directly. Please compare your configuration against the shipped rewrite rules in ".htaccess" for Apache or the provided one in the documentation for Nginx. On Nginx those are typically the lines starting with "location ~" that need an update.
解决办法:在网站配置文件中增加
location ^~ /.well-known {
location = /.well-known/carddav { return 301 /remote.php/dav/; }
location = /.well-known/caldav { return 301 /remote.php/dav/; }
location ^~ /.well-known { return 301 /index.php$uri; }
try_files $uri $uri/ =404;
}
location = /ocm-provider/ {return 301 /index.php/ocm-provider;}
参考:点击进入
3、当前正在使用数据库处理事务性文件锁定。若有内存缓存可用,请进行配置以
解决办法:安装Redis,增加缓存
文件目录:/config/config.php
'memcache.local' => '\OC\Memcache\Redis', 'redis' => [ 'host' => 'redis', 'port' => 6379, ], 'memcache.locking' => '\OC\Memcache\Redis',
4、您的网络服务器未正确设置来解析 `.wellknown` URL,失败于: `/.well-known/caldav` 更多细节,请参见文档 ↗。
解决办法:查询一下的配置文件有没有(well-known/caldav)配置,如果有,在/remote.php/dav后面增加“/”,就解决了
#安全配置重定向
rewrite /.well-known/carddav /remote.php/dav/ permanent;
rewrite /.well-known/caldav /remote.php/dav/ permanent;
5、PHP Deprecated: Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter in /www/wwwroot/pan.timeit.cn/apps/deck/lib/Service/ConfigService.php on line 234
解决办法:NextCloud 29.0.2 版本之前(包含该版本),未修复该问题
文章评论
谢谢大佬
@kelvin 问题解决了就好