[/details]
Nextcloud version (eg, 20.0.5): 28.0.4
deploy via helm chart in helm/charts/nextcloud/README.md at main · nextcloud/helm · GitHub
The issue you are facing:
I’m trying use Webdav in zotero, i use the url
https://MYHOST/remote.php/dav/files/USERNAME
in zotero’s webdav configuration, but i got an error:
https://MYHOST/remote.php/dav/files/USERNAME is not a valid webdav url
.
Then i inspect source code of zotero, and find the reason is that there is no DAV
field in the response header in https://MYHOST/remote.php/dav/files/USERNAME
.
For example, use curl:
> curl -v -X OPTIONS https://username:pass@MYHOST/remote.php/dav/files/USERNAME
....
< HTTP/2 204
< date: Fri, 12 Apr 2024 05:37:07 GMT
< strict-transport-security: max-age=15724800; includeSubDomains
< access-control-allow-origin: *
< access-control-allow-credentials: true
< access-control-allow-methods: GET, PUT, POST, DELETE, PATCH, OPTIONS
< access-control-allow-headers: X-Forwarded-For
< access-control-max-age: 1728000
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Install nextcloud via helm chart
- config webdav in zotero
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'mail_smtpmode' => 'smtp',
'mail_smtphost' => '',
'mail_smtpport' => '465',
'mail_smtpsecure' => 'ssl',
'mail_smtpauth' => true,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpname' => '',
'mail_from_address' => 'notify',
'mail_domain' => '',
'mail_smtppassword' => '',
'upgrade.disable-web' => true,
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '28.0.4.1',
'overwrite.cli.url' => 'http://localhost',
'dbname' => '',
'dbhost' => 'nextcloud-postgresql',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'instanceid' => '',
);