NPM LXC Script: Update for Proxmox 8.3.4 (Debian Bookworm) #589

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

Originally created by @jonidimo on GitHub (Mar 5, 2025).

Have you read and understood the above guidelines?

yes

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

Nginx Proxy Manager LXC

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/nginxproxymanager.sh)"

📝 Provide a clear and concise description of the issue.

Current Behavior

  • The current Nginx Proxy Manager LXC installation script is hardcoded for Debian Bullseye
  • Script is not compatible with Proxmox 8.3.4 (Debian Bookworm)

Proposed Changes

  • Update script to support Debian Bookworm
  • Replace Bullseye-specific configurations
  • Test compatibility with Proxmox 8.3.4

Specific Issues Encountered

  • OpenResty repository configuration fails
  • Python dependencies may differ
  • Potential package name/version mismatches

Would appreciate guidance on updating the script for Bookworm compatibility.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

  1. Attempt to create an LXC container using the Nginx Proxy Manager script from community-scripts
  2. Use command: bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/nginxproxymanager.sh)"
  3. Select default options for Nginx Proxy Manager installation
  4. Observe script failure due to Debian Bullseye (11) specific configurations
  5. Verify running Proxmox 8.3.4 with Debian Bookworm (12)

Specific failure points:

  • OpenResty repository configuration fails
  • Python dependency conflicts
  • Outdated package references for Debian version

Paste the full error output (if available).

