Difference between revisions of "Template:Appdata Directory"
Line 34: | Line 34: | ||
The <code>-data</code> argument forces the location of the AppData folder, so your startup command may be forcing a specific location. This is especially useful when trying to run multiple instances. | The <code>-data</code> argument forces the location of the AppData folder, so your startup command may be forcing a specific location. This is especially useful when trying to run multiple instances. | ||
+ | <div style="margin-left: 2em;"><pre> | ||
+ | user@host ~ $ ps aux | grep -i {{{ARRNAME}}} | ||
+ | {{{ARRNAME}}} 15522 28.3 1.5 3596376 1037600 ? Ssl Nov11 291:03 /usr/bin/mono --debug /usr/lib/{{{ARRNAME}}}/{{{ARRNAME}}}.exe -nobrowser -data=/var/lib/{{{ARRNAME}}}</pre> | ||
+ | </div> | ||
− | < | + | <div style="margin-left: 2em;"><pre> |
− | + | user@host ~ $ sudo systemctl cat {{{ARRNAME}}} | |
− | |||
... | ... | ||
ExecStart=/usr/bin/mono --debug /usr/lib/{{{ARRNAME}}}/{{{ARRNAME}}}.exe -nobrowser -data=/var/lib/{{{ARRNAME}}} | ExecStart=/usr/bin/mono --debug /usr/lib/{{{ARRNAME}}}/{{{ARRNAME}}}.exe -nobrowser -data=/var/lib/{{{ARRNAME}}} | ||
− | ...</pre> | + | ...</pre></div> |
Revision as of 01:55, 14 November 2020
{{{ARRNAME}}}’s AppData folder contains the databases for logs and general app information, log files and the config file that contains settings required to start the web server. This path is listed on the System Status page in {{{ARRNAME}}}, but if you are unable to access it, here are some common locations for it:
Windows
C:\ProgramData\NzbDrone
C:\ProgramData\{{{ARRNAME}}}
Linux
/home/$USER/.config/NzbDrone
(~$USER/.config/NzbDrone
)
/home/$USER/.config/{{{ARRNAME}}}
(~$USER/.config/{{{ARRNAME}}}
)
/var/lib/{{{ARRNAME}}}
OS X
/Users/$USER/.config/NzbDrone
(~/.config/NzbDrone
)
Synology
/usr/local/nzbdrone/var/.config/NzbDrone
/volume1/@appstore/nzbdrone/var/.config/NzbDrone
QNAP
/share/MD0_DATA/homes/admin/.config/NzbDrone
/share/CACHEDEV1_DATA/{{{ARRNAME}}}_CONFIG
Argument
The -data
argument forces the location of the AppData folder, so your startup command may be forcing a specific location. This is especially useful when trying to run multiple instances.
user@host ~ $ ps aux | grep -i {{{ARRNAME}}} {{{ARRNAME}}} 15522 28.3 1.5 3596376 1037600 ? Ssl Nov11 291:03 /usr/bin/mono --debug /usr/lib/{{{ARRNAME}}}/{{{ARRNAME}}}.exe -nobrowser -data=/var/lib/{{{ARRNAME}}}
user@host ~ $ sudo systemctl cat {{{ARRNAME}}} ... ExecStart=/usr/bin/mono --debug /usr/lib/{{{ARRNAME}}}/{{{ARRNAME}}}.exe -nobrowser -data=/var/lib/{{{ARRNAME}}} ...