Error when loading [HOST]/index.php/apps/files/?dir=/

Steps to reproduce

  1. Log into owncloud
  2. Click on “All Files”

Expected behaviour

Files and directories in / should show up

Actual behaviour

No files/directories visible (infinite loading screen)

Server configuration

Operating system: Red Hat Enterprise Linux Server release 7.2 (Maipo)

Web server: Apache/2.4.6

Database: 5.5.44-MariaDB MariaDB Server

PHP version: PHP 5.5.38

ownCloud version: (see ownCloud admin page) 9.1.2

Updated from an older ownCloud or fresh install: fresh install

Where did you install ownCloud from: I don’t know (no information from previous sysadmin)

Signing status (ownCloud 9.0 and above): Apologize me, I don’t understand with this

The content of config/config.php:

{
    "system": {
        "updatechecker": false,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "10.14.99.249",
            "aopdrive.component.astra.co.id"
        ],
        "datadirectory": "\/OCdata",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbtype": "mysql",
        "version": "9.1.2.5",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "instanceid": "oc32eklbwwmh",
        "theme": "aopdrive2",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Memcached",
        "memcached_servers": [
            [
                "localhost",
                11211
            ],
            [
                "10.14.99.249",
                11211
            ]
        ],
        "ldapIgnoreNamingRules": false,
        "mail_smtpmode": "smtp",
        "mail_from_address": "Aopdrive",
        "mail_domain": "component.astra.co.id",
        "mail_smtphost": "10.14.99.209",
        "mail_smtpport": "25",
        "maintenance": false,
        "loglevel": 3
    }
}

List of activated apps:

Enabled:
  - activity: 2.3.2
  - comments: 0.3.0
  - dav: 0.2.7
  - federatedfilesharing: 0.3.0
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.6.0
  - files_pdfviewer: 0.8.1
  - files_sharing: 0.10.0
  - files_texteditor: 2.1
  - files_trashbin: 0.9.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 15.0.0
  - notifications: 0.3.0
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - templateeditor: 0.1
  - updatenotification: 0.2.1
  - user_ldap: 0.9.0
Disabled:
  - calendar
  - encryption
  - external
  - files_antivirus
  - theme_switcher
  - user_external

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local

Are you using encryption: no

Are you using an external user-backend, if yes which one: LDAP

Client configuration

Browser: Google Chrome Version 86.0.4240.111

Operating system: Microsoft Windows 10 Pro

Web server error log