⠙Collecting certbot-dns-multi ⠹ Downloading certbot_dns_multi-4.22.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (47.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.6/47.6 MB 1.1 MB/s eta 0:00:00 ⠼Requirement already satisfied: certbot>=1.12.0 in /usr/lib/python3/dist-packages (from certbot-dns-multi) (2.1.0) Requirement already satisfied: acme>=1.12.0 in /usr/lib/python3/dist-packages (from certbot-dns-multi) (2.1.0) Requirement already satisfied: josepy>=1.1.0 in /usr/lib/python3/dist-packages (from certbot-dns-multi) (1.13.0) ⠇Installing collected packages: certbot-dns-multi ⠴Successfully installed certbot-dns-multi-4.22.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 ✔️ Installed Python Dependencies Hit:1 http://deb.debian.org/debian bookworm InRelease Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Hit:3 http://security.debian.org/ bookworm-security InRelease Get:4 http://openresty.org/package/debian bullseye InRelease [4,888 B] Get:5 http://openresty.org/package/debian bullseye/openresty amd64 Packages [35.6 kB] Err:5 http://openresty.org/package/debian bullseye/openresty amd64 Packages File has unexpected size (37101 != 35577). Mirror sync in progress? [IP: 3.131.85.84 80] Hashes of expected file: - Filesize:35577 [weak] - SHA512:c0d97c637cb6feddedc3cff9d596f381b8e4384ca9a44389a03ba10325852509c2a6896a0316a8bbd5b39ebbc32912dae4ebea75e6e45e46a63be3ef6dfd0c19 - SHA256:4f6257a8566575de3f15b3a162557f07dfe1dc0c9a7587084f8e0a69062a5525 - SHA1:cee2a766d9892c8e571f0af641cfbe845f906c46 [weak] - MD5Sum:b7c2de987f5e2d1673accc41becde481 [weak] Release file created at: Thu, 17 Oct 2024 06:31:10 +0000 Fetched 60.3 kB in 1s (47.1 kB/s) Reading package lists... Done E: Failed to fetch http://openresty.org/package/debian/dists/bullseye/openresty/binary-amd64/Packages.gz File has unexpected size (37101 != 35577). Mirror sync in progress? [IP: 3.131.85.84 80] Hashes of expected file: - Filesize:35577 [weak] - SHA512:c0d97c637cb6feddedc3cff9d596f381b8e4384ca9a44389a03ba10325852509c2a6896a0316a8bbd5b39ebbc32912dae4ebea75e6e45e46a63be3ef6dfd0c19 - SHA256:4f6257a8566575de3f15b3a162557f07dfe1dc0c9a7587084f8e0a69062a5525 - SHA1:cee2a766d9892c8e571f0af641cfbe845f906c46 [weak] - MD5Sum:b7c2de987f5e2d1673accc41becde481 [weak] Release file created at: Thu, 17 Oct 2024 06:31:10 +0000 E: Some index files failed to download. They have been ignored, or old ones used instead. ⠴ [ERROR] in line 52: exit code 0: while executing command $STD apt-get update

🖼️ Additional context (optional).

No response

Originally created by @jonidimo on GitHub (Mar 5, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Nginx Proxy Manager LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/nginxproxymanager.sh)" ### 📝 Provide a clear and concise description of the issue. ## Current Behavior - The current Nginx Proxy Manager LXC installation script is hardcoded for Debian Bullseye - Script is not compatible with Proxmox 8.3.4 (Debian Bookworm) ## Proposed Changes - Update script to support Debian Bookworm - Replace Bullseye-specific configurations - Test compatibility with Proxmox 8.3.4 ## Specific Issues Encountered - OpenResty repository configuration fails - Python dependencies may differ - Potential package name/version mismatches Would appreciate guidance on updating the script for Bookworm compatibility. ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. 1. Attempt to create an LXC container using the Nginx Proxy Manager script from community-scripts 2. Use command: bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/nginxproxymanager.sh)" 3. Select default options for Nginx Proxy Manager installation 4. Observe script failure due to Debian Bullseye (11) specific configurations 5. Verify running Proxmox 8.3.4 with Debian Bookworm (12) Specific failure points: - OpenResty repository configuration fails - Python dependency conflicts - Outdated package references for Debian version ### ❌ Paste the full error output (if available). ⠙Collecting certbot-dns-multi ⠹ Downloading certbot_dns_multi-4.22.2-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl (47.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.6/47.6 MB 1.1 MB/s eta 0:00:00 ⠼Requirement already satisfied: certbot>=1.12.0 in /usr/lib/python3/dist-packages (from certbot-dns-multi) (2.1.0) Requirement already satisfied: acme>=1.12.0 in /usr/lib/python3/dist-packages (from certbot-dns-multi) (2.1.0) Requirement already satisfied: josepy>=1.1.0 in /usr/lib/python3/dist-packages (from certbot-dns-multi) (1.13.0) ⠇Installing collected packages: certbot-dns-multi ⠴Successfully installed certbot-dns-multi-4.22.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 ✔️ Installed Python Dependencies Hit:1 http://deb.debian.org/debian bookworm InRelease Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Hit:3 http://security.debian.org/ bookworm-security InRelease Get:4 http://openresty.org/package/debian bullseye InRelease [4,888 B] Get:5 http://openresty.org/package/debian bullseye/openresty amd64 Packages [35.6 kB] Err:5 http://openresty.org/package/debian bullseye/openresty amd64 Packages File has unexpected size (37101 != 35577). Mirror sync in progress? [IP: 3.131.85.84 80] Hashes of expected file: - Filesize:35577 [weak] - SHA512:c0d97c637cb6feddedc3cff9d596f381b8e4384ca9a44389a03ba10325852509c2a6896a0316a8bbd5b39ebbc32912dae4ebea75e6e45e46a63be3ef6dfd0c19 - SHA256:4f6257a8566575de3f15b3a162557f07dfe1dc0c9a7587084f8e0a69062a5525 - SHA1:cee2a766d9892c8e571f0af641cfbe845f906c46 [weak] - MD5Sum:b7c2de987f5e2d1673accc41becde481 [weak] Release file created at: Thu, 17 Oct 2024 06:31:10 +0000 Fetched 60.3 kB in 1s (47.1 kB/s) Reading package lists... Done E: Failed to fetch http://openresty.org/package/debian/dists/bullseye/openresty/binary-amd64/Packages.gz File has unexpected size (37101 != 35577). Mirror sync in progress? [IP: 3.131.85.84 80] Hashes of expected file: - Filesize:35577 [weak] - SHA512:c0d97c637cb6feddedc3cff9d596f381b8e4384ca9a44389a03ba10325852509c2a6896a0316a8bbd5b39ebbc32912dae4ebea75e6e45e46a63be3ef6dfd0c19 - SHA256:4f6257a8566575de3f15b3a162557f07dfe1dc0c9a7587084f8e0a69062a5525 - SHA1:cee2a766d9892c8e571f0af641cfbe845f906c46 [weak] - MD5Sum:b7c2de987f5e2d1673accc41becde481 [weak] Release file created at: Thu, 17 Oct 2024 06:31:10 +0000 E: Some index files failed to download. They have been ignored, or old ones used instead. ⠴ [ERROR] in line 52: exit code 0: while executing command $STD apt-get update ### 🖼️ Additional context (optional). _No response_
OVERLORD added the investigationdependencies labels 2026-02-04 20:12:03 +03:00
Author
Owner

@MickLesk commented on GitHub (Mar 5, 2025):

Phew, we tend to follow the tteck principle, if the "Default OS" is not selected, there is no support.

But apparently there are a few issues with the script either way, I'll have a look at it in the next few days and revise it if necessary. Maybe I can move all deps it directly to Debian 12 native.

I'll take it up as a feature request for myself.

@MickLesk commented on GitHub (Mar 5, 2025): Phew, we tend to follow the tteck principle, if the "Default OS" is not selected, there is no support. But apparently there are a few issues with the script either way, I'll have a look at it in the next few days and revise it if necessary. Maybe I can move all deps it directly to Debian 12 native. I'll take it up as a feature request for myself.
Author
Owner

@MickLesk commented on GitHub (Mar 5, 2025):

I have customized a first small prototype. The script has been significantly streamlined and unnecessary links from tteck have been removed. In addition, it now crawls the correct OpenResty version for the appropriate OS.

Unfortunately there are many restrictions from the project itself. Node 16, Pnpm 8... I tried it with Node 20 / 22, no chance. node-sass and sass no longer exist in this context, as required by the project after Node 16.

You are welcome to give feedback on whether you see anything else directly? Unfortunately, I don't use nginx proxy manager. (I am a Cloudflare user). So I don't know exactly what I can check directly.

Attention, this currently only refers to a new installation and is only in the DEV repo (ProxmoxVED). So please do not use it productively.

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/nginxproxymanager.sh)"
@MickLesk commented on GitHub (Mar 5, 2025): I have customized a first small prototype. The script has been significantly streamlined and unnecessary links from tteck have been removed. In addition, it now crawls the correct OpenResty version for the appropriate OS. Unfortunately there are many restrictions from the project itself. Node 16, Pnpm 8... I tried it with Node 20 / 22, no chance. node-sass and sass no longer exist in this context, as required by the project after Node 16. You are welcome to give feedback on whether you see anything else directly? Unfortunately, I don't use nginx proxy manager. (I am a Cloudflare user). So I don't know exactly what I can check directly. Attention, this currently only refers to a new installation and is only in the DEV repo (ProxmoxVED). So please do not use it productively. ```bash bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/nginxproxymanager.sh)" ```
Author
Owner

