Lost owncloud on upgrade 10.4.0 to 10.5.0 stable

Hello.
This is the first time in a very long time I have had to really get under the hood of my owncloud install. I am a bit rusty so I ask that you please be patient with me.

I recently upgraded from 10.3.0 to 10.4.0 with no issues. However the next jump to 10.5.0 failed and I got an error that my PHP version was incorrect. So I switched to PHP72 and re-ran the upgrade via OCC as I lost GUI interface. The upgrade went successfully via OCC. OwnCloud should be using PHP72 as its the only PHP installed now on the server. I created an info.php to validate this as well. When I go to my owncloud instance I see a blank page with no errors. Apache error and access logs don’t give me much feedback. I can confirm the apache test page and info.php are displaying.

I am wondering if I should remove apps? I know in the past this was something that would cause blank screen issues. If that is the case, is it same to just remove the app from the app directory?

Thanks in advance

-James

Steps to reproduce.

1. GUI upgrade tool from 10.3.0 to 10.0.4 to 10.5.0 (error php version to low)
2. Upgrade PHP1 to PHP72
3. 

Expected behaviour

Main login page / index.php should load our landing page.

Actual behaviour

Owncloud opens a blank page. I do not see any error in httpd error.log, accee.log or messages. No new DB logs. (Its been a long time something has not gone right with this install so I am a little rusty as to where else logs are going. Any direction on where else I can look?)

Server configuration

Operating system:
CentOS Linux 7
Web server:
Apache (httpd)
Database:
mariadb
PHP version:
7.2
ownCloud version: (see ownCloud admin page)
10.5.0.10
Updated from an older ownCloud or fresh install:
Update from working version 10.4.1.3

Where did you install ownCloud from:
Owncloud source

Signing status (ownCloud 9.0 and above):
not sure

No GUI access index.php/settings/integrity/failed returns blank page

conf/conf.php

