Freika / dawarich

Self-hosted alternative to Google Location History (Google Maps Timeline)
https://dawarich.app
GNU Affero General Public License v3.0
2.13k stars 48 forks source link

Exports fail if no 'exports' folder exists and no folder is created by default. #151

Closed HStep20 closed 1 month ago

HStep20 commented 3 months ago

Describe the bug When trying to create an Export, if there is no pre-existing 'exports' folder, then it fails.

Version 0.9.8

To Reproduce Steps to reproduce the behavior:

  1. Create a new install with the provided docker-compse
  2. Add a point
  3. Create an export

Expected behavior I would expect the export to succeed when started. I believe the first export should create the exports folder automatically if it is not present within the public volume set in the docker-compose file. Alternatively, add a line to the docker-compose for the exports folder so that it is explicitly created upon deployment.

radh21301 commented 2 months ago

Thank you! I have been breaking my head on why it kept failing. Created the folder 'exports' inside the 'public' folder, and all works.

Freika commented 1 month ago

Fixed in https://github.com/Freika/dawarich/pull/255