Test email settings work fine, not able to send notification

Steps to reproduce

  1. Under Settings, I click Setting > Admin > Test Email Settings
  2. I click Send email and I receive a confirmation that the settings are correct
  3. When I notify user of a share, I receive an error stating "Email notification not sent. Couldnt send mail to following recipent(s) test <— first name of my test user account

Expected behaviour

I expect a notification to appear in my inbox for the email address associated with my test account.

Actual behaviour

No email notification is received.

Server configuration

Operating system:
Raspian / Debian 9 Bionic Beaver

Web server:
Apache2

Database:
mysql

PHP version:
7.0

ownCloud version: (see ownCloud admin page)
10.0.8.5

Updated from an older ownCloud or fresh install:
Fresh Install

Where did you install ownCloud from:
repo

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and puth the link here.

No errors have been found

**The content of config/config.php:**

{
    "system": {
        "instanceid": "ocfwwp5dj5bx",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "10.3.141.1",
            "dump.tampadrones.com",
            "dronedump.ddns.net"
        ],
        "datadirectory": "\/var\/www\/html\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/localhost\/owncloud",
        "dbtype": "mysql",
        "version": "10.0.8.5",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "mail_smtpdebug": "true",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "mail_smtptimeout": "30",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 2,
        "maintenance": false,
        "files_external_allow_create_new_local": "true",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "localhost",
            "port": 6379,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "mail_smtpport": "587"
    }
}``

**List of activated apps:**

Enabled:
  - activity: 2.3.7
  - camerarawpreviews: 0.5.4
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.3.2
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_clipboard: 0.7.1
  - files_external: 0.7.1
  - files_pdfviewer: 0.8.2
  - files_sharing: 0.10.1
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 16.1.0
  - impersonate: 0.2.0
  - market: 0.2.4
  - notes: 2.0.4
  - notifications: 0.3.3
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - theme-example
  - user_external

**Are you using external storage, if yes which one:** local/smb/sftp/...
Yes, /dev/sdb

**Are you using encryption:** yes/no
No

### Client configuration
**Browser:**
Chrome

**Operating system:**
ChromeOS and Raspian

### Logs
#### Web server error log
index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 19:58:23.894291 2018] [:error] [pid 12382] [client 92.253.201.8:43574] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 19:58:23.894559 2018] [:error] [pid 12382] [client 92.253.201.8:43574] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 19:58:23.894588 2018] [:error] [pid 12382] [client 92.253.201.8:43574] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 20:02:11.210637 2018] [:error] [pid 12422] [client 37.235.193.10:53627] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 20:02:11.212060 2018] [:error] [pid 12422] [client 37.235.193.10:53627] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 20:02:11.212125 2018] [:error] [pid 12422] [client 37.235.193.10:53627] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 20:13:16.639732 2018] [mpm_prefork:notice] [pid 765] AH00169: caught SIGTERM, shutting down
[Tue Jul 17 20:13:52.015737 2018] [mpm_prefork:notice] [pid 878] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 20:13:52.023081 2018] [core:notice] [pid 878] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 20:17:27.378976 2018] [:error] [pid 1396] [client 192.168.0.16:43322] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 20:17:27.379097 2018] [:error] [pid 1396] [client 192.168.0.16:43322] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 20:17:36.274446 2018] [:error] [pid 933] [client 192.168.0.16:43323] PHP Notice:  Undefined index: page in /var/www/html/index.php on line 38
[Tue Jul 17 20:31:17.045583 2018] [mpm_prefork:notice] [pid 878] AH00169: caught SIGTERM, shutting down
[Tue Jul 17 20:31:44.637870 2018] [mpm_prefork:notice] [pid 829] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 20:31:44.641213 2018] [core:notice] [pid 829] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 20:33:39.791034 2018] [mpm_prefork:notice] [pid 829] AH00173: SIGHUP received.  Attempting to restart
[Tue Jul 17 20:33:39.956108 2018] [mpm_prefork:notice] [pid 829] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 20:33:39.956241 2018] [core:notice] [pid 829] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 20:37:39.680095 2018] [:error] [pid 1718] [client 83.228.33.162:56028] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 20:37:39.695955 2018] [:error] [pid 1718] [client 83.228.33.162:56028] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 20:37:39.696092 2018] [:error] [pid 1718] [client 83.228.33.162:56028] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 20:58:37.763370 2018] [mpm_prefork:notice] [pid 829] AH00169: caught SIGTERM, shutting down
[Tue Jul 17 20:59:34.599874 2018] [mpm_prefork:notice] [pid 835] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 20:59:34.604934 2018] [core:notice] [pid 835] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 21:05:09.785001 2018] [mpm_prefork:notice] [pid 835] AH00169: caught SIGTERM, shutting down
[Tue Jul 17 21:05:47.693385 2018] [mpm_prefork:notice] [pid 785] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 21:05:47.699831 2018] [core:notice] [pid 785] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 21:10:19.869116 2018] [:error] [pid 1058] [client 31.184.194.109:62586] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:10:19.885537 2018] [:error] [pid 1058] [client 31.184.194.109:62586] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:10:19.885674 2018] [:error] [pid 1058] [client 31.184.194.109:62586] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:19:59.900737 2018] [:error] [pid 1067] [client ::1:49182] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:19:59.901653 2018] [:error] [pid 1067] [client ::1:49182] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:19:59.901758 2018] [:error] [pid 1067] [client ::1:49182] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:19:59.925398 2018] [:error] [pid 1069] [client ::1:49184] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:19:59.926058 2018] [:error] [pid 1069] [client ::1:49184] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:19:59.926113 2018] [:error] [pid 1069] [client ::1:49184] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:19:59.958408 2018] [:error] [pid 1370] [client ::1:49186] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:19:59.959059 2018] [:error] [pid 1370] [client ::1:49186] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:19:59.959110 2018] [:error] [pid 1370] [client ::1:49186] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:21:00.766576 2018] [:error] [pid 1056] [client ::1:49242] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/html/owncloud/index.php:88\nStack trace:\n#0 {main}\n  thrown in /var/www/html/owncloud/index.php on line 88
[Tue Jul 17 21:21:06.819924 2018] [:error] [pid 1058] [client 70.127.170.38:41583] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/html/owncloud/index.php:88\nStack trace:\n#0 {main}\n  thrown in /var/www/html/owncloud/index.php on line 88
[Tue Jul 17 21:21:08.504883 2018] [:error] [pid 1064] [client 70.127.170.38:41584] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/html/owncloud/index.php:88\nStack trace:\n#0 {main}\n  thrown in /var/www/html/owncloud/index.php on line 88
[Tue Jul 17 21:21:39.780059 2018] [:error] [pid 1067] [client 192.168.0.34:34258] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/html/owncloud/index.php:88\nStack trace:\n#0 {main}\n  thrown in /var/www/html/owncloud/index.php on line 88
[Tue Jul 17 21:21:45.841580 2018] [:error] [pid 1069] [client ::1:49270] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:21:45.841834 2018] [:error] [pid 1069] [client ::1:49270] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:21:45.841864 2018] [:error] [pid 1069] [client ::1:49270] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:21:45.863377 2018] [:error] [pid 1370] [client ::1:49272] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:21:45.863605 2018] [:error] [pid 1370] [client ::1:49272] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:21:45.863633 2018] [:error] [pid 1370] [client ::1:49272] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:21:45.882509 2018] [:error] [pid 1056] [client ::1:49274] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:21:45.882844 2018] [:error] [pid 1056] [client ::1:49274] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:21:45.882873 2018] [:error] [pid 1056] [client ::1:49274] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:21:53.984150 2018] [:error] [pid 1058] [client ::1:49284] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:21:53.984262 2018] [:error] [pid 1058] [client ::1:49284] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:22:02.182884 2018] [:error] [pid 1067] [client ::1:49288] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/html/owncloud/index.php:88\nStack trace:\n#0 {main}\n  thrown in /var/www/html/owncloud/index.php on line 88
[Tue Jul 17 21:22:18.009292 2018] [mpm_prefork:notice] [pid 785] AH00173: SIGHUP received.  Attempting to restart
[Tue Jul 17 21:22:18.193369 2018] [mpm_prefork:notice] [pid 785] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 21:22:18.193502 2018] [core:notice] [pid 785] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 21:22:21.076035 2018] [:error] [pid 6619] [client ::1:49294] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/html/owncloud/index.php:88\nStack trace:\n#0 {main}\n  thrown in /var/www/html/owncloud/index.php on line 88
[Tue Jul 17 21:22:22.372867 2018] [:error] [pid 6620] [client ::1:49296] PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /var/www/html/owncloud/index.php:88\nStack trace:\n#0 {main}\n  thrown in /var/www/html/owncloud/index.php on line 88
[Tue Jul 17 21:23:16.459492 2018] [mpm_prefork:notice] [pid 785] AH00173: SIGHUP received.  Attempting to restart
[Tue Jul 17 21:23:16.623124 2018] [mpm_prefork:notice] [pid 785] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 21:23:16.623257 2018] [core:notice] [pid 785] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 21:24:50.748634 2018] [:error] [pid 6917] [client 191.13.177.35:47286] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:24:50.761147 2018] [:error] [pid 6917] [client 191.13.177.35:47286] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:24:50.761286 2018] [:error] [pid 6917] [client 191.13.177.35:47286] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:25:04.453116 2018] [mpm_prefork:notice] [pid 785] AH00173: SIGHUP received.  Attempting to restart
[Tue Jul 17 21:25:04.616195 2018] [mpm_prefork:notice] [pid 785] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 21:25:04.616318 2018] [core:notice] [pid 785] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 21:26:52.501075 2018] [mpm_prefork:notice] [pid 785] AH00173: SIGHUP received.  Attempting to restart
[Tue Jul 17 21:26:52.666426 2018] [mpm_prefork:notice] [pid 785] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 21:26:52.666613 2018] [core:notice] [pid 785] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 21:28:29.697169 2018] [authz_core:error] [pid 8099] [client ::1:49532] AH01630: client denied by server configuration: /var/www/html/owncloud/data/htaccesstest.txt
[Tue Jul 17 21:39:02.266407 2018] [:error] [pid 7915] [client 88.135.225.138:33531] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:39:02.278600 2018] [:error] [pid 7915] [client 88.135.225.138:33531] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:39:02.278739 2018] [:error] [pid 7915] [client 88.135.225.138:33531] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:39:26.952684 2018] [mpm_prefork:notice] [pid 785] AH00173: SIGHUP received.  Attempting to restart
[Tue Jul 17 21:39:27.126174 2018] [mpm_prefork:notice] [pid 785] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 21:39:27.126349 2018] [core:notice] [pid 785] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 21:40:25.683874 2018] [authz_core:error] [pid 17066] [client ::1:49950] AH01630: client denied by server configuration: /var/www/html/owncloud/data/htaccesstest.txt
[Tue Jul 17 21:46:40.373359 2018] [authz_core:error] [pid 17069] [client ::1:50184] AH01630: client denied by server configuration: /var/www/html/owncloud/data/htaccesstest.txt
[Tue Jul 17 21:53:43.459287 2018] [:error] [pid 17300] [client 189.18.79.146:59090] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:53:43.469412 2018] [:error] [pid 17300] [client 189.18.79.146:59090] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:53:43.469554 2018] [:error] [pid 17300] [client 189.18.79.146:59090] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 21:59:52.156141 2018] [:error] [pid 17313] [client 131.221.235.129:36483] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 21:59:52.156982 2018] [:error] [pid 17313] [client 131.221.235.129:36483] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 21:59:52.157075 2018] [:error] [pid 17313] [client 131.221.235.129:36483] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 22:01:22.202650 2018] [mpm_prefork:notice] [pid 785] AH00169: caught SIGTERM, shutting down
[Tue Jul 17 22:01:40.696523 2018] [mpm_prefork:notice] [pid 798] AH00163: Apache/2.4.25 (Raspbian) configured -- resuming normal operations
[Tue Jul 17 22:01:40.698528 2018] [core:notice] [pid 798] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 17 22:02:54.691143 2018] [:error] [pid 833] [client ::1:38920] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 22:02:54.692850 2018] [:error] [pid 840] [client ::1:38922] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 22:02:54.708126 2018] [:error] [pid 833] [client ::1:38920] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 22:02:54.708181 2018] [:error] [pid 840] [client ::1:38922] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 22:02:54.708293 2018] [:error] [pid 833] [client ::1:38920] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 22:02:54.708311 2018] [:error] [pid 840] [client ::1:38922] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 22:02:54.738645 2018] [:error] [pid 841] [client ::1:38924] PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/html/includes/locale.php on line 18
[Tue Jul 17 22:02:54.739802 2018] [:error] [pid 841] [client ::1:38924] PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
[Tue Jul 17 22:02:54.739910 2018] [:error] [pid 841] [client ::1:38924] PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
[Tue Jul 17 22:04:41.169937 2018] [authz_core:error] [pid 840] [client 192.168.0.34:32850] AH01630: client denied by server configuration: /var/www/html/owncloud/data/htaccesstest.txt
[Tue Jul 17 22:09:48.466390 2018] [authz_core:error] [pid 830] [client 192.168.0.34:33164] AH01630: client denied by server configuration: /var/www/html/owncloud/data/htaccesstest.txt

#### ownCloud log (data/owncloud.log)
ramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(342): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/base.php(912): OC\\\\Route\\\\Router->match('\\\/apps\\\/files_ext...')\\n#17 \\\/var\\\/www\\\/html\\\/owncloud\\\/index.php(55): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/http\\\/lib\\\/Client.php\",\"Line\":356}"}
{"reqId":"Yk0CjQbsC9M1Wuod1s2J","level":3,"time":"2018-07-18T02:03:38+00:00","remoteAddr":"192.168.0.34","user":"tampadrones","app":"files_external","method":"GET","url":"\/owncloud\/index.php\/apps\/files_external\/userstorages\/3?testOnly=false","message":"SSL certificate problem: self signed certificate"}
{"reqId":"Yk0CjQbsC9M1Wuod1s2J","level":3,"time":"2018-07-18T02:03:38+00:00","remoteAddr":"192.168.0.34","user":"tampadrones","app":"PHP","method":"GET","url":"\/owncloud\/index.php\/apps\/files_external\/userstorages\/3?testOnly=false","message":"Undefined variable: response at \/var\/www\/html\/owncloud\/lib\/private\/Files\/Storage\/DAV.php#278"}
{"reqId":"bYpKVEwP8P3lWRyWKLUE","level":3,"time":"2018-07-18T02:05:22+00:00","remoteAddr":"192.168.0.34","user":"tampadrones","app":"no app in context","method":"GET","url":"\/owncloud\/index.php\/apps\/files_external\/userstorages\/3?testOnly=false","message":"Exception: {\"Exception\":\"Sabre\\\\HTTP\\\\ClientException\",\"Message\":\"SSL certificate problem: self signed certificate\",\"Code\":60,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/http\\\/lib\\\/Client.php(103): Sabre\\\\HTTP\\\\Client->doRequest(Object(Sabre\\\\HTTP\\\\Request))\\n#1 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Client.php(231): Sabre\\\\HTTP\\\\Client->send(Object(Sabre\\\\HTTP\\\\Request))\\n#2 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/DAV.php(255): Sabre\\\\DAV\\\\Client->propFind('https:\\\/\\\/cloud.t...', Array)\\n#3 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/DAV.php(575): OC\\\\Files\\\\Storage\\\\DAV->propfind('')\\n#4 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Common.php(436): OC\\\\Files\\\\Storage\\\\DAV->stat('')\\n#5 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(202): OC\\\\Files\\\\Storage\\\\Common->test(false, 'false')\\n#6 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(255): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus('\\\\\\\\OC\\\\\\\\Files\\\\\\\\Stora...', Array, false, 'false')\\n#7 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(304): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus(Object(OC\\\\Files\\\\External\\\\StorageConfig), 'false')\\n#8 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/UserStoragesController.php(106): OCA\\\\Files_External\\\\Controller\\\\StoragesController->show('3', 'false')\\n#9 [internal function]: OCA\\\\Files_External\\\\Controller\\\\UserStoragesController->show('3', 'false')\\n#10 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(159): call_user_func_array(Array, Array)\\n#11 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\Files_External\\\\Controller\\\\UserStoragesController), 'show')\\n#12 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(103): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files_External\\\\Controller\\\\UserStoragesController), 'show')\\n#13 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(46): OC\\\\AppFramework\\\\App::main('OCA\\\\\\\\Files_Exter...', 'show', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(342): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/base.php(912): OC\\\\Route\\\\Router->match('\\\/apps\\\/files_ext...')\\n#17 \\\/var\\\/www\\\/html\\\/owncloud\\\/index.php(55): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/http\\\/lib\\\/Client.php\",\"Line\":356}"}
{"reqId":"bYpKVEwP8P3lWRyWKLUE","level":3,"time":"2018-07-18T02:05:22+00:00","remoteAddr":"192.168.0.34","user":"tampadrones","app":"files_external","method":"GET","url":"\/owncloud\/index.php\/apps\/files_external\/userstorages\/3?testOnly=false","message":"SSL certificate problem: self signed certificate"}
{"reqId":"bYpKVEwP8P3lWRyWKLUE","level":3,"time":"2018-07-18T02:05:22+00:00","remoteAddr":"192.168.0.34","user":"tampadrones","app":"PHP","method":"GET","url":"\/owncloud\/index.php\/apps\/files_external\/userstorages\/3?testOnly=false","message":"Undefined variable: response at \/var\/www\/html\/owncloud\/lib\/private\/Files\/Storage\/DAV.php#278"}
{"reqId":"vH8y1BwhM9ilPsJ8wWoH","level":3,"time":"2018-07-18T02:15:02+00:00","remoteAddr":"70.127.170.38","user":"tampadrones","app":"no app in context","method":"GET","url":"\/owncloud\/index.php\/apps\/files_external\/userstorages\/3?testOnly=false","message":"Exception: {\"Exception\":\"Sabre\\\\HTTP\\\\ClientException\",\"Message\":\"SSL certificate problem: self signed certificate\",\"Code\":60,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/http\\\/lib\\\/Client.php(103): Sabre\\\\HTTP\\\\Client->doRequest(Object(Sabre\\\\HTTP\\\\Request))\\n#1 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Client.php(231): Sabre\\\\HTTP\\\\Client->send(Object(Sabre\\\\HTTP\\\\Request))\\n#2 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/DAV.php(255): Sabre\\\\DAV\\\\Client->propFind('https:\\\/\\\/cloud.t...', Array)\\n#3 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/DAV.php(575): OC\\\\Files\\\\Storage\\\\DAV->propfind('')\\n#4 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Storage\\\/Common.php(436): OC\\\\Files\\\\Storage\\\\DAV->stat('')\\n#5 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Files\\\/External\\\/LegacyUtil.php(202): OC\\\\Files\\\\Storage\\\\Common->test(false, 'false')\\n#6 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(255): OC\\\\Files\\\\External\\\\LegacyUtil::getBackendStatus('\\\\\\\\OC\\\\\\\\Files\\\\\\\\Stora...', Array, false, 'false')\\n#7 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/StoragesController.php(304): OCA\\\\Files_External\\\\Controller\\\\StoragesController->updateStorageStatus(Object(OC\\\\Files\\\\External\\\\StorageConfig), 'false')\\n#8 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/files_external\\\/lib\\\/Controller\\\/UserStoragesController.php(106): OCA\\\\Files_External\\\\Controller\\\\StoragesController->show('3', 'false')\\n#9 [internal function]: OCA\\\\Files_External\\\\Controller\\\\UserStoragesController->show('3', 'false')\\n#10 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(159): call_user_func_array(Array, Array)\\n#11 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\Files_External\\\\Controller\\\\UserStoragesController), 'show')\\n#12 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(103): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files_External\\\\Controller\\\\UserStoragesController), 'show')\\n#13 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(46): OC\\\\AppFramework\\\\App::main('OCA\\\\\\\\Files_Exter...', 'show', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Route\\\/Router.php(342): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/base.php(912): OC\\\\Route\\\\Router->match('\\\/apps\\\/files_ext...')\\n#17 \\\/var\\\/www\\\/html\\\/owncloud\\\/index.php(55): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/http\\\/lib\\\/Client.php\",\"Line\":356}"}
{"reqId":"vH8y1BwhM9ilPsJ8wWoH","level":3,"time":"2018-07-18T02:15:02+00:00","remoteAddr":"70.127.170.38","user":"tampadrones","app":"files_external","method":"GET","url":"\/owncloud\/index.php\/apps\/files_external\/userstorages\/3?testOnly=false","message":"SSL certificate problem: self signed certificate"}
{"reqId":"vH8y1BwhM9ilPsJ8wWoH","level":3,"time":"2018-07-18T02:15:02+00:00","remoteAddr":"70.127.170.38","user":"tampadrones","app":"PHP","method":"GET","url":"\/owncloud\/index.php\/apps\/files_external\/userstorages\/3?testOnly=false","message":"Undefined variable: response at \/var\/www\/html\/owncloud\/lib\/private\/Files\/Storage\/DAV.php#278"}