``` **The content of config/config.php:**
{
    "system": {
        "updatechecker": false,
        "instanceid": "oc9vjdi6k44o",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "removed.removed1.com",
            "removed.removed2.com"
        ],
        "datadirectory": "\/data01\/owncloud_data01",
        "overwrite.cli.url": "http:\/\/removed.removed2.com\/owncloud",
        "dbtype": "mysql",
        "version": "10.5.0.10",
        "dbname": "owncloudprd",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "theme": "",
        "loglevel": 0,
        "maintenance": false,
        "singleuser": false,
        "debug": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\APCu",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}


List of activated apps:


Enabled:
  - activity: 2.6.0
  - announcementcenter: 1.2.1
  - audioplayer: 2.8.4
  - bookmarks: 0.10.6
  - checksum: 0.3.5
  - comments: 0.3.0
  - configreport: 0.2.0
  - contacts: 1.5.5
  - customgroups: 0.6.0
  - dav: 0.6.0
  - diagnostics: 0.1.4
  - federatedfilesharing: 0.5.0
  - federation: 0.1.0
  - files: 1.5.2
  - files_external: 0.7.1
  - files_external_dropbox: 1.2.0
  - files_mediaviewer: 1.0.4
  - files_pdfviewer: 0.11.2
  - files_sharing: 0.13.0
  - files_texteditor: 2.3.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - firstrunwizard: 1.2.0
  - gallery: 16.1.1
  - guests: 0.9.0
  - impersonate: 0.5.0
  - market: 0.6.0
  - music: 0.17.3
  - notifications: 0.5.2
  - onlyoffice: 4.2.1
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - tasks: 0.9.7
  - twofactor_totp: 0.7.1
  - updatenotification: 0.2.1
Disabled:
  - calendar
  - duo
  - encryption
  - external
  - files_clipboard
  - phonetrack
  - user_external
  - xmas
  - zimbradrive

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

Are you using encryption: yes/no

No

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


### Client configuration

**Browser:**
```Chrome, Safari, Firefox```
**Operating system:**
``` OSX, Windows ```
### Logs

Web server error log

[Sat Feb 27 06:58:16.033767 2021] [mpm_prefork:notice] [pid 12390] AH00170: caught SIGWINCH, shutting down gracefully
[Sat Feb 27 06:59:43.157018 2021] [suexec:notice] [pid 1546] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 27 06:59:43.201583 2021] [lbmethod_heartbeat:notice] [pid 1546] AH02282: No slotmem from mod_heartmonitor
[Sat Feb 27 06:59:43.311040 2021] [mpm_prefork:notice] [pid 1546] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34 configured -- resuming normal operations
[Sat Feb 27 06:59:43.311086 2021] [core:notice] [pid 1546] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sat Feb 27 07:03:23.700291 2021] [mpm_prefork:notice] [pid 1546] AH00170: caught SIGWINCH, shutting down gracefully
[Sat Feb 27 07:03:24.812149 2021] [suexec:notice] [pid 4396] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 27 07:03:24.848437 2021] [lbmethod_heartbeat:notice] [pid 4396] AH02282: No slotmem from mod_heartmonitor
[Sat Feb 27 07:03:24.865780 2021] [mpm_prefork:notice] [pid 4396] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34 configured -- resuming normal operations
[Sat Feb 27 07:03:24.865816 2021] [core:notice] [pid 4396] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND


#### ownCloud log (data/owncloud.log)
\\/owncloud\\\/occ(11): require_once('\\\/var\\\/www\\\/html\\\/o...')\\n#25 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/App\\\/InfoParser.php\",\"Line\":41}"}
{"reqId":"2tMTOb2MNtW5qiWbJw7L","level":3,"time":"2021-02-27T11:35:02+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"--","url":"--","message":"Exception: {\"Exception\":\"OCP\\\\App\\\\AppNotFoundException\",\"Message\":\" does not exist\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/App\\\/AppManager.php(482): OC\\\\App\\\\InfoParser->parse(false)\\n#1 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/App\\\/AppManager.php(771): OC\\\\App\\\\AppManager->getAppInfoByPath('\\\/var\\\/www\\\/html\\\/o...')\\n#2 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/App\\\/AppManager.php(712): OC\\\\App\\\\AppManager->getAppVersionByPath('\\\/var\\\/www\\\/html\\\/o...')\\n#3 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/App\\\/AppManager.php(654): OC\\\\App\\\\AppManager->findAppInDirectories('templateeditor')\\n#4 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/App\\\/AppManager.php(432): OC\\\\App\\\\AppManager->getAppPath('templateeditor')\\n#5 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/market\\\/lib\\\/MarketService.php(119): OC\\\\App\\\\AppManager->getAppInfo('templateeditor')\\n#6 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/market\\\/lib\\\/MarketService.php(308): OCA\\\\Market\\\\MarketService->getInstalledAppInfo('updatenotificat...')\\n#7 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/market\\\/lib\\\/Listener.php(35): OCA\\\\Market\\\\MarketService->getAvailableUpdateVersions('updatenotificat...')\\n#8 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/market\\\/lib\\\/Application.php(52): OCA\\\\Market\\\\Listener->upgradeAppStoreApp('updatenotificat...', false)\\n#9 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/event-dispatcher\\\/EventDispatcher.php(264): OCA\\\\Market\\\\Application->OCA\\\\Market\\\\{closure}(*** sensitive parameters replaced ***)\\n#10 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/event-dispatcher\\\/EventDispatcher.php(239): Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher->doDispatch(Array, 'OCP\\\\\\\\Migration\\\\\\\\I...', Object(Symfony\\\\Component\\\\EventDispatcher\\\\GenericEvent))\\n#11 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/event-dispatcher\\\/EventDispatcher.php(73): Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher->callListeners(Array, 'OCP\\\\\\\\Migration\\\\\\\\I...', Object(Symfony\\\\Component\\\\EventDispatcher\\\\GenericEvent))\\n#12 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Repair\\\/Apps.php(248): Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher->dispatch(Object(Symfony\\\\Component\\\\EventDispatcher\\\\GenericEvent), 'OCP\\\\\\\\Migration\\\\\\\\I...')\\n#13 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Repair\\\/Apps.php(191): OC\\\\Repair\\\\Apps->getAppsFromMarket(Object(OC\\\\Repair), Array, 'upgradeAppStore...')\\n#14 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Repair.php(90): OC\\\\Repair\\\\Apps->run(Object(OC\\\\Repair))\\n#15 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Updater.php(219): OC\\\\Repair->run()\\n#16 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Updater.php(111): OC\\\\Updater->checkAppsCompatibility()\\n#17 \\\/var\\\/www\\\/html\\\/owncloud\\\/core\\\/Command\\\/Upgrade.php(261): OC\\\\Updater->upgrade()\\n#18 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Command\\\/Command.php(255): OC\\\\Core\\\\Command\\\\Upgrade->execute(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#19 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(1000): Symfony\\\\Component\\\\Console\\\\Command\\\\Command->run(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#20 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(271): Symfony\\\\Component\\\\Console\\\\Application->doRunCommand(Object(OC\\\\Core\\\\Command\\\\Upgrade), Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#21 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/composer\\\/symfony\\\/console\\\/Application.php(147): Symfony\\\\Component\\\\Console\\\\Application->doRun(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#22 \\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/Console\\\/Application.php(165): Symfony\\\\Component\\\\Console\\\\Application->run(Object(Symfony\\\\Component\\\\Console\\\\Input\\\\ArgvInput), Object(Symfony\\\\Component\\\\Console\\\\Output\\\\ConsoleOutput))\\n#23 \\\/var\\\/www\\\/html\\\/owncloud\\\/console.php(116): OC\\\\Console\\\\Application->run()\\n#24 \\\/var\\\/www\\\/html\\\/owncloud\\\/occ(11): require_once('\\\/var\\\/www\\\/html\\\/o...')\\n#25 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/lib\\\/private\\\/App\\\/InfoParser.php\",\"Line\":41}"}
{"reqId":"2tMTOb2MNtW5qiWbJw7L","level":0,"time":"2021-02-27T11:35:02+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: starting 20200610110817 from app core"}
{"reqId":"2tMTOb2MNtW5qiWbJw7L","level":0,"time":"2021-02-27T11:35:02+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: completed 20200610110817 from app core"}
{"reqId":"2tMTOb2MNtW5qiWbJw7L","level":0,"time":"2021-02-27T11:35:02+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: starting 20200114181454 from app dav"}
{"reqId":"2tMTOb2MNtW5qiWbJw7L","level":0,"time":"2021-02-27T11:35:03+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: completed 20200114181454 from app dav"}
{"reqId":"2tMTOb2MNtW5qiWbJw7L","level":0,"time":"2021-02-27T11:35:03+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: starting 20200427142541 from app dav"}
{"reqId":"2tMTOb2MNtW5qiWbJw7L","level":0,"time":"2021-02-27T11:35:03+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: completed 20200427142541 from app dav"}
{"reqId":"2tMTOb2MNtW5qiWbJw7L","level":0,"time":"2021-02-27T11:35:03+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: starting 20200504211654 from app files_sharing"}
{"reqId":"2tMTOb2MNtW5qiWbJw7L","level":0,"time":"2021-02-27T11:35:04+00:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: completed 20200504211654 from app files_sharing"}
{"reqId":"YEr2idkw1107EES18RNR","level":0,"time":"2021-02-27T11:36:31+00:00","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for local cache"}
{"reqId":"YEr2idkw1107EES18RNR","level":0,"time":"2021-02-27T11:36:31+00:00","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache"}
{"reqId":"JkyK2DgaTji3KlEW112Q","level":0,"time":"2021-02-27T12:19:16+00:00","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for local cache"}
{"reqId":"JkyK2DgaTji3KlEW112Q","level":0,"time":"2021-02-27T12:19:16+00:00","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache"}
{"reqId":"ufR0D0Mng75pMBK8cCUY","level":0,"time":"2021-02-27T12:19:32+00:00","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for local cache"}
{"reqId":"ufR0D0Mng75pMBK8cCUY","level":0,"time":"2021-02-27T12:19:32+00:00","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache"}
{"reqId":"383qcfTAfMSZxAOrpTPB","level":0,"time":"2021-02-27T12:22:17+00:00","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for local cache"}
{"reqId":"383qcfTAfMSZxAOrpTPB","level":0,"time":"2021-02-27T12:22:17+00:00","remoteAddr":"","user":"--","app":"cli","method":"--","url":"--","message":"Memcache \\OC\\Memcache\\APCu not available for distributed cache"}
GET
	https://removed.removed2.com/favicon.ico
Status404
Not Found
VersionHTTP/1.1
Transferred520 B (209 B size)
Referrer Policystrict-origin-when-cross-origin

adding detail:

Status500
Internal Server Error
VersionHTTP/1.0
Transferred305 B (0 B size)
Referrer Policyno-referrer-when-downgrade

You need to install apcu for the specific php version. In addition, double-check that all the php-related packages that ownCloud needs have been updated to be used with your updated php version.

2 Likes

Thanks friend! I have some time today to take a look at your suggestion. I will report back what I find.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.