@DonLocke commented on GitHub (Mar 6, 2025):

Probably worth it to focus on getting NPMplus as that seems to be where active development is on the NPM side. #1553

@DonLocke commented on GitHub (Mar 6, 2025): Probably worth it to focus on getting NPMplus as that seems to be where active development is on the NPM side. #1553
Author
Owner

@MickLesk commented on GitHub (Mar 6, 2025):

Probably worth it to focus on getting NPMplus as that seems to be where active development is on the NPM side. #1553

But this i only alpine ^^

@MickLesk commented on GitHub (Mar 6, 2025): > Probably worth it to focus on getting NPMplus as that seems to be where active development is on the NPM side. #1553 But this i only alpine ^^
Author
Owner

@gcalarcao commented on GitHub (Mar 6, 2025):

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/nginxproxymanager.sh)"

Didn't work for me:

✔️ Installed Python3
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://security.debian.org bookworm-security InRelease
Get:4 http://openresty.org/package/debian bookworm InRelease [2,596 B]
Get:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages [30.9 kB]
Err:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages
File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80]
Hashes of expected file:

  • Filesize:30881 [weak]
  • SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b
  • SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1
  • SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak]
  • MD5Sum:df79dd13936a71011cb613ba334ffaed [weak]
    Release file created at: Thu, 17 Oct 2024 06:31:51 +0000
    Fetched 2,596 B in 1s (4,482 B/s)
    Reading package lists... Done
    E: Failed to fetch http://openresty.org/package/debian/dists/bookworm/openresty/binary-amd64/Packages.gz File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80]
    Hashes of expected file:
    - Filesize:30881 [weak]
    - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b
    - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1
    - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak]
    - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak]
    Release file created at: Thu, 17 Oct 2024 06:31:51 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.

    [ERROR] in line 51: exit code 0: while executing command $STD apt-get update