ubuntu 18.04 is bionic beaver, debian 9 is stretch

Did you mean you have ubuntu?

And to be clear, I get my confirmation email when I test the settings. But when I actually want to go and send a share notification, I get the error.

The OS is Debian Stretch

Hey,

maybe it helps if you update to the recent ownCloud 10.0.9? It could be also possible that you get better logging if you use a “real” true instead of the quoted true here:

“mail_smtpdebug”: “true”,

similar to the other ones used in your config.php:

“installed”: true,

Im not following… I show the debug entry as:

'mail_smtpdebug => ‘true’,

What are you suggesting I change it to? Also, I am on the stable channel and I get no notifications to update. Should I manually upgrade to 10.0.9?

Hey,

i did the following search:

https://doc.owncloud.org/server/latest/admin_manual/search.html?q=mail_smtpdebug

and found the example below in the following documentation:

https://doc.owncloud.org/server/latest/admin_manual/configuration/server/email_configuration.html?highlight=mail_smtpdebug#enabling-debug-mode

“mail_smtpdebug” => true,

I’m not familiar with PHP but from other programming languages i know something put into single/double quotes are defined as a string which could make a difference here.

Maybe you have also some other wrongly defined variables in your config.php which you could verify?

Hmm, good point. I’ll check this and see what happens.