v2.3.4
- 重写Nginx配置解析器,大幅提升兼容性
- 修复网站无法删除
- 修复计划任务添加备份任务缺少参数
- 修复跨文件系统无法升级面板命令行
- 修复MySQL保存配置文件报错
- 口增加请求验证机制
本次更新前必须手动运行以下命令:
首先在系统上安装sqlite3,Ubuntu/Debian运行apt install -y sqlite3
,Alma/Rocky等运行dnf install -y sqlite
。
安装完成后运行:
sqlite3 /www/panel/storage/app.db "CREATE TABLE websites_new (id integer PRIMARY KEY AUTOINCREMENT, name text NOT NULL, status numeric NOT NULL DEFAULT true, path text NOT NULL, https numeric NOT NULL, remark text NOT NULL, created_at datetime, updated_at datetime, CONSTRAINT uni_websites_name UNIQUE (name)); INSERT INTO websites_new (id, name, status, path, https, remark, created_at, updated_at) SELECT id, name, status, path, ssl, remark, created_at, updated_at FROM websites; DROP TABLE websites; ALTER TABLE websites_new RENAME TO websites;"
如果没有异常输出,则可以运行panel-cli update
更新面板。