For TrueNAS Community Edition 25.04 (Fangtooth) and newer (25.10 Goldeye included). TrueNAS CORE is not supported. About 20 minutes.
Maktaba runs as one app on your NAS: the server, the web app, live TV, the pipeline that reads your library, and its own database. It updates itself, inside the update window you choose.
Before you start
- Memory: 8 GB or more is comfortable; Maktaba runs from 4 GB. Don't worry when TrueNAS's dashboard shows memory as "used": that is ZFS's cache (the ARC), which gives memory back when an app needs it. Maktaba counts it as available.
- An SSD pool if you have one: Maktaba's database and thumbnails are much faster there. Your media can stay on hard disks.
- A GPU (optional): an Intel chip (an N100, a Core with Quick Sync) or AMD converts video for phones and browsers without loading the CPU. An NVIDIA card also speeds up speech to text.
1. Make the data dataset
Datasets → Add Dataset on your SSD pool (or your main pool), name it
apps/maktaba, and set Dataset Preset to Apps.
The Apps preset gives TrueNAS's apps user (568), which Maktaba runs as, the
right to write there. Maktaba never changes permissions itself.
2. Let Maktaba read your media
For each dataset with films or series: Datasets → choose it → Permissions → Edit → Add Item: Who User, User apps, Permissions Read (or Modify if Maktaba may write subtitles beside your videos) → Save Access Control List.
If you skip a dataset, Maktaba still installs; that library shows No access, with this same fix.
3. Install the app
Apps → Discover Apps → search Maktaba → Install.
- Timezone: yours.
- User and Group: keep 568 and 568.
- Network: keep Host Network on. Your phones and TVs then find Maktaba by themselves.
-
Ports, only if another app on the NAS already uses 8088, 8080, 8081 or
54329: under Additional Environment Variables, add
MAKTABA_WEB_PORT,MAKTABA_API_PORT,MAKTABA_STREAM_PORTorMAKTABA_POSTGRES_PORTwith a free port. Leave them out and Maktaba moves a taken web, API or live TV port to a free one between 8780 and 8790 by itself; a port you set is never moved (A port is taken). -
Storage → Maktaba Data Storage: Host Path,
/mnt/<your SSD pool>/apps/maktaba. -
Storage → Media Folders: add each media dataset, for example
/mnt/tank/media. Tick Read Only if Maktaba should never write there. - Resources → Memory: 8192 MB is a good start. Maktaba sizes itself to this limit.
- Resources → GPU: tick your Intel or AMD GPU, or choose your NVIDIA card (install TrueNAS's NVIDIA drivers first: Apps → Configuration → Settings).
Maktaba not in Discover Apps yet? Until it is in TrueNAS's catalog, install
it as a Custom App: download maktaba-truenas-custom-app.yaml from the
newest release,
change the lines marked CHANGE (your time zone, your data dataset, your media),
then Apps → Discover Apps → ⋮ → Install via YAML, name it
maktaba, paste the file and Save.
4. Run the setup
When the app shows Running: Apps → Installed → Maktaba → Workloads → maktaba → Shell (the terminal icon), and run:
/opt/maktaba/server/bin/maktaba-server container setup
Answer its questions: a name for the admin account (not admin, which Maktaba
keeps for itself), its password, and the folders with your videos. The NAS needs the
internet for this step: setup downloads the transcription and search tools (about 2 GB) and
the speech models. Maktaba starts by itself when it finishes. Open
Web UI on the app's page, or http://<your NAS>:8088 (or
the port setup shows, if it moved one). Sign in, then add a library for each folder:
Manage → Manage libraries → Add library (After setup).
The home, or storage for another
These steps make the NAS your Maktaba home, on any memory tier. Setup asks, for each folder, the share your other computers open it by (it works it out where it can), so a computer with a graphics card can join the home later and take the heavy work (After setup). If the home runs on another computer instead, the NAS needs no Maktaba at all: share its folders, and that home reads them over the network. A Standard or Strong NAS may also join a home elsewhere as one of its machines; a Light one is warned first (Home, machine or storage).
After setup
- Settings → This machine shows what Maktaba found: TrueNAS, its tier (from the memory limit), the memory available (ZFS's cache counted), and the video hardware.
- A library shows No access or Read only: add the ACL entry of step 2 for user 568, then press Check access.
- Maktaba stopped right after install and its logs say it cannot write to its data folder: edit the dataset's permissions and add an ACL entry for user 568 with Modify, or use the Apps preset.
- Video: with an Intel or AMD GPU allocated, This machine says "Video: hardware (iHD), H.264 and HEVC". TrueNAS 25.10's NVIDIA drivers no longer support Pascal and older cards (GTX 10xx and earlier): Maktaba then converts on the CPU and says why.
- Updates: Maktaba updates itself inside its update window (Manage → Updates), and TrueNAS updates the app when the catalog moves it. Either way your home carries on. Keep room on the data dataset for the backup taken first; a release that cannot change the database goes back by itself (An update did not go through).
- Reinstalling with the same data dataset brings your home back as it was.
- Host Network off: set Host IP to the NAS's address. Phones and TVs then can't find Maktaba by themselves; they connect by the NAS's address, the home's HTTPS name, or a code from Maktaba Cloud. Change a published port in the WebUI, Cluster and Live TV Port fields (Live TV's starts at 30575, as another catalog app has 8081); the app tells Maktaba the new numbers itself.