Hi there!
I installed Nextcloud on a shared server on o2switch. I heard they don’t allow Webdav but I thought it wouldn’t be a problem cause I don’t use this. I only use the web interface.
Once installed the newest version without any problem, I can’t see any files (“Nothing in here”) and “Add” button is greyed.
In the parameters I have this caution: “Your web server is not yet properly configured for file synchronization because the WebDAV interface seems not to work.”
Is there a way to not use Webdav? Or something else to see the files and folders?
Nextcloud version : 28
PHP version : 8.1
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Login
- App Files
- “Nothing in here” + “Add” button greyed
The output of your Nextcloud log in Admin > Logging:
{
"reqId": "ZcJaWzPhSWKQWrrqkMq0tAAAAMQ",
"level": 3,
"time": "2024-02-06T16:12:11+00:00",
"remoteAddr": "XX.XXX.XXX.XX",
"user": "USER",
"app": "PHP",
"method": "GET",
"url": "/ocs/v2.php/apps/notifications/api/v2/notifications",
"message": "include(): Failed opening '/home/USER/public_html/apps/dav/composer/composer/../../lib/Connector/Sabre/Principal.php' for inclusion (include_path='/home/USER/public_html/3rdparty/pear/archive_tar:/home/USER/public_html/3rdparty/pear/console_getopt:/home/USER/public_html/3rdparty/pear/pear-core-minimal/src:/home/USER/public_html/3rdparty/pear/pear_exception:/home/USER/public_html/apps') at /home/USER/public_html/lib/composer/composer/ClassLoader.php#576",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0",
"version": "28.0.2.5",
"data": {
"app": "PHP"
}
}
{
"reqId": "ZcJaWzPhSWKQWrrqkMq0tAAAAMQ",
"level": 3,
"time": "2024-02-06T16:12:11+00:00",
"remoteAddr": "XX.XXX.XXX.XX",
"user": "USER",
"app": "no app in context",
"method": "GET",
"url": "/ocs/v2.php/apps/notifications/api/v2/notifications",
"message": "Could not boot dav: Could not resolve hm! Class \"hm\" does not exist",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0",
"version": "28.0.2.5",
"exception": {
"Exception": "OC\\AppFramework\\Utility\\QueryNotFoundException",
"Message": "Could not resolve hm! Class \"hm\" does not exist",
"Code": 0,
"Trace": [
{
"file": "/home/USER/public_html/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 146,
"function": "resolve",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"hm"
]
},
{
"file": "/home/USER/public_html/lib/private/ServerContainer.php",
"line": 173,
"function": "query",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"hm",
true
]
},
{
"file": "/home/USER/public_html/lib/private/AppFramework/DependencyInjection/DIContainer.php",
"line": 443,
"function": "query",
"class": "OC\\ServerContainer",
"type": "->",
"args": [
"hm",
true
]
},
{
"file": "/home/USER/public_html/lib/private/AppFramework/Utility/SimpleContainer.php",
"line": 64,
"function": "query",
"class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
"type": "->",
"args": [
"hm"
]
},
{
"file": "/home/USER/public_html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
"line": 56,
"function": "get",
"class": "OC\\AppFramework\\Utility\\SimpleContainer",
"type": "->",
"args": [
"hm"
]
},
{
"function": "OC\\AppFramework\\Bootstrap\\{closure}",
"class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/home/USER/public_html/lib/private/AppFramework/Bootstrap/FunctionInjector.php",
"line": 66,
"function": "array_map",
"args": [
[
"Closure"
],
[
"*** sensitive parameters replaced ***",
[
"ReflectionParameter",
"dispatcher"
],
[
"ReflectionParameter",
"container"
]
]
]
},
{
"file": "/home/USER/public_html/lib/private/AppFramework/Bootstrap/BootContext.php",
"line": 50,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\FunctionInjector",
"type": "->",
"args": [
[
[
"OCA\\DAV\\AppInfo\\Application"
],
"registerHooks"
]
]
},
{
"file": "/home/USER/public_html/apps/dav/lib/AppInfo/Application.php",
"line": 220,
"function": "injectFn",
"class": "OC\\AppFramework\\Bootstrap\\BootContext",
"type": "->",
"args": [
[
[
"OCA\\DAV\\AppInfo\\Application"
],
"registerHooks"
]
]
},
{
"file": "/home/USER/public_html/lib/private/AppFramework/Bootstrap/Coordinator.php",
"line": 200,
"function": "boot",
"class": "OCA\\DAV\\AppInfo\\Application",
"type": "->",
"args": [
[
"OC\\AppFramework\\Bootstrap\\BootContext"
]
]
},
{
"file": "/home/USER/public_html/lib/private/App/AppManager.php",
"line": 434,
"function": "bootApp",
"class": "OC\\AppFramework\\Bootstrap\\Coordinator",
"type": "->",
"args": [
"dav"
]
},
{
"file": "/home/USER/public_html/lib/private/App/AppManager.php",
"line": 213,
"function": "loadApp",
"class": "OC\\App\\AppManager",
"type": "->",
"args": [
"dav"
]
},
{
"file": "/home/USER/public_html/lib/private/legacy/OC_App.php",
"line": 125,
"function": "loadApps",
"class": "OC\\App\\AppManager",
"type": "->",
"args": [
[]
]
},
{
"file": "/home/USER/public_html/ocs/v1.php",
"line": 59,
"function": "loadApps",
"class": "OC_App",
"type": "::",
"args": []
},
{
"file": "/home/USER/public_html/ocs/v2.php",
"line": 23,
"args": [
"/home/USER/public_html/ocs/v1.php"
],
"function": "require_once"
}
],
"File": "/home/USER/public_html/lib/private/AppFramework/Utility/SimpleContainer.php",
"Line": 135,
"message": "Could not boot dav: Could not resolve hm! Class \"hm\" does not exist",
"exception": {},
"CustomMessage": "Could not boot dav: Could not resolve hm! Class \"hm\" does not exist"
}
}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
$CONFIG = array (
'instanceid' => 'ochn9s7kl16z',
'passwordsalt' => 'gVAvx3ooOSYYnpSfzqqNeHcYhS7V9O',
'secret' => 'B5lef/c25j6w1o2eJxGSTcLlA9nhNu82fXGD1DMebjMm7LVz',
'trusted_domains' =>
array (
0 => 'mydomain.com',
),
'datadirectory' => '/home/USER/www/data',
'dbtype' => 'mysql',
'version' => '28.0.2.5',
'overwrite.cli.url' => 'http://mydomain.com',
'dbname' => 'DBNAME',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'DB_USER',
'dbpassword' => 'MYPASSWORD',
'installed' => true,
'maintenance_window_start' => 1,
'maintenance' => false,
);
The output of your Apache/nginx/system log in /var/log/____
:
I don't have it...
Thank you for help or explanations!