-
-
Notifications
You must be signed in to change notification settings - Fork 140
Description
Describe the bug
I am unable to run the garmin-fetch-data container.
When trying via portainer the container just restarts itself constantly.
When using easy_install.sh I get
Logs
The log content that precedes the error. Skip this section if there is no error in the log. Please provide the revevant log as applicable instead of the full log. If you have very long error log, please consider attaching the log file to the issue instead.
Starting Garmin Grafana (an open-source project by Arpan Ghosh) setup...
Please consider supporting this project and developer(s) if you enjoy it after installing
Checking if Docker is installed...
Checking if Docker daemon is running...
Creating garminconnect-tokens directory...
Setting folder permission to 777 for generel accessibility
Renaming compose-example.yml to compose.yml...
mv: cannot stat 'compose-example.yml': No such file or directory
Replacing {DS_GARMIN_STATS} variable with garmin_influxdb in the dashboard JSON...
🐳 Pulling the latest thisisarpanghosh/garmin-fetch-data Docker image...
latest: Pulling from thisisarpanghosh/garmin-fetch-data
Digest: sha256:7ac32b1182b00f54cfccbf600a66dfcdecdfb89e5343f4f440ab3c2ea90eaac1
Status: Image is up to date for thisisarpanghosh/garmin-fetch-data:latest
docker.io/thisisarpanghosh/garmin-fetch-data:latest
🐳Terminating any previous running containers from this stack
[+] Running 2/2
✔ Container influxdb Removed 5.4s
✔ Network garmin-grafana_default Removed 0.7s
🐳 Running garmin-fetch-data in initialization mode...setting up authentication
[+] Creating 2/2
✔ Network garmin-grafana_default Created 0.9s
✔ Container influxdb Created 3.7s
[+] Running 1/1
✔ Container influxdb Started
Screenshots
If applicable, add screenshots to help explain your problem.
Are you using docker?
- Yes
Are you using a VPN?
- No - Please note that authentication might fail with
401or429Client Errors if you are using a VPN network.
Did you read the README and tried to Troubleshoot?
- Explain if you have tried anything additional to resolve the issue.
Using the command docker run --rm -it thisisarpanghosh/garmin-fetch-data:latest /bin/bash and then executing uv --verbose run garmin_grafana/garmin_fetch.py I get the following
DEBUG uv 0.6.17
DEBUG Found project root: `/app`
DEBUG No workspace root found, using project root
DEBUG Discovered project `garmin-grafana` at: /app
DEBUG Acquired lock for `/app`
DEBUG No Python version file found in workspace: /app
DEBUG Using Python request `==3.13.*` from `requires-python` metadata
DEBUG Checking for Python environment at `.venv`
DEBUG The virtual environment's Python version satisfies the request: `Python ==3.13.*`
DEBUG Released lock at `/tmp/uv-1c83b73deef05048.lock`
DEBUG Using request timeout of 30s
DEBUG Found static `pyproject.toml` for: garmin-grafana @ file:///app
DEBUG No workspace root found, using project root
DEBUG Existing `uv.lock` satisfies workspace requirements
Resolved 30 packages in 33ms
DEBUG Using request timeout of 30s
DEBUG Requirement already installed: dotenv==0.9.9
DEBUG Requirement already installed: fitparse==1.2.0
DEBUG Requirement already installed: garminconnect==0.2.26
DEBUG Requirement already installed: influxdb==5.3.2
DEBUG Requirement already installed: influxdb3-python==0.12.0
DEBUG Requirement already installed: pandas==2.2.3
DEBUG Requirement already installed: python-dotenv==1.1.0
DEBUG Requirement already installed: garth==0.5.3
DEBUG Requirement already installed: msgpack==1.1.0
DEBUG Requirement already installed: python-dateutil==2.9.0.post0
DEBUG Requirement already installed: pytz==2025.2
DEBUG Requirement already installed: requests==2.32.3
DEBUG Requirement already installed: six==1.17.0
DEBUG Requirement already installed: certifi==2025.1.31
DEBUG Requirement already installed: pyarrow==19.0.1
DEBUG Requirement already installed: reactivex==4.0.4
DEBUG Requirement already installed: setuptools==79.0.1
DEBUG Requirement already installed: urllib3==2.4.0
DEBUG Requirement already installed: numpy==2.2.5
DEBUG Requirement already installed: tzdata==2025.2
DEBUG Requirement already installed: pydantic==2.11.3
DEBUG Requirement already installed: requests-oauthlib==2.0.0
DEBUG Requirement already installed: charset-normalizer==3.4.1
DEBUG Requirement already installed: idna==3.10
DEBUG Requirement already installed: typing-extensions==4.13.2
DEBUG Requirement already installed: annotated-types==0.7.0
DEBUG Requirement already installed: pydantic-core==2.33.1
DEBUG Requirement already installed: typing-inspection==0.4.0
DEBUG Requirement already installed: oauthlib==3.2.2
Audited 29 packages in 1ms
DEBUG Using Python 3.13.3 interpreter at: /app/.venv/bin/python3
DEBUG Running `python garmin_grafana/garmin_fetch.py`
DEBUG Spawned child 30 in process group 27
DEBUG Command exited with signal: Some(4)
Additional context
Add any other context about the problem here.
I pulled a separate image to confirm network access works properly for other containers. influx and grafana both started fine.