* This post may have affiliate links. Please see my disclosure
Full Step by Step Showing How to install Cloud Commander in OpenMediaVault in Raspberry Pi 4
Suppose you find yourself unable to access OpenMediaVault server file manager running in a Raspberry Pi server via SSH or FTP, and you need access to modify or manage files in your file system. In that case, Cloud Commander can be a handy application that will quickly fulfill your needs.
What is Cloud Commander?
Cloud Commander is a web-based file manager that includes a text editor and command-line console. Cloud Commander helps you manage your server and work with files, directories, and programs in a web browser from any computer, mobile, or tablet.
Components needed for the installation of the container
To accomplish the installation, we will use the following components:
- OpenMediaVault (Installed on Raspberry Pi 4 )
Installing Cloud Commander
To start, open Portainer, and then click on stacks. Add the snippet code below:
version: 2 services: web: ports: - 7000:8000 volumes: - ~:/root - /:/mnt/fs image: valentinalexeev/rpi-cloudcmd
This initial stack will mount your local drives. However, if you have an external drive, you will need to add additional volume entries.
Note: For the admin port, I set the port to 7000, but you can use whatever port you want. Please make sure the port is not in use by another application.
As mentioned previously, it is necessary to add extra volume entries into the stack command for external drive directories to be browsable via Cloud Commander. This is to ensure compatibility with the mounting point path of the drives attached to your Openmediavault.
To complement the external volumes mount, you will need to localize the correct mount point in your OpenMediaVault under file system:
Consider the mount point example above. The stack will look like this:
version: 2 services: web: ports: - 7000:8000 volumes: - ~:/root - /:/mnt/fs - /srv/dev-disk-by-uuid-f5dc4683-a3fc-48e8-bdb5-ec3f8416a007:/srv/dev-disk-by-uuid-f5dc4683-a3fc-48e8-bdb5-ec3f8416a007 image: valentinalexeev/rpi-cloudcmd
NOTE: The mount point used on the example above is a bit too long because I’m using UUID without LABEL. But if you are using LABELs in your driver(s), then your mount point should be displayed similarly to the one below:
version: 2 services: web: ports: - 7000:8000 volumes: - ~:/root - /:/mnt/fs - /srv/dev-disk-by-label-Files:/srv/dev-disk-by-label-Files image: valentinalexeev/rpi-cloudcmd
The deployment will only take the time that the system takes to download the image from the docker hub directory, usually only takes a couple of seconds, o maybe a few minutes, depends how fast your internet connection is.
You will be able to connect to your new Cloud Commander container through http://your-ip-address:7000, and log in with the default user admin and the password admin
Although Cloud Commander is a great GUI application to examine your file system, I strongly recommend that you start to explore the command line to manage your file system. In the absence of GUI access, it is always good you be familiar with the file system command line.