v1.6.0

1Panel-dev/1Panelv1.6.0Sep 14, 2023by wanghe-fit2cloud

AI Summary

A major update introducing enhanced website management (multi-domain ports, 3-level directories), database improvements (MariaDB support, multiple instances), and container enhancements. Includes security fixes and new applications like Drawio and Portainer.

Key Highlights

  • Websites: Support for different domains on the same port and 3-level directory support.
  • App Store: Support for custom scripts before/after installation and selection of local MySQL/MariaDB.
  • Database: Added support for MariaDB and multiple MySQL instances with password encryption.
  • Container: Added ENTRYPOINT parameter support and improved log reading capabilities.
  • System: 1pctl command-line tool now includes a rollback feature.

New Features

  • PHP runtime auto-reconfiguration after environment updates
  • Scheduled backups for installed applications and system snapshots
  • Firewall rules now support description fields
  • Support for non-standard ports in OpenResty installation
  • New applications added: Drawio, Portainer, ddns-go v5.6.2

Full Release Notes

# 一、安装和升级

## 1.1 一键安装

**CentOS/RHEL**

```sh
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sh quick_start.sh
```

**Ubuntu**

```sh
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh
```

**Debian**

```sh
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && bash quick_start.sh
```

## 1.2 在线升级

登录 1Panel Web 控制台,在页面右下角点击 ** 【检查更新】** 进行在线升级。

>更多信息请查阅在线文档:https://1panel.cn/docs/

# 二、更新日志

## 2.1 新特性

* 【网站】支持不同域名使用同一个端口。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2071
* 【网站】网站目录支持设置三级运行目录。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2190
* 【网站】更新 PHP 运行环境后,自动重新配置该运行环境关联应用。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2095
* 【应用商店】安装应用时支持选择本地 MySQL 或 MariaDB 数据库。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2130
* 【应用商店】在执行安装、升级或卸载操作之前,支持执行自定义脚本。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2042
* 【应用商店】安装 OpenResty 时支持非 80 和 443 端口。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2059
* 【应用商店】在涉及到关联网站的情况下,OpenResty 提供了强制删除的功能。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2030
* 【数据库】MySQL 数据库列表支持添加 MariaDB 数据库。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2139
* 【数据库】支持配置多个 MySQL 本地数据库。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2094
* 【主机】防火墙端口规则和 IP 规则,支持设置描述信息。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/1962
* 【计划任务】支持定时备份应用商店已安装应用。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2040
* 【计划任务】支持定时备份系统快照。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2061
* 【面板设置】重构快照功能,消除在生成快照期间对系统全局 loading 的影响。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2039
* 【系统】1pctl 命令行工具增加回滚功能。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2110

## 2.2 功能优化

* 【概览】支持自定义是否显示安全入口提示信息。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2257
* 【网站】日志读取功能取消文件大小限制,支持读取超过 10MB 的日志文件。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2072
* 【网站】网站设置页面增加网站目录权限校验的提示信息。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2190
* 【应用商店】重建应用操作修改为响应式请求。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2091
* 【应用商店】应用安装流程优化。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2168
* 【应用商店】应用商店全部列表页样式优化。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2184
* 【数据库】数据库密码加密存储。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2146
* 【数据库】MySQL 页面数据库筛选框增加跳转功能。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2189
* 【容器】创建容器表单支持设置 ENTRYPOINT 参数。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2217
* 【容器】容器列表增加容器内网络地址列。 by @CyJaySong in https://github.com/1Panel-dev/1Panel/pull/2169
* 【容器】查看容器日志行数选择框增加所有选项。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2191
* 【容器】批量操作时,弹框提示信息增加详情显示。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2201
* 【容器】存在连续端口时,显示方式优化。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2188
* 【容器】容器列表加载方式优化。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2179
* 【容器】移除容器日志中的 ANSI 转义序列。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/1991
* 【主机】文件删除时的提示信息优化。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2111
* 【主机】防火墙列表支持根据状态和策略进行结果筛选。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2121
* 【主机】添加、编辑防火墙端口和 IP 规则时,可以输入多个 IP 地址或 IP 地址段。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2122
* 【主机】文件列表增加 UID 和 GID 显示。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2192
* 【主机】防火墙响应速度优化。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2261
* 【面板设置】服务器地址支持设置为空。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2016
* 【面板设置】设置按钮样式优化。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2141
* 【系统】添加日本语 README 文件。 by @eltociear in https://github.com/1Panel-dev/1Panel/pull/2265
* 【系统】系统消息提示框弹出方式优化。 by @huailei000 in https://github.com/1Panel-dev/1Panel/pull/1996
* 【系统】系统弹窗提示文字样式优化。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2202
* 【系统】部分页面状态栏样式统一。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2162
* 【系统】部分页面按钮样式优化。 by @wangdan-fit2cloud in https://github.com/1Panel-dev/1Panel/pull/2163
* 【系统】登录接口增加安全入口的校验。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2199
* 【系统】1pctl 获取用户信息命令返回内容优化。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2103
* 【系统】系统升级过程中暂停计划任务。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2274

