Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[RomM] Update Script Fails During UV Sync

已关闭 适合新手
#17,841 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
python, shell
领域
tooling

调研方向

失败的步骤是 ct/romm.sh 更新流程第 87 行的 uv sync --all-extras,报告者是通过 issue 中的 curl 命令运行它的。错误信息显示 RomM 需要 uv >=0.12.15,<0.13,但脚本在该步骤之前刚把 uv 升级到了 0.13.0,因此应先对比这两个版本相关的步骤。在 Debian 13 上使用 uv 0.13.0,或将 uv 固定到兼容版本后更新能够完成,即为完成;你可以通过以 verbose 模式重新运行更新来确认。

由索引模型根据 Issue 内容生成。

描述

Script: RomM

Reported by: @ThiccChimichanga

Guidelines

  • Read and understood guidelines: yes
  • Verbose mode used: yes

Issue occurs during: Script Update

Environment

  • Command run from: Proxmox web UI → LXC → Console
  • Linux distribution: Debian
  • Distribution version: 13
  • Host is arm64: No
  • Host platform: Proxmox VE
  • Proxmox version: 9.2.21
  • Default settings: Yes
  • Advanced settings: No
  • Exact command: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/romm.sh)"

Description

Running update script to update to new version 5.4.0 fails during uv sync.

Steps to reproduce

Step 1: Open LXC console
Step 2: type "update"
Step 3: Select verbose mode
Step 4: Observe failed update with error message

Error output


/ __ ____ ____ ___ / |/ /
/ // / __ / __ `__ / /|/ /
/ , / // / / / / / / / / /
/
/ ||_// // /// /_/

Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://security.debian.org trixie-security InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
Hit:4 https://deb.nodesource.com/node_24.x nodistro InRelease
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nodejs is already the newest version (24.21.0-1nodesource1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

changed 10 packages in 1s
✔️ Update Node.js 24 (npm 12.2.0)
✔️ Update available: romm 5.3.1 -> 5.4.0
✔️ Stopped Services
✔️ Backed up data to /opt/romm.backup
✔️ Backed up data to /opt/romm-players.backup
✔️ Deployed: romm (5.4.0)
⏳ Installing Python 3.13 via uvPython 3.13 is already installed
✔️ Python 3.13 installed
✔️ Setup uv 0.13.0
✔️ Restored data
⏳ Updating ROMMerror: Required uv version >=0.12.15, <0.13 does not match the running version 0.13.0
✖️ in line 87: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command uv sync --all-extras

--- Last 20 lines of log ---
[2026-10-10 19:36:54] [INFO] Update Node.js 24
[2026-10-10 19:36:56] [OK] Update Node.js 24 (npm 12.2.0)
[2026-10-10 19:36:56] [INFO] Checking for update: romm
[2026-10-10 19:36:56] [OK] Update available: romm 5.3.1 -> 5.4.0
[2026-10-10 19:36:56] [INFO] Stopping Services
[2026-10-10 19:36:58] [OK] Stopped Services
[2026-10-10 19:36:58] [INFO] Backing up data
[2026-10-10 19:36:58] [OK] Backed up data to /opt/romm.backup
[2026-10-10 19:36:58] [INFO] Backing up data
[2026-10-10 19:36:58] [OK] Backed up data to /opt/romm-players.backup
[2026-10-10 19:36:59] [INFO] Fetching github release: romm (5.4.0)
[2026-10-10 19:37:15] [OK] Deployed: romm (5.4.0)
[2026-10-10 19:37:16] [INFO] Upgrade uv from 0.12.13 to 0.13.0
[2026-10-10 19:37:16] [INFO] Installing Python 3.13 via uv
[2026-10-10 19:37:16] [OK] Python 3.13 installed
[2026-10-10 19:37:16] [OK] Setup uv 0.13.0
[2026-10-10 19:37:16] [INFO] Restoring data
[2026-10-10 19:37:16] [OK] Restored data
[2026-10-10 19:37:16] [INFO] Updating ROMM
[2026-10-10 19:37:16] [ERROR] in line 87: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command uv sync --all-extras

Attachments

romm-bugged-update.png

主要语言
Shell
星标
29.8k
派生
2.9k
平均合并
5 小时 13 分钟
30 天内合并 PR
429

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

community-scripts/ProxmoxVE 的其他 Issue

查看 community-scripts/ProxmoxVE 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。