Reddit-Post-Notifier icon indicating copy to clipboard operation
Reddit-Post-Notifier copied to clipboard

For those coming from Unraid:

Open JamesSampsan opened this issue 7 months ago • 7 comments

How do you even get this to work?

The docker container won't even start for me, and I've configured the config.yaml but still won't start.

JamesSampsan avatar May 05 '25 05:05 JamesSampsan

Mine is working so here's my setup.

Image

Image

devanteweary avatar May 05 '25 17:05 devanteweary

Mine is working so here's my setup.

Image

Image

Where do you have you config? in the \appdata\reddit-post-notifier\config.yaml folder, or the \appdata\reddit-post-notifier\folder?

How did you configure Apprise (if you installed it) I just installed it, but haven't configured it yet.

Last question, I swear - With the Reddit API on https://www.reddit.com/prefs/apps, I created a script, and created the app, the confusing part is the client, its the text under the notificationbot right? Do you need a redirect URL?

Image

Thanks for the help, this is all brand spankin new to me.

JamesSampsan avatar May 05 '25 17:05 JamesSampsan

My config is /mnt/user/appdata/reddit-post-notifier/config.yaml

I don't have Apprise at all. I just went into my private Discord server > Server Settings > Intergrations > Create Web Hook

...and used that.

And yep! You're right. It's that text in the upper-left corner.
Should be a single letter followed by an underscore, then a bunch of other stuff.

devanteweary avatar May 05 '25 17:05 devanteweary

Alright, this is going to drive me absolutely crazy. Copy/pasted Discord webhook as a https:// url. Copy/pasted client directly from Reddit. (although mine is like 4 letters, an underscore, 1 letter, another unscore, then the rest of the text (xxxx_x_xxxxxxxxxxxxx) Copy/pasted secret directly from Reddit.

Image

Container won't start and spits out this error:

text error warn system array login

Traceback (most recent call last): File "/app/app.py", line 198, in main() File "/app/app.py", line 26, in main config = get_config() File "/app/app.py", line 107, in get_config config = load_config() File "/app/app.py", line 121, in load_config with open(CONFIG_PATH, "r", encoding="utf-8") as config_yaml: IsADirectoryError: [Errno 21] Is a directory: 'config.yaml' Traceback (most recent call last): File "/app/app.py", line 198, in main() File "/app/app.py", line 26, in main config = get_config() File "/app/app.py", line 107, in get_config config = load_config() File "/app/app.py", line 121, in load_config with open(CONFIG_PATH, "r", encoding="utf-8") as config_yaml: IsADirectoryError: [Errno 21] Is a directory: 'config.yaml' Starting Reddit Post Notifier Using config file: config.yaml Starting Reddit Post Notifier Using config file: config.yaml

** Press ANY KEY to close this window **

It's trying to open the config.yaml but as a directory instead of a file.

JamesSampsan avatar May 05 '25 17:05 JamesSampsan

Hmmmm post your container settings.

devanteweary avatar May 05 '25 18:05 devanteweary

Alright, figured it out. Was an issue with the container trying to point to the config.yaml folder instead of the file.

If someone finds this through Google - Delete the config.yaml FOLDER that is generated. Put your config.yaml FILE in appdata/reddit-post-notifier/ :It should be the only thing in the appdata/reddit-post-notifier/ folder.

In the Container Settings: Name: Path: /app/config.yaml Container Path: /app/config.yaml Host Path: /mnt/user/appdata/reddit-post-notifier/config.yaml Default Value: /mnt/user/appdata/reddit-post-notifier/config.yaml

Then make sure the owner of the user/appdata/reddit-post-notifier is set to "nobody"

JamesSampsan avatar May 05 '25 18:05 JamesSampsan

Perfect!

devanteweary avatar May 05 '25 18:05 devanteweary