Renduva

Renduva documentation

Administration

Running a Renduva server: its files, options and commands, the admin UI, logs, security, backups, upgrades and removal. To install it, see Install and run.

Files and folders

The server keeps everything in its working folder: /data in the container (a volume), /var/lib/renduva with the RPM. File names are relative to it unless an option gives another path.

File or folder Holds Option
renduva-keys.txt API key names and SHA-256 hashes -keys
templates/ Stored templates -templates
license.json The license (with the RPM: /etc/renduva/license.json) -license
installation-id This installation's ID, made on first start -installation
instances/ Heartbeats of the running servers, beside the license file
renduva-settings.json Values saved on the admin UI's Settings tab -settings
renduva-admins.txt Admin users and password hashes -admins
renduva-admins-names.json Admins' display names, beside the admins file
renduva-printers.json Named printers -printers
signers/ Certificates for signed PDFs, one file each, readable by the server's user only -signers
usage/ Usage records, one file per month -usage
logs/ The log, one file per day -logs

With the RPM, the server options are in /etc/renduva/renduva.env.

Server options

Option Default Meaning
-addr :8080 Address and port of the API
-admin off Address and port of the admin UI, e.g. 127.0.0.1:8081
-admins renduva-admins.txt Admin users file
-workers number of CPUs Documents rendered at the same time; the rest wait. Also on the Settings tab
-timeout 2m Time limit per document, LibreOffice included. Also on the Settings tab
-max-body 52428800 (50 MB) Largest request accepted, in bytes. Also on the Settings tab
-settings renduva-settings.json Values saved on the Settings tab; an option given on the command line wins
-keys renduva-keys.txt API key file
-license license.json License file; without a valid one the server runs in Community mode
-installation installation-id Installation ID file, made on first start
-templates templates Stored templates folder
-usage usage Usage records folder
-logs logs Log folder, one file per day, kept 30 days; empty for standard output only
-soffice soffice LibreOffice program
-chrome chromium Chromium program, for HTML templates
-printers renduva-printers.json Named printers file
-signers signers Folder of the signing certificates
-tsa none Timestamp server (RFC 3161) for signatures with "timestamp": true

Where to give them:

  • Docker or Podman: after the image name, e.g. docker run ... localhost/renduva-office serve -workers 4.
  • Podman Quadlet: the Exec= line of renduva.container, e.g. Exec=serve -workers 4, then systemctl --user daemon-reload and restart.
  • RPM: RENDUVA_OPTS in /etc/renduva/renduva.env, then sudo systemctl restart renduva.

Commands

All commands are the same program. In a container, run them through docker exec renduva renduva ... (or podman exec); with the RPM, as the renduva user in /var/lib/renduva (cd /var/lib/renduva && sudo -u renduva renduva ...), so the files keep the right owner.

Command Does
renduva serve [options] Runs the server
renduva key create <name> Creates an API key and prints it once
renduva key revoke <name> Revokes a key, from the next request
renduva key list Lists key names
renduva usage [YYYY-MM] Documents per month and key (see Usage)
renduva admin add <name> Adds an admin; asks for the password twice
renduva admin password <name> Sets an admin's password
renduva admin remove <name> Removes an admin and signs them out
renduva admin list Lists admins
renduva license id Prints the installation ID
renduva license status Prints the installation ID and the license in use, or why the server is in Community mode
renduva printer add|remove|list|test Manages printers
renduva signer add|remove|list Manages the signing certificates
renduva support bundle [-o file] Writes the diagnostics bundle
renduva version Prints the release and its date

The commands take the same file options as serve (-keys, -admins, -license, ...) when the files are not in the current folder.

Admin UI

The admin UI does in a browser what the commands do: API keys, stored templates, the license, printers, signing certificates, the usage report, the settings that can change while the server runs, the admins, and the logs. It works on the same files as the commands, so a key created in one shows up in the other.

It is off until you create an admin and start the server with -admin. The server refuses to start with -admin and no admin.

renduva admin add ana            # asks for a password (12 characters or more), twice
renduva serve -admin 127.0.0.1:8081

Then open http://127.0.0.1:8081 and sign in. The UI listens on its own port, so the API port can be open to your applications while the admin pages are not. Keep it on 127.0.0.1 and reach it through an SSH tunnel (ssh -L 8081:127.0.0.1:8081 you@server), or put it behind a reverse proxy with TLS.

With the container, publish the admin port only on the host's loopback, and type the password through -it:

