Install Cells on Raspberry
This guide explains how to install and configure Cells on a Raspberry Pi system.
Use case
Deploy a self-contained Pydio Cells instance on your local home network with a simple Raspberry Pi.
Requirements
- Although we tested and could start Cells on a Rasberry Pi 3B with only 1GB of RAM, we suggest to use a version 4B with at least 4 GB RAM.
- Storage: 32 SD card
- Operating System:
- Raspbian (Bullseye, Buster or Stretch), the official Raspberry Pi desktop OS (which a Raspbian repackaged the Raspberry Pi team) also works out of the box.
- An admin user with sudo rights that can connect to the server via SSH
- Networking: TODO.
Installation¶
Dedicated user and file system layout¶
We recommend to run Pydio Cells with a dedicated pydio
user with no sudo permission:
Verification¶
Login as user pydio
and make sure that the environment variables are correctly set:
Database¶
We use the default mariadb-server package shipped with Bullseye, it installs the 10.5 version with no hassle:
Start a MySQL prompt and create the database and the dedicated pydio
user.
Verification¶
Check the service is running and that the user pydio
is correctly created:
Retrieve binary¶
Note: we only started shipping the necessary ARM build for Cells at v4.
Verification¶
Call the command version
as user pydio
:
Configuration¶
Configure the server¶
Call the command configure
as user pydio
:
If you choose Browser install
at the first prompt, you can access the configuration wizard at https://<YOUR PUBLIC IP>:8080
after accepting the self-signed certificate. (Ensure the port 8080
is free and not blocked by a firewall).
You can alternatively finalise the configuration from the command line by answering a few questions.
Verification¶
If you used the browser install, you can login in the web browser as user admin
.
If you have done the CLI install, you first need to start the server:
Connect and login at https://<YOUR PUBLIC IP>:8080
Note:
At this stage, we start the server in foreground mode. In such case, it is important that you always stop the server using the CTRL + C
shortcut before calling the start
command again.
Finalisation¶
Run your server as a service with systemd¶
Create a configuration file sudo vi /etc/systemd/system/cells.service
with the following:
Reload systemd daemon, enable and start cells:
Verification¶
You are now good to go. Happy file sharing!
Troubleshooting¶
Main tips¶
With cells as a service, you can access the logs in different ways: