NextCloudPi LXC Script error during external script install part #1848

Closed
opened 2026-02-05 02:27:15 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @TimoS911 on GitHub (Oct 20, 2025).

Have you read and understood the above guidelines?

yes

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

NextCloudPi

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

9.0.10

📝 Provide a clear and concise description of the issue.

Script fails during external installer script part.
Tested advanced settings and default settings.

error i get:
⠏ Installing NextCloudPi (Patience) [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 ⠋ Installing NextCloudPi (Patience) [ERROR] in line 1345: 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)"

🔄 Steps to reproduce the issue.

execute lxc installer script in proxmox shell:

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

press "y" when asked for external script installation.
5-10 seconds after "y" error appears and script exits.

Paste the full error output (if available).

    _   __          __  ________                ______  _ 
   / | / /__  _  __/ /_/ ____/ /___  __  ______/ / __ \(_)
  /  |/ / _ \| |/_/ __/ /   / / __ \/ / / / __  / /_/ / / 
 / /|  /  __/>  </ /_/ /___/ / /_/ / /_/ / /_/ / ____/ /  
/_/ |_/\___/_/|_|\__/\____/_/\____/\__,_/\__,_/_/   /_/   
                                                          
  ⚙️  Using Default Settings on node ts-proxmox-01 (🔍  Verbose)
  🆔  Container ID: 101
  🖥️  Operating System: debian (13)
  📦  Container Type: Unprivileged
  💾  Disk Size: 8 GB
  🧠  CPU Cores: 2
  🛠️  RAM Size: 2048 MiB
  🔍  Verbose Mode: Enabled
  🚀  Creating a NextCloudPi LXC using the above default settings
  
  ✔️   Storage local (Free: 258.9GB  Used: 143.6GB) [Template]
  ✔️   Storage VMs (Free: 127.4GB  Used: 749.9GB) [Container]
  ✔️   Cluster is quorate
  ✔️   Template debian-13-standard_13.1-2_amd64.tar.zst [local]
  ✔️   LXC Container 101 was successfully created.
  ✔️   Started LXC Container
  ✔️   Network in LXC is reachable (ping)
  ✔️   Customized LXC Container
  ✔️   Set up Container OS
  ✔️   Network Connected: 192.168.66.125 
  ✔️   IPv4 Internet Connected
   ✖️   IPv6 Internet Not Connected
  ✔️   Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://deb.debian.org/debian trixie-updates InRelease
