Comments (5)
Hi,
I ve the same error now.
I think that you could replace your healtcheck by curl command.
healthcheck:
test: ["CMD-SHELL", "curl localhost:3000"]
from lago.
can you comment the line https://github.com/getlago/lago/blob/main/docker-compose.yml#L136 and give it a try again?
from lago.
that worked, now I get this error on the lago-worker
, the worker keeps restarting, and on localhost:3000 the page is blank
bundler: failed to load command: sidekiq (/usr/local/bundle/bin/sidekiq)
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require': cannot load such file -- sprockets/railtie (LoadError)
from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
from /usr/local/bundle/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:15:in `require'
from /usr/local/bundle/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
from /app/config/environments/development.rb:4:in `<main>'
from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
from /usr/local/bundle/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /usr/local/bundle/gems/zeitwerk-2.6.12/lib/zeitwerk/kernel.rb:38:in `require'
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/engine.rb:562:in `block (2 levels) in <class:Engine>'
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/engine.rb:561:in `each'
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/engine.rb:561:in `block in <class:Engine>'
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `instance_exec'
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/initializable.rb:32:in `run'
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/initializable.rb:61:in `block in run_initializers'
from /usr/local/lib/ruby/3.2.0/tsort.rb:228:in `block in tsort_each'
from /usr/local/lib/ruby/3.2.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /usr/local/lib/ruby/3.2.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
from /usr/local/lib/ruby/3.2.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /usr/local/lib/ruby/3.2.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `each'
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/initializable.rb:50:in `tsort_each_child'
from /usr/local/lib/ruby/3.2.0/tsort.rb:415:in `call'
from /usr/local/lib/ruby/3.2.0/tsort.rb:415:in `each_strongly_connected_component_from'
from /usr/local/lib/ruby/3.2.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /usr/local/lib/ruby/3.2.0/tsort.rb:347:in `each'
from /usr/local/lib/ruby/3.2.0/tsort.rb:347:in `call'
from /usr/local/lib/ruby/3.2.0/tsort.rb:347:in `each_strongly_connected_component'
from /usr/local/lib/ruby/3.2.0/tsort.rb:226:in `tsort_each'
from /usr/local/lib/ruby/3.2.0/tsort.rb:205:in `tsort_each'
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/initializable.rb:60:in `run_initializers'
from /usr/local/bundle/gems/railties-7.0.8/lib/rails/application.rb:372:in `initialize!'
from /app/config/environment.rb:7:in `<top (required)>'
from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in `require'
from /usr/local/bundle/gems/sidekiq-7.1.4/lib/sidekiq/cli.rb:303:in `boot_application'
from /usr/local/bundle/gems/sidekiq-7.1.4/lib/sidekiq/cli.rb:42:in `run'
from /usr/local/bundle/gems/sidekiq-7.1.4/bin/sidekiq:31:in `<top (required)>'
from /usr/local/bundle/bin/sidekiq:25:in `load'
from /usr/local/bundle/bin/sidekiq:25:in `<top (required)>'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/cli/exec.rb:58:in `load'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/cli/exec.rb:58:in `kernel_load'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/cli/exec.rb:23:in `run'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/cli.rb:451:in `exec'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/cli.rb:34:in `dispatch'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/cli.rb:28:in `start'
from /usr/local/bundle/gems/bundler-2.5.5/exe/bundle:28:in `block in <top (required)>'
from /usr/local/bundle/gems/bundler-2.5.5/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /usr/local/bundle/gems/bundler-2.5.5/exe/bundle:20:in `<top (required)>'
from /usr/local/bundle/bin/bundle:25:in `load'
from /usr/local/bundle/bin/bundle:25:in `<main>'
```
from lago.
can you put RAILS_ENV=production
?
from lago.
I have managed to the the self hosted instance up and running, apparently the L136 was different in my case and I had commented the RAILS_ENV.
It works now and I can't wait to get it up and running.
from lago.
Related Issues (20)
- [BUG]: docker prod and dev setup HOT 3
- [FEATURE]: latest tag on Docker HOT 2
- [BUG]: Calculation error in Invoice? (frontend only) HOT 12
- [BUG]: https://community.getlago.com/ is down HOT 3
- [BUG]: Wrong unit used in calculation for `Weighted Sum` Recurring metric. i.e `0.6466477675381944` instead of `1`. HOT 1
- [BUG]: call "Retrieve current usage" API,no return value HOT 2
- [BUG]: billable-metric separator code ':' HOT 3
- [BUG]: Custom headers introduce CORS issues HOT 3
- [BUG]: CORS /graphql letsencrypt HOT 4
- [Feature]: Missing Elixir / Erlang Client HOT 1
- [BUG]: when clock breaks and doesn't crash, clock actions are missed since the crash HOT 2
- [BUG]: one exception in clock causes it to break permanently, such as a transient high latency to redis issue HOT 1
- [BUG]: invoices without payment methods made in the past are always created as failed; they should be pending HOT 1
- [BUG]: Development Environment Setup not working HOT 3
- [BUG]: Unable to try Lago because of CORS HOT 8
- [BUG]: Initializing a clean database on 1.6 fails HOT 1
- [BUG]: Issue with new Lago Docker Compose Installation HOT 4
- [BUG]: Wrong ENV variable documented for Google Single Sign-On
- [BUG]: 宿主机上已经占用了3000端口,即使在lago的docke-compose.yml中修改了3000端口为其它未占用端口,但docker运行后,仍然是监听3000端口,导致lago不能正常访问 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lago.