metube #1091

Closed
opened 2026-02-04 23:02:12 +03:00 by OVERLORD · 13 comments
Owner

Originally created by @jaainil on GitHub (Jun 12, 2025).

Have you read and understood the above guidelines?

Yes

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

metube.sh

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

The script fails while installing MeTube. All prior steps like DNS, Node.js 22, Python3, etc., succeed. However, the process exits with a [ERROR] in line 51: exit code 0 followed by a second error:

/dev/fd/63: line 74: SPINNER_PID: unbound variable

🔄 Steps to reproduce the issue.

  1. Run the MeTube script with default LXC creation settings (1 CPU, 1GB RAM, 10GB disk, unprivileged)
  2. Wait until the script reaches the Installing MeTube step
  3. Observe the error output and script halt

Paste the full error output (if available).

[ERROR] in line 51: exit code 0: while executing command "$@" > /dev/null 2>&1
/dev/fd/63: line 74: SPINNER_PID: unbound variable

🖼️ Additional context (optional).

  • The LXC has IPv4 internet access and working DNS
  • ant-1TB storage used for both template and container
  • All dependencies installed correctly before MeTube step

Image

Originally created by @jaainil on GitHub (Jun 12, 2025). ### ✅ Have you read and understood the above guidelines? Yes ### 📜 What is the name of the script you are using? metube.sh ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/metube.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. The script fails while installing MeTube. All prior steps like DNS, Node.js 22, Python3, etc., succeed. However, the process exits with a [ERROR] in line 51: exit code 0 followed by a second error: `/dev/fd/63: line 74: SPINNER_PID: unbound variable` ### 🔄 Steps to reproduce the issue. 1. Run the MeTube script with default LXC creation settings (1 CPU, 1GB RAM, 10GB disk, unprivileged) 2. Wait until the script reaches the Installing MeTube step 3. Observe the error output and script halt ### ❌ Paste the full error output (if available). [ERROR] in line 51: exit code 0: while executing command "$@" > /dev/null 2>&1 /dev/fd/63: line 74: SPINNER_PID: unbound variable ### 🖼️ Additional context (optional). - The LXC has IPv4 internet access and working DNS - ant-1TB storage used for both template and container - All dependencies installed correctly before MeTube step ![Image](https://github.com/user-attachments/assets/b73ff5e8-5018-40ee-8afc-b6e12f8d5f56)
OVERLORD added the bug label 2026-02-04 23:02:12 +03:00
Author
Owner

@tremor021 commented on GitHub (Jun 12, 2025):

Run in verbose mode so we can see the error

@tremor021 commented on GitHub (Jun 12, 2025): Run in verbose mode so we can see the error
Author
Owner

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

And try with more ressources

@MickLesk commented on GitHub (Jun 12, 2025): And try with more ressources
Author
Owner

@Aerodrummer commented on GitHub (Jun 13, 2025):

Same here. I've doubled resources, 20G, 2 CPU, 2048 M Ram in verbose mode. Here's the end of the log

