# Webdav geht nach clonen nicht

**URL:** <https://help.nextcloud.com/t/webdav-geht-nach-clonen-nicht/118487>\
**Category:** 🇩🇪 Deutsch (german)\
**Tags:** nc20, collabora-online, webdav\
**Created:** [June 16, 2021, 10:30am UTC](https://help.nextcloud.com/t/webdav-geht-nach-clonen-nicht/118487 "2021-06-16T10:30:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pekohki](https://help.nextcloud.com/letter_avatar/pekohki/32/5_5575768a8748004e209b776fc1b2916d.png) [@pekohki](https://help.nextcloud.com/u/pekohki)\
**Post date:** [June 16, 2021, 10:30am UTC](https://help.nextcloud.com/t/webdav-geht-nach-clonen-nicht/118487/1 "2021-06-16T10:30:29Z")

</div>

Hallo,  
folgendes Problem. Ich habe zum testen von unserer produktiven Nextcloud umgebung (VM) eine Kopie gezogen, IP und Namen geändert (OS und auch in der NEXTCLOUD config.php).  
Das System läuft, ich kann mich anmelden und sehe alle Files.  
LDAP Anbindung klappt auch.  
Was nicht geht: Klick ich ein PDF an kommt die folgende Fehlermeldung:  
Missing PDF “[https://next2.XXX.de/remote.php/dav/files/admin/Nextcloud%20Manual.pdf](https://next2.XXX.de/remote.php/dav/files/admin/Nextcloud%2520Manual.pdf)”.

Eine entsprechende Fehlermeldung (“Lesen der Datei fehlgeschlagen…”) kommt vom Collabora Online (was ich eigentlich testen wollte).

D.h. der Zugriff über WEBDAV scheint gestört zu sein.  
Wo muss ich da nachsehen ?

System: SLES 15SP1, maria DB 10.2.36, php 7.4.20

Ciao  
Peer

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [June 16, 2021, 9:07pm UTC](https://help.nextcloud.com/t/webdav-geht-nach-clonen-nicht/118487/2 "2021-06-16T21:07:34Z")

</div>

> [@pekohki](#):
>
> Missing PDF “[https://next2.XXX.de/remote.php/dav/files/admin/Nextcloud%20Manual.pdf](https://next2.XXX.de/remote.php/dav/files/admin/Nextcloud%2520Manual.pdf)”.

- gehört die angezeigte URL zum alten oder zum neuen System?
- kannst du die Datei per WebDAV erreichen (Browser, curl)
- kann Collabora die neue URL erreichen?
- ist das neue System in der Collabora config als vertrauenswürdig konfiguriert?

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [June 16, 2021, 9:31pm UTC](https://help.nextcloud.com/t/webdav-geht-nach-clonen-nicht/118487/3 "2021-06-16T21:31:45Z")

</div>

Hm… Das sieht mir aus wie

> <https://github.com/nextcloud/files_pdfviewer/issues/381>
>
> \## :adhesive\_bandage: Temporary fix (will be shipped in the next Nextcloud minor… release only)
> 
> \### :information\_source: This is a temporary fix you can apply manually, from PR #384. To do this:
> \### 1) Replace the file at \`apps/files\_pdfviewer/js/files\_pdfviewer-main.js\` on your instance with \[this file from that PR\](https://raw.githubusercontent.com/nextcloud/files\_pdfviewer/6d81ffbb65c3758bece144e0aff07b4a0ad20eef/js/files\_pdfviewer-main.js)
> \### 2) Clear your (each user must do it) browser's cache and try to open pdfs. This is a must-do, otherwise, the old file will be loaded from browser's cache !!
> 
> \---
> 
> \### Steps to reproduce
> 1. Create a New Folder
> 2. Add a PDF file to to the folder. PDF filename containing a space (e.g. name it "Juergen Klopp.pdf"). 
> 3. Open PDF file "Juergen Klopp.pdf"
> 4. It also won't work if the folder contains a space
> 
> 
> 
> \### Expected behaviour
> Open the PDF with PDF viewer
> 
> \### Actual behaviour
> PDF.js Version 2.5.207 (build: 0974d6052)
> Nachricht: Missing PDF "https://domain.org/remote.php/dav/files/user/New/Juergen%2520Klopp.pdf".
> 
> 
> 
> \## Server configuration detail
> 
> \*\*Operating system:\*\* Linux 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86\_64
> 
> \*\*Webserver:\*\* Apache/2.4.41 (Ubuntu) (apache2handler)
> 
> \*\*Database:\*\* mysql 8.0.25
> 
> \*\*PHP version:\*\* 
> 
> 8.0.5
> Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, apcu, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, ldap, exif, mysqli, pdo\_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
> 
> \*\*Nextcloud version:\*\* 21.0.2 RC1 - 21.0.2.0
> 
> \*\*Updated from an older Nextcloud/ownCloud or fresh install:\*\* 
> 
> \*\*Where did you install Nextcloud from:\*\* unknown
> 
> \<details\>\<summary\>Signing status\</summary\>
> 
> Array
> (
> )
> 
> \</details\>
> 
> \<details\>\<summary\>List of activated apps\</summary\>
> 
> \`\`\`
> Enabled:
> - accessibility: 1.7.0
> - apporder: 0.12.0
> - calendar: 2.2.1
> - circles: 0.21.2
> - cloud\_federation\_api: 1.4.0
> - comments: 1.11.0
> - contacts: 3.5.1
> - contactsinteraction: 1.2.0
> - dav: 1.17.1
> - documentserver\_community: 0.1.9
> - federatedfilesharing: 1.11.0
> - federation: 1.11.0
> - files: 1.16.0
> - files\_external: 1.12.0
> - files\_pdfviewer: 2.1.0
> - files\_rightclick: 1.0.0
> - files\_sharing: 1.13.1
> - files\_trashbin: 1.11.0
> - files\_versions: 1.14.0
> - files\_videoplayer: 1.10.0
> - firstrunwizard: 2.10.0
> - forms: 2.2.4
> - issuetemplate: 0.7.0
> - logreader: 2.6.0
> - lookup\_server\_connector: 1.9.0
> - notes: 4.0.4
> - notifications: 2.9.0
> - oauth2: 1.9.0
> - onlyoffice: 7.0.2
> - passman: 2.3.7
> - password\_policy: 1.11.0
> - photos: 1.3.0
> - privacy: 1.5.0
> - provisioning\_api: 1.11.0
> - recommendations: 1.0.0
> - serverinfo: 1.11.0
> - settings: 1.3.0
> - sharebymail: 1.11.0
> - support: 1.4.0
> - survey\_client: 1.9.0
> - systemtags: 1.11.0
> - tasks: 0.13.6
> - text: 3.2.0
> - theming: 1.12.0
> - theming\_customcss: 1.8.0
> - twofactor\_backupcodes: 1.10.0
> - updatenotification: 1.11.0
> - user\_status: 1.1.1
> - viewer: 1.5.0
> - weather\_status: 1.1.0
> - workflowengine: 2.3.0
> Disabled:
> - activity
> - admin\_audit
> - bruteforcesettings
> - dashboard
> - encryption
> - mail
> - nextcloud\_announcements
> - user\_ldap
> - workflow\_pdf\_converter
> 
> \`\`\`
> \</details\>
> 
> \<details\>\<summary\>Configuration (config/config.php)\</summary\>
> 
> \`\`\`
> {
> "instanceid": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "passwordsalt": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "secret": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "trusted\_domains": \[
> "cloud.rekorder.org"
> \],
> "datadirectory": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbtype": "mysql",
> "version": "21.0.2.0",
> "overwrite.cli.url": "http:\\/\\/cloud.rekorder.org",
> "dbname": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbhost": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbport": "",
> "dbtableprefix": "oc\_",
> "mysql.utf8mb4": true,
> "dbuser": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "dbpassword": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "installed": true,
> "updater.release.channel": "stable",
> "memcache.local": "\\\\OC\\\\Memcache\\\\APCu",
> "maintenance": false,
> "data-fingerprint": "11bd4c43db46260d550ca15af9437513",
> "mail\_smtpmode": "smtp",
> "mail\_smtpsecure": "ssl",
> "mail\_sendmailmode": "smtp",
> "mail\_from\_address": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "mail\_domain": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "mail\_smtpauthtype": "LOGIN",
> "mail\_smtpauth": 1,
> "mail\_smtphost": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "mail\_smtpport": "465",
> "mail\_smtpname": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "mail\_smtppassword": "\*\*\*REMOVED SENSITIVE VALUE\*\*\*",
> "theme": "",
> "loglevel": 2,
> "app\_install\_overwrite": \[
> "issuetemplate"
> \]
> }
> \`\`\`
> \</details\>
> 
> \*\*Are you using external storage, if yes which one:\*\* local/smb/sftp/...
> 
> \*\*Are you using encryption:\*\* 
> 
> \*\*Are you using an external user-backend, if yes which one:\*\* LDAP/ActiveDirectory/Webdav/...
> 
> \## Client configuration
> 
> \*\*Browser:\*\* Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

---

<div class="post-metadata">

**Author:** ![pekohki](https://help.nextcloud.com/letter_avatar/pekohki/32/5_5575768a8748004e209b776fc1b2916d.png) [@pekohki](https://help.nextcloud.com/u/pekohki)\
**Post date:** [June 18, 2021, 11:13am UTC](https://help.nextcloud.com/t/webdav-geht-nach-clonen-nicht/118487/4 "2021-06-18T11:13:10Z")

</div>

Hallo,  
es war letztendlich deutlich einfacher: Zertifikatsfehler (durch die anderen Namen) haben dazu geführt, das WEBDAV nicht ging. Habe die Zertifikate ersetzt, jetzt geht alles!

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 15, 2024, 10:11am UTC](https://help.nextcloud.com/t/webdav-geht-nach-clonen-nicht/118487/5 "2024-12-15T10:11:21Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 15, 2024, 10:11am UTC](https://help.nextcloud.com/t/webdav-geht-nach-clonen-nicht/118487/6 "2024-12-15T10:11:22Z")

</div>