## 2.3 问题修复

* 【网站】修复了 PHP 运行环境 5.5.38 版本安装 composer 失败的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/appstore/commit/7536cf8e575f8b2ba206f09dbe8e0345851fc921
* 【网站】修复了 PHP 运行环境 7.x 版本安装 pdo_sqlsrv 失败的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/appstore/commit/560bfd8362d8a21070c7902f70ec0929cf1168d4
* 【网站】修复了 PHP 运行环境部分版本构建失败的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/appstore/commit/c75ccdb14d976690251ee4de36f314cac78518e4
* 【应用商店】修复了多容器应用升级失败的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2090
* 【应用商店】修复了部分场景下应用停止之后不能启动的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2267
* 【数据库】修复了 MySQL 数据库同步时,由于存在特殊字符导致同步失败的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2214
* 【数据库】修复了 MySQL 8.x 切换数据库访问权限导致创建数据库失败的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2283
* 【容器】修复了容器切换端口选项时,仍然进行端口校验的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2277
* 【容器】修复了 Docker 低版本无法读取容器日志的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2191
* 【主机】修复了 Deepin 操作系统获取 SSH 服务状态异常的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2129
* 【主机】修复了守护进程停止之后状态读取异常的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2186
* 【主机】修复了文件名带空格时,导致的设置权限失败的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2197
* 【系统】修复了部分页面像素不对齐的问题。 by @ali-pay in https://github.com/1Panel-dev/1Panel/pull/2165
* 【系统】修复了导航按钮左侧边框显示异常的问题。 by @ali-pay in https://github.com/1Panel-dev/1Panel/pull/2196
* 【系统】修复了快照恢复后应用重建无法拉起的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2287

# 2.4 应用商店

* 新增 Drawio。 by @zhengkunwang223 in https://github.com/1Panel-dev/appstore/commit/a4fe583e1e601e7943ce257658f5b83e674daa93
* 新增 Portainer。 by @TScci in https://github.com/1Panel-dev/appstore/pull/355
* Halo 版本升级至 v2.9.1。 by @renovate in https://github.com/1Panel-dev/appstore/pull/401
* DataEase 版本升级至 v1.18.10。 by @renovate in https://github.com/1Panel-dev/appstore/pull/403
* Alist 版本升级至 v3.27.0。 by @renovate in https://github.com/1Panel-dev/appstore/pull/379
* 青龙版本升级至 v2.16.2。 by @renovate in https://github.com/1Panel-dev/appstore/pull/377
* 南墙 Web 应用防火墙版本升级至 v2.6.1。 by @renovate in https://github.com/1Panel-dev/appstore/pull/380
* 禅道版本升级至 v18.7。 by @renovate in https://github.com/1Panel-dev/appstore/pull/416
* Gitea 版本升级至 v1.20.4。 by @renovate in https://github.com/1Panel-dev/appstore/pull/409
* Jenkins 版本升级至 v2.423。 by @renovate in https://github.com/1Panel-dev/appstore/pull/418
* MongoDB 版本升级至 v7.0.1。 by @renovate in https://github.com/1Panel-dev/appstore/pull/385
* Tailchat 版本升级至 v1.8.12。 by @renovate in https://github.com/1Panel-dev/appstore/pull/381
* Bitwarden 版本升级至 v1.29.2。 by @renovate in https://github.com/1Panel-dev/appstore/pull/374
* Redis 版本升级至 v6.2.13。 by @renovate in https://github.com/1Panel-dev/appstore/pull/389
* Redis 版本升级至 v7.2.1。 by @renovate in https://github.com/1Panel-dev/appstore/pull/395
* Nexus Repository 版本升级至 v3.60.0。 by @renovate in https://github.com/1Panel-dev/appstore/pull/410
* ddns-go 版本升级至 v5.6.2。 by @renovate in https://github.com/1Panel-dev/appstore/pull/411
* emqx 版本升级至 v5.2.0。 by @renovate in https://github.com/1Panel-dev/appstore/pull/412
* Synapse 版本升级至 v1.92.1。 by @renovate in https://github.com/1Panel-dev/appstore/pull/417
* Domain Admin 版本升级至 v1.5.23。 by @renovate in https://github.com/1Panel-dev/appstore/pull/419
* AdGuardHome 版本升级至 v0.107.38。 by @renovate in https://github.com/1Panel-dev/appstore/pull/420
* MeiliSearch 版本升级至 v1.3.4。 by @renovate in https://github.com/1Panel-dev/appstore/pull/421