Synology NAS, Docker #59
-
Hello All, Forgive my ignorance or dumb question I am still new to the self hosted game, docker, and Python. I am continuing to get this error (below) when loading the latest docker image on Portainer. If I am reading it somewhat correctly, is my issue an OS Environment issue (specifically that the .py cannot find Python 3.9)? I am trying to run this docker image on my Synology NAS and I see that I have the latest Python package installed (Python 3.8.2). Which based on the documentation it should be supported. I have all the environmental set up as well (garmin and peloton usernames and pw along with the Debug one).
I didn't think this was an issue with the code so I just submitted it as a discussion topic, hopefully that is correct. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hello! I can give you some additional insight on that error. I believe the issue is you are missing a section in your config.ini file.
This indicates that the script tried load the DEBUG configuration from the @Octopusprime83 may be able to provide some more insight on how to configure this for docker. |
Beta Was this translation helpful? Give feedback.
-
Hey @philosowaffle, I want to say thank you for creating this and @Octopusprime83 for creating the docker. I gave it the ole restart the container/start over as the Debug variable was included but it wasn't picking it up but on the 2nd go it worked flawlessly and it moved to garmin quickly. You are all awesome and I hope one day my Python skills can reach your level so I can help. Have a great New Year and stay safe/take care! |
Beta Was this translation helpful? Give feedback.
-
@jgramajo4 Thanks! Just to clarify the variables needed for docker are detailed on the docker hub page for this image. In relation to the DEBUG variable this is something I mainly use for testing, but included incase others needed to set it to test mode for troubleshooting. It prevents the script from running on a 5min loop instead making it run only once then quitting. |
Beta Was this translation helpful? Give feedback.
-
FYI - I was struggling to get the latest version configured via the Docker UI on Synology. I finally realized I was making it too difficult - I went the docker-compose route and was up and running immediately. Outstanding work; I really appreciate the effort behind this. See you on the leaderboard! |
Beta Was this translation helpful? Give feedback.
Hello! I can give you some additional insight on that error. I believe the issue is you are missing a section in your config.ini file.
This indicates that the script tried load the DEBUG configuration from the
config.ini
file but could not find it. My best guess is you may be missing the DEBUG run parameter in your environment variables. (See the Required section here)@Octopusprime83 may be able to provide some more insight on how to configure this for docker.