[Mon Oct 26 03:27:05.033564 2020] [auth_digest:notice] [pid 8565] AH01757: generating secret for digest authentication ...
[Mon Oct 26 03:27:05.035235 2020] [lbmethod_heartbeat:notice] [pid 8565] AH02282: No slotmem from mod_heartmonitor
[Mon Oct 26 03:27:05.186896 2020] [mpm_prefork:notice] [pid 8565] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.5.38 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Mon Oct 26 03:27:05.186910 2020] [core:notice] [pid 8565] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 27 16:17:21.481428 2020] [mpm_prefork:notice] [pid 8565] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 27 16:17:23.672157 2020] [suexec:notice] [pid 4679] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 27 16:17:23.704703 2020] [auth_digest:notice] [pid 4679] AH01757: generating secret for digest authentication ...
[Tue Oct 27 16:17:23.705421 2020] [lbmethod_heartbeat:notice] [pid 4679] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 27 16:17:23.844201 2020] [mpm_prefork:notice] [pid 4679] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.5.38 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Tue Oct 27 16:17:23.844228 2020] [core:notice] [pid 4679] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
zend_mm_heap corrupted
zend_mm_heap corrupted
[Tue Oct 27 17:15:13.115162 2020] [mpm_prefork:notice] [pid 4679] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 27 17:16:20.240630 2020] [suexec:notice] [pid 8146] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 27 17:16:20.261066 2020] [auth_digest:notice] [pid 8146] AH01757: generating secret for digest authentication ...
[Tue Oct 27 17:16:20.261544 2020] [lbmethod_heartbeat:notice] [pid 8146] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 27 17:16:20.290621 2020] [mpm_prefork:notice] [pid 8146] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.5.38 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Tue Oct 27 17:16:20.290650 2020] [core:notice] [pid 8146] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 27 17:37:13.871696 2020] [mpm_prefork:notice] [pid 8146] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 27 17:42:06.526973 2020] [suexec:notice] [pid 9487] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 27 17:42:06.548064 2020] [auth_digest:notice] [pid 9487] AH01757: generating secret for digest authentication ...
[Tue Oct 27 17:42:06.548536 2020] [lbmethod_heartbeat:notice] [pid 9487] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 27 17:42:06.581216 2020] [mpm_prefork:notice] [pid 9487] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.5.38 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Tue Oct 27 17:42:06.581244 2020] [core:notice] [pid 9487] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 27 18:17:04.799359 2020] [mpm_prefork:notice] [pid 9487] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 27 18:21:18.418630 2020] [suexec:notice] [pid 1990] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 27 18:21:18.440570 2020] [auth_digest:notice] [pid 1990] AH01757: generating secret for digest authentication ...
[Tue Oct 27 18:21:18.441051 2020] [lbmethod_heartbeat:notice] [pid 1990] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 27 18:21:18.669915 2020] [mpm_prefork:notice] [pid 1990] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.5.38 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Tue Oct 27 18:21:18.669949 2020] [core:notice] [pid 1990] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Oct 27 18:23:11.628332 2020] [mpm_prefork:notice] [pid 1990] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Oct 27 18:23:12.731858 2020] [suexec:notice] [pid 3340] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Oct 27 18:23:12.752035 2020] [auth_digest:notice] [pid 3340] AH01757: generating secret for digest authentication ...
[Tue Oct 27 18:23:12.752503 2020] [lbmethod_heartbeat:notice] [pid 3340] AH02282: No slotmem from mod_heartmonitor
[Tue Oct 27 18:23:12.780228 2020] [mpm_prefork:notice] [pid 3340] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.5.38 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Tue Oct 27 18:23:12.780250 2020] [core:notice] [pid 3340] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

ownCloud log (data/owncloud.log)