Image

@gcalarcao commented on GitHub (Mar 6, 2025): > bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/nginxproxymanager.sh)" Didn't work for me: > ✔️ Installed Python3 > Hit:1 http://deb.debian.org/debian bookworm InRelease > Hit:2 http://deb.debian.org/debian bookworm-updates InRelease > Hit:3 http://security.debian.org bookworm-security InRelease > Get:4 http://openresty.org/package/debian bookworm InRelease [2,596 B] > Get:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages [30.9 kB] > Err:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages > File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80] > Hashes of expected file: > - Filesize:30881 [weak] > - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b > - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1 > - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak] > - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak] > Release file created at: Thu, 17 Oct 2024 06:31:51 +0000 > Fetched 2,596 B in 1s (4,482 B/s) > Reading package lists... Done > E: Failed to fetch http://openresty.org/package/debian/dists/bookworm/openresty/binary-amd64/Packages.gz File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80] > Hashes of expected file: > - Filesize:30881 [weak] > - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b > - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1 > - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak] > - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak] > Release file created at: Thu, 17 Oct 2024 06:31:51 +0000 > E: Some index files failed to download. They have been ignored, or old ones used instead. > ⠸ > [ERROR] in line 51: exit code 0: while executing command $STD apt-get update ![Image](https://github.com/user-attachments/assets/4f3b19c0-2c7e-43b1-8bd0-dbe2348012fa)
Author
Owner

@jbrandek commented on GitHub (Mar 6, 2025):

I have customized a first small prototype. The script has been significantly streamlined and unnecessary links from tteck have been removed. In addition, it now crawls the correct OpenResty version for the appropriate OS.

Unfortunately there are many restrictions from the project itself. Node 16, Pnpm 8... I tried it with Node 20 / 22, no chance. node-sass and sass no longer exist in this context, as required by the project after Node 16.

You are welcome to give feedback on whether you see anything else directly? Unfortunately, I don't use nginx proxy manager. (I am a Cloudflare user). So I don't know exactly what I can check directly.

Attention, this currently only refers to a new installation and is only in the DEV repo (ProxmoxVED). So please do not use it productively.

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/nginxproxymanager.sh)"

same error

Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Get:4 http://openresty.org/package/debian bookworm InRelease [2,596 B]
Get:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages [30.9 kB]
Err:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages
File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80]
Hashes of expected file:

  • Filesize:30881 [weak]
  • SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b
  • SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1
  • SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak]
  • MD5Sum:df79dd13936a71011cb613ba334ffaed [weak]
    Release file created at: Thu, 17 Oct 2024 06:31:51 +0000
    Fetched 2,596 B in 3s (978 B/s)
    Reading package lists... Done
    ⠼E: Failed to fetch http://openresty.org/package/debian/dists/bookworm/openresty/binary-amd64/Packages.gz File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80]
    Hashes of expected file:
    - Filesize:30881 [weak]
    - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b
    - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1
    - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak]
    - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak]
    Release file created at: Thu, 17 Oct 2024 06:31:51 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.

    [ERROR] in line 51: exit code 0: while executing command $STD apt-get update
@jbrandek commented on GitHub (Mar 6, 2025): > I have customized a first small prototype. The script has been significantly streamlined and unnecessary links from tteck have been removed. In addition, it now crawls the correct OpenResty version for the appropriate OS. > > Unfortunately there are many restrictions from the project itself. Node 16, Pnpm 8... I tried it with Node 20 / 22, no chance. node-sass and sass no longer exist in this context, as required by the project after Node 16. > > You are welcome to give feedback on whether you see anything else directly? Unfortunately, I don't use nginx proxy manager. (I am a Cloudflare user). So I don't know exactly what I can check directly. > > Attention, this currently only refers to a new installation and is only in the DEV repo (ProxmoxVED). So please do not use it productively. > > bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/nginxproxymanager.sh)" same error Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Get:4 http://openresty.org/package/debian bookworm InRelease [2,596 B] Get:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages [30.9 kB] Err:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80] Hashes of expected file: - Filesize:30881 [weak] - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1 - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak] - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak] Release file created at: Thu, 17 Oct 2024 06:31:51 +0000 Fetched 2,596 B in 3s (978 B/s) Reading package lists... Done ⠼E: Failed to fetch http://openresty.org/package/debian/dists/bookworm/openresty/binary-amd64/Packages.gz File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80] Hashes of expected file: - Filesize:30881 [weak] - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1 - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak] - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak] Release file created at: Thu, 17 Oct 2024 06:31:51 +0000 E: Some index files failed to download. They have been ignored, or old ones used instead. ⠇ [ERROR] in line 51: exit code 0: while executing command $STD apt-get update
Author
Owner

@michelroegl-brunner commented on GitHub (Mar 6, 2025):

That seeams to be a mirror issue, not with the script (As you can read in the message). Pls try again later, or use another mirror.

@michelroegl-brunner commented on GitHub (Mar 6, 2025): That seeams to be a mirror issue, not with the script (As you can read in the message). Pls try again later, or use another mirror.
Author
Owner

@MickLesk commented on GitHub (Mar 6, 2025):

The topic is well known, above is the fix. I just need those who have the problem to confirm that it works.

Look here: https://github.com/community-scripts/ProxmoxVE/issues/2849#issuecomment-2700357521

@MickLesk commented on GitHub (Mar 6, 2025): The topic is well known, above is the fix. I just need those who have the problem to confirm that it works. Look here: https://github.com/community-scripts/ProxmoxVE/issues/2849#issuecomment-2700357521
Author
Owner

@jbrandek commented on GitHub (Mar 6, 2025):

The topic is well known, above is the fix. I just need those who have the problem to confirm that it works.

Look here: #2849 (comment)

i tried that and had same problem as before...

@jbrandek commented on GitHub (Mar 6, 2025): > The topic is well known, above is the fix. I just need those who have the problem to confirm that it works. > > Look here: [#2849 (comment)](https://github.com/community-scripts/ProxmoxVE/issues/2849#issuecomment-2700357521) i tried that and had same problem as before...
Author
Owner

@MickLesk commented on GitHub (Mar 6, 2025):

Then try to disable AdBlock, use normal DNS. Ive See your log.. "Some index files failed to download. They have been ignored, or old ones used instead."

@MickLesk commented on GitHub (Mar 6, 2025): Then try to disable AdBlock, use normal DNS. Ive See your log.. "Some index files failed to download. They have been ignored, or old ones used instead."
Author
Owner

@jonidimo commented on GitHub (Mar 6, 2025):

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/nginxproxymanager.sh)"

Didn't work for me:

