# Cells: Could not find DataSource

**URL:** <https://forum.pydio.com/t/cells-could-not-find-datasource/3565>\
**Category:** Pydio Cells\
**Tags:** docker\
**Created:** [November 6, 2020, 2:40am UTC](https://forum.pydio.com/t/cells-could-not-find-datasource/3565 "2020-11-06T02:40:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Den4200](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/den4200/32/1295_2.png) [@Den4200](https://forum.pydio.com/u/Den4200)\
**Post date:** [November 6, 2020, 2:40am UTC](https://forum.pydio.com/t/cells-could-not-find-datasource/3565/1 "2020-11-06T02:40:07Z")

</div>

Hey everyone 👋, I’ve decided to try out Pydio Cells and have bumped into an issue. It seems that the server cannot find any of my datasources, even though I only have the default ones.

I am running this server along side a MySQL database with docker-compose. Here is the yaml file:

```auto
version: "3"
services:
  pydio-cells:
    image: pydio/cells:latest
    container_name: pydio-cells
    hostname: pydio-cells
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - CELLS_BIND=0.0.0.0:5011
      - CELLS_EXTERNAL=https://subdomain.domain.tld
    volumes:
      - ./pydio/:/var/cells/
    ports:
      - 5011:5011 # HTTP
      - 33060:33060 # gRPC
    restart: unless-stopped

  mysql:
    image: mysql:5.7
    command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
    expose:
      - 3306
    environment:
      - MYSQL_ROOT_PASSWORD=
      - MYSQL_DATABASE=
      - MYSQL_USER=
      - MYSQL_PASSWORD=
    volumes:
      - ./mysql/:/var/lib/mysql/
    restart: unless-stopped

volumes:
  pydio: {}
  mysql: {}

```

I get errors like these:

```auto
pydio-cells | 2020-11-06T02:28:54.865Z ERROR pydio.rest.share Rest Error 403 {"error": "{\"id\":\"undefined\",\"code\":403,\"detail\":\"Unknown data source\",\"status\":\"Forbidden\"}"}
pydio-cells | 2020-11-06T02:33:55.597Z ERROR Could not find DataSource pydiods1 {"currentSources": []}
pydio-cells | 2020-11-06T02:33:55.597Z ERROR pydio.rest.meta Cannot find DataSourceInfo for pydiods1 {"error": "Could not find DataSource pydiods1"}
pydio-cells | 2020-11-06T02:33:57.208Z ERROR Could not find DataSource personal {"currentSources": []}
pydio-cells | 2020-11-06T02:33:57.208Z ERROR pydio.rest.meta Cannot find DataSourceInfo for personal {"error": "Could not find DataSource personal"}
pydio-cells | 2020-11-06T02:33:57.208Z ERROR pydio.rest.meta Rest Error 404 {"error": "Could not find DataSource personal"}
pydio-cells | 2020-11-06T02:34:05.225Z ERROR Could not find DataSource personal {"currentSources": []}

```

Any help to resolve this issue would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Den4200](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/den4200/32/1295_2.png) [@Den4200](https://forum.pydio.com/u/Den4200)\
**Post date:** [November 6, 2020, 2:45am UTC](https://forum.pydio.com/t/cells-could-not-find-datasource/3565/2 "2020-11-06T02:45:57Z")

</div>

Wow, I’m sorry everyone. I realized what the problem was right after I posted this. The `PUID` and `PGID` environment variables should be removed, since it is restricting the permissions of the server. I shouldn’t have copied that from the [`linuxserver/pydio-cells`](https://hub.docker.com/r/linuxserver/pydio-cells) readme…

Thanks all!

---

<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:** [November 17, 2020, 8:46am UTC](https://forum.pydio.com/t/cells-could-not-find-datasource/3565/3 "2020-11-17T08:46:04Z")

</div>

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