Exception: {"Exception":"OC\\User\\NoUserException","Message":"Backends provided no user object for 19F9DE25-08E8-457C-8B88-B711D4F50AD9","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php(99): OC\\Files\\Filesystem::initMountPoints('19F9DE25-08E8-4...')\n#1 \/var\/www\/html\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php(448): OC\\Files\\Storage\\Shared->init()\n#2 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(485): OC\\Files\\Storage\\Shared->getWrapperStorage()\n#3 \/var\/www\/html\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php(122): OC\\Files\\Storage\\Wrapper\\Wrapper->instanceOfStorage('\\\\OC\\\\Files\\\\Stora...')\n#4 \/var\/www\/html\/owncloud\/lib\/private\/legacy\/util.php(148): OC\\Files\\Storage\\Shared->instanceOfStorage('\\\\OC\\\\Files\\\\Stora...')\n#5 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Storage\/StorageFactory.php(100): OC_Util::{closure}('\/15C2BB26-D0D3-...', Object(OC\\Files\\Storage\\Shared), Object(OCA\\Files_Sharing\\SharedMount))\n#6 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Storage\/StorageFactory.php(82): OC\\Files\\Storage\\StorageFactory->wrap(Object(OCA\\Files_Sharing\\SharedMount), Object(OC\\Files\\Storage\\Shared))\n#7 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Mount\/MountPoint.php(137): OC\\Files\\Storage\\StorageFactory->getInstance(Object(OCA\\Files_Sharing\\SharedMount), '\\\\OC\\\\Files\\\\Stora...', Array)\n#8 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Mount\/MountPoint.php(160): OC\\Files\\Mount\\MountPoint->createStorage()\n#9 \/var\/www\/html\/owncloud\/lib\/private\/Files\/View.php(1356): OC\\Files\\Mount\\MountPoint->getStorage()\n#10 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Node\/Root.php(180): OC\\Files\\View->getFileInfo('\/15C2BB26-D0D3-...')\n#11 \/var\/www\/html\/owncloud\/lib\/private\/AvatarManager.php(97): OC\\Files\\Node\\Root->get('\/15C2BB26-D0D3-...')\n#12 \/var\/www\/html\/owncloud\/settings\/Controller\/UsersController.php(182): OC\\AvatarManager->getAvatar('15C2BB26-D0D3-4...')\n#13 \/var\/www\/html\/owncloud\/settings\/Controller\/UsersController.php(255): OC\\Settings\\Controller\\UsersController->formatUserForIndex(Object(OC\\User\\User))\n#14 [internal function]: OC\\Settings\\Controller\\UsersController->index(50, 10, '', '', '')\n#15 \/var\/www\/html\/owncloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(159): call_user_func_array(Array, Array)\n#16 \/var\/www\/html\/owncloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(89): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OC\\Settings\\Controller\\UsersController), 'index')\n#17 \/var\/www\/html\/owncloud\/lib\/private\/AppFramework\/App.php(99): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Settings\\Controller\\UsersController), 'index')\n#18 \/var\/www\/html\/owncloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(46): OC\\AppFramework\\App::main('UsersController', 'index', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#19 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#20 \/var\/www\/html\/owncloud\/lib\/private\/Route\/Router.php(280): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#21 \/var\/www\/html\/owncloud\/lib\/base.php(891): OC\\Route\\Router->match('\/settings\/users...')\n#22 \/var\/www\/html\/owncloud\/index.php(54): OC::handleRequest()\n#23 {main}","File":"\/var\/www\/html\/owncloud\/lib\/private\/Files\/Filesystem.php","Line":410}	2020-10-28T02:57:09+00:00
Error	files	Backends provided no user object for 19F9DE25-08E8-457C-8B88-B711D4F50AD9	2020-10-28T02:57:09+00:00
Error	no app in context	Exception: {"Exception":"OC\\User\\NoUserException","Message":"Backends provided no user object for BB806744-36FB-4F82-9098-126102DA0568","Code":0,"Trace":"#0 \/var\/www\/html\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php(99): OC\\Files\\Filesystem::initMountPoints('BB806744-36FB-4...')\n#1 \/var\/www\/html\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php(448): OC\\Files\\Storage\\Shared->init()\n#2 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(485): OC\\Files\\Storage\\Shared->getWrapperStorage()\n#3 \/var\/www\/html\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php(122): OC\\Files\\Storage\\Wrapper\\Wrapper->instanceOfStorage('\\\\OC\\\\Files\\\\Stora...')\n#4 \/var\/www\/html\/owncloud\/lib\/private\/legacy\/util.php(148): OC\\Files\\Storage\\Shared->instanceOfStorage('\\\\OC\\\\Files\\\\Stora...')\n#5 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Storage\/StorageFactory.php(100): OC_Util::{closure}('\/15C2BB26-D0D3-...', Object(OC\\Files\\Storage\\Shared), Object(OCA\\Files_Sharing\\SharedMount))\n#6 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Storage\/StorageFactory.php(82): OC\\Files\\Storage\\StorageFactory->wrap(Object(OCA\\Files_Sharing\\SharedMount), Object(OC\\Files\\Storage\\Shared))\n#7 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Mount\/MountPoint.php(137): OC\\Files\\Storage\\StorageFactory->getInstance(Object(OCA\\Files_Sharing\\SharedMount), '\\\\OC\\\\Files\\\\Stora...', Array)\n#8 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Mount\/MountPoint.php(160): OC\\Files\\Mount\\MountPoint->createStorage()\n#9 \/var\/www\/html\/owncloud\/lib\/private\/Files\/View.php(1356): OC\\Files\\Mount\\MountPoint->getStorage()\n#10 \/var\/www\/html\/owncloud\/lib\/private\/Files\/Node\/Root.php(180): OC\\Files\\View->getFileInfo('\/15C2BB26-D0D3-...')\n#11 \/var\/www\/html\/owncloud\/lib\/private\/AvatarManager.php(97): OC\\Files\\Node\\Root->get('\/15C2BB26-D0D3-...')\n#12 \/var\/www\/html\/owncloud\/settings\/Controller\/UsersController.php(182): OC\\AvatarManager->getAvatar('15C2BB26-D0D3-4...')\n#13 \/var\/www\/html\/owncloud\/settings\/Controller\/UsersController.php(255): OC\\Settings\\Controller\\UsersController->formatUserForIndex(Object(OC\\User\\User))\n#14 [internal function]: OC\\Settings\\Controller\\UsersController->index(50, 10, '', '', '')\n#15 \/var\/www\/html\/owncloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(159): call_user_func_array(Array, Array)\n#16 \/var\/www\/html\/owncloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(89): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OC\\Settings\\Controller\\UsersController), 'index')\n#17 \/var\/www\/html\/owncloud\/lib\/private\/AppFramework\/App.php(99): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Settings\\Controller\\UsersController), 'index')\n#18 \/var\/www\/html\/owncloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(46): OC\\AppFramework\\App::main('UsersController', 'index', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#19 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#20 \/var\/www\/html\/owncloud\/lib\/private\/Route\/Router.php(280): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#21 \/var\/www\/html\/owncloud\/lib\/base.php(891): OC\\Route\\Router->match('\/settings\/users...')\n#22 \/var\/www\/html\/owncloud\/index.php(54): OC::handleRequest()\n#23 {main}","File":"\/var\/www\/html\/owncloud\/lib\/private\/Files\/Filesystem.php","Line":410}

