Comments (12)
Is also a problem with the curl installation on Debian 12 x86_64.
from nextcloudpi.
When I tried to install nextcloudpi on my Raspberry Pi OS Lite 64-bit Debian 12 (bookworm) via curl script:
curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | sudo bash
I got the same error: Unit systemd-resolved.service could not be found
So, I manually installed the missing package apt install systemd-resolved
but I missed DNS with the change and I had to manually add DNS in /etc/systemd/resolved.conf
. Also I had to drop the ncp created mysql database sudo mysqladmin drop nextcloud
to start over with ncp installation script.
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 /etc/apache2/sites-enabled/001-nextcloud.conf
.
And now everything seems to work fine.
from nextcloudpi.
Update: I was able to install nextcloudpi by running apt install systemd-resolved before running the script
from nextcloudpi.
In my case, all I had to do was install systemd-resolved, configure the dns server address and then run the script.
The curl installation was done correctly.
from nextcloudpi.
I haven't even configured a dns-server.
from nextcloudpi.
I had to configure the address of the dns server because after installing systemd-resolved I restarted the server and was left without dns.
It probably wouldn't have been necessary to configure the dns if I ran the script without restarting the server after installing the package. But I haven't tested that.
from nextcloudpi.
right, a restart fixed it for me
from nextcloudpi.
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 /var/www/nextcloud/apps/notify_push
folder and command /occ notify_push:setup
returns:
There are no commands defined in the "notify_push" namespace.
from nextcloudpi.
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
/var/www/nextcloud/apps/notify_push
folder and command/occ notify_push:setup
returns:There are no commands defined in the "notify_push" namespace.
It seems "Client Push" app was not installed, so after installing it from appstore and executing occ notify_push:setup
HPB service is up now
from nextcloudpi.
I have same issue on Proxmox VM with installer
script ends with: Failed to stop resolvconf.service: Unit resolvconf.service not loaded
When i install resolv.conf it breaks the dns and apt canot connect anymore
from nextcloudpi.
You can configure the systemd-resolved to have DNS.
https://unix.stackexchange.com/questions/442598/how-to-configure-systemd-resolved-and-systemd-networkd-to-use-local-dns-server-f
Edit: You can just set up the DNS
from nextcloudpi.
Ran curl installer again (on a clean install) to reproduce and get and save full output
System is running in Proxmox VM
I used debian-12.5-amd64-netinst.iso installed basic system tools and ssh. After reboot installed curl net-tools and sudo, before running installer.
ncp-installer-log.txt
Can confirm after installing resolvconf the installer completed fine
from nextcloudpi.
Related Issues (20)
- Upgrade to ncp 1.54.2 stuck on fresh installed RPi5 1.54.0 image HOT 3
- Admin Settings result in Internal Server Error
- Installation on Odroid HC1 HOT 2
- ncp-dist-upgrade to bookworm failed on ncp 1.54.2 HOT 16
- RaspberryPi5 v1.54.0 - Internal Server Error HOT 3
- Some packages could not be installed - sudo ncp-dist-upgrade HOT 2
- Website down? HOT 2
- Internal error encountered using twingate HOT 1
- nc-update-nextcloud does not prevent updating to unsupported versions HOT 4
- ncp-update fails at --fetch-keys https://packages.sury.org/php/apt.gpg HOT 1
- Error when enabling the Metrics app
- Error while applying update 1.54.0. Exiting... HOT 2
- NCPI 1.54.0 x86 LXC image: redis does not start due to faulty ownership HOT 1
- Lets-encrypt message in web panel "You should run Lets Encrypt for trusted encrypted access" HOT 2
- Pre-set users/passwords on NextCloudPi HOT 4
- Message "Update to bookworm available. Type 'sudo ncp-dist-upgrade' to upgrade" is shown after dist upgrade completed HOT 2
- Logged out automatically - Session token problem HOT 5
- RelatedResourceProviderNotFound
- dnsmasq error on installation HOT 1
- Alert admin when sd card lacks enough space HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloudpi.