Open tmchow opened 4 years ago
This is old but I am posting for users struggling with Unraid setup. The wiki is confusing and hard to understand. I am posting my settings so others can set this setup successful as it took me several hours to get working (and I find it rather annoying to have to join a discord an hope someone replies). I set up my Logarr to utilize Plex Media Server, Sonarr, Radarr, and Logarr logs successfully.
Results:
Step one is to utilize the Unraid-CA supported version which is monitorr/logarr-alpha. You can find this by going to the Unraid Dashboard > Apps > Search "Loggar". Currently, this is a beta version according to the CA store.
By default, this will only give you a container port variable of 4000, the /app path, PUID, and PGID. To utilize the other logs you must give permissions to view them. Below are screenshots of my setup with text versions of the paths:
Note: I changed my default location for sonarr/radarr. If you are using default parameters for Unraid the Host Path will be /mnt/user/appdata/sonarr/ and /mnt/user/appdata/radarr/ respectively.
Name: Sonarr Logs (optional) Container Path: /var/log/loggarlogs/sonarr Host Path: /mnt/user/appdata/config/sonarr/
Name: Radarr Logs (optional) Container Path: /var/log/loggarlogs/radarr Host Path: /mnt/user/appdata/config/radarr/
Name: Plex Logs (optional) Container Path: /var/log/loggarlogs/plex Host Path: /mnt/user/appdata/plex/Library/Application Support/Plex Media Server/
Name: Config Container Path: /app Host Path: /mnt/user/appdata/Logarr
The config.php by default will be in your appdata/Logarr/user data/ folder. You can either edit this manually on your PC with an editor OR utilize Config Editor (unraid CA store)
Going to Tools > Config File Editor, using the second text box locate the config.json in the aforementioned user data folder. For example:
Copy paste and restart Logarr. Enjoy.
Config.php
"settings": {
"rfconfig": "15000",
"rftime": "60000",
"rflog": "30000",
"maxLines": "2000",
"customHighlightTerms": "error",
"logRefresh": "false",
"autoHighlight": "true",
"jumpOnSearch": "false",
"liveSearch": "false"
},
"preferences": {
"sitetitle": "Logarr",
"siteurl": "http:\/\/localhost\/logarr",
"updateBranch": "alpha",
"timezone": "Etc\/GMT",
"timestandard": "False",
"language": "EN"
},
"authentication": {
"setupEnabled": "true",
"settingsEnabled": "true",
"logsEnabled": "true"
},
"logs": [
{
"logTitle": "Plex",
"path": "//var//log//loggarlogs//plex//Logs//Plex Media Server.log",
"enabled": "Yes",
"category": "Radarr"
},
{
"logTitle": "Logarr",
"path": "..//data//logs//logarr.log",
"enabled": "Yes",
"category": "Logarr"
},
{
"logTitle": "Sonarr",
"path": "//var//log//loggarlogs//sonarr//logs//sonarr.txt",
"enabled": "Yes",
"category": "Sonarr"
},
{
"logTitle": "Radarr",
"path": "//var//log//loggarlogs//radarr//logs//radarr.txt",
"enabled": "Yes",
"category": "Radarr"
}
]
}
Your environment:
Operating system: Unraid 6.8
Webserver: NGIX v. 3.8
PHP Version: 7.2.1 x64 NTS
Logarr Branch: Develop
Describe your issue:
I'm using the official Unraid template for installation. The config.php isn't being read from the appdata folder that's configured as part of the xml template (which is set to
/mnt/user/appdata/logarr
). Within the container, I see the config at/config/www/logarr/assets/config/config.php
instead of using the/app/config.php
.