-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl-installer fails on systems without either systemd-resovled or resolvconf #1926
Comments
Update: I was able to install nextcloudpi by running apt install systemd-resolved before running the script |
Is also a problem with the curl installation on Debian 12 x86_64. |
In my case, all I had to do was install systemd-resolved, configure the dns server address and then run the script. |
I haven't even configured a dns-server. |
I had to configure the address of the dns server because after installing systemd-resolved I restarted the server and was left without dns. |
right, a restart fixed it for me |
When I tried to install nextcloudpi on my Raspberry Pi OS Lite 64-bit Debian 12 (bookworm) via curl script: So, I manually installed the missing package Then the installation went on, but finished with a weird sql error (not sure if the script finished at all): Table "nextcloud.appconfig" doesn't exist However, I checked ncp installation by accessing https://my-ip/ and the web installer was working, so after the initial setup everything seemed to work fine. The only thing that wasn't work properly was letsencrypt, because after enabling it (without errors), the certificate was not updated, so I had to edit apache2 site config file to set the correct paths to the certificates in And now everything seems to work fine. |
Well, I've just realized the HPB service is always down, so something went wrong with installation after all... Also there is no
|
It seems "Client Push" app was not installed, so after installing it from appstore and executing |
I have same issue on Proxmox VM with installer |
You can configure the systemd-resolved to have DNS. Edit: You can just set up the DNS |
Ran curl installer again (on a clean install) to reproduce and get and save full output Can confirm after installing resolvconf the installer completed fine |
Encountering same problem on fresh install (RaspberryPi OS Lite, arm64, Bookworm). Any plans to fix the install script? |
Can confirm on a fresh version of Raspberry Pi OS Lite (64-bit), release date 2024-07-04. |
I had another go tonight. Started from a fresh RaspberryPi OS Lite (64-bit) image, then applies the following tricks to covert to systemd-networkd (over wlan0): https://raspberrypi.stackexchange.com/questions/108592/use-systemd-networkd-for-general-networking . Finally, I ran the nextcloudpi install script and ran into the following (new) error:
I can see where the holding comes from, but also got the impression that systemd-resolved and avahi-daemon sort of, kind of, did the same job, so I was surprised to see the mix of avahi-daemon and systemd-resolved. |
So, third try it is. I did exactly what I did above, except holding avahi-daemon. Now it seems to work. I'm activating NextCloudPi right now. :-) |
@e8johan Glad to hear you made it work. Out of curiosity: is there a reason why using the official NCP image for RPi 5 was not an option? |
I guess two parts: first reason is that I did that last time installing NextCloudPi (on a 32-bit install on a Pi3), second reason is the feeling of control - having the user and ssh keys that I'm used to from start, instead of having to add that afterwards for that seamless ssh admin experience ;-) |
In my case, I don't use the headless OS but rather the RaspberryPi OS Full with the desktop environment. The NCP image comes with the headless OS only. So that is practical for me to be able to install NCP ad-hoc afterwards. Instead of having to reinstall desktop environment and related packages separately. |
Are you still planning to make the curl script work some day? It would also help me a lot. |
@ksd73429udmn I do, after NC 30 support |
Is there an approximate timeline for this? |
@HervePruvost There's an approximate timeline for the NC29 update (should arrive until the end of next week). Other than that, I can't give an ETA |
Hi guys, |
Nextcloud 30 is available, when can we expect support for it and this bug fix? |
@theCalcaholic I tested the latest patch and issue persist. Script fails after installing Logs:
And here's the content of /etc/resolv.conf:
|
@remz1337 A fix for this issue (along with NC 30 support) is in devel. Can you try running the installer like this? BRANCH=devel DBG=x bash <(curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh) |
Should be fixed with v1.55.3 |
Tested and can confirm the issue is now fixed. Thanks |
When trying to install nextcloudpi via the curl-script on a freshly flashed Raspberry Pi OS (Bookworm) i get the following error:
Downloading updates
Performing updates
PHP Warning: Undefined variable $CONFIG in Command line code on line 1
PHP Warning: Trying to access array offset on value of type null in Command line code on line 1
PHP Warning: Undefined variable $CONFIG in Command line code on line 1
PHP Warning: Trying to access array offset on value of type null in Command line code on line 1
Installing clear-php-opcache
Installing dnsmasq
Hit:1 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
Hit:5 https://packages.sury.org/php bookworm InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libraspberrypi0 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
Suggested packages:
resolvconf
The following NEW packages will be installed:
dnsmasq
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 32.4 kB of archives.
After this operation, 120 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main arm64 dnsmasq all 2.89-1 [32.4 kB]
Fetched 32.4 kB in 0s (567 kB/s)
Selecting previously unselected package dnsmasq.
(Reading database ... 246159 files and directories currently installed.)
Preparing to unpack .../dnsmasq_2.89-1_all.deb ...
Unpacking dnsmasq (2.89-1) ...
Setting up dnsmasq (2.89-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service → /lib/systemd/system/dnsmasq.service.
Applying workaround for dnsmasq bug (compare issue Installation of dnsmasq breaks DNS-resolution #1446)
**Unit systemd-resolved.service could not be found.
Failed to stop resolvconf.service: Unit resolvconf.service not loaded.**
The text was updated successfully, but these errors were encountered: