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

Missing import type when creating import via rake #853

Open
davidvpe opened this issue Feb 11, 2025 · 0 comments
Open

Missing import type when creating import via rake #853

davidvpe opened this issue Feb 11, 2025 · 0 comments

Comments

@davidvpe
Copy link

davidvpe commented Feb 11, 2025

Issue

Yesterday, I tried importing my Google Maps iOS App Takeout file, but I ran into an issue. The main screen displayed a blue warning:

Image

I then attempted to upload my location-history.json file, but nothing happened. The logs simply stated "file processed correctly," yet no data points appeared.


As I explained [here](#821 (reply in thread)), the problem occurs when using the CLI. The CLI assumes all Takeout files follow the standard Google format, which includes a locations field. However, Google Maps iOS App Takeout files don’t always have this field.

🔹 Good news: Dawarich does support these files—just not via the CLI.
🔹 The workaround: You must upload them through the Web UI.


By default, Nginx limits the file upload size, which prevented me from using the Web UI. To bypass this, you need to adjust the Nginx configuration.

✅ I resolved it by adding an Nginx annotation as described here

nginx.ingress.kubernetes.io/proxy-body-size: 1000m

This allowed me to upload larger files and successfully import them using the Phone Google Maps parser.


💡 Proposal: Improve CLI Import Options

I'm not very experienced with Ruby on Rails, so I don't think I will be able to help here, but I think it would be useful to allow users to specify the import type via CLI when using rake. This way, we could schedule larger imports without tweaking Nginx or Ingress.

@davidvpe davidvpe changed the title Missing import type when creating import type via rake Missing import type when creating import via rake Feb 11, 2025
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

1 participant