✔️ Installed Python3
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://security.debian.org bookworm-security InRelease
Get:4 http://openresty.org/package/debian bookworm InRelease [2,596 B]
Get:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages [30.9 kB]
Err:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages
File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80]
Hashes of expected file:

  • Filesize:30881 [weak]
  • SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b
  • SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1
  • SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak]
  • MD5Sum:df79dd13936a71011cb613ba334ffaed [weak]
    Release file created at: Thu, 17 Oct 2024 06:31:51 +0000
    Fetched 2,596 B in 1s (4,482 B/s)
    Reading package lists... Done
    E: Failed to fetch http://openresty.org/package/debian/dists/bookworm/openresty/binary-amd64/Packages.gz File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80]
    Hashes of expected file:
    • Filesize:30881 [weak]
    • SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b
    • SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1
    • SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak]
    • MD5Sum:df79dd13936a71011cb613ba334ffaed [weak]
      Release file created at: Thu, 17 Oct 2024 06:31:51 +0000
      E: Some index files failed to download. They have been ignored, or old ones used instead.

      [ERROR] in line 51: exit code 0: while executing command $STD apt-get update

Image

This issue is related to OpenResty. They already have an open issue about it here:
https://github.com/openresty/openresty/issues/1035, but it hasn’t been resolved yet.

@jonidimo commented on GitHub (Mar 6, 2025): > > bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/nginxproxymanager.sh)" > > Didn't work for me: > > > ✔️ Installed Python3 > > Hit:1 http://deb.debian.org/debian bookworm InRelease > > Hit:2 http://deb.debian.org/debian bookworm-updates InRelease > > Hit:3 http://security.debian.org bookworm-security InRelease > > Get:4 http://openresty.org/package/debian bookworm InRelease [2,596 B] > > Get:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages [30.9 kB] > > Err:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages > > File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80] > > Hashes of expected file: > > > > * Filesize:30881 [weak] > > * SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b > > * SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1 > > * SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak] > > * MD5Sum:df79dd13936a71011cb613ba334ffaed [weak] > > Release file created at: Thu, 17 Oct 2024 06:31:51 +0000 > > Fetched 2,596 B in 1s (4,482 B/s) > > Reading package lists... Done > > E: Failed to fetch http://openresty.org/package/debian/dists/bookworm/openresty/binary-amd64/Packages.gz File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80] > > Hashes of expected file: > > - Filesize:30881 [weak] > > - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b > > - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1 > > - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak] > > - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak] > > Release file created at: Thu, 17 Oct 2024 06:31:51 +0000 > > E: Some index files failed to download. They have been ignored, or old ones used instead. > > ⠸ > > [ERROR] in line 51: exit code 0: while executing command $STD apt-get update > > ![Image](https://github.com/user-attachments/assets/4f3b19c0-2c7e-43b1-8bd0-dbe2348012fa) This issue is related to OpenResty. They already have an open issue about it here: https://github.com/openresty/openresty/issues/1035, but it hasn’t been resolved yet.
Author
Owner

@Nerdtality commented on GitHub (Mar 6, 2025):

I also get file hashing error

Get:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages [30.9 kB]
Err:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages
  File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80]
  Hashes of expected file:
   - Filesize:30881 [weak]
   - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b
   - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1
   - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak]
   - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak]
  Release file created at: Thu, 17 Oct 2024 06:31:51 +0000
Fetched 2,596 B in 1s (2,203 B/s)
Reading package lists... Done
 ⠸E: Failed to fetch http://openresty.org/package/debian/dists/bookworm/openresty/binary-amd64/Packages.gz  File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80]
   Hashes of expected file:
    - Filesize:30881 [weak]
    - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b
    - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1
    - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak]
    - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak]
   Release file created at: Thu, 17 Oct 2024 06:31:51 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
 ⠴
