# Panic on Pydio Cells start

**URL:** <https://forum.pydio.com/t/panic-on-pydio-cells-start/1182>\
**Category:** Pydio Cells\
**Created:** [May 31, 2018, 9:21am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182 "2018-05-31T09:21:02Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![michelepezzi](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@michelepezzi](https://forum.pydio.com/u/michelepezzi)\
**Post date:** [May 31, 2018, 9:21am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/1 "2018-05-31T09:21:02Z")

</div>

Hi,

i have some problem to start pydio cells.

After the installation and “./cells start” i have this output

**panic: runtime error: invalid memory address or nil pointer dereference**  
\*\* [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xf8928a]\*\*

* * *

\*\* goroutine 65 [running]:\*\*

some hints?

Thanks

Michele

---

<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:** [May 31, 2018, 9:36am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/2 "2018-05-31T09:36:53Z")

</div>

Hi,  
it could be that you are lacking RAM and therefore the binary does that, could you give me your system specs, the os and also the php, mysql versions.

---

<div class="post-metadata">

**Author:** ![michelepezzi](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@michelepezzi](https://forum.pydio.com/u/michelepezzi)\
**Post date:** [May 31, 2018, 9:55am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/3 "2018-05-31T09:55:53Z")

</div>

hi,

OS: CentOS Linux 7.5.1804  
RAM : 8GB  
CPUs: 4  
php : rh-php71-php-zip-7.1.8-1.el7.x86\_64  
rh-php71-php-fpm-7.1.8-1.el7.x86\_64  
rh-php71-runtime-1-1.el7.x86\_64  
rh-php71-php-json-7.1.8-1.el7.x86\_64  
rh-php71-php-gd-7.1.8-1.el7.x86\_64  
rh-php71-php-opcache-7.1.8-1.el7.x86\_64  
rh-php71-php-mbstring-7.1.8-1.el7.x86\_64  
rh-php71-php-common-7.1.8-1.el7.x86\_64  
rh-php71-php-intl-7.1.8-1.el7.x86\_64  
rh-php71-php-xml-7.1.8-1.el7.x86\_64

mariadb :  
rh-mariadb102-mariadb-config-10.2.8-5.el7.x86\_64  
rh-mariadb102-mariadb-10.2.8-5.el7.x86\_64  
mariadb-libs-5.5.56-2.el7.x86\_64  
rh-mariadb102-runtime-3.0-5.el7.x86\_64  
rh-mariadb102-mariadb-common-10.2.8-5.el7.x86\_64  
rh-mariadb102-mariadb-errmsg-10.2.8-5.el7.x86\_64  
rh-mariadb102-mariadb-server-10.2.8-5.el7.x86\_64  
rh-mariadb102-mariadb-server-utils-10.2.8-5.el7.x86\_64

---

<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:** [May 31, 2018, 10:00am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/4 "2018-05-31T10:00:20Z")

</div>

everything seems to meet the requirements so it’s not the issue,  
maybe you could try to do a clean re installation if it’s was a recent one, remove the the pydio folder located in `~/.config/`, download the latest binary ( if it wasn’t already done, latest version is [1.0.0](https://download.pydio.com/pub/cells/release/1.0.0/linux-amd64/) clear the database that was created it was named `cells` by default.

edit : if you have data that you want to keep don’t forget to back the `data`.

---

<div class="post-metadata">

**Author:** ![michelepezzi](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@michelepezzi](https://forum.pydio.com/u/michelepezzi)\
**Post date:** [May 31, 2018, 10:23am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/5 "2018-05-31T10:23:55Z")

</div>

i already tried…twice.

i try again.

thanks

---

<div class="post-metadata">

**Author:** ![michelepezzi](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@michelepezzi](https://forum.pydio.com/u/michelepezzi)\
**Post date:** [May 31, 2018, 2:04pm UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/6 "2018-05-31T14:04:58Z")

</div>

My last try.

./cells install

Welcome to Pydio Cells Home Edition installation  
Pydio Cells Home Edition will be configured to run on this machine. Make sure to prepare the following data

- IPs and ports for binding the webserver to outside world
- MySQL 5.6+ (or MariaDB equivalent) server access
- PHP-FPM 7+ for running frontend  
Pick your installation mode when you are ready.

✔ Command line (performed in this terminal)  
✔ Other: foo.foo:80  
✔ External Host (used to access this machine from outside world if it differs from Bind Host): foo.foo:80  
✔ Disable SSL (not recommended)

## Database Connection

✔ TCP  
✔ Database Hostname: localhost  
✔ Database Port: 3306  
✔ Database Name: cells  
✔ Database User: pydio  
✔ Database Password (leave empty if not needed): \*\*\*\*\*  
✔ Successfully connected to the database

## Frontend Configuration

✔ Php version detected: 7.1.8  
✔ PHP-FPM Listen Address was detected at localhost:9000. Is it correct: y  
✔ Admin Login (leave passwords empty if an admin is already created): admin  
✔ Admin Password: \*\*\*\*\*\*\*\*  
✔ Confirm Password: \*\*\*\*\*\*\*\*

## Advanced Settings

✗ There are some advanced settings for ports and initial data storage. Do you want to edit them:

## Performing Installation

2018-05-31T15:54:23.974+0200 INFO Starting installation now {“bindUrl”: “[http://foo.foo:80](http://foo.foo:80)”}  
✔ Created main database  
✔ Created default datasources  
✔ Configuration of gateway services  
✔ Deploying interface assets: this may take some time…  
✔ Deploying interface assets: 10% done…  
✔ Deploying interface assets: 20% done…  
✔ Deploying interface assets: 30% done…  
✔ Deploying interface assets: 40% done…  
✔ Deploying interface assets: 50% done…  
✔ Deploying interface assets: 60% done…  
✔ Deploying interface assets: 70% done…  
✔ Deploying interface assets: 80% done…  
✔ Deploying interface assets: 90% done…  
2018-05-31T15:54:46.426+0200 INFO Extracted 8015 files for a total size of 95909460  
✔ Deploying interface assets: 100% done…  
✔ Interface assets: Copied 8015 files  
Writing file /home/pydio/.config/pydio/cells/static/pydio/data/plugins/boot.conf/bootstrap.json  
✔ Created interface config files

✔ Installation Finished: please restart with ‘./cells start’ command

[pydio@foo ~]$ ./cells start  
panic: runtime error: invalid memory address or nil pointer dereference  
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xf8928a]  
…

any suggestion?

---

<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:** [June 11, 2018, 7:55am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/7 "2018-06-11T07:55:51Z")

</div>

Hi,  
could please send me the entire stack, i would like to see whats happening after this

> [@michelepezzi](#):
>
> [pydio@foo ~]$ ./cells start  
> panic: runtime error: invalid memory address or nil pointer dereference  
> [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xf8928a]  
> …

you can omit the part after the cells install.

---

<div class="post-metadata">

**Author:** ![michelepezzi](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@michelepezzi](https://forum.pydio.com/u/michelepezzi)\
**Post date:** [June 25, 2018, 12:02pm UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/8 "2018-06-25T12:02:26Z")

</div>

Hi,

sorry for the late reply.

I switch to docker-compose and everything goes fine for the moment .

thx

---

<div class="post-metadata">

**Author:** ![Fraddy](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/fraddy/32/464_2.png) [@Fraddy](https://forum.pydio.com/u/Fraddy)\
**Post date:** [June 25, 2018, 3:10pm UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/9 "2018-06-25T15:10:24Z")

</div>

Same problem here: CentOS 7.5.1804 with 16GB RAM  
Followed installation procedure: create user pydio with Bash shell, placed cells/cells-ctl into home directory

[root@web7 /volume/home/pydio]# su pydio  
[pydio@web7 ~]$ ./cells install

…

✔ Installation Finished: please restart with ‘./cells start’ command

[pydio@web7 ~]$ ./cells start  
panic: runtime error: invalid memory address or nil pointer dereference  
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xfb2a0a]

goroutine 103 [running]:  
[github.com/pydio/cells/vendor/github.com/micro/go-web.(\*service](http://github.com/pydio/cells/vendor/github.com/micro/go-web.(*service)).Init(0xc42494b040, 0xc4249e04c0, 0x7, 0x7, 0x24, 0x1)  
/opt/JetBrains/TeamCity/buildAgent/work/73afa92fb1a910b1/src/github.com/pydio/cells/vendor/github.com/micro/go-web/service.go:298 +0x31a  
[github.com/pydio/cells/common/service.WithWeb.func1.2](http://github.com/pydio/cells/common/service.WithWeb.func1.2)(0x5f954c0, 0xc424942c00, 0x0, 0x0)  
…

REMARKS:

- I have no /opt/JetBrains/…
- Verified database credentials, but database has no tables (MariaDB 10.3.7)

Any ideas?

---

<div class="post-metadata">

**Author:** ![Fraddy](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/fraddy/32/464_2.png) [@Fraddy](https://forum.pydio.com/u/Fraddy)\
**Post date:** [June 25, 2018, 10:01pm UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/10 "2018-06-25T22:01:32Z")

</div>

End of stack trace:

…

[github.com/pydio/cells/common/service.(\*service](http://github.com/pydio/cells/common/service.(*service)).Start(0xc424942c00)  
/opt/JetBrains/TeamCity/buildAgent/work/73afa92fb1a910b1/src/github.com/pydio/cells/common/service/service.go:320 +0x20a  
created by [github.com/pydio/cells/cmd.glob..func20](http://github.com/pydio/cells/cmd.glob..func20)  
/opt/JetBrains/TeamCity/buildAgent/work/73afa92fb1a910b1/src/github.com/pydio/cells/cmd/services-start.go:147 +0xa3

Sorry, as newbee I am not allowed to post more “links”.  
I used the latest release version 1.0.1.

---

<div class="post-metadata">

**Author:** ![dwmccoy](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@dwmccoy](https://forum.pydio.com/u/dwmccoy)\
**Post date:** [July 19, 2018, 7:52pm UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/11 "2018-07-19T19:52:16Z")

</div>

I have tried to install pydio cells 1.0,0 1.0.1, and 1.0.2 on both Ubuntu 16.0.4 and 18.0.4 with no success.  
Since I’m a new user I have masked the github reference with a “,” so that I can post the text.

pydio@cells:~$ ./cells start  
2018-07-19T15:28:08.940-0400 INFO WARNING: File descriptor limit 1024 is too low for running Pydio Cells Home Edition in production. At least 8192 is recommended. Fix with “ulimit -n 8192”.  
panic: runtime error: invalid memory address or nil pointer dereference  
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xfb544a]

goroutine 67 [running]:  
github,com/pydio/cells/vendor/github,com/micro/go-web.(\*service).Init(0xc42023f7c0, 0xc424c30b00, 0x7, 0x7, 0x24, 0x1)  
/opt/JetBrains/TeamCity/buildAgent/work/73afa92fb1a910b1/src/github.com/pydio/cells/vendor/github,com/micro/go-web/service.go:298 +0x31a  
github,com/pydio/cells/common/service.WithWeb.func1.2(0x5fa1460, 0xc423598c00, 0x0, 0x0)  
/opt/JetBrains/TeamCity/buildAgent/work/73afa92fb1a910b1/src/github,com/pydio/cells/common/service/service-web.go:83 +0x4ba  
github,com/pydio/cells/common/service.(\*service).Start(0xc423598c00)  
/opt/JetBrains/TeamCity/buildAgent/work/73afa92fb1a910b1/src/github,com/pydio/cells/common/service/service.go:320 +0x20a  
created by github,com/pydio/cells/cmd.glob…func20  
/opt/JetBrains/TeamCity/buildAgent/work/73afa92fb1a910b1/src/github,com/pydio/cells/cmd/services-start.go:147 +0xa3  
pydio@cells:~$

---

<div class="post-metadata">

**Author:** ![dwmccoy](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@dwmccoy](https://forum.pydio.com/u/dwmccoy)\
**Post date:** [July 25, 2018, 1:23am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/12 "2018-07-25T01:23:39Z")

</div>

I did some additional testing on this issue today. I only receive this error when attempting an installation using an outside world ip address . If I create a server using private ip address the installation works. I would like to know of those who have posted in this thread are using outside world ip addresses to help narrow this issue down.

---

<div class="post-metadata">

**Author:** ![mechanimal82](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/mechanimal82/32/460_2.png) [@mechanimal82](https://forum.pydio.com/u/mechanimal82)\
**Post date:** [July 25, 2018, 6:05pm UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/13 "2018-07-25T18:05:17Z")

</div>

Interesting… I’ve received the same error on an 18.4 installation and using an external IP. So you’re saying it works if you install an internal IP… but then I guess access would only be available when in the local network?

I have this installed on a dedi box, and external access is a must have for me. I wonder if there’s any way to get it installed and accessible externally.

---

<div class="post-metadata">

**Author:** ![dwmccoy](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@dwmccoy](https://forum.pydio.com/u/dwmccoy)\
**Post date:** [July 27, 2018, 3:11pm UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/14 "2018-07-27T15:11:37Z")

</div>

I did additional testing yesterday and here are my findings. My setup is a VMWare ESXi host that can be accessed internally and externally. My first attempts were to install in a VM that was for external use only. The installation completes successfully but fails on startup with the error listed in this thread. I’ve tried binding to local host/outside ip and outside ip/outside ip and this error occurs everytime. If I install the VM for private use only the server start is successful every time with all features I’ve tested working. My gut feeling tells me it’s a GO Lang / NATS http redirect issue. I did the install one more time but when I configured the VM I installed it using two network adapters. I put one adapter private and one adapter public. When I did the bindings I used localhost:8080/Outside IP:8080 and the server successfully started but it is very slow. I also noticed that it’s not able to write any data to any folder as a user or as an admin. So in short, my best guess is some type of http redirect issue but I’ll leave that up to the developers to determine now that updated the post with this info.

---

<div class="post-metadata">

**Author:** ![dwmccoy](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@dwmccoy](https://forum.pydio.com/u/dwmccoy)\
**Post date:** [July 28, 2018, 3:40am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/15 "2018-07-28T03:40:36Z")

</div>

Working solution for me using an outside IP address in a virtual machine requires 2 network adapters. I can not make it work using only one. In the creation of my virtual machine I set one adapter for my internal network of 192.168.x.x and a set the other adapter for my real world network of 65.x.x.x . During the installation phase I set the internal listening IP address to my outside IP of 65.x.x.x:8080 and I also set the external listening port to my external IP of 65.x.x.x:8080 . I can connect using a web browser to url [http://65.x.x.x](http://65.x.x.x).:8080 . Everything works now including writing data to folders which was failing before. If I log in as an admin and look at the Services it shows ALL services bound to the internal network of 192.168.x.x . If I try to connect to url [http://192.168.x.x:8080](http://192.168.x.x:8080) from the local network I get the error 404 Site 192.168.x.x:8080 is not served on this interface. I hope this helps others solve running Cells on a real world IP in a virtual machine. I’m very confident that trying to use an outside IP address using a single network adapter results in the panic:runtime errors due to some type of http redirect / NAT issue.

---

<div class="post-metadata">

**Author:** ![khang](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@khang](https://forum.pydio.com/u/khang)\
**Post date:** [July 28, 2018, 3:49am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/16 "2018-07-28T03:49:09Z")

</div>

This is great that you got it working! So it requires two adapters like enp0s1 and enp0s2?

---

<div class="post-metadata">

**Author:** ![dwmccoy](https://avatars.discourse-cdn.com/v4/letter/d/db5fbb/32.png) [@dwmccoy](https://forum.pydio.com/u/dwmccoy)\
**Post date:** [July 28, 2018, 3:50am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/17 "2018-07-28T03:50:00Z")

</div>

In my particular setup…Yes.

---

<div class="post-metadata">

**Author:** ![Fraddy](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/fraddy/32/464_2.png) [@Fraddy](https://forum.pydio.com/u/Fraddy)\
**Post date:** [July 28, 2018, 7:03am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/18 "2018-07-28T07:03:26Z")

</div>

I was using a single and public IP address as well. Added a second adapter with a local IP (192.168) and now it runs!  
cells seems to bind to 127.0.0.1 and 0.0.0.0. Odd that it really needs some local IP.  
I hope that can be fixed.

---

<div class="post-metadata">

**Author:** ![jpeizer](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/jpeizer/32/654_2.png) [@jpeizer](https://forum.pydio.com/u/jpeizer)\
**Post date:** [December 18, 2018, 6:49pm UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/20 "2018-12-18T18:49:08Z")

</div>

Directed here from: [https://github.com/pydio/cells/issues/11](https://github.com/pydio/cells/issues/11)  
I’ve been running into this same issue, but have one network adapter

Welcome to Pydio Cells Home Edition installation  
Pydio Cells Home Edition will be configured to run on this machine. Make sure to prepare the following data

- IPs and ports for binding the webserver to outside world
- MySQL 5.6+ (or MariaDB equivalent) server access  
Pick your installation mode when you are ready.

✔ Command line (performed in this terminal)  
Cannot find vaultKeyPath, creating new one /home/pydio/.config/pydio/cells/cells-vault-key

* * *

```
 Warning! A keyring is not found on this machine,
    A Master Key has been created for cyphering secrets

```

It has been stored in /home/pydio/.config/pydio/cells/cells-vault-key  
Please make sure to secure this file and update the configs  
with its new location, under the defaults/keyPath key.

* * *

✔ Other: 0.0.0.0:8888  
✔ External Host (used to access this machine from outside world if it differs from Bind Host): 0.0.0.0:8888  
✔ Disable SSL (not recommended)

## Database Connection

✔ TCP  
✔ Database Hostname: 127.0.0.1  
✔ Database Port: 3306  
✔ Database Name: cells  
✔ Database User: pydio  
✔ Database Password (leave empty if not needed): \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
✔ Successfully connected to the database

## Frontend Configuration

✔ Admin Login (leave passwords empty if an admin is already created): admin  
✔ Admin Password: \*\*\*\*\*  
✔ Confirm Password: \*\*\*\*\*

## Advanced Settings

✗ There are some advanced settings for ports and initial data storage. Do you want to edit them:

## Performing Installation

2018-12-18T18:28:56.695Z INFO Starting installation now {“bindUrl”: “[http://0.0.0.0:8888](http://0.0.0.0:8888)”}  
✔ Created main database  
✔ Created default datasources  
✔ Configuration of gateway services  
✔ Creation of logs directory

✔ Installation Finished: please restart with ‘./cells start’ command

* * *

### Results

```
pydio@foo:~$ ./cells start
WARNING: File descriptor limit 1024 is too low for running Pydio Cells Home Edition in production. At least 8192 is recommended. Fix with "ulimit -n 8192".
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xf8b78a]

goroutine 308 [running]:
github.com/pydio/cells/vendor/github.com/micro/go-web.(*service).Init(0xc4246a5400, 0xc420339780, 0x8, 0x8, 0x24, 0x1)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/micro/go-web/service.go:298 +0x31a
github.com/pydio/cells/common/service.WithWeb.func1.2(0x6ce1ee0, 0xc424705b00, 0x30aa6c0, 0xc421b14000)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/common/service/service-web.go:80 +0x529
github.com/pydio/cells/common/service.(*service).Start(0xc424705b00)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/common/service/service.go:370 +0x1fe
created by github.com/pydio/cells/cmd.glob..func27
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/cmd/services-start.go:150 +0xa3
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xf8b78a]

goroutine 306 [running]:
github.com/pydio/cells/vendor/github.com/micro/go-web.(*service).Init(0xc4246a4280, 0xc420509440, 0x8, 0x8, 0x24, 0x1)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/micro/go-web/service.go:298 +0x31a
github.com/pydio/cells/common/service.WithWeb.func1.2(0x6ce1ee0, 0xc4246d4300, 0x47564d4c65676a32, 0x372f66734c6b4f38)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/common/service/service-web.go:80 +0x529
github.com/pydio/cells/common/service.(*service).Start(0xc4246d4300)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/common/service/service.go:370 +0x1fe
created by github.com/pydio/cells/cmd.glob..func27
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/cmd/services-start.go:150 +0xa3

```

* * *

### Notes:

- Database is empty
- Attempting a web based install may lend to more detail as to where this issue is coming from…

````auto
2018-12-18T18:37:17.134Z INFO pydio.gateway.rest started
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xf8b78a]

goroutine 1 [running]:
github. com/pydio/cells/vendor/github.com/micro/go-web.(*service).Init(0xc422a62000, 0xc42000e808, 0x1, 0x1, 0x1, 0x1)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/micro/go-web/service.go:298 +0x31a
github. com/pydio/cells/cmd.glob..func19(0x895ee60, 0x8b3c070, 0x0, 0x0)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/cmd/install.go:236 +0x9bc
github. com/pydio/cells/vendor/github.com/spf13/cobra.(*Command).execute(0x895ee60, 0x8b3c070, 0x0, 0x0, 0x895ee60, 0x8b3c070)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/spf13/cobra/command.go:760 +0x2c1
github. com/pydio/cells/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x895e280, 0x1, 0x1, 0x69f6178)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/spf13/cobra/command.go:846 +0x30a
github. com/pydio/cells/vendor/github.com/spf13/cobra.(*Command).Execute(0x895e280, 0xc4200c6058, 0x0)
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/spf13/cobra/command.go:794 +0x2b
github. com/pydio/cells/cmd.Execute()
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/cmd/root.go:196 +0x36
main.main()
        /opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/main.go:111 +0x6a```

````

* * *

### System setup:

- Xeon E3-1231v3 (4c/8th) - 32GB
- Apache running (same result when stopped and disabled)
- attempted bind addresses:
  - 0.0.0.0:(8888|8995); 127.0.0.0:(8888|8995); localhost:(8888|8995)

- MySQL Version: 5.7.24
- OS: Ubuntu 18.04 (up to date as of 12/18/2018)
- Cells version:
  - Pydio Cells Home Edition (1.2.4)
  - Published on 13 Dec 18 15:08 +0000
  - Revision number 6675088eca8d2c54008aaf86f188cc60f78df658

- No support ports are reserved by other services (37793, 45487, 41327, 45805, 46821, 35085)

---

<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:** [December 19, 2018, 8:35am UTC](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182/21 "2018-12-19T08:35:59Z")

</div>

Hi,  
the issue is with the external bind, you can keep your internal bind as it is (0.0.0.0:8888)

> [@jpeizer](#):
>
> External Host (used to access this machine from outside world if it differs from Bind Host): 0.0.0.0:8888

Use the server’s public IP + the same port as the internal bind (in your case 0.0.0.0:`8888`) or a Domain name if you have one and you should have access to it,  
also.

> [@jpeizer](#):
>
> WARNING: File descriptor limit 1024 is too low for running Pydio Cells Home Edition in production. At least 8192 is recommended. Fix with “ulimit -n 8192”. panic: runtime error: invalid memory address or nil pointer dereference

Change this with: `ulimit -n 8192`

[Next page](https://forum.pydio.com/t/panic-on-pydio-cells-start/1182.md?page=2)