`...
Get:1 http://deb.debian.org/debian bookworm/main amd64 javascript-common all 11+nmu1 [6,260 B]
Get:2 http://deb.debian.org/debian bookworm/main amd64 libexpat1-dev amd64 2.5.0-1+deb12u1 [150 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libjs-jquery all 3.6.1+dfsg+3.5.14-1 [326 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 libjs-underscore all 1.13.4
dfsg+~1.11.4-3 [116 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 libjs-sphinxdoc all 5.3.0-4 [130 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 libpython3.11 amd64 3.11.2-6+deb12u6 [1,987 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 zlib1g-dev amd64 1:1.2.13.dfsg-1 [916 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 libpython3.11-dev amd64 3.11.2-6+deb12u6 [4,742 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 libpython3-dev amd64 3.11.2-1+b1 [9,572 B]
Get:10 http://deb.debian.org/debian bookworm/main amd64 python3.11-dev amd64 3.11.2-6+deb12u6 [615 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 python3-lib2to3 all 3.11.2-3 [76.3 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 python3-distutils all 3.11.2-3 [131 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 python3-dev amd64 3.11.2-1+b1 [26.2 kB]
Get:14 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools all 66.1.1-1+deb12u1 [522 kB]
Get:15 http://deb.debian.org/debian bookworm/main amd64 python3-wheel all 0.38.4-2 [30.8 kB]
Get:16 http://deb.debian.org/debian bookworm/main amd64 python3-pip all 23.0.1+dfsg-1 [1,325 kB]
Get:17 http://deb.debian.org/debian bookworm/main amd64 python3-pip-whl all 23.0.1+dfsg-1 [1,717 kB]
Get:18 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools-whl all 66.1.1-1+deb12u1 [1,112 kB]
Get:19 http://deb.debian.org/debian bookworm/main amd64 python3.11-venv amd64 3.11.2-6+deb12u6 [5,896 B]
Get:20 http://deb.debian.org/debian bookworm/main amd64 python3-venv amd64 3.11.2-1+b1 [1,200 B]
Fetched 13.9 MB in 0s (84.3 MB/s)
⠙Selecting previously unselected package javascript-common.
(Reading database ... 27837 files and directories currently installed.)
...
✔️ Setup Python3
Reading package lists... Doneing version 22 Installing jq...
Building dependency tree... Done
Reading state information... Done
Package 'nodejs' is not installed, so not removed
⠼0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✔️ Installed Node.js 22
⠴Cloning into '/opt/metube'...
⠴remote: Enumerating objects: 2345, done.
remote: Counting objects: 100% (1084/1084), done.
remote: Compressing objects: 100% (309/309), done.
remote: Total 2345 (delta 906), reused 775 (delta 775), pack-reused 1261 (from 3)
Receiving objects: 100% (2345/2345), 4.95 MiB | 22.12 MiB/s, done.
Resolving deltas: 100% (1535/1535), done.
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated tslint@6.1.3: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.

added 945 packages, and audited 946 packages in 41s

154 packages are looking for funding
run npm fund for details

5 vulnerabilities (1 low, 4 moderate)

To address issues that do not require attention, run:
npm audit fix

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.
npm notice
npm notice New major version of npm available! 10.9.2 -> 11.4.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.2
npm notice To update run: npm install -g npm@11.4.2
npm notice
Initial chunk files | Names | Raw size | Estimated transfer size
main.js | main | 534.61 kB | 138.68 kB
styles.css | styles | 239.63 kB | 23.40 kB
scripts.js | scripts | 80.36 kB | 21.59 kB
polyfills.js | polyfills | 35.05 kB | 11.53 kB

                | Initial total | 889.63 kB |               195.19 kB

Application bundle generation complete. [24.915 seconds]

▲ [WARNING] 4 rules skipped due to selector errors:
.form-floating>~label -> Did not expect successive traversals.
.btn-group>+.btn -> Did not expect successive traversals.
.btn-group>+.btn -> Did not expect successive traversals.
.btn-group-vertical>+.btn -> Did not expect successive traversals.

Output location: /opt/metube/ui/dist/metube

⠧Collecting pipenv
⠇ Downloading pipenv-2025.0.3-py3-none-any.whl (2.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 7.7 MB/s eta 0:00:00
⠸Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from pipenv) (2022.9.24)
Collecting packaging>=22
Downloading packaging-25.0-py3-none-any.whl (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.5/66.5 kB 974.8 kB/s eta 0:00:00
⠦Collecting setuptools>=67
Downloading setuptools-80.9.0-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 6.0 MB/s eta 0:00:00
⠋Collecting virtualenv>=20.24.2
Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 11.4 MB/s eta 0:00:00
⠙Collecting distlib<1,>=0.3.7
Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 kB 5.8 MB/s eta 0:00:00
⠸Collecting filelock<4,>=3.12.2
Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
⠼Collecting platformdirs<5,>=3.9.1
Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
⠧Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, virtualenv, pipenv
⠇ Attempting uninstall: setuptools
Found existing installation: setuptools 66.1.1
Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'setuptools'. No files were found to uninstall.
⠹Successfully installed distlib-0.3.9 filelock-3.18.0 packaging-25.0 pipenv-2025.0.3 platformdirs-4.3.8 setuptools-80.9.0 virtualenv-20.31.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
⠸Warning: Python 3.13 was not found on your system...
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path/to/python

[ERROR] in line 48: exit code 0: while executing command $STD pipenv install
⠴/dev/fd/63: line 74: SPINNER_PID: unbound variable
root@pve:~#

`

