# Pydio Cells S3 "objects down"

**URL:** <https://forum.pydio.com/t/pydio-cells-s3-objects-down/1794>\
**Category:** Pydio 8\
**Created:** [October 31, 2018, 8:24pm UTC](https://forum.pydio.com/t/pydio-cells-s3-objects-down/1794 "2018-10-31T20:24:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhackett](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@jhackett](https://forum.pydio.com/u/jhackett)\
**Post date:** [October 31, 2018, 8:24pm UTC](https://forum.pydio.com/t/pydio-cells-s3-objects-down/1794/1 "2018-10-31T20:24:14Z")

</div>

I’m setting up an S3 backend but it gives the status message of `Objects down` with no clear indication as to what that means. I’ve investigated \>1 S3 provider and checked the credentials and they are correct. The only hint in the container logs is this, when I hit the `Re-synchronize` button:

```auto
cells_1 | 2018-10-31T20:21:44.635Z	INFO	pydio.rest.config	Retrieved datasource [aws]	{"datasource": "Name:\"aws\" StorageType:S3 StorageConfiguration:<key:\"customEndpoint\" value:\"\" > ObjectsServiceName:\"gateway3\" ObjectsPort:44191 ObjectsBucket:\"redacted\" ObjectsBaseFolder:\"test\" ApiKey:\"redacted\" ApiSecret:\"redacted\" VersioningPolicyName:\"regular-pruning\" "}
...
cells_1 | 2018-10-31T20:19:51.825Z	ERROR	pydio.grpc.tasks	cannot run action actions.cmd.resync: {"id":"","code":0,"detail":"unknown service \u003cnil\u003e","status":""}

```

It isn’t really clear to me what the matter is but the instructions ([https://pydio.com/en/docs/cells/v1/managing-datasources](https://pydio.com/en/docs/cells/v1/managing-datasources)) seemed easy enough to follow. Am I missing something?

---

<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:** [November 5, 2018, 8:38am UTC](https://forum.pydio.com/t/pydio-cells-s3-objects-down/1794/2 "2018-11-05T08:38:17Z")

</div>

Hi,  
you can put your cells in `production` mode to have more logs or `debug` mode,  
to do so, when you start cells add this`./cells start --log=production`.

---

<div class="post-metadata">

**Author:** ![jhackett](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@jhackett](https://forum.pydio.com/u/jhackett)\
**Post date:** [November 5, 2018, 7:00pm UTC](https://forum.pydio.com/t/pydio-cells-s3-objects-down/1794/3 "2018-11-05T19:00:02Z")

</div>

Thanks for that. I specified the environment variable in docker-compose in the end - `PYDIO_LOGS_LEVEL=production`.

`{"level":"error","ts":"2018-11-05T18:44:27Z","logger":"pydio.grpc.data.objects.gateway1","msg":"time=\"2018-11-05T18:44:27Z\" level=fatal msg=\"Unable to initialize gateway layer\" cause=\"Unable to initialize event notification. Get https://s3.nl-ams.scw.cloud/: x509: failed to load system roots and no roots provided\" source=\"[gateway-main.go:357:github.com/pydio/cells/vendor/github.com/pydio/minio-srv/cmd.gatewayMain()]\""}`

This reads to me like there is no SSL/TLS CAstore in the container. The container being based on busybox is the root of the problem as it doesn’t contain anything for SSL out of the box. There’s a good stackoverflow post on this here:

> <https://stackoverflow.com/questions/45388934/how-do-i-make-an-https-call-in-a-busybox-docker-container-running-go>

I’m going to share the cert store read only from the host as that will fix the problem for now. It would be nice if you took advantage of multistage builds and copied in certs from Debian or Alpine though!

---

<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:** [November 6, 2018, 8:25am UTC](https://forum.pydio.com/t/pydio-cells-s3-objects-down/1794/4 "2018-11-06T08:25:55Z")

</div>

Hi,  
can i mark this issue as solved?  
it will be helpful if others are looking for the same issue.

Regards

---

<div class="post-metadata">

**Author:** ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)\
**Post date:** [November 6, 2018, 3:39pm UTC](https://forum.pydio.com/t/pydio-cells-s3-objects-down/1794/5 "2018-11-06T15:39:03Z")

</div>

@zayn will work on the offical docker to include the certificates

---

<div class="post-metadata">

**Author:** ![jhackett](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@jhackett](https://forum.pydio.com/u/jhackett)\
**Post date:** [November 8, 2018, 11:04am UTC](https://forum.pydio.com/t/pydio-cells-s3-objects-down/1794/6 "2018-11-08T11:04:55Z")

</div>

No, sorry - I’m still having issues but haven’t had time to look at it  
much in the last few days.

---

<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:** [November 12, 2018, 11:06am UTC](https://forum.pydio.com/t/pydio-cells-s3-objects-down/1794/7 "2018-11-12T11:06:25Z")

</div>

Hi,  
could you tell me what is the exact configuration of your s3 datasource (it’s place in your cells), the provider (amazon, selfhosted with minio, etc…) and is it on the same server where your container runs?  
I tried with both a docker container built with the certs(as you showed me with the multistage build) and one without the certs and i did not see the error (i was using minio container which is a s3 self hosting solution on another server) [https://www.minio.io/](https://www.minio.io/) .  
I would like to reproduce your issue to understand it.

regards

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [May 16, 2023, 10:31am UTC](https://forum.pydio.com/t/pydio-cells-s3-objects-down/1794/9 "2023-05-16T10:31:09Z")

</div>

Closed on May 16, 2023, 10:31am UTC

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