ConvertX fails on npm update #1170

Closed
opened 2026-02-04 23:26:42 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @IGOLz on GitHub (Jun 27, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

ConvertX

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/convertx.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📝 Provide a clear and concise description of the issue.

Failed to update npm to latest version

🔄 Steps to reproduce the issue.

Run bash command and get error on npm update step

Paste the full error output (if available).

✔️ Updated Container OS
✔️ Setup ImageMagick 7.1.1-47
✔️ Installed Dependencies
✖️ Failed to update npm to latest version

[ERROR] in line 1088: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"var_install".sh)" ?

🖼️ Additional context (optional).

No response

Originally created by @IGOLz on GitHub (Jun 27, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? ConvertX ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/convertx.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📝 Provide a clear and concise description of the issue. Failed to update npm to latest version ### 🔄 Steps to reproduce the issue. Run bash command and get error on npm update step ### ❌ Paste the full error output (if available). ✔️ Updated Container OS ✔️ Setup ImageMagick 7.1.1-47 ✔️ Installed Dependencies ✖️ Failed to update npm to latest version [ERROR] in line 1088: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $? ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 23:26:42 +03:00
Author
Owner

@MickLesk commented on GitHub (Jun 27, 2025):

Verbose needed.

Its just an npm Install -g npm@latest

@MickLesk commented on GitHub (Jun 27, 2025): Verbose needed. Its just an npm Install -g npm@latest
Author
Owner

@IGOLz commented on GitHub (Jun 27, 2025):

Got this errors:

Setting up udisks2 (2.9.4-4+deb12u1) ...
sda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:17.0/ata6/host5/target5:0:0/5:0:0:0/block/sda/uevent': Permission denied
sda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:17.0/ata6/host5/target5:0:0/5:0:0:0/block/sda/sda1/uevent': Permission denied
sda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:17.0/ata6/host5/target5:0:0/5:0:0:0/block/sda/sda2/uevent': Permission denied
nvme0n1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/nvme/nvme0/nvme0n1/uevent': Permission denied
nvme0n1p1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/nvme/nvme0/nvme0n1/nvme0n1p1/uevent': Permission denied
nvme0n1p2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/nvme/nvme0/nvme0n1/nvme0n1p2/uevent': Permission denied
nvme0n1p3: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/nvme/nvme0/nvme0n1/nvme0n1p3/uevent': Permission denied
loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied
loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied
loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied
loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied
loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied
loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied
loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied
loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied
dm-0: Failed to write 'change' to '/sys/devices/virtual/block/dm-0/uevent': Permission denied
dm-1: Failed to write 'change' to '/sys/devices/virtual/block/dm-1/uevent': Permission denied
dm-10: Failed to write 'change' to '/sys/devices/virtual/block/dm-10/uevent': Permission denied
dm-11: Failed to write 'change' to '/sys/devices/virtual/block/dm-11/uevent': Permission denied
dm-12: Failed to write 'change' to '/sys/devices/virtual/block/dm-12/uevent': Permission denied
dm-13: Failed to write 'change' to '/sys/devices/virtual/block/dm-13/uevent': Permission denied
dm-14: Failed to write 'change' to '/sys/devices/virtual/block/dm-14/uevent': Permission denied
dm-15: Failed to write 'change' to '/sys/devices/virtual/block/dm-15/uevent': Permission denied
dm-16: Failed to write 'change' to '/sys/devices/virtual/block/dm-16/uevent': Permission denied
dm-17: Failed to write 'change' to '/sys/devices/virtual/block/dm-17/uevent': Permission denied
dm-18: Failed to write 'change' to '/sys/devices/virtual/block/dm-18/uevent': Permission denied
dm-19: Failed to write 'change' to '/sys/devices/virtual/block/dm-19/uevent': Permission denied
dm-2: Failed to write 'change' to '/sys/devices/virtual/block/dm-2/uevent': Permission denied
dm-20: Failed to write 'change' to '/sys/devices/virtual/block/dm-20/uevent': Permission denied
dm-21: Failed to write 'change' to '/sys/devices/virtual/block/dm-21/uevent': Permission denied
dm-22: Failed to write 'change' to '/sys/devices/virtual/block/dm-22/uevent': Permission denied
dm-23: Failed to write 'change' to '/sys/devices/virtual/block/dm-23/uevent': Permission denied
dm-25: Failed to write 'change' to '/sys/devices/virtual/block/dm-25/uevent': Permission denied
dm-26: Failed to write 'change' to '/sys/devices/virtual/block/dm-26/uevent': Permission denied
dm-27: Failed to write 'change' to '/sys/devices/virtual/block/dm-27/uevent': Permission denied
dm-28: Failed to write 'change' to '/sys/devices/virtual/block/dm-28/uevent': Permission denied
dm-29: Failed to write 'change' to '/sys/devices/virtual/block/dm-29/uevent': Permission denied
dm-3: Failed to write 'change' to '/sys/devices/virtual/block/dm-3/uevent': Permission denied
dm-33: Failed to write 'change' to '/sys/devices/virtual/block/dm-33/uevent': Permission denied
dm-34: Failed to write 'change' to '/sys/devices/virtual/block/dm-34/uevent': Permission denied
dm-4: Failed to write 'change' to '/sys/devices/virtual/block/dm-4/uevent': Permission denied
dm-5: Failed to write 'change' to '/sys/devices/virtual/block/dm-5/uevent': Permission denied
dm-6: Failed to write 'change' to '/sys/devices/virtual/block/dm-6/uevent': Permission denied
dm-7: Failed to write 'change' to '/sys/devices/virtual/block/dm-7/uevent': Permission denied
dm-8: Failed to write 'change' to '/sys/devices/virtual/block/dm-8/uevent': Permission denied
dm-9: Failed to write 'change' to '/sys/devices/virtual/block/dm-9/uevent': Permission denied
Created symlink /etc/systemd/system/graphical.target.wants/udisks2.service → /lib/systemd/system/udisks2.service.

Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/usr/lib/node_modules/npm/lib/cli/validate-engines.js:31
    throw err
    ^

Error: ENOENT: no such file or directory, uv_cwd
    at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:142:28)
    at process.cwd (/usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:10:19)
    at new Config (/usr/lib/node_modules/npm/node_modules/@npmcli/config/lib/index.js:71:19)
    at new Npm (/usr/lib/node_modules/npm/lib/npm.js:67:19)
    at module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:21:15)
    at module.exports (/usr/lib/node_modules/npm/lib/cli/validate-engines.js:39:10)
    at module.exports (/usr/lib/node_modules/npm/lib/cli.js:12:31)
    at Object.<anonymous> (/usr/lib/node_modules/npm/bin/npm-cli.js:2:25)
    at Module._compile (node:internal/modules/cjs/loader:1730:14)
    at Object..js (node:internal/modules/cjs/loader:1895:10) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'uv_cwd'
}

