# Pydio cells server error 502 after installation

**URL:** https://forum.pydio.com/t/pydio-cells-server-error-502-after-installation/1579
**Category:** Pydio Cells
**Created:** [September 12, 2018, 2:43am UTC](https://forum.pydio.com/t/pydio-cells-server-error-502-after-installation/1579 "2018-09-12T02:43:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tinymins](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/tinymins/32/510_2.png) [@tinymins](https://forum.pydio.com/u/tinymins)
#### Post date: [September 12, 2018, 2:43am UTC](https://forum.pydio.com/t/pydio-cells-server-error-502-after-installation/1579/1 "2018-09-12T02:43:57Z")

</div>

For docker version, with `CELLS_NO_SSL=1`, server will return code 502 after installation.

```auto
docker run -d --restart=always \
  --name pydio-mariadb \
  --network pydio \
  --hostname pydio-mariadb \
  -v /data/pydio/mariadb:/var/lib/mysql \
  -p 12306:3306 \
  -e TZ='Asia/Shanghai' \
  -e MYSQL_ROOT_PASSWORD=password mariadb

docker run -d --restart=always \
  --name pydio-fpm \
  --network pydio \
  --hostname pydio-fpm \
  --link pydio-mariadb:pydio-mariadb \
  -v /data/pydio/cells:/root/.config/pydio/cells pydio/cells-php-fpm

docker run -d --restart=always \
  --name pydio-cells \
  --network pydio \
  --hostname pydio-cells \
  --link pydio-fpm:pydio-fpm \
  --link pydio-mariadb:pydio-mariadb \
  -v /data/pydio/cells:/root/.config/pydio/cells \
  -e CELLS_BIND=domain.com:12443 \
  -e CELLS_EXTERNAL=domain.com:12443 \
  -e CELLS_NO_SSL=1 \
  pydio/cells

docker restart pydio-fpm

```

Then open browser and install. After install, server will be dead with code 502: bad gateway.

---

<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 14, 2018, 10:53am UTC](https://forum.pydio.com/t/pydio-cells-server-error-502-after-installation/1579/2 "2018-09-14T10:53:17Z")

</div>

Hi,  
did you try with by adding to your run command `-p 12443:12443` for the pydio-cells container.

---

<div class="post-metadata">

### Author: ![tinymins](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/tinymins/32/510_2.png) [@tinymins](https://forum.pydio.com/u/tinymins)
#### Post date: [September 14, 2018, 3:48pm UTC](https://forum.pydio.com/t/pydio-cells-server-error-502-after-installation/1579/3 "2018-09-14T15:48:12Z")

</div>

Port 12443 has already bind to container nginx, because nginx is configured as reverse proxy.
