Chapter 01

Welcome

Somewhere on a NAS in the hallway there is a folder called "Scans", another one called "Scans new", a wiki nobody updates, a bookmark export from years ago and a backup script you hope still runs. FerrumCloud brings all of that back together.

This chapter explains what FerrumCloud can do, how to install and set it up, and how the interface is laid out. If someone has already created an account for you and you just want to find your way around, skip ahead to Signing in.

What FerrumCloud does

FerrumCloud brings together jobs that would otherwise need a separate program each:

Section What you do there
Files Upload, view, organize and share files; add folders from your NAS
Documents Make letters and invoices searchable with text recognition, tag them and file them away
Wiki Write notes and how-tos in Markdown and, if you like, publish them as a website
Mail Read and write mail, save attachments to your files, send mail to your inbox
Contacts and Calendar Address books and calendars, synced with your phone and Thunderbird
Music Listen to your albums in the browser, with playlists, ratings and a tag editor
Books Read e-books, with your reading position and highlights on every device
Bookmarks Bookmarks for every browser and your phone, synced if you like
Watch Get told about new releases of GitHub projects and changes to web pages
Backup Back up the server with Borg, check and restore (for administrators)

On top of that come the things that happen between these sections: one sign-in, one search across everything, notifications in the bell and on your phone, and connections such as a mail attachment that lands in your files with a single click.

Installation

FerrumCloud runs as a single container. The image is public at ghcr.io/bitpainter75/ferrumcloud; you don't need an account to pull it.

With Docker Compose

The repository contains a ready-made docker-compose.yml. Put it in a folder on your server and start FerrumCloud:

docker compose pull
docker compose up -d

Then open http://<server>:8080 in your browser. All data ends up in the data folder next to the compose file.

A few settings in the file are worth a look:

Setting What it's for
PUID and PGID The user and group FerrumCloud runs as, so new files belong to the right account
TZ Time zone, such as Europe/Berlin; used for times in file names and in the calendar
FERRUMCLOUD_SECURE_COOKIES Set to true once FerrumCloud is reachable over HTTPS
FERRUMCLOUD_TRUST_PROXY Set to true behind a reverse proxy
FERRUMCLOUD_PUBLIC_URL The address people use to reach FerrumCloud from outside

Notifications on your phone, syncing with your phone and installing FerrumCloud as an app all need HTTPS. The easiest way is to put a reverse proxy in front of FerrumCloud.

On a Synology

docker-compose.synology.yml is a template for the Container Manager: data under /volume1/docker/ferrumcloud/data, your shared folders mounted so you can add them in FerrumCloud as areas, and HTTPS through the reverse proxy of DSM.

Set PUID and PGID to the account that owns your shared folders. id <account> on the NAS shows you the numbers.

Tip: While you are trying FerrumCloud out, add folders from your NAS rather than moving your only copy into it, and keep your usual backup running for a while.

Updates

Updating works just like installing: docker compose pull and docker compose up -d. If a new version needs to change the database, FerrumCloud first saves a complete copy of it to data/backup/pre-update/. If that copy can't be written, it won't start at all. The last five copies are kept.

First-time setup

First-time setup: creating the administrator account

The very first time you open FerrumCloud, you are greeted with Welcome to FerrumCloud. Here you create the administrator account: username, password and Repeat password, then Create account. The password needs at least 8 characters; an administrator can raise that limit later.

Right after the first sign-in you set up a second factor. It is mandatory for administrators; you can't continue without it.

Setting up a second factor

The dialog Set up a second factor shows a QR code. Scan it with an authenticator app on your phone, or type in the Secret key below it. On the phone itself, Open in authenticator app opens the app directly. Then enter the six-digit code the app shows and click Confirm.

Now you get ten Recovery codes. You can see these codes only now. Each one works exactly once instead of the code from the app, for the day your phone isn't at hand. Use Copy or As text file and keep them somewhere away from your phone, for example in a password manager or printed out. Saved, continue takes you into the app.

Signing in

The sign-in page

To Sign in, enter your username and password. If you have a second factor, FerrumCloud then asks for the Code from your authenticator app.

If your phone isn't at hand, click Phone not at hand? Use a recovery code and enter one of your recovery codes. Hyphens, spaces and upper or lower case don't matter. After a sign-in like this you get a notification in the bell, so you notice if it wasn't you.

The account menu at the top right shows under Recovery codes how many codes you have left. Create new codes makes a fresh set and invalidates all previous ones. When codes run low, a notice at the top of every page reminds you.

Below the Sign in button, the Help link leads to this manual, even before you sign in.

Tip: After ten wrong attempts FerrumCloud blocks signing in for a few minutes. If you are locked out and have no code left, the emergency access on the server helps.

A tour of the interface

Every page in FerrumCloud is built the same way. Once you know your way around one, you know your way around all of them.

Files with the rail, the side bar, the content and the status bar

The rail

On the far left is a narrow rail with one icon per section: Overview, My files, Documents, Mail, Calendar, Contacts, Wikis, Books, Music, Bookmarks and Watch. The active section is highlighted. Small numbers show new documents in your inboxes, unread mail and unseen watch events. Wikis opens a list of every wiki you can read.

Administrators have Settings as the last entry. Behind it are the settings of the installation, accounts, areas, the system and the backup.

The side bar

Next to the rail is the side bar of the current section. At the very top sits the one search field of the app. It always searches where you are: in Mail it says "Search Mail", in Music it searches your music. On pages without their own list it searches your files. Below it come the folders, filters or lists of the section.

Drag the edge of the side bar to change its width; double-click the edge to reset it.

The header and the bar above the content

At the top right are the bell with your notifications and the account menu with your initial. In the account menu you find:

  • Appearance: theme (Dark, Light, Gray dark, Gray light, Blue gray), accent color and accent strength
  • Notifications: notifications on this device, see On the go
  • Available offline: what this device can read without a connection
  • Recovery codes (only with a second factor)
  • Devices and app passwords: for your phone, Thunderbird and Floccus
  • Help: this manual, see Help
  • About FerrumCloud: version, license and all projects FerrumCloud builds on
  • Language: German, English or Like the browser
  • Sign out

Language and appearance belong to your account and apply on every device you sign in on.

Above the content of every page is a bar that always has the same layout: the New button on the left, the icon and name of the place next to it, and the tools on the right in a fixed order: Filter, Sort, View, Refresh and the gear for the settings of the section.

When you select items, such as files or documents, an action bar appears at the top with everything you can do with the selection. When space is tight, the labels of less important buttons disappear first; the icons stay, and a tooltip tells you what they do.

The status bar

A slim status bar along the bottom shows on the left what the current page reports, such as the number of items or of selected entries. On the right are the connection to the server, new documents, unread mail, the name of the installation and the version.

On the phone

On the phone, a bottom bar replaces the rail and the status bar. It offers Overview, My files, Documents, Mail and More. More opens a drawer with all sections as a grid, the search above them and the side bar of the current page below.

The header on the phone is kept tidy: menu, section name, bell and account. Filters, sorting and actions sit in a row of their own below it that you can swipe sideways. There's more in the chapter On the go.

Context menus and selection

Almost everywhere, a click selects and a double-click opens. Ctrl adds to the selection, Shift selects a whole range. A right-click opens the context menu. On the phone a tap opens, and a long press brings up the context menu.

Questions appear as dialogs inside FerrumCloud. Esc closes the topmost dialog; if several are stacked, the one below stays open.

Help

This manual is also built into FerrumCloud itself. Help in the account menu opens it in a new tab, right at the chapter for the page you are on: from your files the chapter Files, from mail the chapter Mail, and so on. On a computer the quickest way is F1; on the phone use More and Help.

The manual appears in the language you chose for FerrumCloud. At the top of the manual, Back to FerrumCloud takes you back to the app.

FerrumCloud is free software under the AGPL-3.0. GitHub