Node.js v22.17.0
  ✖️   Failed to update npm to latest version
@IGOLz commented on GitHub (Jun 27, 2025): Got this errors: ``` Setting up udisks2 (2.9.4-4+deb12u1) ... sda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:17.0/ata6/host5/target5:0:0/5:0:0:0/block/sda/uevent': Permission denied sda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:17.0/ata6/host5/target5:0:0/5:0:0:0/block/sda/sda1/uevent': Permission denied sda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:17.0/ata6/host5/target5:0:0/5:0:0:0/block/sda/sda2/uevent': Permission denied nvme0n1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/nvme/nvme0/nvme0n1/uevent': Permission denied nvme0n1p1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/nvme/nvme0/nvme0n1/nvme0n1p1/uevent': Permission denied nvme0n1p2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/nvme/nvme0/nvme0n1/nvme0n1p2/uevent': Permission denied nvme0n1p3: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/nvme/nvme0/nvme0n1/nvme0n1p3/uevent': Permission denied loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied dm-0: Failed to write 'change' to '/sys/devices/virtual/block/dm-0/uevent': Permission denied dm-1: Failed to write 'change' to '/sys/devices/virtual/block/dm-1/uevent': Permission denied dm-10: Failed to write 'change' to '/sys/devices/virtual/block/dm-10/uevent': Permission denied dm-11: Failed to write 'change' to '/sys/devices/virtual/block/dm-11/uevent': Permission denied dm-12: Failed to write 'change' to '/sys/devices/virtual/block/dm-12/uevent': Permission denied dm-13: Failed to write 'change' to '/sys/devices/virtual/block/dm-13/uevent': Permission denied dm-14: Failed to write 'change' to '/sys/devices/virtual/block/dm-14/uevent': Permission denied dm-15: Failed to write 'change' to '/sys/devices/virtual/block/dm-15/uevent': Permission denied dm-16: Failed to write 'change' to '/sys/devices/virtual/block/dm-16/uevent': Permission denied dm-17: Failed to write 'change' to '/sys/devices/virtual/block/dm-17/uevent': Permission denied dm-18: Failed to write 'change' to '/sys/devices/virtual/block/dm-18/uevent': Permission denied dm-19: Failed to write 'change' to '/sys/devices/virtual/block/dm-19/uevent': Permission denied dm-2: Failed to write 'change' to '/sys/devices/virtual/block/dm-2/uevent': Permission denied dm-20: Failed to write 'change' to '/sys/devices/virtual/block/dm-20/uevent': Permission denied dm-21: Failed to write 'change' to '/sys/devices/virtual/block/dm-21/uevent': Permission denied dm-22: Failed to write 'change' to '/sys/devices/virtual/block/dm-22/uevent': Permission denied dm-23: Failed to write 'change' to '/sys/devices/virtual/block/dm-23/uevent': Permission denied dm-25: Failed to write 'change' to '/sys/devices/virtual/block/dm-25/uevent': Permission denied dm-26: Failed to write 'change' to '/sys/devices/virtual/block/dm-26/uevent': Permission denied dm-27: Failed to write 'change' to '/sys/devices/virtual/block/dm-27/uevent': Permission denied dm-28: Failed to write 'change' to '/sys/devices/virtual/block/dm-28/uevent': Permission denied dm-29: Failed to write 'change' to '/sys/devices/virtual/block/dm-29/uevent': Permission denied dm-3: Failed to write 'change' to '/sys/devices/virtual/block/dm-3/uevent': Permission denied dm-33: Failed to write 'change' to '/sys/devices/virtual/block/dm-33/uevent': Permission denied dm-34: Failed to write 'change' to '/sys/devices/virtual/block/dm-34/uevent': Permission denied dm-4: Failed to write 'change' to '/sys/devices/virtual/block/dm-4/uevent': Permission denied dm-5: Failed to write 'change' to '/sys/devices/virtual/block/dm-5/uevent': Permission denied dm-6: Failed to write 'change' to '/sys/devices/virtual/block/dm-6/uevent': Permission denied dm-7: Failed to write 'change' to '/sys/devices/virtual/block/dm-7/uevent': Permission denied dm-8: Failed to write 'change' to '/sys/devices/virtual/block/dm-8/uevent': Permission denied dm-9: Failed to write 'change' to '/sys/devices/virtual/block/dm-9/uevent': Permission denied Created symlink /etc/systemd/system/graphical.target.wants/udisks2.service → /lib/systemd/system/udisks2.service. Package 'nodejs' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. /usr/lib/node_modules/npm/lib/cli/validate-engines.js:31 throw err ^ Error: ENOENT: no such file or directory, uv_cwd at process.wrappedCwd (node:internal/bootstrap/switches/does_own_process_state:142:28) at process.cwd (/usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:10:19) at new Config (/usr/lib/node_modules/npm/node_modules/@npmcli/config/lib/index.js:71:19) at new Npm (/usr/lib/node_modules/npm/lib/npm.js:67:19) at module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:21:15) at module.exports (/usr/lib/node_modules/npm/lib/cli/validate-engines.js:39:10) at module.exports (/usr/lib/node_modules/npm/lib/cli.js:12:31) at Object.<anonymous> (/usr/lib/node_modules/npm/bin/npm-cli.js:2:25) at Module._compile (node:internal/modules/cjs/loader:1730:14) at Object..js (node:internal/modules/cjs/loader:1895:10) { errno: -2, code: 'ENOENT', syscall: 'uv_cwd' } Node.js v22.17.0 ✖️ Failed to update npm to latest version ```
Author
Owner

@MickLesk commented on GitHub (Jun 27, 2025):

Its an install?

Im wondering, that you get massive permission issues from your local Drives.

What do you have for storages?

pveam status

@MickLesk commented on GitHub (Jun 27, 2025): Its an install? Im wondering, that you get massive permission issues from your local Drives. What do you have for storages? pveam status
Author
Owner

@MickLesk commented on GitHub (Jun 27, 2025):

Image script tested with several pve installs

@MickLesk commented on GitHub (Jun 27, 2025): ![Image](https://github.com/user-attachments/assets/4c893d60-84be-4920-b086-7b713213f387) script tested with several pve installs
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1170