[ERROR] in line 51: exit code 0: while executing command $STD apt-get update
@Nerdtality commented on GitHub (Mar 6, 2025): I also get file hashing error ```shell Get:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages [30.9 kB] Err:5 http://openresty.org/package/debian bookworm/openresty amd64 Packages File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80] Hashes of expected file: - Filesize:30881 [weak] - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1 - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak] - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak] Release file created at: Thu, 17 Oct 2024 06:31:51 +0000 Fetched 2,596 B in 1s (2,203 B/s) Reading package lists... Done ⠸E: Failed to fetch http://openresty.org/package/debian/dists/bookworm/openresty/binary-amd64/Packages.gz File has unexpected size (32291 != 30881). Mirror sync in progress? [IP: 3.131.85.84 80] Hashes of expected file: - Filesize:30881 [weak] - SHA512:40a04f11987bfaf0f00aa8bae1c8046f645bba26c21ef867cd27fc2f4b42d19b565276cc0088ce91ce9f626ecccca5453584640c6b43b42972a69b186aeb600b - SHA256:93d67ff7d1872c09dae12f2bd7e1100a7bfca5e99468d9d5da3e1a02dbf610b1 - SHA1:e9e1486bcf635a4bdcab965dd8eecae9f8a5c347 [weak] - MD5Sum:df79dd13936a71011cb613ba334ffaed [weak] Release file created at: Thu, 17 Oct 2024 06:31:51 +0000 E: Some index files failed to download. They have been ignored, or old ones used instead. ⠴ [ERROR] in line 51: exit code 0: while executing command $STD apt-get update ```
Author
Owner

@Nerdtality commented on GitHub (Mar 6, 2025):

Seems to be a repository mirror issue, out of the hands of PVE Scripts. You could override /etc/hosts till its fixed to another mirror.

@Nerdtality commented on GitHub (Mar 6, 2025): Seems to be a repository mirror issue, out of the hands of PVE Scripts. You could override `/etc/hosts` till its fixed to another mirror.
Author
Owner

@cartossin commented on GitHub (Mar 7, 2025):

Exactly. The openresty repo is broken. They fixed the last similar issue in a few days, so I expect they'll fix it soon.

@cartossin commented on GitHub (Mar 7, 2025): Exactly. The openresty repo is broken. They fixed the last similar issue in a few days, so I expect they'll fix it soon.
Author
Owner

@nojustbenja commented on GitHub (Mar 7, 2025):

Hello guys I have the same error in other repo for Nginx proxy manager on the same command

✔️  Installed Python Dependencies
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease                      
Get:3 http://openresty.org/package/debian bullseye InRelease [4,888 B]             
Hit:4 http://security.debian.org bookworm-security InRelease
Get:5 http://openresty.org/package/debian bullseye/openresty amd64 Packages [35.6 kB]
Err:5 http://openresty.org/package/debian bullseye/openresty amd64 Packages
  File has unexpected size (37101 != 35577). Mirror sync in progress? [IP: 3.131.85.84 80]
  Hashes of expected file:
   - Filesize:35577 [weak]
   - SHA512:c0d97c637cb6feddedc3cff9d596f381b8e4384ca9a44389a03ba10325852509c2a6896a0316a8bbd5b39ebbc32912dae4ebea75e6e45e46a63be3ef6dfd0c19
   - SHA256:4f6257a8566575de3f15b3a162557f07dfe1dc0c9a7587084f8e0a69062a5525
   - SHA1:cee2a766d9892c8e571f0af641cfbe845f906c46 [weak]
   - MD5Sum:b7c2de987f5e2d1673accc41becde481 [weak]
  Release file created at: Thu, 17 Oct 2024 06:31:10 +0000
