ninthwalker / NowShowing

Generates an email and web page of Plex recently added content
MIT License
73 stars 8 forks source link

Unable to configure config file. #40

Closed madvtak closed 7 years ago

madvtak commented 7 years ago

Hi,

I have this installed on my synology running docker. After I added all the variables listed, and go to localhost:6878

I see this Default NowShowing Page This will be replaced after you run your first report

How do I force the first report?

ninthwalker commented 7 years ago

Please see the command line options page of the Wiki if you want to manually run it without scheduling it with cron in the advanced.yaml

https://github.com/ninthwalker/NowShowing/wiki/Command-Line-Options

madvtak commented 7 years ago

When i do that i get no configuration file found. This is what docker shows. Am i missing anything else? I have everything filled out i just deleted for the screenshot.

docker

markhaines commented 7 years ago

I've had this up and running on Synology Docker for a few weeks now - it works great. Have you shared a directory, given it RW access and placed the config there?

ds2 nas
madvtak commented 7 years ago

yes

image

markhaines commented 7 years ago

This is what my config folder looks like if thats any help to compare:

ds2 nas
madvtak commented 7 years ago

im so happy someone is responding so fast. Let me change my folder name from ninthwalker to nowshowing to see if it makes a difference

madvtak commented 7 years ago

image

This is when im getting when i tjry to run a nowshowing web report image

madvtak commented 7 years ago

Also, this is what i see when i go to localhost:port image

markhaines commented 7 years ago

What does your advanced.yaml config file look like? I customised the .example one on mine and renamed it as it was notated better in case I needed to change it in the future.

madvtak commented 7 years ago

I havnet touched my advanced.yaml, this could be why.

markhaines commented 7 years ago

Yep, that'll do it ;-)

ninthwalker commented 7 years ago

Thanks for helping him out Mark. His files/config may be fine.

The command line to test/run manually is wrong. It should look like this:

docker exec name_you_gave_docker nowshowing webreport

madvtak commented 7 years ago

@markhaines do you mind sharing your yaml file. I am not sure what needs to be changed here.

@ninthwalker when i run your command i still get config file not found.

image

madvtak commented 7 years ago

Okay i have narrowed down the issue to, it cannot see the config file?

image

madvtak commented 7 years ago

Sorry to be such a bother, i found something else. When i look at logs in Docker it shows a config file, but i dont know how to get to it to edit it.

image

madvtak commented 7 years ago

I see this from here but mine doesn't have a config.yaml

docker exec nowshowing cat /opt/config.yaml

madvtak commented 7 years ago

@markhaines do you mind sharing your Environment Variables also please?

ninthwalker commented 7 years ago

Someone else other than me will have to finish helping you as I do not have a Synology or know how they setup their docker environment. Only have experience with Docker on Linux and unRAID systems. Good luck!

markhaines commented 7 years ago

Here's my docker settings within DSM:

ds2 nas 2 ds2 nas
markhaines commented 7 years ago

Not sure if there's anything else useful I can share with you - it 'just works' for me!

markhaines commented 7 years ago
1__ssh_and_ds2 nas

This is the command I run (having first ssh'd into the DSM as root) from the shell. This updates the webpage and sends out a test email.

markhaines commented 7 years ago

I tried "docker exec nowshowing cat /opt/config.yaml" and it displays a list of the environment variables configured within the DSM Docker UI. So if you don't have that working then that's probably the starting point.

ninthwalker commented 7 years ago

Closing this for now, as it's not a bug but a configuration setup within DSM. Since Markhaines has it working you could possibly get more help from him via PM. Thanks.