# Seafile WebDAV not working

**URL:** <https://forum.yunohost.org/t/seafile-webdav-not-working/23803>\
**Category:** Support apps\
**Tags:** seafile, bug, english\
**Created:** [February 24, 2023, 3:34pm UTC](https://forum.yunohost.org/t/seafile-webdav-not-working/23803 "2023-02-24T15:34:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bitdweller](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/b/a183cd/32.png) [@bitdweller](https://forum.yunohost.org/u/bitdweller)\
**Post date:** [February 24, 2023, 3:34pm UTC](https://forum.yunohost.org/t/seafile-webdav-not-working/23803/1 "2023-02-24T15:34:23Z")

</div>

### My YunoHost server

**Hardware:** VPS: OVH  
**YunoHost version:** 11.1.11.2 (stable)  
**I have access to my server :** Through SSH & through the webadmin  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no (although it’s based on Debian 11)  
**If your request is related to an app, specify its name and version:** Seafile 9.0.2~ynh2

### Description of my issue

I **can’t access Seafile through WebDAV,** getting a 502 Bad Gateway error. Seafile works fine, also with macOS and Android official apps, just not WebDAV. It is properly configured, here are the config files:

(i have obscured my domain with `domain.tld`, but the subdomain is the same)

**/etc/yunohost/apps/seafile/conf/seafdav.conf:**

```auto
[WEBDAV]
enabled = true
port = __WEBDAV_PORT__
fastcgi = true
share_name = /seafdav

```

**/etc/nginx/conf.d/files.domain.tld.d/seafile.conf**

```auto
location /seafdav {
        proxy_pass http://127.0.0.1:8080/seafdav;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Host $server_name;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_read_timeout 1200s;
        client_max_body_size 0;

        access_log /var/log/nginx/seafdav.access.log;
        error_log /var/log/nginx/seafdav.error.log;
}

```

**Logs:**  
(Note: `domain.tld` is current obscured domain and `domain.old` is an old domain I had configured, also obscured)  
**Seafile:** [https://paste.yunohost.org/etacaraboc](https://paste.yunohost.org/etacaraboc)  
**Nginx:** [https://paste.yunohost.org/ilejukupeb.coffeescript](https://paste.yunohost.org/ilejukupeb.coffeescript)

There’s [a different Topic that shows the same error](https://forum.yunohost.org/t/unable-to-sync-to-joplin/23601), but I wanted to create a more generic one, as that one is related to integration Joplin with Seafile, although the problem is with Seafile.

Thanks y’all!

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [March 11, 2023, 3:35pm UTC](https://forum.yunohost.org/t/seafile-webdav-not-working/23803/2 "2023-03-11T15:35:07Z")

</div>

Closed on March 11, 2023, 3:35pm UTC

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