inventory-hunter icon indicating copy to clipboard operation
inventory-hunter copied to clipboard

Running on unRAID

Open PuppyLover101 opened this issue 4 years ago • 3 comments

I'm trying to run this on unRAID to no success

Command: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='inventoryHunter' --net='bridge' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'w'='https://discord.com/api/webhooks/813312188512337961/dLgi5Eb5jFMb3R-AfMaHTFK2iGxkuG5nAD32xePeYlOwdIc2Hp4zOYlckgnm4PU940-4' -e 'a'='discord' -v '/mnt/user/appdata/inventoryHunter/config.yaml':'/mnt/user/appdata/inventoryHunter/config.yaml':'rw' 'ericjmarti/inventory-hunter' a55366d7d341191f7ff433669ec6c9624223b945b49d686bf5b75775cf04c013

Settings: image

I keep getting the error run.py: error: argument -c/--config: can't open '/config.yaml': [Errno 2] No such file or directory: '/config.yaml'

I'm not sure as to why this is happening because I do have my config.yaml file exactly how I assigned it to variable c. My other variables seem to follow procedure as well.

Any ideas?

PuppyLover101 avatar Feb 22 '21 07:02 PuppyLover101

Not quite sure as it's been a while, but wouldn't unraid want a path and not a specific file as a container path? Don't specify the file in container path, just the folder.

ThaProZac avatar Feb 28 '21 10:02 ThaProZac

I am successfully running this on unraid. I actually gave up on the UI and ran it in the terminal. Looks like it automatically filled up the web UI as follows: Command i ran in terminal:

docker run -d --rm --name inventory-hunter --network host -v /mnt/user/appdata/inventory-hunter/data/config:/data -v /mnt/user/appdata/inventory-hunter/log/log.txt:/log.txt -v /mnt/user/appdata/inventory-hunter/config.yaml:/config.yaml ericjmarti/inventory-hunter:latest --alerter slack --webhook https://hooks.slack.com/services/my-hook-url

Web UI: image

tarikhajk avatar Mar 04 '21 21:03 tarikhajk

I've attempted what has been suggested here and I'm still getting the same error listed above. Any suggestions?

rp1783 avatar Mar 21 '21 05:03 rp1783