升级了1.9版面板,
服务内部错误: yaml: unmarshal errors: line 1: cannot unmarshal !!str <?xml v...
into map[string]interface {}
OpenResty 卸载重装后就创建不了了,卸载前每一个站点都是先取消HTTPS,再删除的,证书也删掉了
日志中的错误提示:
[error] 152#152: *281 cannot load certificate “data:”: PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE) while SSL handshaking, client:xxx.xx.xxx.x, server: 0.0.0.0:443
[error] 120#120: *237 open() “/usr/share/nginx/html/pmd/index.php” failed (2: No such file or directory), client: xxx.xx.xxx.x, server: _, request: “GET /pmd/index.php HTTP/1.1”, host: “xxx.xx.xxx.x”
[error] 152#152: *288 open() “/usr/share/nginx/html/.env” failed (2: No such file or directory), client: xxx.xx.xxx.x, server: _, request: “GET /.env HTTP/1.1”, host: “xxx.xx.xxx.x”
尝试新建一个 PHP8 的运行环境
试过了删掉重新建PHP8,还是不行…
但是换PHP7版本就可以
PHP 8 的哪个版本
PHP 8.2.10
同步一下应用商店试试
又是这些错误提示
[error] 50#50: *11 cannot load certificate “data:”: PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE) while SSL handshaking, client: x.x.x.x, server: 0.0.0.0:443
[error] 50#50: *14 open() “/usr/share/nginx/html/favicon.ico” failed (2: No such file or directory), client: x.x.x.x, server: _, request: “GET /favicon.ico HTTP/1.1”, host: “x.x.x.x”
跟证书有关吗?没删干净?
1Panel 的 Openresty 默认占用了 80 和 443
如果你是 IP 类型的网站 需要把网站设置为默认网站
奇怪了,试过其他版本的PHP都可以创建网站,8.1、8.0都可以的,8.2.10就是创建不出来 ,提示都是跟图里一样::
解决了!换PHP扩展源为默认,之前一直用XTOM香港镜像站