v1.8.0

1Panel-dev/1Panelv1.8.0Nov 8, 2023by wanghe-fit2cloud

AI Summary

A major feature release introducing significant new capabilities including server/container restart controls, Node.js runtime support, file management enhancements, and expanded application store offerings.

Key Highlights

  • Added restart server/panel functionality and file management features like recycle bin, terminal, and bulk operations.
  • Introduced Node.js runtime environments with custom startup commands and multi-port support.
  • Enhanced website management with batch domain addition, certificate uploads, and PHP environment log viewing.

New Features

  • Server and panel restart functionality
  • File management features: Recycle Bin, Terminal, Favorites, Upload Folders, Sorting, Batch Permissions
  • Node.js runtime environment support
  • Container status filtering
  • New plan tasks: Backup Log and Cache Clean
  • SSH auto-start option
  • Panel listening address configuration

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 @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2579
* 【网站】支持查看创建 PHP 运行环境日志。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2764
* 【网站】证书管理页面增加上传证书功能。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2735
* 【网站】创建网站时支持批量添加域名。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2774
* 【网站】添加 Node.js 运行环境时支持自定义启动命令。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2677
* 【网站】添加 Node.js 运行环境时支持设置多端口。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2691
* 【容器】增加容器状态筛选功能。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2587
* 【计划任务】增加备份日志类型计划任务。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2595
* 【计划任务】增加缓存清理类型计划任务。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2592
* 【主机】增加文件回收站功能。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2586
* 【主机】增加文件收藏夹功能。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2612
* 【主机】增加文件终端功能。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2660
* 【主机】增加上传文件夹功能。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2661
* 【主机】增加文件列表排序功能。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2541
* 【主机】增加批量修改文件权限功能。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2778
* 【主机】提供 SSH 服务的开机自启选项。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2578
* 【主机】增加主机快速命令分组功能。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2732
* 【主机】修改 SSH 端口时自动添加防火墙端口规则。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2760
* 【面板设置】支持设置面板监听地址。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2663
* 【系统】1pctl 命令行工具支持切换监听地址。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2671

# 2.2 功能优化

* 【概览】服务升级重启等操作时取消前端定时请求。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2801
* 【网站】网站 WAF 增加 user-agent 过滤。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2796
* 【网站】创建网站时增加其他域名的端口校验。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2807
* 【网站】延长证书申请超时时间。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2742
* 【网站】添加 Node.js 运行环境时增加外部映射端口校验。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2808
* 【网站】创建 PHP 运行环境网站时持久化扩展目录。 by @zhengkunwang223 in https://github.com/1Panel-dev/appstore/commit/d8b0331107bbc641f9a2b8ea4778b3ec9afe8049
* 【应用商店】优化应用商店同步逻辑。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2795
* 【应用商店】安装 host 网络模式应用时增加部分提示信息。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2792
* 【容器】缓存容器列表刷新频率。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2606
* 【计划任务】优化部分页面样式。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2744
* 【主机】优化文件列表部分样式。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2741
* 【主机】文件复制、粘贴操作时支持修改文件及文件夹名称。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2763
* 【主机】添加主机时支持 IPv6 地址。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2643
* 【主机】优化进程守护判断 service 文件是否存在的逻辑。 by @igophper in https://github.com/1Panel-dev/1Panel/pull/2615
* 【日志审计】系统日志文件取消压缩。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2672
* 【面板设置】腾讯 COS 备份账号支持分片上传大文件。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2772
* 【面板设置】新增备份账号时增加文件上传测试。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2585
* 【系统】系统安装成功后显示局域网和公网 IP。 by @wc7086 in https://github.com/1Panel-dev/installer/pull/1
* 【系统】重新执行安装程序避免重复下载安装包。 by @wc7086 in https://github.com/1Panel-dev/installer/pull/2
* 【系统】优化两步验证登录方式。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2605
* 【系统】登录接口增加参数校验。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2751
* 【系统】统一系统删除弹框样式和提示信息。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2690
* 【系统】服务启动时自动同步服务器时间。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2775
* 【系统】优化部分接口报错和页面显示样式。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2731
* 【系统】统一修改部分接口参数校验。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2703

# 2.3 问题修复