@Aerodrummer commented on GitHub (Jun 13, 2025): Same here. I've doubled resources, 20G, 2 CPU, 2048 M Ram in verbose mode. Here's the end of the log `... Get:1 http://deb.debian.org/debian bookworm/main amd64 javascript-common all 11+nmu1 [6,260 B] Get:2 http://deb.debian.org/debian bookworm/main amd64 libexpat1-dev amd64 2.5.0-1+deb12u1 [150 kB] Get:3 http://deb.debian.org/debian bookworm/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get:4 http://deb.debian.org/debian bookworm/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get:5 http://deb.debian.org/debian bookworm/main amd64 libjs-sphinxdoc all 5.3.0-4 [130 kB] Get:6 http://deb.debian.org/debian bookworm/main amd64 libpython3.11 amd64 3.11.2-6+deb12u6 [1,987 kB] Get:7 http://deb.debian.org/debian bookworm/main amd64 zlib1g-dev amd64 1:1.2.13.dfsg-1 [916 kB] Get:8 http://deb.debian.org/debian bookworm/main amd64 libpython3.11-dev amd64 3.11.2-6+deb12u6 [4,742 kB] Get:9 http://deb.debian.org/debian bookworm/main amd64 libpython3-dev amd64 3.11.2-1+b1 [9,572 B] Get:10 http://deb.debian.org/debian bookworm/main amd64 python3.11-dev amd64 3.11.2-6+deb12u6 [615 kB] Get:11 http://deb.debian.org/debian bookworm/main amd64 python3-lib2to3 all 3.11.2-3 [76.3 kB] Get:12 http://deb.debian.org/debian bookworm/main amd64 python3-distutils all 3.11.2-3 [131 kB] Get:13 http://deb.debian.org/debian bookworm/main amd64 python3-dev amd64 3.11.2-1+b1 [26.2 kB] Get:14 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools all 66.1.1-1+deb12u1 [522 kB] Get:15 http://deb.debian.org/debian bookworm/main amd64 python3-wheel all 0.38.4-2 [30.8 kB] Get:16 http://deb.debian.org/debian bookworm/main amd64 python3-pip all 23.0.1+dfsg-1 [1,325 kB] Get:17 http://deb.debian.org/debian bookworm/main amd64 python3-pip-whl all 23.0.1+dfsg-1 [1,717 kB] Get:18 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools-whl all 66.1.1-1+deb12u1 [1,112 kB] Get:19 http://deb.debian.org/debian bookworm/main amd64 python3.11-venv amd64 3.11.2-6+deb12u6 [5,896 B] Get:20 http://deb.debian.org/debian bookworm/main amd64 python3-venv amd64 3.11.2-1+b1 [1,200 B] Fetched 13.9 MB in 0s (84.3 MB/s) ⠙Selecting previously unselected package javascript-common. (Reading database ... 27837 files and directories currently installed.) ... ✔️ Setup Python3 Reading package lists... Doneing version 22 Installing jq... Building dependency tree... Done Reading state information... Done Package 'nodejs' is not installed, so not removed ⠼0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ✔️ Installed Node.js 22 ⠴Cloning into '/opt/metube'... ⠴remote: Enumerating objects: 2345, done. remote: Counting objects: 100% (1084/1084), done. remote: Compressing objects: 100% (309/309), done. remote: Total 2345 (delta 906), reused 775 (delta 775), pack-reused 1261 (from 3) Receiving objects: 100% (2345/2345), 4.95 MiB | 22.12 MiB/s, done. Resolving deltas: 100% (1535/1535), done. npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated tslint@6.1.3: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information. added 945 packages, and audited 946 packages in 41s 154 packages are looking for funding run `npm fund` for details 5 vulnerabilities (1 low, 4 moderate) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. npm notice npm notice New major version of npm available! 10.9.2 -> 11.4.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.2 npm notice To update run: npm install -g npm@11.4.2 npm notice Initial chunk files | Names | Raw size | Estimated transfer size main.js | main | 534.61 kB | 138.68 kB styles.css | styles | 239.63 kB | 23.40 kB scripts.js | scripts | 80.36 kB | 21.59 kB polyfills.js | polyfills | 35.05 kB | 11.53 kB | Initial total | 889.63 kB | 195.19 kB Application bundle generation complete. [24.915 seconds] ▲ [WARNING] 4 rules skipped due to selector errors: .form-floating>~label -> Did not expect successive traversals. .btn-group>+.btn -> Did not expect successive traversals. .btn-group>+.btn -> Did not expect successive traversals. .btn-group-vertical>+.btn -> Did not expect successive traversals. Output location: /opt/metube/ui/dist/metube ⠧Collecting pipenv ⠇ Downloading pipenv-2025.0.3-py3-none-any.whl (2.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 7.7 MB/s eta 0:00:00 ⠸Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from pipenv) (2022.9.24) Collecting packaging>=22 Downloading packaging-25.0-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.5/66.5 kB 974.8 kB/s eta 0:00:00 ⠦Collecting setuptools>=67 Downloading setuptools-80.9.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 6.0 MB/s eta 0:00:00 ⠋Collecting virtualenv>=20.24.2 Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 11.4 MB/s eta 0:00:00 ⠙Collecting distlib<1,>=0.3.7 Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.0/469.0 kB 5.8 MB/s eta 0:00:00 ⠸Collecting filelock<4,>=3.12.2 Downloading filelock-3.18.0-py3-none-any.whl (16 kB) ⠼Collecting platformdirs<5,>=3.9.1 Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB) ⠧Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, virtualenv, pipenv ⠇ Attempting uninstall: setuptools Found existing installation: setuptools 66.1.1 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'setuptools'. No files were found to uninstall. ⠹Successfully installed distlib-0.3.9 filelock-3.18.0 packaging-25.0 pipenv-2025.0.3 platformdirs-4.3.8 setuptools-80.9.0 virtualenv-20.31.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv ⠸Warning: Python 3.13 was not found on your system... Neither 'pyenv' nor 'asdf' could be found to install Python. You can specify specific versions of Python with: $ pipenv --python path/to/python ⠧ [ERROR] in line 48: exit code 0: while executing command $STD pipenv install ⠴/dev/fd/63: line 74: SPINNER_PID: unbound variable root@pve:~# `
Author
Owner

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

