Difference between revisions of "Template:Appdata Directory"

From Servarr
m (nzbdrone edits)
Line 17: Line 17:
  
 
=== Windows ===
 
=== Windows ===
 
<code>C:\ProgramData\NzbDrone</code>
 
  
 
<code>C:\ProgramData\{{{ARRNAME}}}</code>
 
<code>C:\ProgramData\{{{ARRNAME}}}</code>
  
 
=== Linux ===
 
=== Linux ===
 
<code>/home/$USER/.config/NzbDrone</code> (<code>~$USER/.config/NzbDrone</code>)
 
  
 
<code>/home/$USER/.config/{{{ARRNAME}}}</code> (<code>~$USER/.config/{{{ARRNAME}}}</code>)
 
<code>/home/$USER/.config/{{{ARRNAME}}}</code> (<code>~$USER/.config/{{{ARRNAME}}}</code>)
Line 32: Line 28:
 
=== OS X ===
 
=== OS X ===
  
<code>/Users/$USER/.config/NzbDrone</code> (<code>~/.config/NzbDrone</code>)
+
<code>/Users/$USER/.config/{{{ARRNAME}}}</code> (<code>~/.config/{{{ARRNAME}}}</code>)
  
 
=== Synology ===
 
=== Synology ===
  
<code>/usr/local/nzbdrone/var/.config/NzbDrone</code>
+
<code>/usr/local/{{{ARRNAME}}}/var/.config/{{{ARRNAME}}}</code>
  
<code>/volume1/@appstore/nzbdrone/var/.config/NzbDrone</code>
+
<code>/volume1/@appstore/{{{ARRNAME}}}/var/.config/{{{ARRNAME}}}</code>
  
 
=== QNAP ===
 
=== QNAP ===
  
<code>/share/MD0_DATA/homes/admin/.config/NzbDrone</code>
+
<code>/share/MD0_DATA/homes/admin/.config/{{{ARRNAME}}}</code>
  
 
<code>/share/CACHEDEV1_DATA/{{{ARRNAME}}}_CONFIG</code>
 
<code>/share/CACHEDEV1_DATA/{{{ARRNAME}}}_CONFIG</code>

Revision as of 03:57, 24 November 2020

No description.

Template parameters

ParameterDescriptionTypeStatus
ARRNAMEARRNAME

ARR Name

Default
Radarr
Example
Sonarr, Radarr, Lidarr, Readarr
Stringoptional


{{{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\{{{ARRNAME}}}

Linux

/home/$USER/.config/{{{ARRNAME}}} (~$USER/.config/{{{ARRNAME}}})

/var/lib/{{{ARRNAME}}}

OS X

/Users/$USER/.config/{{{ARRNAME}}} (~/.config/{{{ARRNAME}}})

Synology

/usr/local/{{{ARRNAME}}}/var/.config/{{{ARRNAME}}}

/volume1/@appstore/{{{ARRNAME}}}/var/.config/{{{ARRNAME}}}

QNAP

/share/MD0_DATA/homes/admin/.config/{{{ARRNAME}}}

/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}}}
...