k0rventen / apple-health-grafana

Visualise your Apple Health export in Grafana
390 stars 28 forks source link

Unable to open export zip: /export.zip is not a zip file #16

Closed navgo456 closed 1 year ago

navgo456 commented 1 year ago

Get the following error even though export.zip is clearly a zip file.

[+] Running 1/0 ✔ Container apple-health-grafana-ingester-1 Created 0.0s Attaching to apple-health-grafana-ingester-1 apple-health-grafana-ingester-1 | Unzipping the export file... apple-health-grafana-ingester-1 | Unable to open export zip: /export.zip is not a zip file apple-health-grafana-ingester-1 exited with code 1

k0rventen commented 1 year ago

Hi, could you paste the content of the docker-compose.yml ?

navgo456 commented 1 year ago

version: "3" services: grafana: image: grafana/grafana:9.5.5 ports:

volumes: influx-data:

k0rventen commented 1 year ago

Are you sure that /Desktop/export.zip is a valid absolute path ? Depending on your OS, this should prefixed by either /home/<user> on linux, /Users/<user> on macOS or C:\ on Windows.

navgo456 commented 1 year ago

I did what you said and it worked. Thank you!