Freika / dawarich

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

dawarich_sidekiq exited with code 1 #105

Closed MrColumbo closed 1 week ago

MrColumbo commented 2 weeks ago

not quite sure about the impact but the sidekiq container loops - starts and terminates all the time

Version 0.83

To Reproduce Steps to reproduce the behavior: deploy with latest default docker compose and start

Logs

dawarich_db (172.20.0.2:5432) open ERROR: Loading command: update (LoadError) cannot load such file -- /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/vendored_optparse /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/command.rb:9:in require_relative' /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/command.rb:9:in<top (required)>' /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/commands/update_command.rb:3:in require_relative' /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/commands/update_command.rb:3:in<top (required)>' <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in require' <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:inrequire' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:236:in load_and_instantiate' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:137:in[]' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:209:in find_command' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:251:ininvoke_command' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:193:in process_args' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:151:inrun' /usr/local/lib/ruby/3.2.0/rubygems/gem_runner.rb:52:in run' /usr/local/bin/gem:10:in

' ERROR: While executing gem ... (NoMethodError) undefined method `deprecated?' for nil:NilClass

cmd.deprecation_warning if cmd.deprecated?
                              ^^^^^^^^^^^^
/usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:252:in `invoke_command'
/usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:193:in `process_args'
/usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:151:in `run'
/usr/local/lib/ruby/3.2.0/rubygems/gem_runner.rb:52:in `run'
/usr/local/bin/gem:10:in `<main>'

Environment: development dawarich_db (172.20.0.2:5432) open ERROR: Loading command: update (LoadError) cannot load such file -- /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/vendored_optparse /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/command.rb:9:in require_relative' /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/command.rb:9:in<top (required)>' /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/commands/update_command.rb:3:in require_relative' /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/commands/update_command.rb:3:in<top (required)>' <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in require' <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:inrequire' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:236:in load_and_instantiate' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:137:in[]' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:209:in find_command' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:251:ininvoke_command' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:193:in process_args' /usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:151:inrun' /usr/local/lib/ruby/3.2.0/rubygems/gem_runner.rb:52:in run' /usr/local/bin/gem:10:in

' ERROR: While executing gem ... (NoMethodError) undefined method `deprecated?' for nil:NilClass

cmd.deprecation_warning if cmd.deprecated?
                              ^^^^^^^^^^^^
/usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:252:in `invoke_command'
/usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:193:in `process_args'
/usr/local/lib/ruby/3.2.0/rubygems/command_manager.rb:151:in `run'
/usr/local/lib/ruby/3.2.0/rubygems/gem_runner.rb:52:in `run'
/usr/local/bin/gem:10:in `<main>'
Freika commented 2 weeks ago

@MrColumbo can you try to update to the most recent version of Dawarich and let me know if this is still a case? Thank you.

MrColumbo commented 1 week ago

now it works fine - sidekick is running and imports are actually getting imported. Thanks a lot!