This commit is contained in:
2021-11-29 21:15:10 +00:00
parent db14155999
commit b4767ee706
5 changed files with 39 additions and 38 deletions

View File

@@ -15,7 +15,7 @@ AyaNova expects the backup files folder path to be provided by an environment va
`AYANOVA_BACKUP_FILES_PATH`
The value specified should be a string containing a fully qualified file path for the platform, for example:
`c:\data\ayanova\backupfiles`
`c:\ProgramData\ayanova\backupfiles`
Example command line parameter
@@ -25,7 +25,7 @@ Example environment variable
Windows
`set "AYANOVA_BACKUP_FILES_PATH=c:\data\ayanova\backupfiles"`
`set "AYANOVA_BACKUP_FILES_PATH=c:\ProgramData\ayanova\backupfiles"`
Linux / MAC

View File

@@ -15,7 +15,7 @@ AyaNova expects the temporary files folder path to be provided by an environment
`AYANOVA_TEMP_FILES_PATH`
The value specified should be a string containing a fully qualified file path for the platform, for example:
`c:\data\ayanova\tempfiles`
`c:\ProgramData\ayanova\tempfiles`
Example command line parameter
@@ -25,7 +25,7 @@ Example environment variable
Windows
`set "AYANOVA_TEMP_FILES_PATH=c:\data\ayanova\tempfiles"`
`set "AYANOVA_TEMP_FILES_PATH=c:\ProgramData\ayanova\tempfiles"`
Linux / MAC

View File

@@ -1,4 +1,4 @@
# USER FILES FOLDER SETTING
# ATTACHMENTS FOLDER SETTING
This setting controls where AyaNova stores user uploaded files used by features that allow file attachment or uploads.
AyaNova stores these files with random names in the folder specified.
@@ -7,7 +7,7 @@ Warning: this folder MUST NOT be the same location set for [AYANOVA_BACKUP_FILES
## Default
If no override is specified AyaNova will store user files in a `userfiles` folder in the location specified by [AYANOVA_DATA_PATH](ops-config-data-path.md) setting.
If no override is specified AyaNova will store user files in a `attachments` folder in the location specified by [AYANOVA_DATA_PATH](ops-config-data-path.md) setting.
## Overriding
@@ -16,20 +16,20 @@ AyaNova expects the user files folder path to be provided by an environment vari
`AYANOVA_ATTACHMENT_FILES_PATH`
The value specified should be a string containing a fully qualified file path for the platform, for example:
`c:\data\ayanova\userfiles`
`c:\ProgramData\ayanova\attachments`
Example command line parameter
`ayanova.exe --AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/userfiles"`
`ayanova.exe --AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/attachments"`
Example environment variable
Windows
`set "AYANOVA_ATTACHMENT_FILES_PATH=c:\data\ayanova\userfiles"`
`set "AYANOVA_ATTACHMENT_FILES_PATH=c:\ProgramData\ayanova\attachments"`
Linux / MAC
`export AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/userfiles"`
`export AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/attachments"`
If both a command line parameter and an environment variable are set the command line parameter takes precedence.

View File

@@ -138,7 +138,8 @@ nav:
- 'View server settings': 'ops-server-information.md'
- 'Server locale settings': 'ops-server-locale.md'
- 'Translation / Language': 'ops-config-default-translation.md'
- 'User files folder': 'ops-config-folder-user-files.md'
- 'Data path': 'ops-config-data-path.md'
- 'Attachments folder': 'ops-config-folder-user-files.md'
- 'Server temporary files folder': 'ops-config-folder-temporary-files.md'
- 'Database configuration': 'ops-config-db.md'
- 'PORT and URL configuration': 'ops-config-use-urls.md'
@@ -153,8 +154,8 @@ nav:
- 'Metrics': 'ops-metrics.md'
- 'Notification system': 'ops-notification-system.md'
- 'Notification queue': 'ops-notify-queue.md'
- 'Backup config PGDUMP path': 'ops-config-backup-pgdump-path.md'
- 'Backup config folder': 'ops-config-folder-backup-files.md'
- 'Backup utility PGDUMP path': 'ops-config-backup-pgdump-path.md'
- 'Backup folder': 'ops-config-folder-backup-files.md'
- 'Restore backup': 'ops-restore.md'
- Developer guide:
- 'Introduction': 'api-intro.md'