Hello
Iβm trying to install pydio cells in a docker container based on debian. I followed the doc at this address https://pydio.com/en/docs/cells/v1/debian-systems but I am stuck in the last stage of the installation and in the console I have several errors.
Error :
$ ./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.
β Browser-based (requires a browser access)
β 0.0.0.0:8080
β External Host (used to access this machine from outside world if it differs from Bind Host): 0.0.0.0:8080
β Generate a self-signed certificate (for staging environments only!)
β Yes
Setting httpRedir flag
2018-05-30T09:48:13.528Z INFO Extracted 61 files for a total size of 12121910
https://0.0.0.0:8080 {
root "/home/pydio/.config/pydio/cells/static/install"
proxy /install localhost:45324
tls self_signed
}
2018-05-30T09:48:14.531Z INFO nats started
2018-05-30T09:48:15.552Z INFO Registering /install/events for Polling
2018-05-30T09:48:16.541Z INFO micro.api started
2018-05-30T09:48:16.552Z INFO pydio.rest.install started
Activating privacy features... done.
https://0.0.0.0:8080
2018-05-30T09:48:16.583Z INFO https://0.0.0.0:8080
Opening URL https://0.0.0.0:8080 in your browser. Please copy/paste it if the browser is not on the same machine.
2018-05-30T09:48:20.150Z INFO http: TLS handshake error from 192.168.xxx.xxx:38200: tls: first record does not look like a TLS handshake
2018-05-30T09:48:24.220Z INFO http2: server: error reading preface from client 192.168.xxx.xxx:38202: remote error: tls: unknown certificate authority
::1 - - [30/May/2018:09:48:28 +0000] "GET /install/agreement HTTP/1.1" 200 35339 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
2018-05-30T09:48:28.988Z INFO pydio.rest.install Received Install.Get request {"response": "config:<dbConnectionType:\"tcp\" dbTCPHostname:\"localhost\" dbTCPPort:\"3306\" dbTCPName:\"cells\" dbTCPUser:\"root\" dbSocketFile:\"/tmp/mysql.sock\" dbSocketName:\"cells\" dbSocketUser:\"root\" dbManualDSN:\"root@tcp(localhost=3306)/cells\" dsName:\"pydiods1\" dsPort:\"46504\" dsFolder:\"/home/pydio/.config/pydio/cells/data\" externalMicro:\"45324\" externalGateway:\"32850\" externalWebsocket:\"35505\" externalFrontPlugins:\"44596\" externalDAV:\"33729\" externalWOPI:\"45135\" externalDex:\"41383\" externalDexID:\"cells-front\" externalDexSecret:\"Q3BEhpugVMTyYa6ebIWrncnb\" frontendHosts:\"localhost,127.0.0.1,::1\" frontendLogin:\"admin\" CheckResults:<Name:\"PHP\" Success:true JsonResult:\"{\\\"fpm\\\":{\\\"ListenAddress\\\":\\\"localhost:9000\\\",\\\"ListenNetwork\\\":\\\"tcp\\\",\\\"PhpVersion\\\":\\\"7.0.27\\\",\\\"PhpExtensions\\\":[\\\"dom\\\",\\\"curl\\\",\\\"intl\\\",\\\"gd\\\"],\\\"PhpUser\\\":\\\"\\\",\\\"PhpGroup\\\":\\\"\\\",\\\"ListenOwner\\\":\\\"\\\",\\\"ListenGroup\\\":\\\"\\\"}}\" "}
::1 - - [30/May/2018:09:48:28 +0000] "GET /install HTTP/1.1" 200 947 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:48:41 +0000] "POST /install/check HTTP/1.1" 200 95 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:48:41 +0000] "POST /install/check HTTP/1.1" 200 95 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
2018-05-30T09:48:49.798Z INFO pydio.rest.install Starting installation now {"bindUrl": ""}
::1 - - [30/May/2018:09:48:29 +0000] "GET /install/events?timeout=60&category=install HTTP/1.1" 200 118 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:48:50 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673729800 HTTP/1.1" 200 381 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:48:50 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673729802 HTTP/1.1" 200 136 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:49:03 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673743744 HTTP/1.1" 200 136 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:49:05 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673745179 HTTP/1.1" 200 136 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:49:06 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673746400 HTTP/1.1" 200 136 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:49:07 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673747618 HTTP/1.1" 200 136 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:49:09 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673748911 HTTP/1.1" 200 136 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:49:10 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673750349 HTTP/1.1" 200 136 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:49:11 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673751585 HTTP/1.1" 200 136 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
::1 - - [30/May/2018:09:49:13 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673752983 HTTP/1.1" 200 136 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
2018-05-30T09:49:15.440Z INFO Extracted 8015 files for a total size of 95909460
::1 - - [30/May/2018:09:49:14 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673754189 HTTP/1.1" 200 137 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
Writing file /home/pydio/.config/pydio/cells/static/pydio/data/plugins/boot.conf/bootstrap.json
::1 - - [30/May/2018:09:49:15 +0000] "GET /install/events?timeout=60&category=install&since_time=1527673755440 HTTP/1.1" 200 380 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
2018-05-30T09:49:17.446Z INFO pydio.rest.install stopping
2018-05-30T09:49:17.446Z INFO http: Server closed
::1 - - [30/May/2018:09:48:49 +0000] "POST /install HTTP/1.1" 200 16 "https://azerty:8061/" "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
2018-05-30T09:49:19.948Z INFO pydio.rest.policy started
2018-05-30T09:49:19.949Z INFO pydio.rest.search started
2018-05-30T09:49:19.950Z INFO pydio.rest.share started
2018-05-30T09:49:19.950Z INFO pydio.rest.tree started
2018-05-30T09:49:19.951Z INFO pydio.api.websocket started
2018-05-30T09:49:19.952Z INFO pydio.grpc.data.objects started
2018-05-30T09:49:19.963Z INFO pydio.rest.user started
2018-05-30T09:49:19.964Z INFO pydio.grpc.update started
2018-05-30T09:49:19.964Z INFO pydio.grpc.tree started
2018-05-30T09:49:19.965Z INFO pydio.rest.workspace started
2018-05-30T09:49:19.965Z INFO pydio.rest.jobs started
0.0.0.0:8080 {
proxy /a localhost:45324 {
without /a
transparent
}
proxy /auth localhost:41383 {
without /auth
transparent
}
proxy /io localhost:32850 {
transparent
}
proxy /ws localhost:35505 {
websocket
without /ws
}
proxy /plug/ localhost:39267 {
transparent
without /plug/
}
proxy /dav/ localhost:33729 {
transparent
without /dav/
}
fastcgi / localhost:9000 php {
root "/home/pydio/.config/pydio/cells/static/pydio"
index index.php
}
status 403 {
/data
/core
/conf
}
rewrite {
if {path} not_starts_with "/a/"
if {path} not_starts_with "/auth/"
if {path} not_starts_with "/io"
if {path} not_starts_with "/ws/"
if {path} not_starts_with "/plug/"
if {path} not_starts_with "/dav/"
if {path} not_starts_with "/wopi/"
if {path} not_starts_with "/loleaflet/"
if {path} not_starts_with "/hosting/discovery"
if {path} not_starts_with "/lool/"
to {path} {path}/ /index.php
}
tls self_signed
root "/home/pydio/.config/pydio/cells/static/pydio"
errors "/home/pydio/.config/pydio/cells/logs/caddy_errors.log"
}
http://0.0.0.0 {
redir https://0.0.0.0:8080
}
2018-05-30T09:49:19.966Z ERROR pydio.grpc.gateway.proxy Could not run {"error": "listen tcp :80: bind: permission denied"}
2018-05-30T09:49:19.966Z INFO pydio.rest.update started
2018-05-30T09:49:19.969Z INFO pydio.rest.config started
2018-05-30T09:49:19.974Z INFO pydio.rest.user-meta started
2018-05-30T09:49:19.974Z INFO pydio.rest.mailer started
2018-05-30T09:49:19.976Z INFO pydio.rest.frontend started
2018-05-30T09:49:19.976Z INFO pydio.rest.activity started
2018-05-30T09:49:19.976Z INFO pydio.rest.role started
2018-05-30T09:49:19.977Z INFO pydio.rest.acl started
2018-05-30T09:49:19.977Z INFO pydio.grpc.data.sync started
2018-05-30T09:49:19.998Z INFO pydio.rest.graph started
2018-05-30T09:49:19.998Z INFO pydio.rest.docstore started
2018-05-30T09:49:19.999Z INFO pydio.rest.log started
2018-05-30T09:49:19.999Z INFO pydio.rest.auth started
2018-05-30T09:49:19.999Z INFO pydio.grpc.share started
2018-05-30T09:49:20.000Z INFO pydio.rest.meta started
2018-05-30T09:49:20.008Z INFO pydio.grpc.log started
2018-05-30T09:49:20.082Z INFO pydio.grpc.docstore started
2018-05-30T09:49:20.082Z INFO pydio.grpc.auth started
2018-05-30T09:49:20.083Z INFO pydio.grpc.search started
2018-05-30T09:49:20.085Z INFO pydio.grpc.chat started
2018-05-30T09:49:20.085Z INFO pydio.grpc.jobs started
2018-05-30T09:49:20.091Z INFO pydio.grpc.auth config using log level: debug
2018-05-30T09:49:20.091Z INFO pydio.grpc.auth config issuer: http://127.0.0.1:41383/dex
2018-05-30T09:49:20.155Z ERROR pydio.grpc.data-key Failed to init DB provider {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling data_key_data-key.0.1.sql"}
2018-05-30T09:49:20.155Z ERROR pydio.grpc.data-key Could not run {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling data_key_data-key.0.1.sql"}
2018-05-30T09:49:20.155Z ERROR pydio.grpc.user-key Failed to init DB provider {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling idm_key_0.1.sql"}
2018-05-30T09:49:20.156Z ERROR pydio.grpc.user-key Could not run {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling idm_key_0.1.sql"}
2018-05-30T09:49:20.156Z ERROR pydio.grpc.acl Failed to init DB provider {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling idm_acl_0.1.sql"}
2018-05-30T09:49:20.156Z ERROR pydio.grpc.acl Could not run {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling idm_acl_0.1.sql"}
2018-05-30T09:49:20.156Z ERROR pydio.grpc.meta Failed to init DB provider {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling data_meta_0.1.sql"}
2018-05-30T09:49:20.156Z ERROR pydio.grpc.meta Could not run {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling data_meta_0.1.sql"}
2018-05-30T09:49:20.156Z ERROR pydio.grpc.policy Failed to init DB provider {"error": "Could not migrate sql schema, applied 0 migrations: Error 1071: Specified key was too long; max key length is 767 bytes handling 1", "errorVerbose": "Error 1071: Specified key was too long; max key length is 767 bytes handling 1\nCould not migrate sql schema, applied 0 migrations\ngithub.com/pydio/cells/vendor/github.com/ory/ladon/manager/sql.(*SQLManager).CreateSchemas\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/vendor/github.com/ory/ladon/manager/sql/manager_sql.go:69\ngithub.com/pydio/cells/idm/policy.(*sqlimpl).Init\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/idm/policy/sql.go:65\ngithub.com/pydio/cells/common/service.newDBProvider.func1\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/common/service/db.go:51\ngithub.com/pydio/cells/vendor/github.com/micro/go-micro.(*service).Start\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/vendor/github.com/micro/go-micro/service.go:98\ngithub.com/pydio/cells/vendor/github.com/micro/go-micro.(*service).Run\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/vendor/github.com/micro/go-micro/service.go:147\ngithub.com/pydio/cells/common/service.(*service).Start.func1\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/common/service/service.go:323\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:2361"}
2018-05-30T09:49:20.156Z ERROR pydio.grpc.policy Could not run {"error": "Could not migrate sql schema, applied 0 migrations: Error 1071: Specified key was too long; max key length is 767 bytes handling 1", "errorVerbose": "Error 1071: Specified key was too long; max key length is 767 bytes handling 1\nCould not migrate sql schema, applied 0 migrations\ngithub.com/pydio/cells/vendor/github.com/ory/ladon/manager/sql.(*SQLManager).CreateSchemas\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/vendor/github.com/ory/ladon/manager/sql/manager_sql.go:69\ngithub.com/pydio/cells/idm/policy.(*sqlimpl).Init\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/idm/policy/sql.go:65\ngithub.com/pydio/cells/common/service.newDBProvider.func1\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/common/service/db.go:51\ngithub.com/pydio/cells/vendor/github.com/micro/go-micro.(*service).Start\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/vendor/github.com/micro/go-micro/service.go:98\ngithub.com/pydio/cells/vendor/github.com/micro/go-micro.(*service).Run\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/vendor/github.com/micro/go-micro/service.go:147\ngithub.com/pydio/cells/common/service.(*service).Start.func1\n\t/opt/JetBrains/TeamCity/buildAgent/work/22bd73557e64c628/src/github.com/pydio/cells/common/service/service.go:323\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:2361"}
2018-05-30T09:49:20.159Z ERROR pydio.grpc.config Could not run {"error": "Error 1071: Specified key was too long; max key length is 767 bytes"}
2018-05-30T09:49:20.161Z ERROR pydio.grpc.role Failed to init DB provider {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling idm_role_0.1.sql"}
2018-05-30T09:49:20.161Z ERROR pydio.grpc.role Could not run {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling idm_role_0.1.sql"}
2018-05-30T09:49:20.161Z ERROR pydio.grpc.workspace Failed to init DB provider {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling idm_workspace_0.1.sql"}
2018-05-30T09:49:20.161Z ERROR pydio.grpc.workspace Could not run {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling idm_workspace_0.1.sql"}
2018-05-30T09:49:20.162Z ERROR pydio.grpc.user-meta Failed to init DB provider {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling idm_usr_meta_0.1.sql"}
2018-05-30T09:49:20.162Z ERROR pydio.grpc.user-meta Could not run {"error": "Error 1071: Specified key was too long; max key length is 767 bytes handling idm_usr_meta_0.1.sql"}
2018-05-30T09:49:20.162Z ERROR pydio.grpc.user Failed to init DB provider {"error": "cannot perform migration: Error 1071: Specified key was too long; max key length is 767 bytes handling idm_user_0.1.sql"}
2018-05-30T09:49:20.162Z ERROR pydio.grpc.user Could not run {"error": "cannot perform migration: Error 1071: Specified key was too long; max key length is 767 bytes handling idm_user_0.1.sql"}
migration 1 failed: Error 1071: Specified key was too long; max key length is 767 bytes
2018-05-30T09:49:20.164Z ERROR pydio.grpc.auth ERROR STARTING DEX SERVER {"error": "failed to initialize storage: failed to open migrations: migration 1 failed: Error 1071: Specified key was too long; max key length is 767 bytes"}
2018-05-30T09:49:20.950Z INFO pydio.rest.gateway.wopi started
2018-05-30T09:49:20.973Z INFO pydio.grpc.gateway.data started
2018-05-30T09:49:20.982Z INFO pydio.api.front-plugins started
2018-05-30T09:49:21.000Z INFO pydio.rest.gateway.dav started
2018-05-30T09:49:22.957Z INFO pydio.grpc.data.index started
2018-05-30T09:49:23.082Z INFO pydio.grpc.tasks started
2018-05-30T09:49:23.247Z INFO pydio.grpc.mailer Starting mailer with sender 'smtp'
2018-05-30T09:49:23.247Z INFO pydio.grpc.mailer started
2018-05-30T09:49:23.286Z ERROR pydio.grpc.tasks Streamer PutTaskStream {"error": "{\"id\":\"go.micro.client\",\"code\":500,\"detail\":\"none available\",\"status\":\"Internal Server Error\"}"}
2018-05-30T09:49:23.287Z INFO pydio.grpc.activity started
2018-05-30T09:49:24.206Z INFO pydio.grpc.versions started
2018-05-30T09:49:25.967Z INFO pydio.grpc.timer started
2018-05-30T09:49:25.971Z INFO pydio.grpc.timer Registering Job {"job": "actions.auth.prune.tokens"}
2018-05-30T09:49:25.971Z INFO pydio.grpc.timer Registering Job {"job": "flush-mailer-queue"}
2018-05-30T09:49:25.971Z INFO pydio.grpc.timer Registering Job {"job": "internal-prune-jobs"}
2018-05-30T09:49:25.971Z INFO pydio.grpc.timer Registering Job {"job": "prune-versions-job"}
2018-05-30T09:49:25.971Z INFO pydio.grpc.timer Registering Job {"job": "users-activity-digest"}
2018-05-30T09:49:25.971Z INFO pydio.grpc.data.objects.local1 started
2018-05-30T09:49:25.973Z INFO pydio.grpc.data.objects.local1 Starting objects service local1
2018-05-30T09:49:26.101Z INFO pydio.grpc.data.sync.pydiods1 started
2018-05-30T09:49:26.233Z INFO pydio.grpc.data.sync.personal started
2018-05-30T09:49:26.340Z INFO pydio.grpc.data.sync.cells started
2018-05-30T09:49:28.561Z INFO pydio.grpc.data.index.personal started
2018-05-30T09:49:28.593Z INFO pydio.grpc.data.index.pydiods1 started
2018-05-30T09:49:28.594Z INFO pydio.grpc.data.index.cells started
Config :
php -v PHP 7.0.27-0+deb9u1 (cli) (built: Jan 5 2018 13:51:52) ( NTS )
mysql Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1