# Cells Sync on UNRAID

**URL:** <https://forum.pydio.com/t/cells-sync-on-unraid/3950>\
**Category:** Sync Client\
**Tags:** nginx\
**Created:** [July 20, 2021, 1:34pm UTC](https://forum.pydio.com/t/cells-sync-on-unraid/3950 "2021-07-20T13:34:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmattaur](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/vmattaur/32/1476_2.png) [@vmattaur](https://forum.pydio.com/u/vmattaur)\
**Post date:** [July 20, 2021, 1:34pm UTC](https://forum.pydio.com/t/cells-sync-on-unraid/3950/1 "2021-07-20T13:34:04Z")

</div>

I have installed the pydio cells docker on unraid ver 6.9.2 and it is working. I used a reverse proxy NginxProxyManager docker and generated a sub domain [https://pydio](https://pydio),[mydomain.com](http://mydomain.com)… I can access pydio cells WORKSPACES. I can upload and drag and drop without any connection errors.

Nginx Reverse Proxy Setup:

-------------------------------  
[pydio.mydomain.com](http://pydio.mydomain.com)  
-------------------------------  
server {  
set $forward\_scheme https;  
set $server “[mydomain.com](http://mydomain.com)”;  
set $port 8080;

listen 8080;  
listen [::]:8080;

listen 4443 ssl http2;  
listen [::]:4443;

server\_name [pydio.mydomain.com](http://pydio.mydomain.com);

Let’s Encrypt SSL  
include conf.d/include/letsencrypt-acme-challenge.conf;  
include conf.d/include/ssl-ciphers.conf;  
ssl\_certificate /etc/letsencrypt/live/npm-62/fullchain.pem;  
ssl\_certificate\_key /etc/letsencrypt/live/npm-62/privkey.pem;

* * *

**CREATE TASK - using Cell Sync - THIS DOESN’T WORK!** 🥵

Click on create a sync task and app opens requesting:

Cells Server (SSL) - Login to a new server - [https://pydio.mydomain.com](https://pydio.mydomain.com)… I login with the admin account.

Cells Sync Pick a folder, returns a pink banner “server closed the stream without sending trailers”

REMINDERS: This is a Unraid/Docker build.  
I can supply logs if needed - I am a newbie but work hard.

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [July 27, 2021, 3:37pm UTC](https://forum.pydio.com/t/cells-sync-on-unraid/3950/2 "2021-07-27T15:37:21Z")

</div>

Hello @vmattaur

Assuming that this is your complete nginx reverse proxy config, I believe what you are missing is a directive about grpc, Cells-Sync uses grpc for some operations and Cells exposes some grpc, but it could be that you did not have that enabled in your reverse proxy.

To do that you must add the following line in your nginx conf:

```auto
location / {
        grpc_pass grpcs://localhost:8080;
    }

```

In this `localhost` is the host on which cells is running and `8080` is the port under which cells is bound.

What this will do is redirect all the grpc traffic that is in coming on your nginx to → Cells.

---

<div class="post-metadata">

**Author:** ![vmattaur](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/vmattaur/32/1476_2.png) [@vmattaur](https://forum.pydio.com/u/vmattaur)\
**Post date:** [August 6, 2021, 2:26pm UTC](https://forum.pydio.com/t/cells-sync-on-unraid/3950/3 "2021-08-06T14:26:32Z")

</div>

I took a long vacation with no tech in yellowstone, sorry I didn’t reply sooner. I haven’t tried the grpc but I know it’s on the right track… My to do list today was to learn all about it. Thanks and I’ll let you know how it goes

---

<div class="post-metadata">

**Author:** ![vmattaur](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/vmattaur/32/1476_2.png) [@vmattaur](https://forum.pydio.com/u/vmattaur)\
**Post date:** [August 7, 2021, 5:32pm UTC](https://forum.pydio.com/t/cells-sync-on-unraid/3950/4 "2021-08-07T17:32:20Z")

</div>

> [@zayn](#):
>
> `grpc_pass grpcs://localhost:8080;`

I reposted the nginx config below:

```auto
# ------------------------------------------------------------
# cloud.webmystics.com
# ------------------------------------------------------------

server {
  set $forward_scheme https;
  set $server "domain.com";
  set $port 8080;

  listen 8080;
listen [::]:8080;

listen 4443 ssl http2;
listen [::]:4443;

  server_name sub.domain.com;

  # Let's Encrypt SSL
  include conf.d/include/letsencrypt-acme-challenge.conf;
  include conf.d/include/ssl-ciphers.conf;
  ssl_certificate /etc/letsencrypt/live/npm-3/fullchain.pem;
  ssl_certificate_key /etc/letsencrypt/live/npm-3/privkey.pem;

# Asset Caching
  include conf.d/include/assets.conf;

  # Block Exploits
  include conf.d/include/block-exploits.conf;

    # Force SSL
    include conf.d/include/force-ssl.conf;

proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;

  access_log /data/logs/proxy-host-3_access.log proxy;
  error_log /data/logs/proxy-host-3_error.log warn;

  location / {

    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $http_connection;
    proxy_http_version 1.1;
    
    # Proxy!
    include conf.d/include/proxy.conf;

    grpc_pass grpcs://localhost:8080; **[I added the prpc here]**
    
  }

  # Custom
  include /data/nginx/custom/server_proxy[.]conf;
}

```

After adding the grpc server still “closes the stream without sending trailers” and NO folders are returned. I will read some prpc information I found in hopes I can figure things out, BUT appreciate any help on the subject. - TANKS

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [August 17, 2021, 10:22am UTC](https://forum.pydio.com/t/cells-sync-on-unraid/3950/5 "2021-08-17T10:22:21Z")

</div>

Hello, @vmattaur

Could you also share with me your current setup on Cells, what I mean is could you tell me what you have set when you run the command `./cells configure sites`, I want to make sure that you also have TLS enabled on Cells (because we used `grpcs` instead of `grpc`).

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [September 8, 2021, 2:27pm UTC](https://forum.pydio.com/t/cells-sync-on-unraid/3950/6 "2021-09-08T14:27:29Z")

</div>

Hello @vmattaur ,

could you try the following configuration with nginx,

```auto
    location / {
        if ($http_content_type = "application/grpc") {
            grpc_pass grpcs://cells:8080;
        }
        proxy_pass https://cells:8080;
    }

```