podman exec -it renduva renduva admin add ana
podman run -d --name renduva -p 8080:8080 -p 127.0.0.1:8081:8081 -v renduva-data:/data localhost/renduva-office serve -admin :8081

With the RPM, run renduva admin add as the renduva user in /var/lib/renduva, and add -admin 127.0.0.1:8081 to RENDUVA_OPTS.

Pages

Page What you do there
API keys Create (the key is shown once) and revoke keys
Printers Add, test and remove printers
Templates Upload, download and delete stored templates. Uploads take Word (.docx) and ZPL (.zpl) files; copy other template types into the folder
License See the installation ID and the license in use, or why the server is in Community mode; upload a license.json, which is checked before it replaces the current one
Usage Documents, records, pages and failures per month and key
Logs The newest 500 lines, newest first; find a request ID, a status (status=500), a reason (reason=timeout) or admin actions (admin:); download the diagnostics bundle

Your name at the top right opens a menu with Profile, Settings, a Theme switch (System, Light, Dark; remembered by the browser) and Sign out.

  • Profile: the name shown in the menu and to the other admins, the user name you sign in with, and your password (with the current one; your other sessions are signed out).
  • Settings, tab Settings: the options that change while the server runs (below), and the start-up options, read-only.
  • Settings, tab Users: add admins (user name, name, password), set a new password for another admin (which signs them out), and remove admins. Nobody can remove themselves or the last admin. All admins have the same rights.

Settings that change while the server runs

Three options can change on the Settings tab without a restart. They apply to the next request and are kept in renduva-settings.json, so they survive restarts.

Setting Option Accepted
Documents rendered at the same time -workers 1 to 256
Largest request -max-body 1 MB to 1024 MB
Time limit per document -timeout 10 seconds to 30 minutes

An option given on the start command wins over the page and shows there as locked. Everything else stays a start-up option: a wrong listen address or file location from a web page could lock you out, and the LibreOffice and Chromium programs are not changeable from the browser because the server runs them.

Sign-in and sessions

  • Only a salted PBKDF2-SHA256 hash of each password is stored, in renduva-admins.txt.
  • A session ends after 30 minutes without activity.
  • Five wrong passwords for a name block it for 15 minutes.
  • The session cookie is HttpOnly and SameSite=Strict, and every form carries a token tied to the session.
  • The server log records each sign-in and change by admin name (admin: ana created key apex-prod), never key values, passwords or file contents.

Logs

The server writes its log to standard output (docker logs renduva, podman logs renduva, journalctl -u renduva) and to one file per day in the logs folder (logs/renduva-2026-10-24.log). Files older than 30 days are deleted. With -logs "" the log goes to standard output only.

At start-up the log shows the release, the installation ID, the license in use (or why the server is in Community mode) and the listen addresses. It warns when there are no API keys.

Each document request is one line:

generate id=5aaff834a30f715c status=504 reason=timeout key=apex-prod from=docx to=pdf records=1 ms=120004

id is the request ID. Every response carries it in the X-Request-Id header, error bodies in request_id, and the PL/SQL error message ends with it (renduva: HTTP 504: ... (request 5aaff834a30f715c)), so a failure an application reports can be found in the log. A failed request names its reason, a fixed word:

Reason Status Cause
auth 401 Missing or invalid API key
bad_json, bad_request, bad_data 400 The request is not valid JSON, a field is wrong, or data is not an object or a list of objects
bad_template 400, 409 The template name or source is not valid, or two stored templates share the name
template_not_found 404 No stored template with that name
too_large 413 The request is larger than the limit
not_licensed 403 The request needs a higher tier
too_many_servers 403 More servers run on the installation than the license allows
render_failed 422 The template could not be filled
converter_failed 500 LibreOffice or Chromium failed, or is not installed
timeout 504 The document took longer than the time limit
client_gone The caller went away while the document waited for its turn
printer_... 404, 409, 502 A print request failed

Never logged: API keys, passwords, templates, data and error messages (they can quote the template). The error message goes back to the caller only.

Usage

Every request made with a valid API key is also recorded in the usage folder, one JSON line per request, one file per month (usage/2026-10.jsonl):

{"time":"2026-10-15T13:31:55Z","key":"apex-prod","from":"docx","to":"pdf","records":3,"pages":7,"ms":2140,"status":200,"tier":"standard"}

pages is counted for PDF output only. Like the log, the records hold no data, template contents or keys. For a summary per month and key, run renduva usage, or open the admin UI's Usage page:

renduva usage              # all months
renduva usage 2026-10      # one month
  month        key  documents  records  pages  failed
