nextcloud / nextcloud/nextcloudpi

install failed

Open
#2,049 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

has-updates
Dominant language
Shell
Stars
2.9k
Forks
318
PR merge metrics
No merged PRs in 30d

Description

Applying workaround for dnsmasq bug (compare issue #1446)

  • mkdir -p /etc/systemd/resolved.conf.d
  • systemctl status systemd-resolved
    Unit systemd-resolved.service could not be found.
  • systemctl status resolvconf
    Unit resolvconf.service could not be found.
  • echo 'dnsmasq failed to start and no workaround could be found. This means, the installer failed.'
    dnsmasq failed to start and no workaround could be found. This means, the installer failed.
  • false

System information
debian 12 bookworm fresh install today

<--! Paste this in GitHub report -->

NextcloudPi diagnostics

PHP Warning:  Undefined variable $CONFIG in Command line code on line 1
PHP Warning:  Trying to access array offset on null in Command line code on line 1
cat: /usr/local/etc/ncp-version: No such file or directory
Nextcloud is not installed - only a limited number of commands are available
NextcloudPi version  
OS                   Debian GNU/Linux 12. 6.1.0-29-amd64 (x86_64)
automount            no
USB devices          sdb 
datadir               (doesn't exist)
rootfs usage         12G/217G
swapfile             /dev/dm-1
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    31.0.2.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          down
Postfix service      up
Internet check       ok
Public IPv4          ***REMOVED SENSITIVE VALUE***
Public IPv6          ***REMOVED SENSITIVE VALUE***
Port 80              closed
Port 443             closed
IP                   ***REMOVED SENSITIVE VALUE***
Gateway              ***REMOVED SENSITIVE VALUE***
Interface            wlan0
Certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               26min

Nextcloud configuration

Nextcloud is not installed - only a limited number of commands are available

                                                            
  There are no commands defined in the "config" namespace.  
                                                            


HTTPd logs

[Mon Apr 14 15:42:55.165356 2025] [mpm_event:notice] [pid 5091:tid 5091] AH00489: Apache/2.4.62 (Debian) configured -- resuming normal operations
[Mon Apr 14 15:42:55.165522 2025] [core:notice] [pid 5091:tid 5091] AH00094: Command line: '/usr/sbin/apache2'
[Mon Apr 14 15:49:00.372801 2025] [mpm_event:notice] [pid 5091:tid 5091] AH00492: caught SIGWINCH, shutting down gracefully
[Mon Apr 14 15:49:00.515715 2025] [mpm_event:notice] [pid 41742:tid 41742] AH00489: Apache/2.4.62 (Debian) OpenSSL/3.0.15 configured -- resuming normal operations
[Mon Apr 14 15:49:00.515739 2025] [core:notice] [pid 41742:tid 41742] AH00094: Command line: '/usr/sbin/apache2'

Database logs

tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory

Nextcloud logs

tail: cannot open '/nextcloud.log' for reading: No such file or directory

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the curl installer on a fresh Debian 12 system and start with the dnsmasq workaround shown in the report. Inspect the checks for systemd-resolved and resolvconf; done means the installer completes without reporting that dnsmasq failed and the resulting NextcloudPi installation is usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.