nextcloud / nextcloud/nextcloudpi
do not get to initial Activation page
Open
Nobody has claimed this yet.
more info needed
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
cannot see
NextcloudPi diagnostics
NextcloudPi version v1.51.0
NextcloudPi image NextCloudPi_RaspberryPi_v1.51.0.img
OS Debian GNU/Linux 11. 5.15.84-v8+ (aarch64)
automount no
USB devices none
datadir /var/www/nextcloud/data
data in SD yes
data filesystem ext2/ext3
data disk usage 2.8G/15G
rootfs usage 2.8G/15G
swapfile /var/swap
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 25.0.3.2
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 eth0
Certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
Uptime 1:25
Nextcloud configuration
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "localhost",
"7": "nextcloudpi",
"5": "nextcloudpi.local",
"8": "nextcloudpi.lan",
"3": "nextcloudpi",
"11": "2003:f1:cf0a:5500:653:1ffb:2320:7317",
"1": "192.168.178.64",
"14": "nextcloudpi"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "25.0.3.2",
"overwrite.cli.url": "https:\/\/nextcloudpi\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"password": "***REMOVED SENSITIVE VALUE***"
},
"tempdirectory": "\/var\/www\/nextcloud\/data\/tmp",
"mail_smtpmode": "sendmail",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60",
"overwriteprotocol": "https"
}
}
HTTPd logs
[Mon Feb 27 20:57:11.557814 2023] [authz_core:error] [pid 5540:tid 548259279232] [client 2003:f1:cf0a:5500:2893:52d3:b233:d1b5:52164] AH01630: client denied by server configuration: /var/www/ncp-web/
[Mon Feb 27 21:05:37.994948 2023] [mpm_event:notice] [pid 819:tid 548470801472] AH00493: SIGUSR1 received. Doing graceful restart
[Mon Feb 27 21:05:38.042938 2023] [ssl:warn] [pid 819:tid 548470801472] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 27 21:05:38.043429 2023] [ssl:error] [pid 819:tid 548470801472] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=fv-az351-756 / issuer: CN=fv-az351-756 / serial: 749A9144E7E4C538C232332718BA1E03BD5CBD82 / notbefore: Jan 22 01:35:25 2023 GMT / notafter: Jan 19 01:35:25 2033 GMT]
[Mon Feb 27 21:05:38.043467 2023] [ssl:error] [pid 819:tid 548470801472] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Mon Feb 27 21:05:38.047930 2023] [mpm_event:notice] [pid 819:tid 548470801472] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Mon Feb 27 21:05:38.048067 2023] [core:notice] [pid 819:tid 548470801472] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 27 21:06:38.438122 2023] [mpm_event:notice] [pid 819:tid 548470801472] AH00493: SIGUSR1 received. Doing graceful restart
[Mon Feb 27 21:06:38.484562 2023] [ssl:warn] [pid 819:tid 548470801472] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 27 21:06:38.485054 2023] [ssl:error] [pid 819:tid 548470801472] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=fv-az351-756 / issuer: CN=fv-az351-756 / serial: 749A9144E7E4C538C232332718BA1E03BD5CBD82 / notbefore: Jan 22 01:35:25 2023 GMT / notafter: Jan 19 01:35:25 2033 GMT]
[Mon Feb 27 21:06:38.485101 2023] [ssl:error] [pid 819:tid 548470801472] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Mon Feb 27 21:06:38.486520 2023] [ssl:warn] [pid 819:tid 548470801472] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 27 21:06:38.486868 2023] [ssl:error] [pid 819:tid 548470801472] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=fv-az351-756 / issuer: CN=fv-az351-756 / serial: 749A9144E7E4C538C232332718BA1E03BD5CBD82 / notbefore: Jan 22 01:35:25 2023 GMT / notafter: Jan 19 01:35:25 2033 GMT]
[Mon Feb 27 21:06:38.486904 2023] [ssl:error] [pid 819:tid 548470801472] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Mon Feb 27 21:06:38.491395 2023] [mpm_event:notice] [pid 819:tid 548470801472] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Mon Feb 27 21:06:38.491479 2023] [core:notice] [pid 819:tid 548470801472] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 27 21:06:57.468776 2023] [authnz_external:error] [pid 9450:tid 548259279232] [client 192.168.178.59:52273] AuthExtern pwauth [/usr/sbin/pwauth]: Failed (1) for user ncp
[Mon Feb 27 21:06:57.468968 2023] [auth_basic:error] [pid 9450:tid 548259279232] [client 192.168.178.59:52273] AH01617: user ncp: authentication failure for "/": Password Mismatch
[Mon Feb 27 21:09:45.648398 2023] [authnz_external:error] [pid 9449:tid 548259279232] [client 192.168.178.59:52287] AuthExtern pwauth [/usr/sbin/pwauth]: Failed (1) for user pi
[Mon Feb 27 21:09:45.648782 2023] [auth_basic:error] [pid 9449:tid 548259279232] [client 192.168.178.59:52287] AH01617: user pi: authentication failure for "/": Password Mismatch
Database logs
tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory
Nextcloud logs
{"reqId":"5qCEkCiE8r3VoGWcWx6T","level":3,"time":"2023-02-27T20:53:26+00:00","remoteAddr":"","user":"ncp","app":"PHP","method":"","url":"--","message":"exif_read_data(): File not supported at /var/www/nextcloud/lib/private/Metadata/Provider/ExifProvider.php#59","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Error","Message":"exif_read_data(): File not supported at /var/www/nextcloud/lib/private/Metadata/Provider/ExifProvider.php#59","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/lib/private/Metadata/Provider/ExifProvider.php","line":59,"function":"exif_read_data"},{"file":"/var/www/nextcloud/lib/private/Metadata/MetadataManager.php","line":68,"function":"execute","class":"OC\\Metadata\\Provider\\ExifProvider","type":"->"},{"file":"/var/www/nextcloud/lib/private/Metadata/FileEventListener.php","line":101,"function":"generateMetadata","class":"OC\\Metadata\\MetadataManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OC\\Metadata\\FileEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/HookConnector.php","line":118,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":106,"function":"postWrite","class":"OC\\Files\\Node\\HookConnector","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":641,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":692,"function":"emit_file_hooks_post","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/File.php","line":71,"function":"file_put_contents","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Util.php","line":257,"function":"putContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Util.php","line":216,"function":"copyr","class":"OC_Util","type":"::"},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":553,"function":"copySkeleton","class":"OC_Util","type":"::"},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":403,"function":"prepareUserLogin","class":"OC\\User\\Session","type":"->"},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":616,"function":"completeLogin","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/User/Session.php","line":355,"function":"loginWithPassword","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/Setup.php","line":433,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/core/Command/Maintenance/Install.php","line":105,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OC\\Core\\Command\\Maintenance\\Install","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":1009,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":273,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":149,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":213,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/console.php","line":100,"function":"run","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied ncp-report and Apache logs, especially the access failure for /var/www/ncp-web/. Trace the request to the initial Activation page and reproduce the issue on the reported Raspberry Pi setup. Done means a fresh installation can reach and display the initial Activation page without the reported access failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache, mariadb, php, raspberry-pi, shell
- Domain
- backend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100