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

Docker Synology #310

Closed
mbaruzzo opened this issue Mar 21, 2023 · 5 comments
Closed

Docker Synology #310

mbaruzzo opened this issue Mar 21, 2023 · 5 comments

Comments

@mbaruzzo
Copy link

Hello!
Thanks a lot for this, I successfully run the exe and configured the notifications with Telegram.
Now I would like to install it on my Synology with Docker but I am not able to.
I tried to install the container and to run it but no configuration file is created automatically. In the log file indeed says that no notifiers and log in details are not present.
I am not an expert of Docker but I was wondering if you can provide more info than the one I can find in the documentation regarding docker and synology.

Thanks.

@Der-Henning
Copy link
Owner

Hi @mbaruzzo.
When running the scanner with docker the scanner is configured with environment variables. You can see the corresponding environment variable names to the config.ini options in the Wiki. The environment variable names are in the second column, written in all caps.
In Synoloy Docker you can set the variables under Advanced Settings > Environment.

@mbaruzzo
Copy link
Author

Hi! I got it and it seems to be working!
However, in the log of the docker I find an error "ERROR SAVING CREDENTIALS! - [ERRNO 13]"
Can you perhaps know how to fix it?

Thanks again!

@Der-Henning
Copy link
Owner

Der-Henning commented Mar 22, 2023

This error occurs when the scanner has no write access to the tokens volume. The scanner writes as a user with the uid 1001.
DId you create a named volume for the volume /tokens? Can you provide your configuration? Screenshots?

@mbaruzzo
Copy link
Author

@Der-Henning I solved the issue by following the advice I found here:

https://forums.unraid.net/topic/136367-error-saving-credentials-errno-13-permission-denied-tokensaccesstoken/

In my case I accessed via SSH on Synology with root and then entered the following command.

chown 1001:1001 /volume1/docker/tgtg/tokens

Thanks!

@Der-Henning
Copy link
Owner

Thank you for the feedback! I will create a note in the Wiki to help others having this problem.

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