Files & folder not showing

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:

I have installed nextcloud on cpanel using subdomain in the main account’s subfolder, it’s still running normally and I haven’t changed any configuration, neither the config file nor the php.ini. However, one fine day 2 days ago, the system said: “Your web server is not yet properly set up to allow file synchronization, because the WebDAV interface seems to be broken.” and i can’t sync nor see any files in web browser. Also I see the log :

Hope someone can come across this topic to assist me.

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 (eg, 20.0.5): 23.0.2
Operating system and version (eg, Ubuntu 20.04): Cpanel
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.54
PHP version (eg, 7.4): PHP 7.4 (ea-php74)

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

Error: shell_exec() has been disabled for security reasons at /home/abc/public_html/cloud.abc.vn/apps/serverinfo/lib/OperatingSystems/DefaultOs.php#157
<<closure>>

OC\Log\ErrorHandler::onError(2, "shell_exec( ... s", "/home/viets ... p", 157, { interfaces ... l})

/home/abc/public_html/cloud.abc.vn/apps/serverinfo/lib/OperatingSystems/DefaultOs.php - line 157:

shell_exec("ip -o -6 ad ... '")

/home/abc/public_html/cloud.abc.vn/apps/serverinfo/lib/Os.php - line 141:

OCA\ServerInfo\OperatingSystems\DefaultOs->getNetworkInterfaces()

/home/abc/public_html/cloud.abc.vn/apps/serverinfo/lib/Settings/AdminSettings.php - line 114:

OCA\ServerInfo\Os->getNetworkInterfaces()

/home/abc/public_html/cloud.abc.vn/apps/settings/lib/Controller/CommonSettingsTrait.php - line 129:

OCA\ServerInfo\Settings\AdminSettings->getForm()

/home/abc/public_html/cloud.abc.vn/apps/settings/lib/Controller/AdminSettingsController.php - line 83:

OCA\Settings\Controller\AdminSettingsController->formatSettings([ [ OCA\Serv ... ]])

/home/abc/public_html/cloud.abc.vn/apps/settings/lib/Controller/CommonSettingsTrait.php - line 140:

OCA\Settings\Controller\AdminSettingsController->getSettings("serverinfo")

/home/abc/public_html/cloud.abc.vn/apps/settings/lib/Controller/AdminSettingsController.php - line 68:

OCA\Settings\Controller\AdminSettingsController->getIndexResponse("admin", "serverinfo")

/home/abc/public_html/cloud.abc.vn/lib/private/AppFramework/Http/Dispatcher.php - line 217:

OCA\Settings\Controller\AdminSettingsController->index("serverinfo")

/home/abc/public_html/cloud.abc.vn/lib/private/AppFramework/Http/Dispatcher.php - line 126:

OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "index")

/home/abc/public_html/cloud.abc.vn/lib/private/AppFramework/App.php - line 157:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "index")

/home/abc/public_html/cloud.abc.vn/lib/private/Route/Router.php - line 302:

OC\AppFramework\App::main("OCA\\Settin ... r", "index", OC\AppFramew ... {}, { section: " ... "})

/home/abc/public_html/cloud.abc.vn/lib/base.php - line 1006:

OC\Route\Router->match("/settings/admin/serverinfo")

/home/abc/public_html/cloud.abc.vn/index.php - line 36:

OC::handleRequest()

Hope someone can come across this topic to assist me.

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

<?php
$CONFIG = array (
  'instanceid' => 'oce2dnsgelt0',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' => 
  array (
    0 => 'cloud.abc.vn',
  ),
  'datadirectory' => '/home/abc/public_html/cloud.abc.vn/data',
  'dbtype' => 'mysql',
  'version' => '23.0.2.1',
  'overwrite.cli.url' => 'https://cloud.abc.vn',
  'dbname' => '',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' => 
  array (
    0 => '',
    1 => 'admin',
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
    0 => 'user',
  ),
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_from_address' => 'admin',
  'mail_domain' => 'cloud.abc.vn',
  'mail_smtphost' => 'cloud.abc.vn',
  'mail_smtpport' => '465',
  'maintenance' => false,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'admin@cloud.abc.vn',
  'mail_smtppassword' => '',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'updater.secret' => '',
);

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

Cpanel i don't have file

Cpanel i don’t have file


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

Cpanel i don't have file