Freika / dawarich

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

Dawarich broken #232

Closed sunstep closed 2 months ago

sunstep commented 2 months ago

Describe the bug Dawarich gives a 502 bad gateway when I visit the page after updating to 0.13.4

Version 0.13.4

To Reproduce Steps to reproduce the behavior:

  1. Update to 0.13.4

Expected behavior Should start up properly

Screenshots If applicable, add screenshots to help explain your problem.

Logs

Dawarich APP

Environment: development dawarich_db (172.18.0.3:5432) open /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in require_relative': cannot load such file -- /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/unknown_command_spell_checker (LoadError) from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in<top (required)>' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in require_relative' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in<top (required)>' from :2:in require' from <internal:gem_prelude>:2:in' Environment: development dawarich_db (172.18.0.3:5432) open /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in require_relative': cannot load such file -- /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/unknown_command_spell_checker (LoadError) from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in<top (required)>' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in require_relative' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in<top (required)>' from :2:in require' from <internal:gem_prelude>:2:in' Environment: development dawarich_db (172.18.0.3:5432) open /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in require_relative': cannot load such file -- /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/unknown_command_spell_checker (LoadError) from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in<top (required)>' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in require_relative' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in<top (required)>' from :2:in require' from <internal:gem_prelude>:2:in' Environment: development dawarich_db (172.18.0.3:5432) open /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in require_relative': cannot load such file -- /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/unknown_command_spell_checker (LoadError) from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in<top (required)>' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in require_relative' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in<top (required)>' from :2:in require' from <internal:gem_prelude>:2:in' Environment: development dawarich_db (172.18.0.3:5432) open /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in require_relative': cannot load such file -- /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/unknown_command_spell_checker (LoadError) from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in<top (required)>' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in require_relative' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in<top (required)>' from :2:in require' from <internal:gem_prelude>:2:in' Environment: development dawarich_db (172.18.0.3:5432) open /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in require_relative': cannot load such file -- /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/unknown_command_spell_checker (LoadError) from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems/exceptions.rb:4:in<top (required)>' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in require_relative' from /usr/local/lib/ruby/site_ruby/3.3.0/rubygems.rb:1325:in<top (required)>' from :2:in require' from <internal:gem_prelude>:2:in'

Dawarich Sidekiq

ERROR: While executing gem ... (Gem::Package::FormatError) No such file or directory @ rb_sysopen - bundler-2.5.7.gem /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/package.rb:634:in rescue in verify' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/package.rb:612:inverify' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/package.rb:597:in spec' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/installer.rb:291:inspec' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/installer.rb:725:in verify_spec' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/installer.rb:915:inpre_install_checks' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/installer.rb:306:in install' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/commands/setup_command.rb:412:inblock in install_default_bundler_gem' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/commands/setup_command.rb:400:in chdir' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/commands/setup_command.rb:400:ininstall_default_bundler_gem' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/commands/setup_command.rb:175:in execute' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/command.rb:326:ininvoke_with_build_args' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/command_manager.rb:254:in invoke_command' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/command_manager.rb:193:inprocess_args' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/command_manager.rb:151:in run' /usr/local/bundle/gems/rubygems-update-3.5.7/lib/rubygems/gem_runner.rb:56:inrun' setup.rb:36:in `

'

sunstep commented 2 months ago

Fixed, seems like it refused to work without updating the docker compose to add the hardware usage limitations.