Cells frozen at the end of installation


#1

Hello,
I am installing Cells Home in a CentOS 7 box VirtualBox VM.
The installation just don’t finish amd I have the following errors:
not_starts_with “/user/reset-password”\n\t\t\tif {path} not_starts_with “/robots.txt”\n\t\t\tto {path} {path}/ /login\n\t\t}\n\n\t\t\n\t\terrors “/home/pydio/.config/pydio/cells/logs/caddy_errors.log”\n\t\t}\n\n\t\t\n\t"}
2019-01-09T16:59:28.997Z INFO [INFO] Reloading
2019-01-09T16:59:29.037Z INFO [INFO] Reloading complete
2019-01-09T16:59:29.037Z INFO Restart Finished
2019-01-09T16:59:29.037Z INFO http: Server closed
2019-01-09T16:59:36.538Z ERROR Frontend Service Not Detected
2019-01-09T16:59:40.050Z INFO Restarting Gateway Proxy {“caddyfile”: "\n\t\thttp://192.168.56.2:8080 {\n\t\tproxy /a 10.0.2.15:40659 {\n\t\t\twithout /a\n\t\t\ttransparent\n\t\t}\n\t\tproxy /auth/dex PENDING {\n\t\t\ttransparent\n\t\t\tinsecure_skip_verify\n\t\t}\n\t\tproxy /io :42212 {\n\t\t\ttransparent\n\t\t}\n\t\tproxy /data :42212 {\n\t\t\ttransparent\n\t\t}\n\t\tproxy /ws 10.0.2.15:35780 {\n\t\t\twebsocket\n\t\t\twithout /ws\n\t\t}\n\t\tproxy /plug/ 10.0.2.15:38586 {\n\t\t\ttransparent\n\t\t\theader_downstream Cache-Control “public, max-age=31536000”\n\t\t}\n\t\tproxy /dav/ 10.0.2.15:41486 {\n\t\t\ttransparent\n\t\t}\n\n\t\tproxy /public/ 10.0.2.15:38586 {\n\t\t\ttransparent\n\t\t}\n\n\t\tproxy /user/reset-password/ 10.0.2.15:38586 {\n\t\t\ttransparent\n\t\t}\n\n\t\tproxy /robots.txt 10.0.2.15:38586 {\n\t\t\ttransparent\n\t\t}\n\n\t\tproxy /login 10.0.2.15:38586/gui {\n\t\t\ttransparent\n\t\t\twithout /login\n\t\t}\n\n\t\tredir 302 {\n\t\t if {path} is /\n\t\t /

2019-01-09T16:59:40.050Z INFO [INFO] Reloading
2019-01-09T16:59:40.080Z INFO [INFO] Reloading complete
2019-01-09T16:59:40.080Z INFO Restart Finished
2019-01-09T16:59:40.080Z INFO http: Server closed
2019-01-09T16:59:40.780Z ERROR Frontend Service Not Detected

Thanks for any suggestion.
Regards,
Mario


#2

Hi there,
could you tell me your cells version, mysql version.
the parameters you’ve put to install, bind, external, database and so on.


#3

Thanks for your reply.
I am running
Pydio Cells Home Edition (1.2.4)
Published on 13 Dec 18 15:08 +0000
Revision number 6675088eca8d2c54008aaf86f188cc60f78df658

bind: 192.168.56.2:8080
external: 192.168.56.2:8080

I am using a VirtualBox VM with accessible through 192.168.56.2.
The host only adapter is 10.0.2.15.

$ mysql -v
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 2
Server version: 5.5.60-MariaDB MariaDB Server

$ php -v
PHP 7.2.14 (cli) (built: Jan 8 2019 14:05:15) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.2.14, Copyright © 1999-2018, by Zend Technologies

Regards,
Mario


#4

Do you mean that the virtual machine only has this address available?
Could you confirm me that.


#5

The VM has two adapters:
1, NAT mode, IP 10.0.2.15, for public Internet access from the VM;
2, Host-Only mode, IP 192.168.52.2, for communication between the host and the guest VM.

To use a web server in the from the host I use the second IP.

Hope this helps.
Thanks,
Mario


#6

I have just made another network configuration in order the guest receives only one IP, but the problem remains.

Regards,
Mario


#7

yeah but inside the vm if you use for instance a command such as ifconfig
do you get something like this?

enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.116  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::a00:27ff:feb5:ec6b  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:b5:ec:6b  txqueuelen 1000  (Ethernet)
        RX packets 436723  bytes 270267206 (270.2 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 54709  bytes 41416544 (41.4 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 4404  bytes 358329 (358.3 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4404  bytes 358329 (358.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

#8

$ ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.20.218 netmask 255.255.255.224 broadcast 192.168.20.223
inet6 2001:8a0:e4b1:5c01:aa17:c8ad:bbc3:d5a4 prefixlen 64 scopeid 0x0
inet6 fe80::d5a6:6b97:a6f6:683 prefixlen 64 scopeid 0x20
ether 08:00:27:47:21:c1 txqueuelen 1000 (Ethernet)
RX packets 4632 bytes 387624 (378.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14126 bytes 19793174 (18.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp0s8: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 08:00:27:12:9f:ca txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 22022 bytes 55872365 (53.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22022 bytes 55872365 (53.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


#9

ok that’s why i guess,

your server’s interface is this one and that’s the one that needs to be specified for the bind_address.


#10

That is what I did after changing the VM network settings.
I used 192.168.20.218:8080 on bind and external addresses, but the problem remains.
Thanks


#11

when you access the webpage which address do you use?
this one

or this

would you mind giving me the exact url, (for instance http://192.168.1.1:8080) that you use to access.


#12

I am using http://192.168.20.218:8080


#13

just to be sure to reinstall you removed .config/pydio of the previosu installation and cleaned the database?
another thing might be a firewall in centos, i think that by default it’s enforced (not sure on this one) i’ll ask the people that knows centos better than me.


#14

I removed ./config/* and dropped cells db.
I confirmed that firewalld is disabled.
I am sending some errors shown in the console output during ./cells install:

:heavy_check_mark: Installation Finished: server will restart

2019-01-11T11:52:22.040Z INFO pydio.grpc.config started

2019-01-11T11:52:22.392Z ERROR pydio.grpc.mailer could not initialise service at version 1.2.4 {“error”: “{“id”:“go.micro.client”,“code”:500,“detail”:“none available”,“status”:“Internal Server Error”}”}

2019-01-11T11:52:22.392Z ERROR pydio.grpc.mailer Could not run {“error”: “{“id”:“go.micro.client”,“code”:500,“detail”:“none available”,“status”:“Internal Server Error”}”}

2019-01-11T11:52:24.058Z ERROR pydio.grpc.policy Failed to init DB provider {“error”: "Could not migrate sql schema, a

2019-01-11T11:52:36.394Z ERROR pydio.grpc.tasks Streamer PutTaskStream {“error”: "{“id”:“go.micro.client”,“code”:500,“detail”:“none available”,“status”:“Internal Server Error\”}”}

2019-01-11T11:54:13.179Z ERROR Frontend Service Not Detected

2019-01-11T11:54:17.522Z ERROR Frontend Service Not Detected

2019-01-11T11:54:21.689Z ERROR Frontend Service Not Detected

2019-01-11T11:54:23.869Z INFO Restarting Gateway Proxy {“caddyfile”: "\n\t\thttp://192.168.20.218:8080 {\n\t\tproxy /a 192.168.20.218:43235 {\n\t\t\twithout /a\n\t\t\ttransparent\n\t\t}\n\t\tproxy /auth/dex PENDING {\n\t\t\ttransparent\n\t\t\tinsecure_skip_verify\n\t\t}\n\t\tproxy /io :38078 {\n\t\t\ttransparent\n\t\t}\n\t\tproxy /data :38078 {\n\t\t\ttransparent\n\t\t}\n\t\tproxy /ws 192.168.20.218:36837 {\n\t\t\twebs


#15

do you have selinux enabled?

if you are looking on indications about how to disable it you can take a look here


#16

SE Linux is disabled

$ getenforce
Disabled


#17

could you mysql --versionit will give me the exact mariadb version,
actually i still cannot pinpoint your issue, i will reproduce it once i have the db version.


#18

$ mysql --version
mysql Ver 15.1 Distrib 5.5.60-MariaDB, for Linux (x86_64) using readline 5.1


#19

Could you update mariadb to atleast version 10.3.

if i’m not mistaken that’s your system,
https://downloads.mariadb.org/mariadb/repositories/#distro=CentOS&version=10.3&mirror=cnrs&distro_release=centos7-amd64--centos7

i think that the error is happening because the database version is not compatible(it’s old now).


#20

I updated MariaDB, dropped the db and deleted .config.
I next install reached the login page but I was not able to log.
I rebooted the VM, restarted the install and now I have the following error:
2019-01-11T17:56:37.692Z ERROR pydio.rest.config Ladon blocked GET request at /config/discovery. Ladon Response: DefaultDeny:true

and no login page.
Sorry for all this work and thanks for your support.
Regards,
Mario