Advertisement
Guest User

NextCloudPi Diagnostics

a guest
Jul 29th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.14 KB | None | 0 0
  1. <details>
  2. <summary>NextCloudPi diagnostics</summary>
  3.  
  4. ```
  5.  
  6. NextCloudPi version v1.15.3
  7. NextCloudPi image NextCloudPi_07-21-19
  8. distribution Raspbian GNU/Linux 10 \n \l
  9. automount yes
  10. USB devices sda
  11. datadir /media/USBdrive/ncdata
  12. data in SD no
  13. data filesystem btrfs
  14. data disk usage 53M/233G
  15. rootfs usage 2,0G/14G
  16. swapfile /var/swap
  17. dbdir /var/lib/mysql
  18. Nextcloud check ok
  19. Nextcloud version 16.0.3.0
  20. HTTPD service up
  21. PHP service up
  22. MariaDB service up
  23. Redis service up
  24. Postfix service up
  25. internet check ok
  26. port check 80 open
  27. port check 443 closed
  28. IP ***REMOVED SENSITIVE VALUE***
  29. gateway ***REMOVED SENSITIVE VALUE***
  30. interface eth0
  31. certificates ***REMOVED SENSITIVE VALUE***
  32. NAT loopback no
  33. uptime 5:35
  34.  
  35. ```
  36. </details>
  37.  
  38.  
  39. <details>
  40. <summary>Nextcloud configuration</summary>
  41.  
  42. ```
  43.  
  44. {
  45. "system": {
  46. "passwordsalt": "***REMOVED SENSITIVE VALUE***",
  47. "secret": "***REMOVED SENSITIVE VALUE***",
  48. "trusted_domains": {
  49. "0": "localhost",
  50. "5": "nextcloudpi.local",
  51. "7": "nextcloudpi",
  52. "8": "nextcloudpi.lan",
  53. "11": "46.88.28.58",
  54. "1": "192.168.1.170",
  55. "3": "pfaff.sytes.net",
  56. "2": "pfaff.sytes.net"
  57. },
  58. "datadirectory": "***REMOVED SENSITIVE VALUE***",
  59. "dbtype": "mysql",
  60. "version": "16.0.3.0",
  61. "overwrite.cli.url": "https:\/\/pfaff.sytes.net\/",
  62. "dbname": "***REMOVED SENSITIVE VALUE***",
  63. "dbhost": "***REMOVED SENSITIVE VALUE***",
  64. "dbport": "",
  65. "dbtableprefix": "oc_",
  66. "mysql.utf8mb4": true,
  67. "dbuser": "***REMOVED SENSITIVE VALUE***",
  68. "dbpassword": "***REMOVED SENSITIVE VALUE***",
  69. "installed": true,
  70. "instanceid": "***REMOVED SENSITIVE VALUE***",
  71. "memcache.local": "\\OC\\Memcache\\Redis",
  72. "memcache.locking": "\\OC\\Memcache\\Redis",
  73. "redis": {
  74. "host": "***REMOVED SENSITIVE VALUE***",
  75. "port": 0,
  76. "timeout": 0,
  77. "password": "***REMOVED SENSITIVE VALUE***"
  78. },
  79. "tempdirectory": "\/media\/USBdrive\/ncdata\/tmp",
  80. "mail_smtpmode": "sendmail",
  81. "mail_smtpauthtype": "LOGIN",
  82. "mail_from_address": "***REMOVED SENSITIVE VALUE***",
  83. "mail_domain": "***REMOVED SENSITIVE VALUE***",
  84. "preview_max_x": "2048",
  85. "preview_max_y": "2048",
  86. "jpeg_quality": "60",
  87. "overwriteprotocol": "https",
  88. "maintenance": false,
  89. "logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log",
  90. "loglevel": "2",
  91. "log_type": "file"
  92. }
  93. }
  94.  
  95. ```
  96. </details>
  97.  
  98.  
  99. <details>
  100. <summary>HTTPd logs</summary>
  101.  
  102. ```
  103.  
  104. [Tue Jul 30 00:00:02.650808 2019] [ssl:warn] [pid 758:tid 1996218896] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
  105. [Tue Jul 30 00:00:02.651345 2019] [ssl:error] [pid 758:tid 1996218896] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 4D0D69071A363DCC66467D909ABB2563623E84FC / notbefore: Jul 21 02:33:51 2019 GMT / notafter: Jul 18 02:33:51 2029 GMT]
  106. [Tue Jul 30 00:00:02.651398 2019] [ssl:error] [pid 758:tid 1996218896] AH02604: Unable to configure certificate localhost:4443:0 for stapling
  107. [Tue Jul 30 00:00:02.653823 2019] [mpm_event:notice] [pid 758:tid 1996218896] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1c configured -- resuming normal operations
  108. [Tue Jul 30 00:00:02.653890 2019] [core:notice] [pid 758:tid 1996218896] AH00094: Command line: '/usr/sbin/apache2'
  109. [Tue Jul 30 00:20:16.290645 2019] [authz_host:error] [pid 10534:tid 1740461088] [client 192.168.1.67:62710] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name, referer: https://192.168.1.170:4443/wizard/
  110.  
  111. ```
  112. </details>
  113.  
  114.  
  115. <details>
  116. <summary>Database logs</summary>
  117.  
  118. ```
  119.  
  120.  
  121. ```
  122. </details>
  123.  
  124.  
  125. <details>
  126. <summary>Nextcloud logs</summary>
  127.  
  128. ```
  129.  
  130. {"reqId":"oRObbQlFKx3TLmGUmni4","level":3,"time":"2019-07-29T17:46:07+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Error while sending QUERY packet. PID=2371 at \/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php#141","userAgent":"--","version":"16.0.3.0"}
  131. {"reqId":"oRObbQlFKx3TLmGUmni4","level":3,"time":"2019-07-29T17:46:13+00:00","remoteAddr":"","user":"--","app":"files","method":"","url":"--","message":{"Exception":"RedisException","Message":"read error on connection","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","line":162,"function":"watch","class":"Redis","type":"->","args":["2928e365ab5d73cc93bdd4e80bbc50a7\/lockfiles\/00d303f083a0e12e22aeedf18cfea27a"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Lock\/MemcacheLockingProvider.php","line":95,"function":"cad","class":"OC\\Memcache\\Redis","type":"->","args":["files\/00d303f083a0e12e22aeedf18cfea27a",1]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Common.php","line":747,"function":"releaseLock","class":"OC\\Lock\\MemcacheLockingProvider","type":"->","args":["files\/00d303f083a0e12e22aeedf18cfea27a",1]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":604,"function":"releaseLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["",1,{"__class__":"OC\\Lock\\MemcacheLockingProvider"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":344,"function":"releaseLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["",1,{"__class__":"OC\\Lock\\MemcacheLockingProvider"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":521,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["",2,3]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":532,"function":"OC\\Files\\Cache\\{closure}","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":520,"function":"runBackgroundScanJob","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[{"__class__":"Closure"},""]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Utils\/Scanner.php","line":173,"function":"backgroundScan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php","line":88,"function":"backgroundScan","class":"OC\\Files\\Utils\\Scanner","type":"->","args":[""]},{"file":"\/var\/www\/nextcloud\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php","line":112,"function":"runScanner","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->","args":[{"__class__":"OC\\User\\User"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/Job.php","line":61,"function":"run","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"\/var\/www\/nextcloud\/cron.php","line":123,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":162,"Previous":{"Exception":"Doctrine\\DBAL\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1263,"function":"connect","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":457,"function":"beginTransaction","class":"Doctrine\\DBAL\\Connection","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":406,"function":"handleChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[".opcache\/3bbdb83d17aa08fe747aebe96d0f5ba8\/var\/www\/nextcloud\/lib\/private",2,3,"65",true,373824]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":409,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[".opcache\/3bbdb83d17aa08fe747aebe96d0f5ba8\/var\/www\/nextcloud\/lib\/private",2,3,"65",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":409,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[".opcache\/3bbdb83d17aa08fe747aebe96d0f5ba8\/var\/www\/nextcloud\/lib",2,3,"53",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":409,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[".opcache\/3bbdb83d17aa08fe747aebe96d0f5ba8\/var\/www\/nextcloud",2,3,"51",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":409,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[".opcache\/3bbdb83d17aa08fe747aebe96d0f5ba8\/var\/www",2,3,"50",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":409,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[".opcache\/3bbdb83d17aa08fe747aebe96d0f5ba8\/var",2,3,"49",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":409,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[".opcache\/3bbdb83d17aa08fe747aebe96d0f5ba8",2,3,"48",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":409,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[".opcache",2,3,"34",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":338,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["",2,3,"15",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":521,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["",2,3]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":532,"function":"OC\\Files\\Cache\\{closure}","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php","line":520,"function":"runBackgroundScanJob","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[{"__class__":"Closure"},""]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Utils\/Scanner.php","line":173,"function":"backgroundScan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php","line":88,"function":"backgroundScan","class":"OC\\Files\\Utils\\Scanner","type":"->","args":[""]},{"file":"\/var\/www\/nextcloud\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php","line":112,"function":"runScanner","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->","args":[{"__class__":"OC\\User\\User"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/Job.php","line":61,"function":"run","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->","args":[null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"\/var\/www\/nextcloud\/cron.php","line":123,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"\/var\/www\/nextcloud\/lib\/private\/DB\/Connection.php","Line":64},"CustomMessage":"--"},"userAgent":"--","version":"16.0.3.0"}
  132. {"reqId":"oRObbQlFKx3TLmGUmni4","level":3,"time":"2019-07-29T17:46:13+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":{"Exception":"Doctrine\\DBAL\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1065,"function":"connect","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["UPDATE `oc_jobs` SET `execution_duration` = :dcValue1 WHERE `id` = :dcValue2",{"dcValue1":71,"dcValue2":1},{"dcValue1":1,"dcValue2":1}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Query\/QueryBuilder.php","line":222,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["UPDATE `oc_jobs` SET `execution_duration` = :dcValue1 WHERE `id` = :dcValue2",{"dcValue1":71,"dcValue2":1},{"dcValue1":1,"dcValue2":1}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/QueryBuilder\/QueryBuilder.php","line":214,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/JobList.php","line":344,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/Job.php","line":65,"function":"setExecutionTime","class":"OC\\BackgroundJob\\JobList","type":"->","args":[{"__class__":"OCA\\Files\\BackgroundJob\\ScanFiles"},71]},{"file":"\/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"\/var\/www\/nextcloud\/cron.php","line":123,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"\/var\/www\/nextcloud\/lib\/private\/DB\/Connection.php","Line":64,"CustomMessage":"Error while running background job (class: OCA\\Files\\BackgroundJob\\ScanFiles, arguments: )"},"userAgent":"--","version":"16.0.3.0"}
  133. {"reqId":"oRObbQlFKx3TLmGUmni4","level":3,"time":"2019-07-29T17:46:14+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Doctrine\\DBAL\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":852,"function":"connect","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Query\/Expression\/ExpressionBuilder.php","line":318,"function":"quote","class":"Doctrine\\DBAL\\Connection","type":"->","args":[0,1]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/QueryBuilder\/ExpressionBuilder\/ExpressionBuilder.php","line":417,"function":"literal","class":"Doctrine\\DBAL\\Query\\Expression\\ExpressionBuilder","type":"->","args":[0,1]},{"file":"\/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/JobList.php","line":305,"function":"literal","class":"OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder","type":"->","args":[0,1]},{"file":"\/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/JobList.php","line":292,"function":"unlockJob","class":"OC\\BackgroundJob\\JobList","type":"->","args":[{"__class__":"OCA\\Files\\BackgroundJob\\ScanFiles"}]},{"file":"\/var\/www\/nextcloud\/cron.php","line":127,"function":"setLastJob","class":"OC\\BackgroundJob\\JobList","type":"->","args":[{"__class__":"OCA\\Files\\BackgroundJob\\ScanFiles"}]}],"File":"\/var\/www\/nextcloud\/lib\/private\/DB\/Connection.php","Line":64,"CustomMessage":"--"},"userAgent":"--","version":"16.0.3.0"}
  134.  
  135. ```
  136. </details>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement