Skip to content

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

Description

@jonidimo

βœ… 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency fileinvestigationWe are looking into it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions