403 Forbidden Error attempting to access via SSL

If I enable SSL, I am unable to access the OwnCloud installation. I receive a 403 Forbidden error. In researching this error, the responses I found all pointed at permissions/ownership. While I allowed the OwnCloud scripts (instance.sh, and owncloud_prep.sh) to handle setting permissions and ownership, I also verified. The www-data user has access to all necessary files. File and directory permissions are also set correctly. Another error that appeared in the Apache2 error log was ‘no matching directory index found’, specifying index.php, index.html - both of which exist in the webroot for OwnCloud. A fix for that was removing the index directive from the server configuration. Doing that eliminates the 403 error but does not load the page - instead it lists the directory. Attempts to click anything in the directory result in a 404. Specifying either index.php oir index.html likewise results in a 404 (I.E. https://ingest.wmssfm.com/index.php).

I have listed both the owncloud and owncloud-ssl apache configurations below (after the template). For SSL I am using a Let’s Encrypt certificate, the configuration for that to work is in the owncloud apache configuration. If the specific path is not matched, the connection is redirected to the owncloud installation via SSL. Note that the Let’s Encrypt certificate renewals work just fine with the current configuration, and the certificate is correct.

Note that I have shut down the perimeter firewall rules - the address will resolve, however the connections from outside are silently dropped by the firewall. This is to prevent possible unwanted access until I have this back online.

Steps to reproduce

  1. Go to https://ingest.wmssfm.com
  2. There is no step 2

Expected behaviour

The login page or maintenance mode page should be presented.

Actual behaviour

An error is presented:

*Forbidden*

*You don't have permission to access this resource.*
*Apache/2.4.62 (Debian) Server at ingest.wmssfm.com Port 443*

Server configuration

Operating system:

NAME="Debian GNU/Linux"
VERSION_ID="12"

Web server:

Server version: Apache/2.4.62 (Debian)
Server built:   2024-10-04T15:21:08

Database:

Server version: 10.11.6-MariaDB-0+deb12u1 Debian 12

PHP version:

PHP 7.4.33 (cli) (built: Nov 24 2024 08:41:34) ( NTS )

ownCloud version: (see ownCloud admin page)

Can't get to admin page - all attempts to access the site at all result in a 403 error

Updated from an older ownCloud or fresh install:

Fresh install, then restore DB and data (recovering from server crash)

Where did you install ownCloud from:

download.owncloud.com, following the directions [here](https://doc.owncloud.com/server/next/admin_manual/installation/manual_installation/manual_installation.html).

Signing status (ownCloud 9.0 and above):

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.

**Instructions produced a 404 error.**

The content of config/config.php:

{
    "system": {
        "instanceid": "oclcqvibr5ll",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "192.168.92.29",
            "owncloud.wmssfm.com",
            "owncloud.wmssfm.net",
            "ingest.wmssfm.com",
            "ingest.wmssfm.net",
            "108.11.218.172"
        ],
        "datadirectory": "\/var\/opt\/owncloud\/data",
        "overwrite.cli.url": "http:\/\/localhost",
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "dbtype": "mysql",
        "version": "10.15.0.2",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "America\/New_York",
        "apps_paths": [
            {
                "path": "\/var\/www\/owncloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/opt\/owncloud\/apps-external",
                "url": "\/apps-external",
                "writable": true
            }
        ],
        "log_type": "syslog",
        "logfile": "",
        "log.syslog.format": "[%reqId%][%remoteAddr%][%user%][%app%][%method%][%url%] %message%",
        "installed": true,
        "loglevel": 1,
        "maintenance": false,
        "trashbin_retention_obligation": "auto, 15",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "theme": ""
    }
}

List of activated apps:

Enabled:
  - announcementcenter:
    - Version: 1.2.2
    - Path: /var/www/owncloud/apps/announcementcenter
  - brute_force_protection:
    - Version: 1.3.0
    - Path: /var/opt/owncloud/apps-external/brute_force_protection
  - calendar:
    - Version: 2.0.0
    - Path: /var/opt/owncloud/apps-external/calendar
  - configreport:
    - Version: 0.3.0
    - Path: /var/www/owncloud/apps/configreport
  - contacts:
    - Version: 1.5.5
    - Path: /var/opt/owncloud/apps-external/contacts
  - dav:
    - Version: 0.7.0
    - Path: /var/www/owncloud/apps/dav
  - diagnostics:
    - Version: 0.2.1
    - Path: /var/www/owncloud/apps/diagnostics
  - federatedfilesharing:
    - Version: 0.5.0
    - Path: /var/www/owncloud/apps/federatedfilesharing
  - federation:
    - Version: 0.1.0
    - Path: /var/www/owncloud/apps/federation
  - files:
    - Version: 1.6.0
    - Path: /var/www/owncloud/apps/files
  - files_pdfviewer:
    - Version: 1.0.2
    - Path: /var/www/owncloud/apps/files_pdfviewer
  - files_sharing:
    - Version: 0.14.0
    - Path: /var/www/owncloud/apps/files_sharing
  - firstrunwizard:
    - Version: 1.3.0
    - Path: /var/www/owncloud/apps/firstrunwizard
  - groupalert:
    - Version: 1.1.5
    - Path: /var/opt/owncloud/apps-external/groupalert
  - impersonate:
    - Version: 0.6.0
    - Path: /var/www/owncloud/apps/impersonate
  - market:
    - Version: 0.9.0
    - Path: /var/www/owncloud/apps/market
  - notifications:
    - Version: 0.6.0
    - Path: /var/www/owncloud/apps/notifications
  - updatenotification:
    - Version: 0.2.1
    - Path: /var/www/owncloud/apps/updatenotification
  - web:
    - Version: 7.0.3
    - Path: /var/www/owncloud/apps/web

Are you using external storage, if yes which one: local/smb/sftp/…

None

Are you using encryption: yes/no

No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

None

Client configuration

Browser:

Firefox 115.14.0esr (64-bit)

Operating system:

NAME="Debian GNU/Linux"
VERSION_ID="12"

Logs

Web server error log

**Only showing last 50 lines**
[Fri Dec 13 23:35:39.915215 2024] [php7:error] [pid 2478310:tid 2478310] [client 192.168.93.107:61530] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:35:45.352159 2024] [php7:error] [pid 2476108:tid 2476108] [client 96.240.155.174:57378] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:35:48.358892 2024] [php7:error] [pid 2474502:tid 2474502] [client 71.114.117.132:56066] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:36:06.302513 2024] [php7:error] [pid 2478311:tid 2478311] [client 71.114.117.132:62469] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:36:41.930190 2024] [php7:error] [pid 2474501:tid 2474501] [client 192.168.93.107:61532] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:36:47.683670 2024] [php7:error] [pid 2474500:tid 2474500] [client 96.240.155.174:57380] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:36:50.363028 2024] [php7:error] [pid 2474503:tid 2474503] [client 71.114.117.132:10553] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:37:00.782161 2024] [php7:error] [pid 2478309:tid 2478309] [client 192.168.91.99:58872] script '/var/www/owncloudremote.php' not found or unable to stat
[Fri Dec 13 23:37:08.305459 2024] [php7:error] [pid 2474671:tid 2474671] [client 71.114.117.132:25307] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:37:43.920654 2024] [php7:error] [pid 2474499:tid 2474499] [client 192.168.93.107:61536] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:37:50.076553 2024] [php7:error] [pid 2478310:tid 2478310] [client 96.240.155.174:57381] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:37:52.362673 2024] [php7:error] [pid 2476108:tid 2476108] [client 71.114.117.132:50717] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:38:10.296357 2024] [php7:error] [pid 2474502:tid 2474502] [client 71.114.117.132:58880] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:38:45.925317 2024] [php7:error] [pid 2478311:tid 2478311] [client 192.168.93.107:61540] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:38:52.456870 2024] [php7:error] [pid 2474501:tid 2474501] [client 96.240.155.174:57383] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:38:54.364775 2024] [php7:error] [pid 2474500:tid 2474500] [client 71.114.117.132:40255] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:39:12.306800 2024] [php7:error] [pid 2474503:tid 2474503] [client 71.114.117.132:29590] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:39:47.929469 2024] [php7:error] [pid 2478309:tid 2478309] [client 192.168.93.107:61542] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:39:54.519712 2024] [php7:error] [pid 2474671:tid 2474671] [client 96.240.155.174:57384] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:39:56.371531 2024] [php7:error] [pid 2474499:tid 2474499] [client 71.114.117.132:17045] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:40:14.310344 2024] [php7:error] [pid 2478310:tid 2478310] [client 71.114.117.132:23939] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:40:49.928501 2024] [php7:error] [pid 2476108:tid 2476108] [client 192.168.93.107:61546] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:40:56.895094 2024] [php7:error] [pid 2474502:tid 2474502] [client 96.240.155.174:57386] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:40:58.368075 2024] [php7:error] [pid 2478311:tid 2478311] [client 71.114.117.132:26966] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:41:16.310634 2024] [php7:error] [pid 2474501:tid 2474501] [client 71.114.117.132:13616] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:41:51.927350 2024] [php7:error] [pid 2474500:tid 2474500] [client 192.168.93.107:61548] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:41:59.270579 2024] [php7:error] [pid 2474503:tid 2474503] [client 96.240.155.174:57387] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:42:00.368682 2024] [php7:error] [pid 2478309:tid 2478309] [client 71.114.117.132:14094] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:42:18.308173 2024] [php7:error] [pid 2474499:tid 2474499] [client 71.114.117.132:12421] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:42:53.929212 2024] [php7:error] [pid 2478310:tid 2478310] [client 192.168.93.107:61552] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:43:01.625829 2024] [php7:error] [pid 2476108:tid 2476108] [client 96.240.155.174:57388] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:43:02.371516 2024] [php7:error] [pid 2474502:tid 2474502] [client 71.114.117.132:3926] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:43:20.312214 2024] [php7:error] [pid 2478311:tid 2478311] [client 71.114.117.132:21525] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:43:55.929513 2024] [php7:error] [pid 2474501:tid 2474501] [client 192.168.93.107:61555] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:44:04.002442 2024] [php7:error] [pid 2474500:tid 2474500] [client 96.240.155.174:57390] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:44:04.374647 2024] [php7:error] [pid 2474503:tid 2474503] [client 71.114.117.132:50137] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:44:22.316240 2024] [php7:error] [pid 2478309:tid 2478309] [client 71.114.117.132:57693] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:44:36.373830 2024] [autoindex:error] [pid 2474671:tid 2474671] [client 65.49.1.34:11807] AH01276: Cannot serve directory /var/www/owncloud: No matching DirectoryIndex (index.php,index.html) found, and server-generated directory index forbidden by Options directive
[Fri Dec 13 23:44:57.937777 2024] [php7:error] [pid 2478310:tid 2478310] [client 192.168.93.107:61560] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:45:06.360317 2024] [php7:error] [pid 2476108:tid 2476108] [client 96.240.155.174:57392] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:45:06.374537 2024] [php7:error] [pid 2474502:tid 2474502] [client 71.114.117.132:2222] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:45:24.316853 2024] [php7:error] [pid 2478311:tid 2478311] [client 71.114.117.132:13896] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:45:59.935108 2024] [php7:error] [pid 2474500:tid 2474500] [client 192.168.93.107:61562] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:46:08.377392 2024] [php7:error] [pid 2478309:tid 2478309] [client 71.114.117.132:61300] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:46:08.747073 2024] [php7:error] [pid 2474671:tid 2474671] [client 96.240.155.174:57395] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:46:26.317075 2024] [php7:error] [pid 2474499:tid 2474499] [client 71.114.117.132:24991] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:47:01.935492 2024] [php7:error] [pid 2478310:tid 2478310] [client 192.168.93.107:61566] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:47:10.379094 2024] [php7:error] [pid 2476108:tid 2476108] [client 71.114.117.132:7620] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:47:11.111577 2024] [php7:error] [pid 2474502:tid 2474502] [client 96.240.155.174:57396] script '/var/www/owncloudstatus.php' not found or unable to stat
[Fri Dec 13 23:47:28.313022 2024] [php7:error] [pid 2478311:tid 2478311] [client 71.114.117.132:56223] script '/var/www/owncloudstatus.php' not found or unable to stat

ownCloud log (data/owncloud.log)

Log is 0 bytes - logging is to syslog to central management server.

From 'tail -n 200 syslog | grep owncloud':

Dec 13 22:45:01 wmssfs00.wmssfm.net CRON[2474828]: (www-data) CMD (/usr/bin/php /var/www/owncloud/occ system:cron >/dev/null 2>&1)
Dec 13 22:45:01 wmssfs00.wmssfm.net ownCloud[2474829]: [uCMtaQniiHCdq1lPAdgd][][--][core][--][--] Exception: {"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash! Class OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash does not exist","Code":0,"Trace":"#0 \/var\/www\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(109): OC\\AppFramework\\Utility\\SimpleContainer->resolve()\n#1 \/var\/www\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#2 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(282): OC\\ServerContainer->query()\n#3 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(218): OC\\BackgroundJob\\JobList->buildJob()\n#4 \/var\/www\/owncloud\/core\/Command\/System\/Cron.php(115): OC\\BackgroundJob\\JobList->getNext()\n#5 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Command\/Command.php(298): OC\\Core\\Command\\System\\Cron->execute()\n#6 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(1040): Symfony\\Component\\Console\\Command\\Command->run()\n#7 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(301): Symfony\\Component\\Console\\Application->doRunCommand()\n#8 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(171): Symfony\\Component\\Console\\Application->doRun()\n#9 \/var\/www\/owncloud\/lib\/private\/Console\/Application.php(165): Symfony\\Component\\Console\\Application->run()\n#10 \/var\/www\/owncloud\/console.php(94): OC\\Console\\Application->run()\n#11 \/var\/www\/owncloud\/occ(11): require_once('\/var\/www\/ownclo...')\n#12 {main}","File":"\/var\/www\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":95}
Dec 13 22:45:01 wmssfs00.wmssfm.net ownCloud[2474829]: [uCMtaQniiHCdq1lPAdgd][][--][core][--][--] Exception: {"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Files_Versions\\BackgroundJob\\ExpireVersions! Class OCA\\Files_Versions\\BackgroundJob\\ExpireVersions does not exist","Code":0,"Trace":"#0 \/var\/www\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(109): OC\\AppFramework\\Utility\\SimpleContainer->resolve()\n#1 \/var\/www\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#2 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(282): OC\\ServerContainer->query()\n#3 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(218): OC\\BackgroundJob\\JobList->buildJob()\n#4 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(222): OC\\BackgroundJob\\JobList->getNext()\n#5 \/var\/www\/owncloud\/core\/Command\/System\/Cron.php(115): OC\\BackgroundJob\\JobList->getNext()\n#6 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Command\/Command.php(298): OC\\Core\\Command\\System\\Cron->execute()\n#7 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(1040): Symfony\\Component\\Console\\Command\\Command->run()\n#8 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(301): Symfony\\Component\\Console\\Application->doRunCommand()\n#9 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(171): Symfony\\Component\\Console\\Application->doRun()\n#10 \/var\/www\/owncloud\/lib\/private\/Console\/Application.php(165): Symfony\\Component\\Console\\Application->run()\n#11 \/var\/www\/owncloud\/console.php(94): OC\\Console\\Application->run()\n#12 \/var\/www\/owncloud\/occ(11): require_once('\/var\/www\/ownclo...')\n#13 {main}","File":"\/var\/www\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":95}
Dec 13 22:45:01 wmssfs00.wmssfm.net ownCloud[2474829]: [uCMtaQniiHCdq1lPAdgd][][--][core][--][--] Exception: {"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Files_Antivirus\\Cron\\Task! Class OCA\\Files_Antivirus\\Cron\\Task does not exist","Code":0,"Trace":"#0 \/var\/www\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(109): OC\\AppFramework\\Utility\\SimpleContainer->resolve()\n#1 \/var\/www\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#2 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(282): OC\\ServerContainer->query()\n#3 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(218): OC\\BackgroundJob\\JobList->buildJob()\n#4 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(222): OC\\BackgroundJob\\JobList->getNext()\n#5 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(222): OC\\BackgroundJob\\JobList->getNext()\n#6 \/var\/www\/owncloud\/core\/Command\/System\/Cron.php(115): OC\\BackgroundJob\\JobList->getNext()\n#7 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Command\/Command.php(298): OC\\Core\\Command\\System\\Cron->execute()\n#8 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(1040): Symfony\\Component\\Console\\Command\\Command->run()\n#9 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(301): Symfony\\Component\\Console\\Application->doRunCommand()\n#10 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(171): Symfony\\Component\\Console\\Application->doRun()\n#11 \/var\/www\/owncloud\/lib\/private\/Console\/Application.php(165): Symfony\\Component\\Console\\Application->run()\n#12 \/var\/www\/owncloud\/console.php(94): OC\\Console\\Application->run()\n#13 \/var\/www\/owncloud\/occ(11): require_once('\/var\/www\/ownclo...')\n#14 {main}","File":"\/var\/www\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":95}
Dec 13 22:45:01 wmssfs00.wmssfm.net ownCloud[2474829]: [uCMtaQniiHCdq1lPAdgd][][--][core][--][--] Exception: {"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Activity\\BackgroundJob\\EmailNotification! Class OCA\\Activity\\BackgroundJob\\EmailNotification does not exist","Code":0,"Trace":"#0 \/var\/www\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(109): OC\\AppFramework\\Utility\\SimpleContainer->resolve()\n#1 \/var\/www\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#2 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(282): OC\\ServerContainer->query()\n#3 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(218): OC\\BackgroundJob\\JobList->buildJob()\n#4 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(222): OC\\BackgroundJob\\JobList->getNext()\n#5 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(222): OC\\BackgroundJob\\JobList->getNext()\n#6 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(222): OC\\BackgroundJob\\JobList->getNext()\n#7 \/var\/www\/owncloud\/core\/Command\/System\/Cron.php(115): OC\\BackgroundJob\\JobList->getNext()\n#8 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Command\/Command.php(298): OC\\Core\\Command\\System\\Cron->execute()\n#9 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(1040): Symfony\\Component\\Console\\Command\\Command->run()\n#10 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(301): Symfony\\Component\\Console\\Application->doRunCommand()\n#11 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(171): Symfony\\Component\\Console\\Application->doRun()\n#12 \/var\/www\/owncloud\/lib\/private\/Console\/Application.php(165): Symfony\\Component\\Console\\Application->run()\n#13 \/var\/www\/owncloud\/console.php(94): OC\\Console\\Application->run()\n#14 \/var\/www\/owncloud\/occ(11): require_once('\/var\/www\/ownclo...')\n#15 {main}","File":"\/var\/www\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":95}
Dec 13 22:45:01 wmssfs00.wmssfm.net ownCloud[2474829]: [uCMtaQniiHCdq1lPAdgd][][--][core][--][--] Exception: {"Exception":"OCP\\AppFramework\\QueryException","Message":"Could not resolve OCA\\Activity\\BackgroundJob\\ExpireActivities! Class OCA\\Activity\\BackgroundJob\\ExpireActivities does not exist","Code":0,"Trace":"#0 \/var\/www\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php(109): OC\\AppFramework\\Utility\\SimpleContainer->resolve()\n#1 \/var\/www\/owncloud\/lib\/private\/ServerContainer.php(86): OC\\AppFramework\\Utility\\SimpleContainer->query()\n#2 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(282): OC\\ServerContainer->query()\n#3 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(218): OC\\BackgroundJob\\JobList->buildJob()\n#4 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(222): OC\\BackgroundJob\\JobList->getNext()\n#5 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(222): OC\\BackgroundJob\\JobList->getNext()\n#6 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(222): OC\\BackgroundJob\\JobList->getNext()\n#7 \/var\/www\/owncloud\/lib\/private\/BackgroundJob\/JobList.php(222): OC\\BackgroundJob\\JobList->getNext()\n#8 \/var\/www\/owncloud\/core\/Command\/System\/Cron.php(115): OC\\BackgroundJob\\JobList->getNext()\n#9 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Command\/Command.php(298): OC\\Core\\Command\\System\\Cron->execute()\n#10 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(1040): Symfony\\Component\\Console\\Command\\Command->run()\n#11 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(301): Symfony\\Component\\Console\\Application->doRunCommand()\n#12 \/var\/www\/owncloud\/lib\/composer\/symfony\/console\/Application.php(171): Symfony\\Component\\Console\\Application->doRun()\n#13 \/var\/www\/owncloud\/lib\/private\/Console\/Application.php(165): Symfony\\Component\\Console\\Application->run()\n#14 \/var\/www\/owncloud\/console.php(94): OC\\Console\\Application->run()\n#15 \/var\/www\/owncloud\/occ(11): require_once('\/var\/www\/ownclo...')\n#16 {main}","File":"\/var\/www\/owncloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","Line":95}
Dec 13 22:45:03 wmssfs00.wmssfm.net ownCloud[2474829]: [uCMtaQniiHCdq1lPAdgd][][--][cron][--][--] Invalidating tokens older than 2024-12-14T03:25:03+00:00
Dec 13 22:45:03 wmssfs00.wmssfm.net ownCloud[2474829]: [uCMtaQniiHCdq1lPAdgd][][--][no app in context][--][--] 0 orphaned previews deleted
Dec 13 23:00:01 wmssfs00.wmssfm.net CRON[2477195]: (www-data) CMD (/usr/bin/php /var/www/owncloud/occ system:cron >/dev/null 2>&1)
Dec 13 23:00:02 wmssfs00.wmssfm.net ownCloud[2477196]: [tNrDenzdZHDted56IfgI][][--][cron][--][--] Invalidating tokens older than 2024-12-14T03:40:02+00:00
Dec 13 23:15:01 wmssfs00.wmssfm.net CRON[2479651]: (www-data) CMD (/usr/bin/php /var/www/owncloud/occ system:cron >/dev/null 2>&1)
Dec 13 23:15:01 wmssfs00.wmssfm.net ownCloud[2479652]: [F0fcJWLF5KHX1kT1GZgm][][--][cron][--][--] Invalidating tokens older than 2024-12-14T03:55:01+00:00
Dec 13 23:30:01 wmssfs00.wmssfm.net CRON[2482064]: (www-data) CMD (/usr/bin/php /var/www/owncloud/occ system:cron >/dev/null 2>&1)
Dec 13 23:30:02 wmssfs00.wmssfm.net ownCloud[2482065]: [sl9vANn1fkZYn9a55dSm][][--][cron][--][--] Invalidating tokens older than 2024-12-14T04:10:02+00:00
Dec 13 23:45:01 wmssfs00.wmssfm.net CRON[2484518]: (www-data) CMD (/usr/bin/php /var/www/owncloud/occ system:cron >/dev/null 2>&1)
Dec 13 23:45:01 wmssfs00.wmssfm.net ownCloud[2484519]: [WeIJhu1TWZb1fJFd80uL][][--][cron][--][--] Invalidating tokens older than 2024-12-14T04:25:01+00:00

Browser log

Unable to obtain from Firefox - it does not log, apparently.

Webserver configurations

owncloud.conf

<VirtualHost *:80>
    ServerName ingest.wmssfm.com
    ServerAlias owncloud.wmssfm.com

    Alias /.well-known/acme-challenge/ /var/www/letsencrypt/.well-known/acme-challenge/
    <directory /var/www/letsencrypt/.well-known/acme-challenge/>
       AllowOverride None
       ForceType text/plain
       RedirectMatch 404 "^(?!/\.well-known/acme-challenge/[\w-]{43}$)"
    </directory>

    Alias / "/var/www/owncloud"
    <Directory /var/www/owncloud>
       Options +FollowSymlinks
       AllowOverride All
       Require all granted
       <IfModule mod_dav.c>
            Dav off
       </IfModule>
    </Directory>

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
    RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
</VirtualHost>

owncloud-ssl.conf

<VirtualHost *:443>
    SSLEngine on
    ServerName ingest.wmssfm.com
    ServerAlias owncloud.wmssfm.com
    ServerAdmin <redacted>
    
    Alias / "/var/www/owncloud"
    <Directory /var/www/owncloud>
       Options +FollowSymlinks
       AllowOverride All
       Require all granted
       <IfModule mod_dav.c>
            Dav off
       </IfModule>
    </Directory>

    # SSL Let's Encrypt
    Include /etc/apache2/ssl-rules/ingest.wmssfm.com

    # enable HTTP/2, if available
    Protocols h2 http/1.1

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

# intermediate configuration
SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite          A20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
SSLHonorCipherOrder     off
SSLSessionTickets       off
SSLUseStapling on
SSLStaplingCache         shmcb:/tmp/stapling_cache(2097152)

/etc/apache2/ssl-rules/ingest.wmssfm.com

# Eases letsencrypt initial cert issuing

SSLEngine on
SSLCertificateChainFile  /etc/letsencrypt/live/ingest.wmssfm.com/fullchain.pem
SSLCertificateKeyFile    /etc/letsencrypt/live/ingest.wmssfm.com/privkey.pem
SSLCertificateFile       /etc/letsencrypt/live/ingest.wmssfm.com/cert.pem

(edited to redact e-mail address and add ssl rule)

Hey,

i’m not sure but i think it could be possible that this is not an ownCloud specific question at all and then i think it could be possible that you need to consult a support forum for the used web server. I think this is because ownCloud is from what i know a web application written in PHP and i think thus it could be possible that the problem needs to be researched and solved in the web server configuration :slightly_frowning_face: