Adding Controller documentation and screnshots.

This commit is contained in:
Roland 2026-02-22 20:04:31 -07:00
parent 57863904ff
commit 7405d2d5fc
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
31 changed files with 661 additions and 12 deletions

View file

@ -1,4 +1,5 @@
# Backup
## Backup from one WROLPi to another
As of the writing of this tutorial, WROLPi does not have an official way to back up a WROLPi. The current workaround
@ -51,4 +52,4 @@ EOF
```shell
0 4 * * * /bin/bash -l /home/wrolpi/backup_wrolpi.sh
```
```

View file

@ -1,5 +1,12 @@
# External USB Drive Configuration
For basic disk mounting, the [Controller](../controller/disks.md) provides a web interface to mount
drives and configure persistent mounts.
The instructions below are for manual configuration or advanced multi-drive setups.
---
WROLPi expects a single USB drive to be mounted at `/media/wrolpi`. However, multiple drives are supported. WROLPi
uses special directories to know where to place downloaded files. The config special directories cannot be changed
and WROLPi will always look for it at `/media/wrolpi/config`

View file

@ -1,4 +1,5 @@
# Getting Help
## Online
Help can be found online at these places:
@ -103,4 +104,4 @@ The `wrolpi` database contains the tables and indexes which allow you to search
provided which will delete and re-create this database. **Warning you will need to refresh your files!** Run it if the
repair script above fails:
`/opt/wrolpi/scripts/reset_api_db.sh`
`/opt/wrolpi/scripts/reset_api_db.sh`

View file

@ -1,7 +1,17 @@
# Logs
Service logs can be viewed through the [Controller](../controller/services.md#viewing-service-logs)
web interface, or via command line using `journalctl`.
## Using the Controller
Click the **Logs** button next to any service in the Controller to view its recent log output.
See [Viewing Service Logs](../controller/services.md#viewing-service-logs) for details.
## Command Line
The following is a simple overview to view the logs of the [WROLPi Services](index.md#services). WROLPi logs are
gathered by `systemd`. Logs are viewed using `journalctl`.
gathered by `systemd`. Logs are viewed using `journalctl`.
You can watch all the logs on your WROLPi:
@ -21,9 +31,9 @@ To view logs only from the most recent boot:
journalctl -f -b
```
The above commands use `-f` (follow) which will display logs as soon as they are created. You can view older logs by
removing `-f` from the command, but you will need to use your keyboard to navigate the logs. Use `up`, `down`,
`page-up` and `page-down` keys. You can also use `g` to navigate to the top of the log, and `shift-g` to navigate to
The above commands use `-f` (follow) which will display logs as soon as they are created. You can view older logs by
removing `-f` from the command, but you will need to use your keyboard to navigate the logs. Use `up`, `down`,
`page-up` and `page-down` keys. You can also use `g` to navigate to the top of the log, and `shift-g` to navigate to
the bottom of the logs.
## API

View file

@ -5,6 +5,7 @@ and tertiary options to use your WROLPi may be available.
| Module | Primary | Secondary | Tertiary |
|----------|-------------------------------------------|--------------------------------------------------------------------------------|-------------------------------------------------------------------|
| System | [React App](../controller/index.md) | [Controller](../controller/index.md) on port `:8087` | CLI tools (systemctl, mount, etc.) |
| Videos | [React App](../modules/videos/index.md) | [Open video files with VLC.](../modules/videos/index.md#videos-without-wrolpi) | Open subtitle files with a text editor. |
| Archives | [React App](../modules/archives/index.md) | Open Archive files directly with Chromium | Readability files can be opened with a text editor. |
| Map | [React App](../modules/map/index.md) | Map is accessible on port `:8084` | None |

View file

@ -1,8 +1,16 @@
# Service Control
WROLPi services are controlled by `systemd`.
WROLPi services can be managed through the [Controller](../controller/services.md) web interface,
or via command line using `systemd`.
You can view and control the WROLPi services using these commands:
## Using the Controller (Recommended)
The Controller provides a web-based interface to start, stop, restart services and view logs.
See [Service Management](../controller/services.md) for details.
## Command Line
For advanced users or scripting, services can be controlled directly with these commands:
| Service | Status | Logs | Restart | Stop | Start |
|-----------|-----------------------------------------------|------------------------------------------------|------------------------------------------------|---------------------------------------------|----------------------------------------------|