Places & Visits can't be populated
Version 0.25.0 - 0.25.3
Docker Compose docker-compose.txt
Describe the bug Visits are not being populated even after using the command from documentation in the notifications on the page.
To Reproduce
Visit.suggested.destroy_all- had to fix no method y for longlat (but that also didnt work as newly send data was only set in rawdata and longitude and latitude were also null)
- Manually fix that
- reverse geocode all points
- execute :
start_at = DateTime.new(2025, 03, 01) # change as you need
end_at = DateTime.new(2025, 03, 20) # change as you need
user = User.find_by(email: '[email protected]')
BulkVisitsSuggestingJob.perform_later(start_at: start_at, end_at: end_at, user_ids: [user.id])
Expected behavior generate visits
Logs Console Logs upon execution:
D, [2025-03-22T17:01:54.395462 #2943] DEBUG -- : User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2 [["email", "[email protected]"], ["LIMIT", 1]]
2025-03-22T17:01:54.440Z pid=2943 tid=2j3 INFO: Sidekiq 7.3.9 connecting to Redis with options {size: 10, pool_name: "internal", url: "redis://dawarich_redis:6379/0"}
I, [2025-03-22T17:01:54.449052 #2943] INFO -- : Enqueued BulkVisitsSuggestingJob (Job ID: 55e1f235-409c-4b5d-970b-fbba07af27b4) to Sidekiq(visit_suggesting) with arguments: {start_at: Wed, 12 Mar 2025 00:00:00 +0000, end_at: Sun, 16 Mar 2025 00:00:00 +0000, user_ids: [1]}
I, [2025-03-22T17:01:54.451589 #2943] INFO -- : ↳ (pry):8:in '__pry__'
=> #<BulkVisitsSuggestingJob:0x00007fdd84fbd2b8
@_halted_callback_hook_called=nil,
@arguments=[{start_at: Wed, 12 Mar 2025 00:00:00 +0000, end_at: Sun, 16 Mar 2025 00:00:00 +0000, user_ids: [1]}],
@exception_executions={},
@executions=0,
@job_id="55e1f235-409c-4b5d-970b-fbba07af27b4",
@priority=nil,
@provider_job_id="0ded66a84db64d2f23cce65e",
@queue_name="visit_suggesting",
@scheduled_at=nil,
@successfully_enqueued=true,
@timezone="Europe/Berlin">
Website notification (100+ of those) see sidekiq for content
dawarich app logs
- only health check and point creating job
dawarich sidekiq:
I, [2025-03-22T17:01:54.544615 #8] INFO -- : Performing VisitSuggestingJob (Job ID: a1648b52-aa54-4344-9519-33714a84a425) from Sidekiq(visit_suggesting) enqueued at 2025-03-22T17:01:54.458908022Z with arguments: {user_id: 1, start_at: Wed, 12 Mar 2025 00:00:00 +0000, end_at: Wed, 31 Dec 2025 23:59:59 +0000}
D, [2025-03-22T17:01:54.546259 #8] DEBUG -- : User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
D, [2025-03-22T17:01:54.546821 #8] DEBUG -- : ↳ app/jobs/visit_suggesting_job.rb:9:in 'VisitSuggestingJob#perform'
D, [2025-03-22T17:01:54.549125 #8] DEBUG -- : Point Exists? (0.7ms) SELECT 1 AS one FROM "points" WHERE "points"."user_id" = $1 AND "points"."visit_id" IS NULL AND "points"."timestamp" BETWEEN $2 AND $3 LIMIT $4 [["user_id", 1], ["timestamp", 1741737600], ["timestamp", 1741824000], ["LIMIT", 1]]
D, [2025-03-22T17:01:54.549910 #8] DEBUG -- : ↳ app/services/visits/smart_detect.rb:22:in 'Visits::SmartDetect#call'
D, [2025-03-22T17:01:54.552588 #8] DEBUG -- : Point Load (2.2ms) SELECT "points".* FROM "points" WHERE "points"."user_id" = $1 AND "points"."visit_id" IS NULL AND "points"."timestamp" BETWEEN $2 AND $3 ORDER BY "points"."timestamp" ASC [["user_id", 1], ["timestamp", 1741737600], ["timestamp", 1741824000]]
D, [2025-03-22T17:01:54.553200 #8] DEBUG -- : ↳ app/services/visits/detector.rb:20:in 'Visits::Detector#detect_potential_visits'
D, [2025-03-22T17:01:54.555815 #8] DEBUG -- : Point Exists? (0.5ms) SELECT 1 AS one FROM "points" WHERE "points"."user_id" = $1 AND "points"."visit_id" IS NULL AND "points"."timestamp" BETWEEN $2 AND $3 LIMIT $4 [["user_id", 1], ["timestamp", 1741824000], ["timestamp", 1741910400], ["LIMIT", 1]]
D, [2025-03-22T17:01:54.556105 #8] DEBUG -- : ↳ app/services/visits/smart_detect.rb:22:in 'Visits::SmartDetect#call'
D, [2025-03-22T17:01:54.557872 #8] DEBUG -- : Point Load (1.4ms) SELECT "points".* FROM "points" WHERE "points"."user_id" = $1 AND "points"."visit_id" IS NULL AND "points"."timestamp" BETWEEN $2 AND $3 ORDER BY "points"."timestamp" ASC [["user_id", 1], ["timestamp", 1741824000], ["timestamp", 1741910400]]
D, [2025-03-22T17:01:54.558404 #8] DEBUG -- : ↳ app/services/visits/detector.rb:20:in 'Visits::Detector#detect_potential_visits'
D, [2025-03-22T17:01:54.644436 #8] DEBUG -- : TRANSACTION (0.1ms) BEGIN
D, [2025-03-22T17:01:54.644851 #8] DEBUG -- : ↳ app/services/visits/creator.rb:74:in 'Visits::Creator#find_matching_area'
D, [2025-03-22T17:01:54.645191 #8] DEBUG -- : Area Load (0.9ms) SELECT "areas".* FROM "areas" WHERE "areas"."user_id" = $1 [["user_id", 1]]
D, [2025-03-22T17:01:54.645439 #8] DEBUG -- : ↳ app/services/visits/creator.rb:74:in 'Visits::Creator#find_matching_area'
D, [2025-03-22T17:01:54.646427 #8] DEBUG -- : Place Load (0.4ms) SELECT "places".* FROM "places" WHERE (ST_DWithin( lonlat::geography, ST_GeomFromEWKT('SRID=4326;POINT(8.812881 53.0797235)')::geography, 50 )) ORDER BY "places"."id" ASC LIMIT $1 [["LIMIT", 1]]
D, [2025-03-22T17:01:54.646685 #8] DEBUG -- : ↳ app/services/visits/place_finder.rb:50:in 'Visits::PlaceFinder#find_existing_place'
D, [2025-03-22T17:01:58.179704 #8] DEBUG -- : Flushed 2 metrics
D, [2025-03-22T17:01:58.724554 #8] DEBUG -- : TRANSACTION (0.7ms) ROLLBACK
D, [2025-03-22T17:01:58.725435 #8] DEBUG -- : ↳ app/services/visits/creator.rb:19:in 'block in Visits::Creator#create_visits'
D, [2025-03-22T17:01:58.728763 #8] DEBUG -- : TRANSACTION (0.2ms) BEGIN
D, [2025-03-22T17:01:58.729259 #8] DEBUG -- : ↳ app/services/visits/suggest.rb:25:in 'Visits::Suggest#call'
D, [2025-03-22T17:01:58.730623 #8] DEBUG -- : Notification Create (1.7ms) INSERT INTO "notifications" ("title", "content", "user_id", "kind", "read_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "Error suggesting visits"], ["content", "Error suggesting visits: Geocoder::ResponseParseError\n/var/app/vendor/bundle/ruby/3.4.0/gems/geocoder-1.8.5/lib/geocoder/lookups/base.rb:186:in 'Geocoder::Lookup::Base#raise_error'\n/var/app/vendor/bundle/ruby/3.4.0/gems/geocoder-1.8.5/lib/geocoder/lookups/base.rb:215:in 'Geocoder::Lookup::Base#parse_json'\n/var/app/vendor/bundle/ruby/3.4.0/gems/geocoder-1.8.5/lib/geocoder/lookups/base.rb:225:in 'Geocoder::Lookup::Base#parse_raw_data'\n/var/app/vendor/bundle/ruby/3.4.0/gems/geocoder-1.8.5/lib/geocoder/lookups/base.rb:196:in 'Geocoder::Lookup::Base#fetch_data'\n/var/app/vendor/bundle/ruby/3.4.0/gems/geocoder-1.8.5/lib/geocoder/lookups/photon.rb:23:in 'Geocoder::Lookup::Photon#results'\n/var/app/vendor/bundle/ruby/3.4.0/gems/geocoder-1.8.5/lib/geocoder/lookups/base.rb:46:in 'Geocoder::Lookup::Base#search'\n/var/app/vendor/bundle/ruby/3.4.0/gems/geocoder-1.8.5/lib/geocoder/query.rb:11:in 'Geocoder::Query#execute'\n/var/app/vendor/bundle/ruby/3.4.0/gems/geocoder-1.8.5/lib/geocoder.rb:22:in 'Geocoder.search'\n/var/app/app/services/visits/place_finder.rb:146:in 'Visits::PlaceFinder#fetch_places_from_api'\n/var/app/app/services/visits/place_finder.rb:70:in 'Visits::PlaceFinder#collect_potential_places'\n/var/app/app/services/visits/place_finder.rb:31:in 'Visits::PlaceFinder#find_or_create_place'\n/var/app/app/services/visits/creator.rb:24:in 'block (2 levels) in Visits::Creator#create_visits'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activerecord-8.0.1/lib/active_record/connection_adapters/abstract/transaction.rb:626:in 'block in ActiveRecord::ConnectionAdapters::TransactionManager#within_new_transaction'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/concurrency/null_lock.rb:9:in 'ActiveSupport::Concurrency::NullLock#synchronize'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activerecord-8.0.1/lib/active_record/connection_adapters/abstract/transaction.rb:623:in 'ActiveRecord::ConnectionAdapters::TransactionManager#within_new_transaction'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activerecord-8.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb:367:in 'ActiveRecord::ConnectionAdapters::DatabaseStatements#within_new_transaction'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activerecord-8.0.1/lib/active_record/connection_adapters/abstract/database_statements.rb:359:in 'ActiveRecord::ConnectionAdapters::DatabaseStatements#transaction'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activerecord-8.0.1/lib/active_record/transactions.rb:234:in 'block in ActiveRecord::Transactions::ClassMethods#transaction'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activerecord-8.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:418:in 'ActiveRecord::ConnectionAdapters::ConnectionPool#with_connection'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activerecord-8.0.1/lib/active_record/connection_handling.rb:310:in 'ActiveRecord::ConnectionHandling#with_connection'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activerecord-8.0.1/lib/active_record/transactions.rb:233:in 'ActiveRecord::Transactions::ClassMethods#transaction'\n/var/app/app/services/visits/creator.rb:19:in 'block in Visits::Creator#create_visits'\n/var/app/app/services/visits/creator.rb:13:in 'Array#map'\n/var/app/app/services/visits/creator.rb:13:in 'Visits::Creator#create_visits'\n/var/app/app/services/visits/smart_detect.rb:28:in 'Visits::SmartDetect#call'\n/var/app/app/services/visits/suggest.rb:16:in 'Visits::Suggest#call'\n/var/app/app/jobs/visit_suggesting_job.rb:18:in 'VisitSuggestingJob#perform'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in 'block in ActiveJob::Execution#_perform_job'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in 'block in ActiveSupport::Callbacks#run_callbacks'\n/var/app/vendor/bundle/ruby/3.4.0/gems/i18n-1.14.7/lib/i18n.rb:353:in 'I18n::Base#with_locale'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in 'block (2 levels) in <module:Translation>'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in 'BasicObject#instance_exec'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in 'block in ActiveSupport::Callbacks#run_callbacks'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in 'Time.use_zone'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in 'block (2 levels) in <module:Timezones>'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in 'BasicObject#instance_exec'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in 'block in ActiveSupport::Callbacks#run_callbacks'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in 'ActiveSupport::Callbacks#run_callbacks'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in 'ActiveJob::Execution#_perform_job'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in 'ActiveJob::Instrumentation#_perform_job'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in 'ActiveJob::Execution#perform_now'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in 'block in ActiveJob::Instrumentation#perform_now'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in 'block in ActiveRecord::Railties::JobRuntime#instrument'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in 'block in ActiveJob::Instrumentation#instrument'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in 'block in ActiveSupport::Notifications.instrument'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in 'ActiveSupport::Notifications::Instrumenter#instrument'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in 'ActiveSupport::Notifications.instrument'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in 'ActiveJob::Instrumentation#instrument'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in 'ActiveRecord::Railties::JobRuntime#instrument'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in 'ActiveJob::Instrumentation#perform_now'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in 'block in ActiveJob::Logging#perform_now'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/logging.rb:41:in 'ActiveJob::Logging#tag_logger'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in 'ActiveJob::Logging#perform_now'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in 'block in ActiveJob::Execution::ClassMethods#execute'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in 'block in ActiveSupport::Callbacks#run_callbacks'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in 'block (4 levels) in <class:Railtie>'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in 'block in ActiveSupport::Reloader.wrap'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in 'ActiveSupport::ExecutionWrapper.wrap'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in 'ActiveSupport::Reloader.wrap'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in 'block (3 levels) in <class:Railtie>'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in 'BasicObject#instance_exec'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in 'block in ActiveSupport::Callbacks#run_callbacks'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in 'ActiveSupport::Callbacks#run_callbacks'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in 'ActiveJob::Execution::ClassMethods#execute'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/rails.rb:13:in 'Sidekiq::ActiveJob::Wrapper#perform'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:220:in 'Sidekiq::Processor#execute_job'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:185:in 'block (4 levels) in Sidekiq::Processor#process'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:180:in 'Sidekiq::Middleware::Chain#traverse'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in 'block in Sidekiq::Middleware::Chain#traverse'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/job/interrupt_handler.rb:9:in 'Sidekiq::Job::InterruptHandler#call'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in 'Sidekiq::Middleware::Chain#traverse'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:183:in 'block in Sidekiq::Middleware::Chain#traverse'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/metrics/tracking.rb:26:in 'Sidekiq::Metrics::ExecutionTracker#track'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/metrics/tracking.rb:134:in 'Sidekiq::Metrics::Middleware#call'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:182:in 'Sidekiq::Middleware::Chain#traverse'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/middleware/chain.rb:173:in 'Sidekiq::Middleware::Chain#invoke'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:184:in 'block (3 levels) in Sidekiq::Processor#process'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:145:in 'block (6 levels) in Sidekiq::Processor#dispatch'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/job_retry.rb:118:in 'Sidekiq::JobRetry#local'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:144:in 'block (5 levels) in Sidekiq::Processor#dispatch'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/rails.rb:27:in 'block in Sidekiq::Rails::Reloader#call'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in 'block in ActiveSupport::Reloader.wrap'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in 'ActiveSupport::ExecutionWrapper.wrap'\n/var/app/vendor/bundle/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in 'ActiveSupport::Reloader.wrap'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/rails.rb:26:in 'Sidekiq::Rails::Reloader#call'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:139:in 'block (4 levels) in Sidekiq::Processor#dispatch'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:281:in 'Sidekiq::Processor#stats'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:134:in 'block (3 levels) in Sidekiq::Processor#dispatch'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/job_logger.rb:15:in 'Sidekiq::JobLogger#call'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:133:in 'block (2 levels) in Sidekiq::Processor#dispatch'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/job_retry.rb:85:in 'Sidekiq::JobRetry#global'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:132:in 'block in Sidekiq::Processor#dispatch'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/job_logger.rb:40:in 'Sidekiq::JobLogger#prepare'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:131:in 'Sidekiq::Processor#dispatch'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:183:in 'block (2 levels) in Sidekiq::Processor#process'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:182:in 'Thread.handle_interrupt'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:182:in 'block in Sidekiq::Processor#process'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:181:in 'Thread.handle_interrupt'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:181:in 'Sidekiq::Processor#process'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:86:in 'Sidekiq::Processor#process_one'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/processor.rb:76:in 'Sidekiq::Processor#run'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/component.rb:10:in 'Sidekiq::Component#watchdog'\n/var/app/vendor/bundle/ruby/3.4.0/gems/sidekiq-7.3.9/lib/sidekiq/component.rb:19:in 'block in Sidekiq::Component#safe_thread'"], ["user_id", 1], ["kind", 2], ["read_at", nil], ["created_at", "2025-03-22 17:01:58.728354"], ["updated_at", "2025-03-22 17:01:58.728354"]]
and then it repeats
Did you add areas to your map - using the map layer and then drawing circles with the area tool? Visits & Places only use those areas
@mkrasselt1 actually Visits & Places are creating Places based on clusters of points starting 0.25.0
@ChoosenMEME Looking at this log:
, [2025-03-22T17:01:54.646685 #8] DEBUG -- : ↳ app/services/visits/place_finder.rb:50:in 'Visits::PlaceFinder#find_existing_place'
D, [2025-03-22T17:01:58.179704 #8] DEBUG -- : Flushed 2 metrics
D, [2025-03-22T17:01:58.724554 #8] DEBUG -- : TRANSACTION (0.7ms) ROLLBACK
I can tell something went wrong. In the next release I'll add a log or notification with more detailed error to debug your problem
Following as I have the same issue
Having the same issue here. Looking forward to additional logging
Most likely to be fixed in https://github.com/Freika/dawarich/releases/tag/0.30.8, please test
Closing due to no activity. Let me know if this is still an issue