2026-10  apex-prod       1234     5310   9876       3

Old months can be archived or deleted as whole files.

Support diagnostics

For a support request, attach the diagnostics bundle: Download diagnostics on the admin UI's Logs page, or

renduva support bundle                    # writes renduva-diagnostics-2026-10-24.zip
podman exec renduva renduva support bundle -o /data/diagnostics.zip   # in the container

It is one zip with info.json (release, platform, CPUs, LibreOffice version, license state, settings and start-up options, API key names, the number of admins and stored templates, and usage totals for this month and last) and log.txt (the last 1,000 log lines). It holds no key values, passwords, templates or data.

HTTPS

The server speaks plain HTTP. Put it behind a reverse proxy with TLS (nginx, Apache, a load balancer) whenever the traffic crosses a network others can read, and let the proxy's limits match the server's: the request size (-max-body, 50 MB) and the time limit (-timeout, 2 minutes). For nginx, for example:

location / {
    proxy_pass http://127.0.0.1:8080;
    client_max_body_size 50m;
    proxy_read_timeout 150s;
}

Oracle then needs the proxy's certificate in the wallet APEX uses; see the PL/SQL package.

Security

  • Network: only the database servers that call Renduva need to reach the API port; allow just them in the firewall. The admin UI is off by default and has its own port; keep it on loopback.
  • API keys: only a SHA-256 hash of each key is stored, in a file readable by the server's user only. A key is shown once, when it is created. Give each application its own key, so one can be revoked without the others.
  • Admins: see Sign-in and sessions.
  • Not root: the container runs as the user renduva, and Podman can run it without root. The RPM service runs as the system user renduva, with NoNewPrivileges, PrivateTmp, ProtectSystem=full and ProtectHome.
  • Printers: callers name a printer; only an admin sets its address.
  • HTML templates: Chromium renders them with no network access and no access to the server's files (details).
  • Logs and usage records hold metadata only, never data or templates (see Logs).
  • No outside connections: the license is checked on the server, and the server sends nothing to us.

Performance

  • Workers (-workers, default the number of CPUs) is how many documents render at once. The others wait their turn; the time limit starts when a document's turn comes.
  • Each PDF or OpenDocument request runs one LibreOffice process, with all its records in that one run, and each HTML request one Chromium process. Allow about 1 GB of memory for the server with its converters, and more for more workers.
  • Time limit (-timeout, default 2 minutes) covers filling and conversion. A document that takes longer fails with 504 and reason=timeout. Raise it for very large documents; the caller's own HTTP timeout must be at least as long.
  • Largest request (-max-body, default 50 MB) covers the template, the data and any pictures in base64. Stored templates keep large templates out of every request.

Backup

Back up the working folder: /data in the container (the renduva-data volume), or /var/lib/renduva plus /etc/renduva with the RPM. It holds the keys, stored templates, license, installation ID, settings, admins, printers, signing certificates, usage and logs (see Files and folders). The instances folder need not be kept.

Keep installation-id: restored with the rest, the server keeps its ID and its license. Do not run a copy of the folder as a second server; see Moving a server.

Upgrading

Before upgrading, check that your license covers the new release (Updates and maintenance); otherwise it runs in Community mode. Data, keys, templates and the license stay through an upgrade.

  • Docker: docker load -i the new image, then docker rm -f renduva and run the same docker run again.
  • Podman with Quadlet: podman load -i the new image, then systemctl --user restart renduva. With a podman generate systemd service, restart that service.
  • RPM: sudo dnf install ./renduva-<version>.x86_64.rpm. The service restarts by itself, and /etc/renduva/renduva.env keeps your changes.
  • PL/SQL package: run the new renduva_install.sql in the same schema; it replaces the packages.
  • APEX plug-ins: import the new plug-in file; settings, processes and dynamic actions are kept (details).

renduva version and the first log line show the release that is running.

Uninstalling

  • Container: docker rm -f renduva, then docker rmi localhost/renduva-office. The data stays in the renduva-data volume until docker volume rm renduva-data, which deletes the keys, templates, license and installation ID. Same with podman; for a Quadlet service, stop it and delete renduva.container first.
  • RPM: sudo dnf remove renduva stops and removes the service. Keys, templates and the rest stay in /var/lib/renduva, and the license in /etc/renduva; delete those folders to remove them.
  • Oracle: drop package renduva_apex; and drop package renduva; in the schema that owns them, delete the plug-ins in each application, and remove the network ACL entries.