Browser log

The javascript console log

jquery-migrate.min.js?v=a80323421a1341b4aca0474c54d922f5:2 JQMIGRATE: Migrate is installed, version 1.4.0
client.js?v=a80323421a1341b4aca0474c54d922f5:239 Uncaught (in promise) TypeError: Cannot read property 'substr' of undefined
    at Client._parseFileInfo (client.js?v=a80323421a1341b4aca0474c54d922f5:239)
    at client.js?v=a80323421a1341b4aca0474c54d922f5:347
    at Function._.map._.collect (underscore.js?v=a80323421a1341b4aca0474c54d922f5:172)
    at Client._parseResult (client.js?v=a80323421a1341b4aca0474c54d922f5:346)
    at client.js?v=a80323421a1341b4aca0474c54d922f5:408
_parseFileInfo @ client.js?v=a80323421a1341b4aca0474c54d922f5:239
(anonymous) @ client.js?v=a80323421a1341b4aca0474c54d922f5:347
_.map._.collect @ underscore.js?v=a80323421a1341b4aca0474c54d922f5:172
_parseResult @ client.js?v=a80323421a1341b4aca0474c54d922f5:346
(anonymous) @ client.js?v=a80323421a1341b4aca0474c54d922f5:408
Promise.then (async)
getFolderContents @ client.js?v=a80323421a1341b4aca0474c54d922f5:406
reload @ filelist.js?v=a80323421a1341b4aca0474c54d922f5:1533
changeDirectory @ filelist.js?v=a80323421a1341b4aca0474c54d922f5:1393
_onUrlChanged @ filelist.js?v=a80323421a1341b4aca0474c54d922f5:532
dispatch @ jquery.js:4435
r.handle @ jquery.js:4121
trigger @ jquery.js:4350
a.event.trigger @ jquery-migrate.min.js?v=a80323421a1341b4aca0474c54d922f5:2
(anonymous) @ jquery.js:4901
each @ jquery.js:374
each @ jquery.js:139
trigger @ jquery.js:4900
_onPopState @ app.js?v=a80323421a1341b4aca0474c54d922f5:273
initialize @ app.js?v=a80323421a1341b4aca0474c54d922f5:108
(anonymous) @ app.js?v=a80323421a1341b4aca0474c54d922f5:314
(anonymous) @ underscore.js?v=a80323421a1341b4aca0474c54d922f5:768
setTimeout (async)
_.delay @ underscore.js?v=a80323421a1341b4aca0474c54d922f5:767
executeBound @ underscore.js?v=a80323421a1341b4aca0474c54d922f5:701
bound @ underscore.js?v=a80323421a1341b4aca0474c54d922f5:733
(anonymous) @ app.js?v=a80323421a1341b4aca0474c54d922f5:313
j @ jquery.js:3099
fireWith @ jquery.js:3211
ready @ jquery.js:3417
I @ jquery.js:3433

https://stackoverflow.com/a/32647166 maybe?

If the web server is behaving weirdly, I don’t think ownCloud can do anything

1 Like