Curl installer: "Distro not supported" Buster

ello,

i have an LXC-Container with Debian GNU/Linux 10 \n \l. with Proxmox.

The curl installer says:

root@nextcloudpi:~# curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash
Getting build code...
Hit:1 http://ftp.debian.org/debian buster InRelease
Hit:2 http://ftp.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org buster/updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ca-certificates is already the newest version (20190110).
sudo is already the newest version (1.8.27-1).
wget is already the newest version (1.20.1-1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/tmp/nextcloudpi.TxgNip ~
/root

Installing NextCloudPi...
etc/library.sh: line 277: lsb_release: command not found
ERROR: distro not supported:
Debian GNU/Linux 10 \n \l

What is wrong?

did you ever get an anwser?
I have the same issue with a debian buster VM on UNRAID. Maybe its somehow related, as we both use custom VM Formats ( no vmware ).
I have a fresh install updated to the latest of buster amd64 on UNRAID kvm.

root@nextcloudpi:/home/patrick# sudo curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash
Hit:1 http://debian.ethz.ch/debian buster InRelease
Hit:2 http://debian.ethz.ch/debian buster-updates InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
ca-certificates is already the newest version (20200601~deb10u2).
git is already the newest version (1:2.20.1-2+deb10u3).
lsb-release is already the newest version (10.2019051400).
sudo is already the newest version (1.8.27-1+deb10u3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Getting build code…
Cloning into ‘/tmp/nextcloudpi.711Ns3/nextcloudpi’…
remote: Enumerating objects: 11235, done.
remote: Counting objects: 100% (2244/2244), done.
remote: Compressing objects: 100% (922/922), done.
remote: Total 11235 (delta 1451), reused 1926 (delta 1251), pack-reused 8991
Receiving objects: 100% (11235/11235), 3.32 MiB | 10.53 MiB/s, done.
Resolving deltas: 100% (7797/7797), done.

Installing NextCloudPi…
ERROR: distro not supported:
Debian GNU/Linux 10 \n \l

I think you need Bullseye.

install.sh:

# check distro
check_distro etc/ncp.cfg || {
  echo "ERROR: distro not supported:";
  cat /etc/issue
  exit 1;
}

etc/ncp.cfg:

{
"nextcloud_version": "23.0.2",
"php_version": "7.4",
"release": "bullseye"
}
1 Like

ok many thanks!
Il try it on 11 then.
I did try it with buster as my current Nextcloupi on NUC is running it, and the CURL Install instructions on the nextcloudpi page are still talking about supported on any Buster release.

1 Like

Hi,
I have the same problem.
I’ve tested latest Buster and latest Bullseye. I’ve also tested a legacy version of Buster. Nothing works. It looks to me that de curl installation of ncp is not possible at this moment please correct me if I’m wrong.

Ok my last try with curl installer on Bullseye was successful!

1 Like