I cannot install Pydio using the WEB or CLI methods

For first post, please answer the questions below!

Describe your issue in detail

i created an issue on github initially, but theres not been any response so im posting here instead

im setting up pydio on a pc that i plan on using only locally, not remotely.
when i run cells.exe configure i get the cli prompt to select the browser or cli mode.
if i select either i get a different error

Steps to reproduce the behavior:

following this guide: Install Cells on Windows | Pydio
on win10 pro cmd

  1. scenario 1
    a. run cells.exe configure
    b. select browser as the option (i get error1 (i added the code at the bottom))

  2. scenario 2
    a. run cells.exe configure
    b. select cli as the option and select TCP (i get error2 (i added the code at the bottom))

  3. scenario 3
    a. run cells.exe configure
    b. select cli as the option and select TCP
    c. i set a db password this time
    d. i skip the mongo db setup
    e. i get a successful installation, but the pydio.json nor the certificate files (or folder) are created even though it asks me to run cells.exe start (config1 (i added the code at the bottom))
    f. i run cells.exe start (i get error3 (i added the code at the bottom))

What version of Cells are you using?

  • Cells Version: v4.3.2

What is the server OS? Database name/version? Browser name or mobile device description (if issue appears client-side)?

  • MariaDB/MySQL version: 8.0.35 MySQL Community Server - GPL
  • Server OS: windows 10

What steps have you taken to resolve this issue already?

i tried both the web and cli methods normally to no avail.

i also tried manually creating an empty config file and empty cert folder + files, in this scenario the setup completes successfully, but the server wont run because the config and cert files are empty

i also tried adding a password in the β€œ## Administrative User Configuration” stage.in this scenario the flow is different, but i end up not being able to complete the configuration anyway

Additional INFO

Additional context:
NOTE: i replaced the IP addresses with x.x.x.x and replaced the cert file name with cert_file_id

error1:

D:\pydio-cells-4.3.2-windows-amd64>cells.exe configure

Welcome to Pydio Cells Home Edition installation
Pydio Cells Home Edition (v4.3.2) will be configured to run on this machine.
Make sure to prepare access and credentials to a MySQL 5.6+ (or MariaDB equivalent) server.
Pick your installation mode when you are ready.

v Browser-based (requires a browser access)

Installation Server is starting...
Listening to: https://0.0.0.0:8080

2023-12-23T03:52:43.915+0530    INFO    pydio.rest.install      starting        {"service": "pydio.rest.install", "hook router to": "/a/install"}
2023-12-23T03:52:43.915+0530    INFO    pydio.rest.config       starting        {"service": "pydio.rest.config", "hook router to": "/a/config"}
2023-12-23T03:52:43.915+0530    INFO    pydio.web.install       ready
2023-12-23T03:52:44.120+0530    INFO    pydio.rest.install      ready
2023-12-23T03:52:44.120+0530    INFO    pydio.rest.config       ready
2023-12-23T03:52:44.160+0530    INFO    pydio.server.caddy      βœ… Using the local CA at "rootCA.pem" ✨
2023-12-23T03:52:44.420+0530    INFO    pydio.server.caddy      βœ… Created a new certificate valid for the following names πŸ“œ
2023-12-23T03:52:44.420+0530    INFO    pydio.server.caddy       - "127.0.0.1"
2023-12-23T03:52:44.420+0530    INFO    pydio.server.caddy       - "x.x.x.x"
2023-12-23T03:52:44.420+0530    INFO    pydio.server.caddy       - "x.x.x.x"
2023-12-23T03:52:44.421+0530    INFO    pydio.server.caddy       - "x.x.x.x"
2023-12-23T03:52:44.421+0530    INFO    pydio.server.caddy       - "kubernetes.docker.internal"
2023-12-23T03:52:44.421+0530    INFO    pydio.server.caddy      βœ… The certificate is at "cert_file_id.pem"
 and the key at "cert_file_id-key.pem"
2023-12-23T03:52:44.436+0530    INFO    pydio.server.caddy
2023-12-23T03:52:44.436+0530    INFO    pydio.server.caddy
2023-12-23T03:52:44.436+0530    INFO    pydio.server.caddy      πŸ‘‰ 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.
2023-12-23T03:52:44.436+0530    INFO    pydio.server.caddy      πŸ‘‰ If you are developing locally, you may install the RootCA in your system trust store to see a green light in your browser!
2023-12-23T03:52:44.436+0530    INFO    pydio.server.caddy      πŸ—’  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'
2023-12-23T03:52:44.436+0530    INFO    pydio.server.caddy
2023-12-23T03:52:44.438+0530    WARN    pydio.server.caddy      admin - admin endpoint disabled
2023-12-23T03:52:44.447+0530    INFO    pydio.server.caddy      tls.cache.maintenance - started background certificate maintenance{"cache": "0xc000ee7100"}
2023-12-23T03:52:44.447+0530    INFO    pydio.server.caddy      tls.cache.maintenance - stopped background certificate maintenance{"cache": "0xc000ee7100"}
panic: server.Start caddy: loading new config: loading http app module: provision http: getting tls app: loading tls app module: provision tls: loading certificates: open C:\Users\Admin\AppData\Roaming\Pydio\cells\certs\cert_file_id.pem: The system cannot find the path specified.

goroutine 84 [running]:
github.com/pydio/cells/v4/cmd.performBrowserInstall.func1({0x907b240?, 0xc000dc81c8?})
        github.com/pydio/cells/v4/cmd/configure.go:347 +0x26
github.com/pydio/cells/v4/common/runtime/manager.(*manager).ServeAll.func5()
        github.com/pydio/cells/v4/common/runtime/manager/manager.go:263 +0x3d
created by github.com/pydio/cells/v4/common/runtime/manager.(*manager).ServeAll in goroutine 1
        github.com/pydio/cells/v4/common/runtime/manager/manager.go:270 +0x66c

D:\pydio-cells-4.3.2-windows-amd64>

error2:

D:\pydio-cells-4.3.2-windows-amd64>cells.exe configure

Welcome to Pydio Cells Home Edition installation
Pydio Cells Home Edition (v4.3.2) will be configured to run on this machine.
Make sure to prepare access and credentials to a MySQL 5.6+ (or MariaDB equivalent) server.
Pick your installation mode when you are ready.

v Command line (performed in this terminal)

Database Hostname: localhost
Database Port: 3306
Database Name: cells
Database User: root
Database Password (leave empty if not needed):
x Cannot connect to database, please review the parameters: Error 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Use the arrow keys to navigate: ↓ ↑ β†’ ←
? Database Connection Type:
  > TCP
    Socket
    Manual

config1:

D:\pydio-cells-4.3.2-windows-amd64>cells.exe configure

Welcome to Pydio Cells Home Edition installation
Pydio Cells Home Edition (v4.3.2) will be configured to run on this machine.
Make sure to prepare access and credentials to a MySQL 5.6+ (or MariaDB equivalent) server.
Pick your installation mode when you are ready.

v Command line (performed in this terminal)

## Database Connection
v TCP
Database Hostname: localhost
Database Port: 3306
Database Name: cells
Database User: root
Database Password (leave empty if not needed): ****
v Successfully connected to the database
? Do you wish to configure a MongoDB connection (better for scalability and required for clustering deployment? Do you wish to configure a MongoDB connection (better for scalability and required for clustering deployment? Do you wish to configure a MongoDB connection (better for scalability and required for clustering deploymentx Do you wish to configure a MongoDB connection (better for scalability and required for clustering deployment):
... Starting installation now
... Created main database

## Administrative User Configuration
Admin Login: admin
Admin Login: admin
Admin Password: ****
Confirm Password: ****

## Default storage location
Use the arrow keys to navigate: ↓ ↑ β†’ ←
v Select another local folder
Enter path to a local folder: E:\Pydio

## Applying configuration
... Starting installation now
... Generating secrets
... Created main database
... Created default datasources
Adding admin credentials to config, to be inserted at next start
... Creation of logs directory
v Configuration done

## Software is ready to run!
Cells will be accessible through the following URLs:
https://0.0.0.0:8080, https://x.x.x.x:8080, https://x.x.x.x.1:8080, https://x.x.x.x.1:8080, https://x.x.x.x:8080, https://kubernetes.docker.internal:8080
Edit these URLs by running 'cells.exe configure sites' command.

Now use 'cells.exe start' to start the server.


v Installation Finished


D:\pydio-cells-4.3.2-windows-amd64>

error3:

D:\pydio-cells-4.3.2-windows-amd64>cells.exe start

x We cannot find a configuration file ... C:\Users\Admin\AppData\Roaming\Pydio\cells\pydio.json

? Do you want to create one now? [y/N] β–ˆ

Hello,

It’s recommended to use CELLS_WORKING_DIR environmental variable during the installation and start command

For example

set CELLS_WORKING_DIR=C:\pydio\cells
.\cells.exe install
.\cells.exe start

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.