Skip to content

OSS Transfer v4.1.45

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Nov 04:15

修复

  • 初始密码复制后登录失败:初始密码和 --reset-admin-password 重置后的密码改为只含字母和数字的 24 位字符串。以前的密码可能含 - 或 _,在终端中双击选择时只能选中一部分,导致首次登录提示密码错误。
  • 手动运行脚本显示的密码不对:oss-transfer-run.sh 现在只读取本次启动的日志,把密码单独打印一行,后面不接任何文字;以前密码后紧跟“(首次登录后请修改)”,而且日志里有早先运行的记录时,可能显示失效的旧密码。管理员账号已存在时,脚本改为提示重置密码的命令。

新功能

  • 京东云内网下载源,覆盖 Windows 和加入命令:Install.ps1 支持 -Source jdoss-internal。控制台 添加节点 窗口的原生部署指令上方新增 下载来源 选项,可在 Master、公网和 京东云内网(华北-北京) 之间切换;选择内网时,加入命令只访问 moonwx.s3-internal.cn-north-1.jdcloud-oss.com,不检测地区,也不回退到公网。
  • oss-transfer-run.sh 随版本发布:手动运行脚本和安装脚本一样,出现在 GitHub Release 以及京东云 OSS 的 latest/ 和 v<版本号>/ 目录中,可以用 https://github.com/MoonWX/oss-transfer/releases/latest/download/oss-transfer-run.sh 或镜像、内网地址下载。

文档

  • README 和各篇指南改为正式的书面语气,英文版按中文版逐页重写,并补充内网下载源和手动运行脚本的下载地址。

Fixes

  • Sign-in failed with a copied initial password: initial passwords, and passwords set by --reset-admin-password, now consist of 24 letters and digits. Earlier passwords could contain - or _, where a terminal's double-click selection stops, so only part of the password was copied and the first sign-in was rejected.
  • The manual run script showed the wrong password: oss-transfer-run.sh now reads only the log of the current start and prints the password alone on its line. It used to append a note directly after the password, and could show a stale password from an earlier run kept in the log. When an administrator already exists, the script prints the command for resetting the password instead.

New

  • JD Cloud internal source for Windows and join commands: Install.ps1 accepts -Source jdoss-internal. In the console's Add node dialog, a Download source option above the native commands switches between the Master, the public sources and JD Cloud internal (Beijing). With the internal source, the join command contacts only moonwx.s3-internal.cn-north-1.jdcloud-oss.com, without location detection or a public fallback.
  • oss-transfer-run.sh is published with each release: like the installers, the manual run script is part of the GitHub Release and of the latest/ and v<version>/ directories on JD Cloud OSS, for example at https://github.com/MoonWX/oss-transfer/releases/latest/download/oss-transfer-run.sh.

Documentation

  • The README and guides are rewritten in a formal register; the English pages follow the Chinese pages one to one and cover the internal source and the manual run script downloads.