Ah okay, they use now Python 3.13 which is not available in Debian 12.

Need to wait for UV PR #4961

@tremor021 can you Backup / remove the json please?

@MickLesk commented on GitHub (Jun 13, 2025): Ah okay, they use now Python 3.13 which is not available in Debian 12. Need to wait for UV PR #4961 @tremor021 can you Backup / remove the json please?
Author
Owner

@tremor021 commented on GitHub (Jun 13, 2025):

@MickLesk we did already on #5014

@tremor021 commented on GitHub (Jun 13, 2025): @MickLesk we did already on #5014
Author
Owner

@tjcomserv commented on GitHub (Jun 17, 2025):

Could we either use a backport or Debian Trixie or even Ubuntu Server?

https://github.com/pascallj/python3.13-backport

@tjcomserv commented on GitHub (Jun 17, 2025): Could we either use a backport or Debian Trixie or even Ubuntu Server? [https://github.com/pascallj/python3.13-backport](url)
Author
Owner

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

no way, just wait for uv pr and done

@MickLesk commented on GitHub (Jun 17, 2025): no way, just wait for uv pr and done
Author
Owner

@tjcomserv commented on GitHub (Jun 17, 2025):

My apologies, I did not read the uv pr. That looks great!

@tjcomserv commented on GitHub (Jun 17, 2025): My apologies, I did not read the uv pr. That looks great!
Author
Owner

@samwathegreat commented on GitHub (Jun 20, 2025):

Any idea why metube has disappeared from the list and search of community scripts?

Image

@samwathegreat commented on GitHub (Jun 20, 2025): Any idea why metube has disappeared from the list and search of community scripts? ![Image](https://github.com/user-attachments/assets/5318bfaf-4fb6-44f8-8e5a-0bd0fde02ba1)
Author
Owner

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

Read above?

@MickLesk commented on GitHub (Jun 20, 2025): Read above?
Author
Owner

@samwathegreat commented on GitHub (Jun 20, 2025):

Read above?

Still not understanding why it disappeared... The bitmagnet script is also broken and waiting on the new pr, but it still shows up on the site and in search... Or was that one just an oversight? Thanks in advance.

Image

@samwathegreat commented on GitHub (Jun 20, 2025): > Read above? Still not understanding why it disappeared... The bitmagnet script is also broken and waiting on the new pr, but it still shows up on the site and in search... Or was that one just an oversight? Thanks in advance. ![Image](https://github.com/user-attachments/assets/81e69b2d-a1c7-433f-9344-03fb55e02866)
Author
Owner

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

The PR is already fixed. Metube is Not so fast therefore its removed

@MickLesk commented on GitHub (Jun 20, 2025): The PR is already fixed. Metube is Not so fast therefore its removed
Author
Owner

@tremor021 commented on GitHub (Jun 20, 2025):

Read above?

Still not understanding why it disappeared... The bitmagnet script is also broken and waiting on the new pr, but it still shows up on the site and in search... Or was that one just an oversight? Thanks in advance.

Image

Bitmagnet script works just fine

@tremor021 commented on GitHub (Jun 20, 2025): > > Read above? > > Still not understanding why it disappeared... The bitmagnet script is also broken and waiting on the new pr, but it still shows up on the site and in search... Or was that one just an oversight? Thanks in advance. > > ![Image](https://github.com/user-attachments/assets/81e69b2d-a1c7-433f-9344-03fb55e02866) Bitmagnet script works just fine
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1091