[Unraid 系列 v6.10+] 1 从 v6.9.2 升级到 v6.10.3 (在线升级、安装 My Servers、优化 Docker)

说明

6.10.3 版本的主要目的是解决某些 HP Microserver Gen8/9 服务器(和其他平台)出现的问题:如果启用 Intel VT-d,可能会发生数据损坏。

本文仅记录正版 Unraid 升级过程。

2023年3月已是 6.11.5 版本,但流程相似。

闪存备份

与往常一样,请通过 主界面 -> Flash -> Flash 备份Main → Flash → Flash Backup ) 进行闪存备份。

本地安装包升级

参考:

在线升级

检查网络

检查 Unraid 网络是否能够获取更新,或者有无异常:

  • 在终端浏览器访问: https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/stable/unRAIDServer.plg

  • 在 Unraid 命令提示符中尝试访问和下载

    curl https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/stable/unRAIDServer.plg
    

若结果提示以下信息,则说明网络无法更新:

  • 浏览器:

    无法访问此网站网址为 https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/stable/unRAIDServer.plg 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。
    ERR_CONNECTION_ABORTED
    
  • Unraid:

    curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to unraid-dl.sfo2.cdn.digitaloceanspaces.com:443
    

配置代理、优化配置

请参阅: [Unraid 系列 v6.9.2] 2 安装 APPS (及官方汉化),配置 Docker IPv6 + 加速 - Yogile - 博客园 (cnblogs.com)

注意,注释掉 Docker 有关配置,否则将在启动后提示:

Docker 服务无法启动
Docker Service failed to start unraid

/boot/config/go 示例:

#!/bin/bash
# Start the Management Utility
# /usr/local/sbin/emhttp &
http_proxy=http://192.168.1.5:7890 https_proxy=http://192.168.1.5:7890 /usr/local/sbin/emhttp &

# Display
modprobe i915

# Update mirrors
# mkdir -p /etc/docker
# tee /etc/docker/daemon.json <<-'EOF'
# {
#   "ipv6": true,
#   "fixed-cidr-v6": "fd00::/80",
#   "experimental": true,
#   "ip6tables": true,
#   "registry-mirrors": ["https://xxxxxxxx.mirror.aliyuncs.com","http://hub-mirror.c.163.com"]
# }
# EOF

请确保代理地址的有效性。

然后,重新启动。

正常升级

  1. 创建 USB 闪存启动设备的备份;

  2. 如果您正在运行任何 6.4 或更高版本,请单击 工具 -> 关于 -> 系统更新 操作系统页面上的 检查更新

  3. 选择列表中的 更新

  4. 重新启动

安装 My Servers 插件

这个功能自己决定是否安装,该插件还处于 Beta 测试阶段,跟 Unraid 云端有数据交流,目前理论上能够实现 Unraid 官方云端远程访问(目前只支持 IPv4 公网地址)和闪存云端备份(不包括密钥)。

  1. 删除 2018 年版本的 Unraid.net 插件;

  2. 更新全部插件:在 插件 -> 已安装的插件 中, 检查更新 更新全部插件 ,等待完成;

  3. 推荐在 应用 中搜索 My Servers ,点击 安装

    虽然在 Web 右上角可以通过 Unraid 圆形图标下拉栏进行安装,但我安装时报错,所以不推荐。

    应用 中安装正常弹窗显示:

    plugin: installing: https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/unraid-api/dynamix.unraid.net.plg
    plugin: downloading https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/unraid-api/dynamix.unraid.net.plg
    plugin: downloading: https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/unraid-api/dynamix.unraid.net.plg ... done
    
    ⚠️ Do not close this window yet
    
    Validating /boot/config/plugins/dynamix.my.servers/dynamix.unraid.net.txz... ok.
    Validating /boot/config/plugins/dynamix.my.servers/unraid-api.tgz... ok.
    Validating /boot/config/plugins/dynamix.my.servers/libvirt.node... ok.
    
    ⚠️ Do not close this window yet
    
    
    +==============================================================================
    | Installing new package /boot/config/plugins/dynamix.my.servers/dynamix.unraid.net.txz
    +==============================================================================
    
    Verifying package dynamix.unraid.net.txz.
    Installing package dynamix.unraid.net.txz:
    PACKAGE DESCRIPTION:
    Package dynamix.unraid.net.txz installed.
    plugin: downloading: https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/unraid-api/segfault-handler.node ... done
    
    ⚠️ Do not close this window yet
    
    🕹️ Start downloading web components from https://registration.unraid.net/webComps/unraid.min.js
    ✅ Finished downloading web components
    
    ⚠️ Do not close this window yet
    
    ✨ Sign In to Unraid.net to get connected to My Servers ✨
    
    ✅ Installation is complete, it is safe to close this window
    
    plugin: dynamix.unraid.net.plg installed
    
    正在更新支持链接
    
    dynamix.unraid.net --> https://forums.unraid.net/forum/94-support/
    
    完成安装。如果未出现“完成”按钮,则需要单击右上角的红色 X
    
  4. 安装完成后,在 Web 右上角可以通过 Unraid 圆形图标下拉栏可以进行 设置 。该插件应该会单独出一片文章来讲。

关闭代理

关闭代理,请参阅: [Unraid 系列 v6.9.2] 2 安装 APPS (及官方汉化),配置 Docker IPv6 + 加速 - Yogile - 博客园 (cnblogs.com)

/boot/config/go 示例:

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &
# http_proxy=http://192.168.1.5:7890 https_proxy=http://192.168.1.5:7890 /usr/local/sbin/emhttp &

# Display
modprobe i915

# Update mirrors
# mkdir -p /etc/docker
# tee /etc/docker/daemon.json <<-'EOF'
# {
#   "ipv6": true,
#   "fixed-cidr-v6": "fd00::/80",
#   "experimental": true,
#   "ip6tables": true,
#   "registry-mirrors": ["https://xxxxxxxx.mirror.aliyuncs.com","http://hub-mirror.c.163.com"]
# }
# EOF

重启。

备用方式升级

如正常升级方法不起作用,请导航到 插件 -> 安装插件 ,在 输入远程插件文件或本地插件文件的 URL 项目中复制粘贴此插件 URL,然后单击安装:

https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/stable/unRAIDServer.plg

请按照正常升级步骤,配置、关闭代理,优化 Docker 配置。

posted @ 2022-09-12 14:17  Yogile  阅读(3225)  评论(0编辑  收藏  举报