# Need help with docker install Nextcloud 26.0.0

**URL:** <https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437>\
**Category:** ℹ️ Support\
**Tags:** docker\
**Created:** [April 4, 2023, 4:37pm UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437 "2023-04-04T16:37:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![fnaith](https://help.nextcloud.com/user_avatar/help.nextcloud.com/fnaith/32/50342_2.png) [@fnaith](https://help.nextcloud.com/u/fnaith)\
**Post date:** [April 4, 2023, 4:37pm UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/1 "2023-04-04T16:37:00Z")

</div>

My docker install of Nextcloud 26.0 with mysql was starting fine.  
Even bookmarks app works as expect.  
However when I upload file from browser and windows desktop app, it give following error :

```auto
[webdav] Error: TypeError: OCA\DAV\Upload\ChunkingV2Plugin::getUploadStorage(): Argument #1 ($targetPath) must be of type string, null given, called in /var/www/html/apps/dav/lib/Upload/ChunkingV2Plugin.php on line 263 at <<closure>>

0. /var/www/html/apps/dav/lib/Upload/ChunkingV2Plugin.php line 263
   OCA\DAV\Upload\ChunkingV2Plugin->getUploadStorage(null)
1. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
   OCA\DAV\Upload\ChunkingV2Plugin->beforeDelete(["Sabre\\HTTP\\Request"], ["Sabre\\HTTP\\Response"])
2. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 456
   Sabre\DAV\Server->emit("beforeMethod:DELETE", [["Sabre\\HTTP\\ ...]])
3. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 253
   Sabre\DAV\Server->invokeMethod(["Sabre\\HTTP\\Request"], ["Sabre\\HTTP\\Response"])
4. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 321
   Sabre\DAV\Server->start()
5. /var/www/html/apps/dav/lib/Server.php line 366
   Sabre\DAV\Server->exec()
6. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
   OCA\DAV\Server->exec()
7. /var/www/html/remote.php line 171
   require_once("/var/www/html/a ... p")

```

Why it delete something when I upload file?  
How should I fix it ?

---

<div class="post-metadata">

**Author:** ![rawtaz](https://help.nextcloud.com/letter_avatar/rawtaz/32/5_5575768a8748004e209b776fc1b2916d.png) [@rawtaz](https://help.nextcloud.com/u/rawtaz)\
**Post date:** [April 4, 2023, 6:15pm UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/2 "2023-04-04T18:15:33Z")

</div>

Looks like a bug in the dav app. A quick glance suggests that the `beforeDelete()` method in [server/ChunkingV2Plugin.php at master · nextcloud/server · GitHub](https://github.com/nextcloud/server/blob/master/apps/dav/lib/Upload/ChunkingV2Plugin.php) is missing a call to `$this->checkPrerequisites();` (which the other three “before” and “after” methods has in them). When `getUploadStorage()` is called in that function, there’s a missing value and the error occurs.

I think you should open an issue at [Issues · nextcloud/server · GitHub](https://github.com/nextcloud/server/issues) . I didn’t find an existing one.

---

<div class="post-metadata">

**Author:** ![MiguelNdeCarvalho](https://help.nextcloud.com/user_avatar/help.nextcloud.com/miguelndecarvalho/32/15172_2.png) [@MiguelNdeCarvalho](https://help.nextcloud.com/u/MiguelNdeCarvalho)\
**Post date:** [April 4, 2023, 10:28pm UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/3 "2023-04-04T22:28:02Z")

</div>

I’m also experiencing this problem!

---

<div class="post-metadata">

**Author:** ![MiguelNdeCarvalho](https://help.nextcloud.com/user_avatar/help.nextcloud.com/miguelndecarvalho/32/15172_2.png) [@MiguelNdeCarvalho](https://help.nextcloud.com/u/MiguelNdeCarvalho)\
**Post date:** [April 4, 2023, 10:37pm UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/4 "2023-04-04T22:37:06Z")

</div>

Did you create the issue or you want me to create it?

---

<div class="post-metadata">

**Author:** ![rawtaz](https://help.nextcloud.com/letter_avatar/rawtaz/32/5_5575768a8748004e209b776fc1b2916d.png) [@rawtaz](https://help.nextcloud.com/u/rawtaz)\
**Post date:** [April 4, 2023, 10:47pm UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/5 "2023-04-04T22:47:16Z")

</div>

I haven’t created one, not sure if anyone else did. If you don’t see one at the top of the current issues list there, go for it 🙂 Thanks!

---

<div class="post-metadata">

**Author:** ![fnaith](https://help.nextcloud.com/user_avatar/help.nextcloud.com/fnaith/32/50342_2.png) [@fnaith](https://help.nextcloud.com/u/fnaith)\
**Post date:** [April 5, 2023, 12:46am UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/6 "2023-04-05T00:46:28Z")

</div>

As @rawtaz suggested, I send a bug report [[Bug]: When uploading a file from browser or windows desktop app, it give following error getUploadStorage(): Argument #1 ($targetPath) must be of type string, null given · Issue #37578 · nextcloud/server · GitHub](https://github.com/nextcloud/server/issues/37578) .  
Hope offical support can patch it. Thanks you!

---

<div class="post-metadata">

**Author:** ![MiguelNdeCarvalho](https://help.nextcloud.com/user_avatar/help.nextcloud.com/miguelndecarvalho/32/15172_2.png) [@MiguelNdeCarvalho](https://help.nextcloud.com/u/MiguelNdeCarvalho)\
**Post date:** [April 5, 2023, 1:56pm UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/7 "2023-04-05T13:56:34Z")

</div>

We have both created a issue, I think you submitted yours when I was writing mine 🤣

---

<div class="post-metadata">

**Author:** ![fnaith](https://help.nextcloud.com/user_avatar/help.nextcloud.com/fnaith/32/50342_2.png) [@fnaith](https://help.nextcloud.com/u/fnaith)\
**Post date:** [April 5, 2023, 2:09pm UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/8 "2023-04-05T14:09:30Z")

</div>

I guess it is a kind of voting for issue. 😆

---

<div class="post-metadata">

**Author:** ![MiguelNdeCarvalho](https://help.nextcloud.com/user_avatar/help.nextcloud.com/miguelndecarvalho/32/15172_2.png) [@MiguelNdeCarvalho](https://help.nextcloud.com/u/MiguelNdeCarvalho)\
**Post date:** [April 5, 2023, 2:20pm UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/9 "2023-04-05T14:20:35Z")

</div>

Exactly 🤣, I hope that we still get a fix in the first minor of v26

---

<div class="post-metadata">

**Author:** ![kiya\_Ndoye](https://help.nextcloud.com/user_avatar/help.nextcloud.com/kiya_ndoye/32/52563_2.png) [@kiya\_Ndoye](https://help.nextcloud.com/u/kiya_Ndoye)\
**Post date:** [July 6, 2023, 11:26am UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/10 "2023-07-06T11:26:51Z")

</div>

Avez-vous eu le correctif svp

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 1:44pm UTC](https://help.nextcloud.com/t/need-help-with-docker-install-nextcloud-26-0-0/159437/11 "2024-09-23T13:44:09Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