Fetched 4,888 B in 1s (8,142 B/s)
Reading package lists... Done
 ⠸E: Failed to fetch http://openresty.org/package/debian/dists/bullseye/openresty/binary-amd64/Packages.gz  File has unexpected size (37101 != 35577). Mirror sync in progress? [IP: 3.131.85.84 80]
   Hashes of expected file:
    - Filesize:35577 [weak]
    - SHA512:c0d97c637cb6feddedc3cff9d596f381b8e4384ca9a44389a03ba10325852509c2a6896a0316a8bbd5b39ebbc32912dae4ebea75e6e45e46a63be3ef6dfd0c19
    - SHA256:4f6257a8566575de3f15b3a162557f07dfe1dc0c9a7587084f8e0a69062a5525
    - SHA1:cee2a766d9892c8e571f0af641cfbe845f906c46 [weak]
    - MD5Sum:b7c2de987f5e2d1673accc41becde481 [weak]
   Release file created at: Thu, 17 Oct 2024 06:31:10 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

[ERROR] in line 52: exit code 0: while executing command $STD apt-get update```
@nojustbenja commented on GitHub (Mar 7, 2025): Hello guys I have the same error in other repo for Nginx proxy manager on the same command ``` ✔️ Installed Python Dependencies Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian bookworm-updates InRelease Get:3 http://openresty.org/package/debian bullseye InRelease [4,888 B] Hit:4 http://security.debian.org bookworm-security InRelease Get:5 http://openresty.org/package/debian bullseye/openresty amd64 Packages [35.6 kB] Err:5 http://openresty.org/package/debian bullseye/openresty amd64 Packages File has unexpected size (37101 != 35577). Mirror sync in progress? [IP: 3.131.85.84 80] Hashes of expected file: - Filesize:35577 [weak] - SHA512:c0d97c637cb6feddedc3cff9d596f381b8e4384ca9a44389a03ba10325852509c2a6896a0316a8bbd5b39ebbc32912dae4ebea75e6e45e46a63be3ef6dfd0c19 - SHA256:4f6257a8566575de3f15b3a162557f07dfe1dc0c9a7587084f8e0a69062a5525 - SHA1:cee2a766d9892c8e571f0af641cfbe845f906c46 [weak] - MD5Sum:b7c2de987f5e2d1673accc41becde481 [weak] Release file created at: Thu, 17 Oct 2024 06:31:10 +0000 Fetched 4,888 B in 1s (8,142 B/s) Reading package lists... Done ⠸E: Failed to fetch http://openresty.org/package/debian/dists/bullseye/openresty/binary-amd64/Packages.gz File has unexpected size (37101 != 35577). Mirror sync in progress? [IP: 3.131.85.84 80] Hashes of expected file: - Filesize:35577 [weak] - SHA512:c0d97c637cb6feddedc3cff9d596f381b8e4384ca9a44389a03ba10325852509c2a6896a0316a8bbd5b39ebbc32912dae4ebea75e6e45e46a63be3ef6dfd0c19 - SHA256:4f6257a8566575de3f15b3a162557f07dfe1dc0c9a7587084f8e0a69062a5525 - SHA1:cee2a766d9892c8e571f0af641cfbe845f906c46 [weak] - MD5Sum:b7c2de987f5e2d1673accc41becde481 [weak] Release file created at: Thu, 17 Oct 2024 06:31:10 +0000 E: Some index files failed to download. They have been ignored, or old ones used instead. [ERROR] in line 52: exit code 0: while executing command $STD apt-get update```
Author
Owner

@MickLesk commented on GitHub (Mar 7, 2025):

Okay, then we can do nothing yet. Repo of openresty broken. On the day I built the fix (above) it was still working. My fix was directed to the correct OS, before it was still statically the wrong one (Debian 11). So we have to wait and see.

@MickLesk commented on GitHub (Mar 7, 2025): Okay, then we can do nothing yet. Repo of openresty broken. On the day I built the fix (above) it was still working. My fix was directed to the correct OS, before it was still statically the wrong one (Debian 11). So we have to wait and see.
Author
Owner

@jbrandek commented on GitHub (Mar 7, 2025):

work around is to change the hosts file in the router, add this line
18.138.237.72 openresty.org

and everything run perfectly

@jbrandek commented on GitHub (Mar 7, 2025): work around is to change the hosts file in the router, add this line 18.138.237.72 openresty.org and everything run perfectly
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#589