App files doesn't show in browser

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version 18.0.4
Operating system Infomaniak web server
Apache version 2.4.34:
PHP version 7.3.17

Hi, I have a problem to display the files and folder on a web browser. It load without problem on the mobile apps, and it appears when you remove index.php from the address line

Is this the first time you’ve seen this error? : No

Steps to replicate it:

  1. Click or reload the files button on the web browser

The output of your Nextcloud log in Admin > Logging:

{"reqId":"XrrmodvRlz983bvhXWah2QAAAAE","level":3,"time":"2020-05-12T18:10:41+00:00","remoteAddr":"213.55.220.228","user":"Maik","app":"deck","method":"PROPFIND","url":"/nextcloud/remote.php/dav/files/Maik/","message":{"Exception":"RuntimeException","Message":"App class OCA\\Deck\\AppInfo\\Application is not setup via query() but directly","Code":0,"Trace":[{"file":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/apps/deck/lib/AppInfo/Application.php","line":67,"function":"__construct","class":"OCP\\AppFramework\\App","type":"->","args":["deck",[]]},{"file":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/apps/deck/appinfo/app.php","line":28,"function":"__construct","class":"OCA\\Deck\\AppInfo\\Application","type":"->","args":[]},{"file":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/lib/private/legacy/app.php","line":266,"args":["/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/apps/deck/appinfo/app.php"],"function":"require_once"},{"file":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/lib/private/legacy/app.php","line":155,"function":"requireAppFile","class":"OC_App","type":"::","args":["deck"]},{"file":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/lib/private/legacy/app.php","line":128,"function":"loadApp","class":"OC_App","type":"::","args":["deck"]},{"file":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/apps/dav/appinfo/app.php","line":36,"function":"loadApps","class":"OC_App","type":"::","args":[["dav"]]},{"file":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/lib/private/legacy/app.php","line":266,"args":["/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/apps/dav/appinfo/app.php"],"function":"require_once"},{"file":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/lib/private/legacy/app.php","line":155,"function":"requireAppFile","class":"OC_App","type":"::","args":["dav"]},{"file":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/lib/private/legacy/app.php","line":128,"function":"loadApp","class":"OC_App","type":"::","args":["dav"]},{"file":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/remote.php","line":150,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem","logging"]]}],"File":"/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/lib/public/AppFramework/App.php","Line":80,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Linux) mirall/2.5.1git (Nextcloud)","version":"18.0.4.2"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => 'www.rivierarehab.ch',
    1 => 'rivierarehab.ch',
  ),
  'datadirectory' => '/home/clients/9bfb091fae10aad2e23d1b8c63ce8c5d/web/nextcloud/.hta456126.data',
  'dbtype' => 'mysql',
  'version' => '18.0.4.2',
  'overwrite.cli.url' => 'https://www.rivierarehab.ch/nextcloud',
  'dbname' => 'app_nextcloud_1',
  'dbhost' => 'myd.infomaniak.com',
  'dbport' => '',
  'dbtableprefix' => 'bgrl_',
  'mysql.utf8mb4' => true,
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'maintenance' => false,
  'default_language' => 'fr',
  'debug' => 'false',
);

The output of your Apache/nginx/system log in /var/log/____:

 [Wed May 13 22:15:04.858475 2020] [pagespeed:warn] [pid 131469:tid 140298042693376] [mod_pagespeed 1.11.33.5-0 @131469] https://www.rivierarehab.ch//,_css,_core,_7681-963e-server.css,qv==88f5840bbc815bd3787d77637e1f2eeb-+index.php,_css,_core,_7681-963e-css-variables.css,qv==88f5840bbc815bd3787d77637e1f2eeb-+apps,_deck,_css,_activity.css+apps,_files_pdfviewer,_css,_style.css+index.php,_css,_notifications,_783c-963e-styles.css,qv==88f5840bbc815bd3787d77637e1f2eeb-+index.php,_css,_core,_7681-963e-results.css,qv==88f5840bbc815bd3787d77637e1f2eeb-+index.php,_css,_contacts,_593e-963e-contacts.css,qv==88f5840bbc815bd3787d77637e1f2eeb-+index.php,_css,_icons,_icons-vars.css,qv==1589308749+index.php,_apps,_theming,_styles,qv==25.pagespeed.cc.slFT0rG3FW.css resource_404_count: not found (404)
[Wed May 13 22:15:04.858306 2020] [pagespeed:warn] [pid 131469:tid 140298042693376] [mod_pagespeed 1.11.33.5-0 @131469] Fetch failed for https://www.rivierarehab.ch//,_css,_core,_7681-963e-server.css,qv==88f5840bbc815bd3787d77637e1f2eeb-+index.php,_css,_core,_7681-963e-css-variables.css,qv==88f5840bbc815bd3787d77637e1f2eeb-+apps,_deck,_css,_activity.css+apps,_files_pdfviewer,_css,_style.css+index.php,_css,_notifications,_783c-963e-styles.css,qv==88f5840bbc815bd3787d77637e1f2eeb-+index.php,_css,_core,_7681-963e-results.css,qv==88f5840bbc815bd3787d77637e1f2eeb-+index.php,_css,_contacts,_593e-963e-contacts.css,qv==88f5840bbc815bd3787d77637e1f2eeb-+index.php,_css,_icons,_icons-vars.css,qv==1589308749+index.php,_apps,_theming,_styles,qv==25.pagespeed.cc.slFT0rG3FW.css, status=404 

Not sure about the pagespeed, can you disable it.

Here was a topic about it and it was said, it wasn’t supported:

Thank you very much!!!

It seems to work, and seems very logical regarding the pagespeed warning :thinking:

I’ll close the post next week, just to have a few days of test.