Skip to content

New setup wont import points in dawarich #1238

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

Closed
ArneNaessens opened this issue May 20, 2025 · 2 comments
Closed

New setup wont import points in dawarich #1238

ArneNaessens opened this issue May 20, 2025 · 2 comments

Comments

@ArneNaessens
Copy link

OS & Hardware
Proxmox host with debian vm on it
Dawarich installed behind nginx reverse proxy using docker compose

Version
Provide the version of Dawarich you're experiencing the problem on.
0.23.6

Describe the bug
Clean install of dawarich using docker compose.
Setup the owntrack application on my phone and entered the api url.
No location shows in the app.

Whenever i try to force an update to dawarich i get the following error in my docker logs.

dawarich_sidekiq  | W, [2025-05-20T10:11:32.351399 #8]  WARN -- : ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR:  column points.lonlat does not exist
dawarich_sidekiq  | LINE 1: SELECT 1 AS one FROM "points" WHERE "points"."lonlat" = $1 A...

To Reproduce
Steps to reproduce the behavior:
Go to owntrack and click the upload button

Expected behavior
Points visible in dawarich

Screenshots

Logs
See explination

Additional context
Already had contact in discord.
They asked me to run rails db:migrate. Done that but no solution.

I have also tried deleting all the volumes and restarting the app.

@Freika
Copy link
Owner

Freika commented May 20, 2025

column points.lonlat does not exist

indicates some database migrations (pretty old ones) were not applied. Can't tell you why unfortunately, I'd suggest reinstalling dawarich with the latest version (since your at clean slate instance) and making sure all db migrations are applied and application webui returns no errors

@ArneNaessens
Copy link
Author

After removing and reinstalling twice it started to work.
Closing issue

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

2 participants