Hit:3 http://security.debian.org trixie-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  ✔️   Updated Container OS
   💡   WARNING: This script will run an external installer from a third-party source (https://nextcloudpi.com/).
   💡   The following code is NOT maintained or audited by our repository.
   💡   If you have any doubts or concerns, please review the installer code before proceeding:
         🌐   →  https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh

      Do you want to continue? [y/N]: y
  ⏳   Installing NextCloudPi (Patience)WARNING: This installer will disable SSH login for the root user and reset its password.
If you need to login with root, you should make sure, you have a root session open that you can use,
to revert these changes afterwards (set PermitRootLogin to 'yes' in /etc/ssh/sshd_config and run passwd as root).
Continuing in 27s (press Ctrl+C to abort)...
Continuing in 24s (press Ctrl+C to abort)...
Continuing in 21s (press Ctrl+C to abort)...
Continuing in 18s (press Ctrl+C to abort)...
Continuing in 15s (press Ctrl+C to abort)...
Continuing in 12s (press Ctrl+C to abort)...
Continuing in 9s (press Ctrl+C to abort)...
Continuing in 6s (press Ctrl+C to abort)...
Continuing in 3s (press Ctrl+C to abort)...
Continuing in 0s (press Ctrl+C to abort)...
Hit:1 http://deb.debian.org/debian trixie InRelease
Hit:2 http://deb.debian.org/debian trixie-updates InRelease
Hit:3 http://security.debian.org trixie-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20250419).
sudo is already the newest version (1.9.16p2-3).
wget is already the newest version (1.25.0-2).
jq is already the newest version (1.7.1-6+deb13u1).
gnupg2 is already the newest version (2.4.7-21).
Suggested packages:
  git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn
Recommended packages:
  patch
The following NEW packages will be installed:
  git git-man libcurl3t64-gnutls liberror-perl libngtcp2-16 libngtcp2-crypto-gnutls8 lsb-release
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.6 MB of archives.
After this operation, 54.2 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian trixie/main amd64 libngtcp2-16 amd64 1.11.0-1 [131 kB]
Get:2 http://deb.debian.org/debian trixie/main amd64 libngtcp2-crypto-gnutls8 amd64 1.11.0-1 [29.3 kB]
Get:3 http://deb.debian.org/debian trixie/main amd64 libcurl3t64-gnutls amd64 8.14.1-2 [384 kB]
Get:4 http://deb.debian.org/debian trixie/main amd64 liberror-perl all 0.17030-1 [26.9 kB]
Get:5 http://deb.debian.org/debian trixie/main amd64 git-man all 1:2.47.3-0+deb13u1 [2,205 kB]
Get:6 http://deb.debian.org/debian trixie/main amd64 git amd64 1:2.47.3-0+deb13u1 [8,862 kB]
Get:7 http://deb.debian.org/debian trixie/main amd64 lsb-release all 12.1-1 [5,912 B]
Fetched 11.6 MB in 1s (12.4 MB/s)
Selecting previously unselected package libngtcp2-16:amd64.
(Reading database ... 20272 files and directories currently installed.)
Preparing to unpack .../0-libngtcp2-16_1.11.0-1_amd64.deb ...
Unpacking libngtcp2-16:amd64 (1.11.0-1) ...
Selecting previously unselected package libngtcp2-crypto-gnutls8:amd64.
Preparing to unpack .../1-libngtcp2-crypto-gnutls8_1.11.0-1_amd64.deb ...
Unpacking libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ...
Selecting previously unselected package libcurl3t64-gnutls:amd64.
Preparing to unpack .../2-libcurl3t64-gnutls_8.14.1-2_amd64.deb ...
Unpacking libcurl3t64-gnutls:amd64 (8.14.1-2) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../3-liberror-perl_0.17030-1_all.deb ...
Unpacking liberror-perl (0.17030-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../4-git-man_1%3a2.47.3-0+deb13u1_all.deb ...
Unpacking git-man (1:2.47.3-0+deb13u1) ...
Selecting previously unselected package git.
Preparing to unpack .../5-git_1%3a2.47.3-0+deb13u1_amd64.deb ...
Unpacking git (1:2.47.3-0+deb13u1) ...
Selecting previously unselected package lsb-release.
Preparing to unpack .../6-lsb-release_12.1-1_all.deb ...
Unpacking lsb-release (12.1-1) ...
Setting up liberror-perl (0.17030-1) ...
Setting up git-man (1:2.47.3-0+deb13u1) ...
Setting up libngtcp2-16:amd64 (1.11.0-1) ...
Setting up lsb-release (12.1-1) ...
Setting up libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ...
Setting up libcurl3t64-gnutls:amd64 (8.14.1-2) ...
Setting up git (1:2.47.3-0+deb13u1) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for libc-bin (2.41-12) ...
Getting build code...
Cloning into '/tmp/nextcloudpi.dBtQIG/nextcloudpi'...
remote: Enumerating objects: 17075, done.
remote: Counting objects: 100% (2776/2776), done.
remote: Compressing objects: 100% (486/486), done.
remote: Total 17075 (delta 2520), reused 2332 (delta 2288), pack-reused 14299 (from 3)
Receiving objects: 100% (17075/17075), 9.33 MiB | 10.55 MiB/s, done.
Resolving deltas: 100% (12024/12024), done.

Installing NextCloudPi...
etc/library.sh: line 17: php: command not found
grep: /etc/apt/sources.list: No such file or directory
ERROR: distro not supported:
Debian GNU/Linux 13 \n \l


[ERROR] in line 28: exit code 0: while executing command $STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh)

[ERROR] in line 1345: 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 @TimoS911 on GitHub (Oct 20, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? NextCloudPi ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/nextcloudpi.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? 9.0.10 ### 📝 Provide a clear and concise description of the issue. Script fails during external installer script part. Tested advanced settings and default settings. error i get: `⠏ Installing NextCloudPi (Patience) [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 ⠋ Installing NextCloudPi (Patience) [ERROR] in line 1345: 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)" ` ### 🔄 Steps to reproduce the issue. execute lxc installer script in proxmox shell: bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/nextcloudpi.sh)" press "y" when asked for external script installation. 5-10 seconds after "y" error appears and script exits. ### ❌ Paste the full error output (if available). ``` _ __ __ ________ ______ _ / | / /__ _ __/ /_/ ____/ /___ __ ______/ / __ \(_) / |/ / _ \| |/_/ __/ / / / __ \/ / / / __ / /_/ / / / /| / __/> </ /_/ /___/ / /_/ / /_/ / /_/ / ____/ / /_/ |_/\___/_/|_|\__/\____/_/\____/\__,_/\__,_/_/ /_/ ⚙️ Using Default Settings on node ts-proxmox-01 (🔍 Verbose) 🆔 Container ID: 101 🖥️ Operating System: debian (13) 📦 Container Type: Unprivileged 💾 Disk Size: 8 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🔍 Verbose Mode: Enabled 🚀 Creating a NextCloudPi LXC using the above default settings ✔️ Storage local (Free: 258.9GB Used: 143.6GB) [Template] ✔️ Storage VMs (Free: 127.4GB Used: 749.9GB) [Container] ✔️ Cluster is quorate ✔️ Template debian-13-standard_13.1-2_amd64.tar.zst [local] ✔️ LXC Container 101 was successfully created. ✔️ Started LXC Container ✔️ Network in LXC is reachable (ping) ✔️ Customized LXC Container ✔️ Set up Container OS ✔️ Network Connected: 192.168.66.125 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 http://deb.debian.org/debian trixie-updates InRelease Hit:3 http://security.debian.org trixie-security InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ✔️ Updated Container OS 💡 WARNING: This script will run an external installer from a third-party source (https://nextcloudpi.com/). 💡 The following code is NOT maintained or audited by our repository. 💡 If you have any doubts or concerns, please review the installer code before proceeding: 🌐 → https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh Do you want to continue? [y/N]: y ⏳ Installing NextCloudPi (Patience)WARNING: This installer will disable SSH login for the root user and reset its password. If you need to login with root, you should make sure, you have a root session open that you can use, to revert these changes afterwards (set PermitRootLogin to 'yes' in /etc/ssh/sshd_config and run passwd as root). Continuing in 27s (press Ctrl+C to abort)... Continuing in 24s (press Ctrl+C to abort)... Continuing in 21s (press Ctrl+C to abort)... Continuing in 18s (press Ctrl+C to abort)... Continuing in 15s (press Ctrl+C to abort)... Continuing in 12s (press Ctrl+C to abort)... Continuing in 9s (press Ctrl+C to abort)... Continuing in 6s (press Ctrl+C to abort)... Continuing in 3s (press Ctrl+C to abort)... Continuing in 0s (press Ctrl+C to abort)... Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 http://deb.debian.org/debian trixie-updates InRelease Hit:3 http://security.debian.org trixie-security InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done ca-certificates is already the newest version (20250419). sudo is already the newest version (1.9.16p2-3). wget is already the newest version (1.25.0-2). jq is already the newest version (1.7.1-6+deb13u1). gnupg2 is already the newest version (2.4.7-21). Suggested packages: git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn Recommended packages: patch The following NEW packages will be installed: git git-man libcurl3t64-gnutls liberror-perl libngtcp2-16 libngtcp2-crypto-gnutls8 lsb-release 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 11.6 MB of archives. After this operation, 54.2 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian trixie/main amd64 libngtcp2-16 amd64 1.11.0-1 [131 kB] Get:2 http://deb.debian.org/debian trixie/main amd64 libngtcp2-crypto-gnutls8 amd64 1.11.0-1 [29.3 kB] Get:3 http://deb.debian.org/debian trixie/main amd64 libcurl3t64-gnutls amd64 8.14.1-2 [384 kB] Get:4 http://deb.debian.org/debian trixie/main amd64 liberror-perl all 0.17030-1 [26.9 kB] Get:5 http://deb.debian.org/debian trixie/main amd64 git-man all 1:2.47.3-0+deb13u1 [2,205 kB] Get:6 http://deb.debian.org/debian trixie/main amd64 git amd64 1:2.47.3-0+deb13u1 [8,862 kB] Get:7 http://deb.debian.org/debian trixie/main amd64 lsb-release all 12.1-1 [5,912 B] Fetched 11.6 MB in 1s (12.4 MB/s) Selecting previously unselected package libngtcp2-16:amd64. (Reading database ... 20272 files and directories currently installed.) Preparing to unpack .../0-libngtcp2-16_1.11.0-1_amd64.deb ... Unpacking libngtcp2-16:amd64 (1.11.0-1) ... Selecting previously unselected package libngtcp2-crypto-gnutls8:amd64. Preparing to unpack .../1-libngtcp2-crypto-gnutls8_1.11.0-1_amd64.deb ... Unpacking libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ... Selecting previously unselected package libcurl3t64-gnutls:amd64. Preparing to unpack .../2-libcurl3t64-gnutls_8.14.1-2_amd64.deb ... Unpacking libcurl3t64-gnutls:amd64 (8.14.1-2) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../3-liberror-perl_0.17030-1_all.deb ... Unpacking liberror-perl (0.17030-1) ... Selecting previously unselected package git-man. Preparing to unpack .../4-git-man_1%3a2.47.3-0+deb13u1_all.deb ... Unpacking git-man (1:2.47.3-0+deb13u1) ... Selecting previously unselected package git. Preparing to unpack .../5-git_1%3a2.47.3-0+deb13u1_amd64.deb ... Unpacking git (1:2.47.3-0+deb13u1) ... Selecting previously unselected package lsb-release. Preparing to unpack .../6-lsb-release_12.1-1_all.deb ... Unpacking lsb-release (12.1-1) ... Setting up liberror-perl (0.17030-1) ... Setting up git-man (1:2.47.3-0+deb13u1) ... Setting up libngtcp2-16:amd64 (1.11.0-1) ... Setting up lsb-release (12.1-1) ... Setting up libngtcp2-crypto-gnutls8:amd64 (1.11.0-1) ... Setting up libcurl3t64-gnutls:amd64 (8.14.1-2) ... Setting up git (1:2.47.3-0+deb13u1) ... Processing triggers for man-db (2.13.1-1) ... Processing triggers for libc-bin (2.41-12) ... Getting build code... Cloning into '/tmp/nextcloudpi.dBtQIG/nextcloudpi'... remote: Enumerating objects: 17075, done. remote: Counting objects: 100% (2776/2776), done. remote: Compressing objects: 100% (486/486), done. remote: Total 17075 (delta 2520), reused 2332 (delta 2288), pack-reused 14299 (from 3) Receiving objects: 100% (17075/17075), 9.33 MiB | 10.55 MiB/s, done. Resolving deltas: 100% (12024/12024), done. Installing NextCloudPi... etc/library.sh: line 17: php: command not found grep: /etc/apt/sources.list: No such file or directory ERROR: distro not supported: Debian GNU/Linux 13 \n \l [ERROR] in line 28: exit code 0: while executing command $STD bash <(curl -fsSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh) [ERROR] in line 1345: 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-05 02:27:15 +03:00
Author
Owner

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

Thats an external Tool, Report this into nextcloudpi Repo. We only call the bash from there. So nothing we can do Here.

You can do var_version=12 before bash, but you should Report this

@MickLesk commented on GitHub (Oct 20, 2025): Thats an external Tool, Report this into nextcloudpi Repo. We only call the bash from there. So nothing we can do Here. You can do var_version=12 before bash, but you should Report this
Author
Owner

@TimoS911 commented on GitHub (Oct 20, 2025):

On nexcloudpi Repo is "Raspberry Pi OS/Debian 12 (Bookworm)".
So the script should install debian12 and not 13 i guess?

@TimoS911 commented on GitHub (Oct 20, 2025): On nexcloudpi Repo is "Raspberry Pi OS/Debian 12 (Bookworm)". So the script should install debian12 and not 13 i guess?
Author
Owner

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

Yes with var_version before. But without an Report they dont do anything

@MickLesk commented on GitHub (Oct 20, 2025): Yes with var_version before. But without an Report they dont do anything
Author
Owner

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

Ive downgraded to 12, but please Report it with an Link and Output

@MickLesk commented on GitHub (Oct 20, 2025): Ive downgraded to 12, but please Report it with an Link and Output
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1848