Pydio Cells Install : panic: runtime error: slice bounds out of range

Downloaded your Pydio Cells v1.2.5 release from your website,
Later, I build Dev version on my Ubunut 18.04 development desktop.
All attempts when running from a newly created pydio account result in this Go Panic
Tried various ideas to see it I can locate issue. Running the build of cells from within the source directory does get me a little further.
I’m confident I am following your install instructions…
But I guess it’s missing some dependencies.

Please advise

pydio@z390ma:~$ ./cells version

    Pydio Cells Home Edition (1.2.5)
    Published on 09 Jan 19 16:11 +0000
    Revision number 50df9a4dfd6f61dc6f2733a3376e2e834690ce33

pydio@z390ma:~$ ./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
Pick your installation mode when you are ready.

✔ Browser-based (requires a browser access)
Use the arrow keys to navigate: ↓ ↑ → ← 
✔ 192.168.14.191:8080
✔ External Host (used to access this machine from outside world if it differs from Bind Host): 192.168.14.191:8080✔ External Host (used to access this machine from outside world if it differs from Bind Host): 192.168.14.191:8080
✔ Disable SSL (not recommended)
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
github.com/pydio/cells/vendor/github.com/godbus/dbus.getSessionBusPlatformAddress(0x341aa93, 0x18, 0x0, 0x0)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/godbus/dbus/conn_other.go:30 +0x2ac
github.com/pydio/cells/vendor/github.com/godbus/dbus.getSessionBusAddress(0x0, 0x0, 0x0, 0x0)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/godbus/dbus/conn.go:96 +0xe5
github.com/pydio/cells/vendor/github.com/godbus/dbus.SessionBusPrivate(0x8, 0x69ffc10, 0xc4232124c8)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/godbus/dbus/conn.go:101 +0x22
github.com/pydio/cells/vendor/github.com/godbus/dbus.SessionBus(0x0, 0x0, 0x0)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/godbus/dbus/conn.go:73 +0xad
github.com/pydio/cells/vendor/github.com/zalando/go-keyring/secret_service.NewSecretService(0x7fe8fc8bb458, 0x0, 0xc423212560)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/zalando/go-keyring/secret_service/secret_service.go:50 +0x26
github.com/pydio/cells/vendor/github.com/zalando/go-keyring.secretServiceProvider.Get(0x3409e57, 0x13, 0x33f887b, 0xe, 0x0, 0x0, 0x0, 0x0)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/zalando/go-keyring/keyring_linux.go:78 +0x39
github.com/pydio/cells/vendor/github.com/zalando/go-keyring.Get(0x3409e57, 0x13, 0x33f887b, 0xe, 0x3, 0xc420060f70, 0xc420060f00, 0xc42009d318)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/vendor/github.com/zalando/go-keyring/keyring.go:32 +0x61
github.com/pydio/cells/common/crypto.GetKeyringPassword(0x3409e57, 0x13, 0x33f887b, 0xe, 0x0, 0x98, 0x3185220, 0xc4247cbad0, 0x100000000000000, 0x0)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/common/crypto/keyring.go:33 +0x56
github.com/pydio/cells/common/config/vault.(*VaultSource).initMasterPassword(0xc4244dd540)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/common/config/vault/source.go:152 +0xe7
github.com/pydio/cells/common/config/vault.NewVaultSource(0xc42452eab0, 0x30, 0xc42452eae0, 0x2f, 0x0, 0x0, 0x0, 0x0, 0xc423212830)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/common/config/vault/source.go:51 +0x19d
github.com/pydio/cells/common/config.Vault.func1()
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/common/config/secrets.go:47 +0x398
sync.(*Once).Do(0x8b451e0, 0x69fdd78)
	/usr/local/go/src/sync/once.go:44 +0xbe
github.com/pydio/cells/common/config.Vault(0xc422a6c750, 0x2bc1b80)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/common/config/secrets.go:28 +0x39
github.com/pydio/cells/common/config.Set(0x2bc1b80, 0x841fc40, 0xc42454ef30, 0x3, 0x3)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/common/config/vars.go:150 +0x183
github.com/pydio/cells/cmd.promptSslMode(0xc420af4f60, 0x33e7282, 0x8)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/cmd/config-ssl-mode.go:163 +0x1490
github.com/pydio/cells/cmd.promptAndSaveInstallUrls(0xc424681030, 0x0, 0xc4209eba10, 0x29)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/cmd/install-cli.go:129 +0x92a
github.com/pydio/cells/cmd.glob..func19(0x8967f00, 0x8b45110, 0x0, 0x0)
	/opt/teamcity/agent/work/b7c550f2c973b54c/src/github.com/pydio/cells/cmd/install.go:168 +0x2039
github.com/pydio/cells/vendor/github.com/spf13/cobra.(*Command).execute(0x8967f00, 0x8b45110, 0x0, 0x0, 0x8967f00, 0x8b45110)
	/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(0x8967320, 0x1, 0x1, 0x69fe570)
	/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(0x8967320, 0xc4200b6058, 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
pydio@z390ma:~$

Hi,
yes it could be that,
when you use make dev does it ask you for dependencies such as packr?

Hi,
@jradxl i forgot to ask but do you have a private address.

Seems like an issue with dbus, which is a tool for storing secret data in a keychain on the server. Can you check whether it is installed or not on this ubuntu?

This honestly happened to me too, and I accidentally found out what happened.

I followed your instructional step-by-step at the following link: https://pydio.com/en/docs/cells/v1/ubuntu-systems

But when I went to install, it wouldn’t let me. I tried it multiple times as the standard user, before I decided to run through the steps again.

So here’s all I did different and it worked:

After creating the user “pydio” and creating the MySQL database, and downloading and installing Pydio Cells at the newest version 1.6.1 (for Ubunutu 18.04 LTS installation), I switched to the root user with the command “sudo -i”

I then changed directory with: cd /home/pydio and then I ran “su - pydio” and then ran the ./cells install command, and the install went through clean. No panic error.

For some reason, running pydio as my standard user with elevated privileges (typing sudo before each command) wasn’t good enough. I had to be running as root, from the proper directory before I could run the command to su - pydio and ./cells install.

Hopefully this helps some others.