Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unraid Installation not using appdata folder #147

Open
tmchow opened this issue Apr 21, 2020 · 1 comment
Open

Unraid Installation not using appdata folder #147

tmchow opened this issue Apr 21, 2020 · 1 comment

Comments

@tmchow
Copy link

tmchow commented Apr 21, 2020

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.

@ItsRainingHP
Copy link

ItsRainingHP commented Oct 11, 2021

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:

image

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.

image

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:

image

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)

image

Going to Tools > Config File Editor, using the second text box locate the config.json in the aforementioned user data folder. For example:

image

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"
        }
    ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants