Hi everyone.
I’m trying to install Cells on Rock64 ARM board and I’m facing an installation problem.
Problem
After launching Browser-based installer on the board by
$ ./cells install --no_tls
and accessing in a browser shows 404.
Could you give me some hints?
Thanks! (Detail follows below.)
Detail
Build
I setup cross-build golang environment and built it like below (GitHub - pydio/cells: Future-proof content collaboration platform, Getting Cells working on Raspberry Pi - #3 by zayn).
All building themself completed without errors.
$ env GOOS=linux GOARCH=arm64 CELLS_VERSION=2.1.11 make
I also tried some other ways.
make main:
$ env GOOS=linux GOARCH=arm64 make main CELLS_VERSION=2.1.11
packr build needed?:
$ env GOOS=linux GOARCH=arm64 CELLS_VERSION=2.1.11 make
$ env GOOS=linux GOARCH=arm64 CELLS_VERSION=2.1.11 packr build
None of them works fine .
Run
I copied the binary (cells
or cells-build
) on the board and run like,
$ ./cells install --no_tls
and it shows some messages and lanches web server at the end.
$ ./cells install --no_tls
**************************************************************
Warning! A keyring is not found on this machine,
# omitted
Pick your installation mode when you are ready.
✔ Browser-based (requires a browser access)
2021-01-07T20:34:44.596+0900 INFO pydio.gateway.rest started
2021-01-07T20:34:45.274+0900 INFO pydio.rest.install started
Activating privacy features... done.
http://0.0.0.0:8080
WARNING: File descriptor limit 1024 is too low for production servers. At least 8192 is recommended. Fix with "ulimit -n 8192".
Installation Server is starting...
Listening to: 0.0.0.0:8080
2021-01-07T20:34:47.477+0900 INFO pydio.gateway.proxy Restarting proxy {"caddyfile": "\n\nhttp://0.0.0.0:8080 {\n\troot \"/home/pi/.config/pydio/cells/static/install\"\n\tproxy /install 192.168.1.32:45598\n\n\t\n\t\n}\n\n\t "}
2021-01-07T20:34:47.478+0900 INFO pydio.gateway.proxy Restart done
Opening URL http://0.0.0.0:8080 in your browser. Please copy/paste it if the browser is not on the same machine.
^C2021-01-07T20:34:57.514+0900 INFO Cancelling main context
2021-01-07T20:34:57.514+0900 INFO pydio.rest.install stopping
d
I checked /home/pi/.config/pydio/cells/static/install
but it was empty so naturally 404.
x86 Run
I tested officially built binary pydio-cells-2.1.11-linux-amd64.zip
on my desktop and it works fine despite it outputs similar messages.
This binary interactively ask me about binding and tls, while my arm binary doesn’t do that even their version is the same!. Looks like something wrong.
$ ./cells install
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".
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)
✔ 192.168.1.37:8080
✔ Disable TLS (staging environments only, never recommended!)
Your instance will be accessible at http://192.168.1.37:8080. If you are behind a reverse proxy or inside a private network, you may need to manually set an alternative External URL. Do not change this is you are not sure!
✔ Use http://192.168.1.37:8080
2021-01-07T20:19:13.742+0900 INFO pydio.gateway.rest started
2021-01-07T20:19:13.886+0900 INFO Registering /install/events for Polling
2021-01-07T20:19:13.887+0900 INFO pydio.rest.install started
Activating privacy features... done.
http://192.168.1.37:8080
WARNING: File descriptor limit 1024 is too low for production servers. At least 8192 is recommended. Fix with "ulimit -n 8192".
Installation Server is starting ...
internal URL: http://192.168.1.37:8080
external URL: http://192.168.1.37:8080
2021-01-07T20:19:16.088+0900 INFO pydio.gateway.proxy Restarting proxy {"caddyfile": "\n\t\t http://192.168.1.37:8080 {\n\t\t\t root \"/home/mizuhoid/.config/pydio/cells/static/install\"\n\t\t\t proxy /install 192.168.1.37:33213\n\t\t \t\n\t\t\t\n\t\t }\n\t "}
2021-01-07T20:19:16.089+0900 INFO pydio.gateway.proxy Restart done
Opening URL http://192.168.1.37:8080 in your browser. Please copy/paste it if the browser is not on the same machine.
2021-01-07T20:19:17.430+0900 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:\"46459\" dsFolder:\"/home/mizuho/.config/pydio/cells/data\" frontendLogin:\"admin\" frontendApplicationTitle:\"Pydio Cells\" frontendDefaultLanguage:\"en\" > "}
^C2021-01-07T20:19:22.817+0900 INFO Disconnecting broker
2021-01-07T20:19:22.817+0900 INFO Stopping all services
2021-01-07T20:19:22.817+0900 INFO Exiting
2021-01-07T20:19:22.817+0900 INFO pydio.rest.install stopping
2021-01-07T20:19:22.817+0900 INFO pydio.gateway.rest stopping
Of course ~/.config/pydio/cells/static/install/
is not empty.
$ ls ~/.config/pydio/cells/static/install/
Gruntfile.js* index.html* package.json* res/
What is wrong?
Environment
Rock64 board
Linux DietPi 4.4.192-rockchip64 #1 SMP Tue Oct 8 18:39:24 CEST 2019 aarch64 GNU/Linux
Pydio-Cells
v2.1.11 (git commit id: 4ad2d925c)
golang
go version go1.13.15 linux/amd64