* 【概览】修复了概览页样式不统一的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2740
* 【网站】修复了部分场景下创建网站提示端口被占用的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2699
* 【网站】修复了部分场景下可以创建同名网站的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2701
* 【网站】修复了网站域名可以重复添加的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2707
* 【网站】修复了 PHP 网站切换版本导致 serviceName 变更的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2737
* 【网站】修复了编辑 PHP 运行环境时版本显示错误的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2743
* 【网站】修复了切换 PHP 运行环境版本时可以选择 Node.js 的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2827
* 【网站】修复了反向代理网站后端代理地址为域名时创建失败的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2821
* 【网站】修复了 PHP 5.6 运行环境安装 redis 扩展失败的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/appstore/commit/f858355a3b1c3d926844ab7ed41a81de3225ddcc
* 【数据库】修复了由于未设置默认字符集导致数据库导入备份失败的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2678
* 【容器】修复了部分容器端口解析失败的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2739
* 【容器】修复了查看容器日志后产生僵尸进程的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2847
* 【主机】修复了 tar 文件解压失败的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2562
* 【主机】修复了部分场景下 zip 文件解压缩失败的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2565
* 【主机】修复了 IPv6 环境下 firewalld 防火墙规则不生效的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2613
* 【主机】修复了部分场景下移动文件失败的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2752
* 【主机】修复了暗色主题时文件导航栏显示异常问题。 by @wangdan-fit2cloud in https://github.com/1Panel-dev/1Panel/pull/2780
* 【主机】修复了 UFW 防火墙规则为空时创建规则失败的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2816
* 【主机】修复了部分场景下 UFW 防火墙启用失败的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2823
* 【日志审计】修复了网站日志切换时显示错误的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2708
* 【系统】修复了文件夹中存在 .sock 套接字导致压缩失败的问题。 by @ssongliu in https://github.com/1Panel-dev/1Panel/pull/2706
* 【系统】修复了部分场景下 1Panel 重启会导致运行环境状态异常的问题。 by @zhengkunwang223 in https://github.com/1Panel-dev/1Panel/pull/2773

# 2.4 应用商店

* 新增 Answer。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 Audiobookshelf。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 Calibre-Web。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 Changedetection.io。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 focalboard。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 Heimdall。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 IT-Tools。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 OpenLiteSpeed。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 YOURLS。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 YesPlayMusic。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 Navidrome。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/340
* 新增 ClickHouse。 by @liuruibin in https://github.com/1Panel-dev/appstore/pull/499
* 新增 Redpanda Console。 by @liuruibin in https://github.com/1Panel-dev/appstore/pull/551
* 新增 Komga。 by @TScci in https://github.com/1Panel-dev/appstore/pull/357
* 新增 Mailserver。 by @wanghe-fit2cloud in https://github.com/1Panel-dev/appstore/pull/573
* 新增 Maddy Mail Server。 by @okxlin in https://github.com/1Panel-dev/appstore/pull/574
* 新增 Material for MkDocs。 by @bh1xaq in https://github.com/1Panel-dev/appstore/pull/356
* 新增 Roundcube。 by @zhengkunwang223 in https://github.com/1Panel-dev/appstore/commit/ce8dee047104410831294bdce8fa8f5dff66870c
* DataEase 版本升级至 v1.18.12。 by @renovate in https://github.com/1Panel-dev/appstore/pull/543
* Halo 版本升级至 v2.10.2。 by @renovate in https://github.com/1Panel-dev/appstore/pull/547
* Kodbox 版本升级至 v1.4505。 by @renovate in https://github.com/1Panel-dev/appstore/pull/564
* Redis 版本升级至 v7.2.3。 by @renovate in https://github.com/1Panel-dev/appstore/pull/568
* ddns-go 版本升级至 v5.6.6。 by @renovate in https://github.com/1Panel-dev/appstore/pull/569
* Jellyfin 版本升级至 v10.8.12。 by @renovate in https://github.com/1Panel-dev/appstore/pull/570
* Bitwarden 版本升级至 v1.30.0。 by @renovate in https://github.com/1Panel-dev/appstore/pull/571
* Tailchat 版本升级至 v1.9.4。 by @renovate in https://github.com/1Panel-dev/appstore/pull/572
* Jenkins 版本升级至 v2.431。 by @renovate in https://github.com/1Panel-dev/appstore/pull/577
* Nexus Repository 版本升级至 v3.62.0。 by @renovate in https://github.com/1Panel-dev/appstore/pull/578
* Metabase 版本升级至 v0.47.7。 by @renovate in https://github.com/1Panel-dev/appstore/pull/579
* WordPress 版本升级至 v6.4.0。 by @renovate in https://github.com/1Panel-dev/appstore/pull/580