case 4699 - docs: Linux desktop data folder

The manual had users create ~/.ayanova-data with sudo, but AyaNova runs with
sudo so ~ is root's home and that folder was never used. AyaNova creates the
data folder itself; the step now says where it is (/root/.ayanova-data) and
how to choose another location.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 10:33:02 -07:00
parent a715c3913c
commit 176a90d3f3

View File

@@ -80,17 +80,11 @@ If successful psql will display "ALTER ROLE" in response and you can close the p
### 4\. Create directorys for AyaNova
AyaNova requires two directorys to be created, one to hold the AyaNova binary and other AyaNova server and web application files and one to hold the AyaNova data. AyaNova will need to write to both these locations so be sure you choose locations with appropriate permissions.
AyaNova uses two directories, one to hold the AyaNova binary and other AyaNova server and web application files and one to hold the AyaNova data.
From the terminal:
The data directory does not need to be created: AyaNova creates it the first time it starts. The default setting in AyaNova's configuration is `~/.ayanova-data`. Because AyaNova is started with `sudo` (see below) it runs as the root user, so `~` is root's home directory and the data is kept in `/root/.ayanova-data`. To keep the data somewhere else, set [AYANOVA_DATA_PATH](ops-config-data-path.md) in step 6 to a full path, for example `/opt/ayanova-data`.
Create the data directory, for desktop linux we recommend your user home directory and AyaNova defaults to '~/.ayanova-data' in it's configuration, however you can use any location that you have write access to.
```bash
sudo mkdir ~/.ayanova-data
```
Create the AyaNova binary files directory. For desktop linux we recommend `/opt/ayanova`.
From the terminal, create the AyaNova binary files directory. For desktop linux we recommend `/opt/ayanova`.
```bash
sudo mkdir /opt/ayanova