AIStor™
The Object Store for AI Data Infrastructure
- 1Copy the script below
- 2In HexOS, open Apps, find AIStor™ and choose Custom Install
- 3Paste, then press Install — full guide with screenshots
1{
12 "version": 5,
23 "script": {
4 "version": "0.1.0",
5 "changeLog": "Auto-generated draft from TrueNAS aistor 1.1.22"
6 },
37 "installation_questions": [
8 {
9 "question": "Root user",
10 "type": "password",
11 "key": "root_user",
12 "required": true
13 }
14 ],
15 "requirements": {
416 "locations": ["ApplicationsPerformance"],
517 "specifications": ["2CORE"],
618 "permissions": ["READ_WRITE_LOCATIONS"],
719 "ports": [30320, 30321]
20 },
821 "ensure_directories_exists": [
22 {"path": "$LOCATION(ApplicationsPerformance)"},
23 {"path": "$LOCATION(ApplicationsPerformance)/aistor"},
24 {
25 "path": "$LOCATION(ApplicationsPerformance)/aistor/data",
26 "owner": {"user": "apps"},
27 "snapshot": {"id": "data"}
28 }
29 ],
30 "app_values": {
31 "aistor": {
932 "root_user": "$QUESTION(root_user)",
1033 "root_password": "$RANDOM_STRING(16)"
34 },
35 "storage": {
1136 "data": "$HOST_PATH($LOCATION(ApplicationsPerformance)/aistor/data)"
37 },
38 "network": {
1239 "api_port": {"bind_mode": "published", "port_number": 30320},
1340 "console_port": {"bind_mode": "published", "port_number": 30321}
41 },
1442 "resources": {"limits": {"cpus": 2, "memory": "$MEMORY(10%, 4096)"}}
43 }
44}
What this script does
Hover or tap a box to see the lines it explains.
-
Script format
Tells HexOS this is a version 5 install script, so it knows how to read the rest.
Line 2
-
Script revision
This copy of the script is revision 0.1.0. Latest change: “Auto-generated draft from TrueNAS aistor 1.1.22”.
Lines 3–6
-
Questions you'll be asked
Before installing, HexOS will ask you for: Root user. Your answers are slotted into the settings further down wherever you see $QUESTION(...).
Lines 7–14
-
Storage locations it needs
The app uses these HexOS storage locations: App storage (fast). If one isn't set up yet, HexOS will ask you to pick a place for it.
Line 16
-
Minimum hardware
Recommended minimum: 2 CPU cores.
Line 17
-
Permission to use your folders
Allows the app to read and write files inside the storage locations listed above — and nowhere else.
Line 18
-
Network ports
The app needs ports 30320 and 30321 to be free on your server. A port is like an apartment number for your server's address.
Line 19
-
Folders created on install
Creates the folders the app needs before it starts: App storage (fast) › aistor and App storage (fast) › aistor › data. Some folders are handed to a specific system user so the app is allowed to write to them. Folders marked “snapshot” are included in HexOS snapshots, so you can roll them back.
Lines 21–29
-
Your answer: root user
Filled in with what you typed for “root user” when you installed.
Line 32
-
Auto-generated root password
HexOS makes up a long random root password during install. It's only used inside AIStor™, so you never need to know it.
Line 33
-
Where the app's main data is saved
Where the app's main data is saved on your server: App storage (fast) › aistor › data.
Line 36
-
Api port: 30320
Publishes the app's api port as 30320.
Line 39
-
Console port: 30321
Publishes the app's console port as 30321.
Line 40
-
Resource limits
Caps how much of your server the app can use: 2 CPU cores and 10% of your server's memory, but never more than 4 GB. This keeps one busy app from slowing everything else down.
Line 42