Longtime Pydio user here (since V5 if my memory serves me right). I recently upgraded my FreeBSD server and decided to make a fresh Pydio installation. And why not go with Cells from the beginning?
Anyway, I got Go set up and working and think I solved most of the dependencies all right, however, when installing Pydio via ./cells install
I sooner or later run into the following problem:
> 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)
> ā [URL]
> ā Disable SSL (not recommended)
> ā External Url, used to access application from outside world (it can differ from internal url if you are behind a prā External Url, used to access application from outside world (it can differ from internal url if you are behind a proxy or inside a private network): [URL]
> panic: runtime error: invalid memory address or nil pointer dereference
> [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xb7f358]
>
> goroutine 1 [running]:
github.com/pydio/cells/vendor/github.com/zalando/go-keyring.Get(0x2ce9bb9, 0x13, 0x2cdaa74, 0xe, 0xc0007377c0, 0x203000, 0x203000, 0x2ccb0b1)
/root/.gopkg/src/github.com/pydio/cells/vendor/github.com/zalando/go-keyring/keyring.go:32 +0x28
github.com/pydio/cells/common/crypto.GetKeyringPassword(0x2ce9bb9, 0x13, 0x2cdaa74, 0xe, 0x0, 0x98, 0x2b1b180, 0xc000cea810, 0x100000000000000, 0x0)
/root/.gopkg/src/github.com/pydio/cells/common/crypto/keyring.go:33 +0x56
github.com/pydio/cells/common/config/vault.(*VaultSource).initMasterPassword(0xc0007377c0)
/root/.gopkg/src/github.com/pydio/cells/common/config/vault/source.go:152 +0xe8
github.com/pydio/cells/common/config/vault.NewVaultSource(0xc000ca6480, 0x2a, 0xc000ca64b0, 0x29, 0x0, 0x0, 0x0, 0x0, 0x414d6d)
/root/.gopkg/src/github.com/pydio/cells/common/config/vault/source.go:51 +0x184
github.com/pydio/cells/common/config.Vault.func1()
/root/.gopkg/src/github.com/pydio/cells/common/config/secrets.go:47 +0x374
sync.(*Once).Do(0x55847f0, 0x2e016c0)
/usr/local/go/src/sync/once.go:44 +0xb3
github.com/pydio/cells/common/config.Vault(0xc000c96c60, 0x2709420)
/root/.gopkg/src/github.com/pydio/cells/common/config/secrets.go:28 +0x39
github.com/pydio/cells/common/config.Set(0x2709420, 0xc000c8f320, 0xc000cb57e0, 0x2, 0x2)
/root/.gopkg/src/github.com/pydio/cells/common/config/vars.go:150 +0x17d
github.com/pydio/cells/cmd.promptAndSaveInstallUrls(0xc000447110, 0x0, 0xc0005af770, 0x29)
/root/.gopkg/src/github.com/pydio/cells/cmd/install-cli.go:154 +0xaa4
github.com/pydio/cells/cmd.glob..func24(0x4f5b8e0, 0x55846f0, 0x0, 0x0)
/root/.gopkg/src/github.com/pydio/cells/cmd/install.go:173 +0x28bd
github.com/pydio/cells/vendor/github.com/spf13/cobra.(*Command).execute(0x4f5b8e0, 0x55846f0, 0x0, 0x0, 0x4f5b8e0, 0x55846f0)
/root/.gopkg/src/github.com/pydio/cells/vendor/github.com/spf13/cobra/command.go:760 +0x2cc
github.com/pydio/cells/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x4f5ad00, 0xc000ac9ef8, 0xc00066dc20, 0x1)
/root/.gopkg/src/github.com/pydio/cells/vendor/github.com/spf13/cobra/command.go:846 +0x2fd
github.com/pydio/cells/vendor/github.com/spf13/cobra.(*Command).Execute(0x4f5ad00, 0xc00066dc30, 0x1)
/root/.gopkg/src/github.com/pydio/cells/vendor/github.com/spf13/cobra/command.go:794 +0x2b
github.com/pydio/cells/cmd.Execute()
/root/.gopkg/src/github.com/pydio/cells/cmd/root.go:210 +0x128
main.main()
/root/.gopkg/src/github.com/pydio/cells/main.go:110 +0x68
Anybody got any leads as to how to get around that? Iāve tried compiling Pydio with make dev
and simple go build -o cells
.