New Dockerised install of Cells 3.0.5, working fine until an encryption key was created.
Re-installed and created the key without associating it to any of the storage and no data added. Restarted, now the interface is in accessible with a 502 error returned. Here is an excerpt of the logs:
Haha! Yeah, that is a result of the Ubuntu image my hosting provider gives, not sure why they use that name!? Never bothered to change it.
DB is deployed via Docker and everything works fine there. I am also using S3 as primary storage that may differ from your environment. It is a primary reason I chose Pydio over nextcloud — nextcloud doesn’t support encryption at rest when using S3.
I spent some time on the issue today… There appears to be no problem now after another attempt at installation. Very strange as I could consistently reproduce the issue… This time I did slightly different steps:
I gave the name of the key a different name (instead of ‘vault’)
On previous installations, I added versioning policies before I created the key. This time I created the key first, restarted cells services and then applied versioning policies.
So far all seems to be working but for sure there was an issue with my combination of steps/deployment. I will monitor it and will report any issues.
A week later I can say the issue seems to be related to communication with S3 (Wasabi). When Cells is restarted the following errors occur:
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:42.195Z INFO pydio.grpc.data.sync.versions Trying to contact object service data.objects.gateway1 (retry 2)
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:42.357Z INFO pydio.gateway.proxy Restart done
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:59:37.281Z ERROR pydio.grpc.tasks Streamer PutTaskStream {"error": "{\"id\":\"go.micro.client\",\"code\":408,\"detail\":\"context deadline exceeded\",\"status\":\"Request Timeout\"}"}
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:01:19.551Z INFO pydio.grpc.data.sync.cellsdata Trying to contact object service data.objects.gateway1 (retry 2)
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:03:49.055Z INFO pydio.grpc.data.sync.pydiods1 Trying to contact object service data.objects.gateway1 (retry 2)
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:04:07.671Z INFO pydio.grpc.data.sync.cellsdata Trying to contact object service data.objects.gateway1 (retry 3)
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:04:42.013Z INFO pydio.grpc.versions Inserting versioning job
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:04:42.199Z ERROR pydio.grpc.data.sync.versions Could not run {"error": "objects not reachable"}
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:04:42.292Z INFO pydio.grpc.data.sync.personal Trying to contact object service data.objects.gateway1 (retry 2)
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:04:42.304Z INFO pydio.grpc.data.sync.thumbnails Trying to contact object service data.objects.gateway1 (retry 2)
It is only after multiple restarts do I then get the following successful:
✅ Using the local CA at "/var/cells/certs/rootCA.pem" ✨
baobab_shop_cells.1.rnrqkz87burk@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:52:14.540Z INFO pydio.gateway.proxy Restart done
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.266Z INFO ✅ Created a new certificate valid for the following names 📜 - "10.0.0.214" - "10.0.46.88" - "127.0.0.1" - "172.18.0.7" - "localhost"
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.266Z INFO ✅ The certificate is at "/var/cells/certs/2e4eac7477041227f5d5b31fb99ded8e.pem"
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.267Z INFO and the key at "/var/cells/certs/2e4eac7477041227f5d5b31fb99ded8e-key.pem"
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | ### Pydio Cells Home Edition
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.267Z INFO
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | Version: 3.0.5
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.267Z INFO 👉 If you are behind a reverse proxy, you can either install the RootCA on the proxy machine trust store, or configure your proxy to `insecure_skip_verify` for pointing to Cells.
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | Built: 25 Feb 22 08:34 +0000
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.267Z INFO 👉 If you are developing locally, you may install the RootCA in your system trust store to see a green light in your browser!
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | Git commit: d21a9ba8db23e562b45dc20f554965f327f55a38
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.267Z INFO 🗒 To easily install the RootCA in your trust store, use https://github.com/FiloSottile/mkcert. Set the $CAROOT environment variable to the rootCA folder then use 'mkcert -install'
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | OS/Arch: linux/amd64
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.267Z INFO
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | Go version: go1.15.14
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.268Z INFO Activating privacy features... done.
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | ### About to execute: [cells start]
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.269Z INFO https://0.0.0.0:8080
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.700Z INFO pydio.gateway.data Started
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.269Z INFO pydio.gateway.proxy Started
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.700Z INFO pydio.grpc.broker Started
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.370Z INFO pydio.gateway.websocket Started
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.700Z INFO pydio.grpc.registry Started
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.393Z INFO pydio.rest.update Started
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.701Z INFO pydio.grpc.data.objects Started
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.394Z INFO pydio.rest.policy Started
baobab_shop_cells.1.du428pc1jgse@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:22:41.791Z INFO 🗒 To easily install the RootCA in your trust store, use https://github.com/FiloSottile/mkcert. Set the $CAROOT environment variable to the rootCA folder then use 'mkcert -install'
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.701Z INFO pydio.grpc.data.objects Starting umbrella service pydio.grpc.data.objects. with sources {"sources": ["gateway1"]}
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.394Z INFO pydio.rest.user Started
baobab_shop_cells.1.du428pc1jgse@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:22:41.791Z INFO
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.395Z INFO pydio.rest.log Started
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.702Z INFO pydio.grpc.config Started
baobab_shop_cells.1.du428pc1jgse@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:22:41.791Z INFO Activating privacy features... done.
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.395Z INFO pydio.rest.role Started
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.703Z INFO pydio.gateway.rest Started
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.703Z INFO pydio.grpc.data.sync Started
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.395Z INFO pydio.rest.frontend Started
baobab_shop_cells.1.du428pc1jgse@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:22:41.791Z INFO https://0.0.0.0:8080
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.396Z INFO pydio.rest.workspace Started
baobab_shop_cells.1.du428pc1jgse@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:22:41.791Z INFO pydio.gateway.proxy Started
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.703Z INFO pydio.grpc.data.sync Starting umbrella service pydio.grpc.data.sync. with sources {"sources": ["thumbnails", "pydiods1", "personal", "cellsdata", "versions"]}
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.396Z INFO pydio.rest.user-meta Started
baobab_shop_cells.1.du428pc1jgse@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:22:41.793Z INFO pydio.rest.config Started
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.703Z INFO pydio.grpc.update Started
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.397Z INFO pydio.rest.config Started
baobab_shop_cells.1.m1rvu44mdp4q@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:55:05.543Z INFO pydio.grpc.data.index.thumbnails Started
baobab_shop_cells.1.ncknhrqlz72o@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T17:54:36.704Z INFO pydio.grpc.statics Started
baobab_shop_cells.1.m1rvu44mdp4q@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:55:05.543Z INFO pydio.grpc.data.index.cellsdata Started
baobab_shop_cells.1.du428pc1jgse@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:22:41.793Z INFO pydio.rest.role Started
baobab_shop_cells.1.5jxd3t0divdd@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:53:24.397Z INFO pydio.rest.graph Started
baobab_shop_cells.1.du428pc1jgse@Ubuntu-1804-bionic-64-nextcloud | 2022-03-15T18:22:41.803Z INFO pydio.grpc.jobs Started