Skip to content
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

[Bug]: README quickstart instructions incomplete - seeding the DB #1371

Closed
aaaaargZombies opened this issue Jul 5, 2022 · 4 comments · Fixed by #1662
Closed

[Bug]: README quickstart instructions incomplete - seeding the DB #1371

aaaaargZombies opened this issue Jul 5, 2022 · 4 comments · Fixed by #1662
Labels
bug Release Drafter category - bug impacting the normal functioning of existing features patch Bump version 0.0.X
Milestone

Comments

@aaaaargZombies
Copy link
Contributor

aaaaargZombies commented Jul 5, 2022

Description

I followed the "quick start" instructions to get the database up and running. It looked positive in the command line but when connecting to
lvh.me:3000 the page would not load.

@kim suggested running

bundle exec rails db:setup db:migrate seed:migrate
bundle exec rails import:all_events

This resolved the issue and these commands are covered in the notion page "PlaceCal live db download instructions". But I am not clear which db commands where essential to getting up and running.

Steps to reproduce

Follow quick start guide in readme

What you expected to happen

To Follow quick start guide in readme and have a working DB

@aaaaargZombies aaaaargZombies added the bug Release Drafter category - bug impacting the normal functioning of existing features label Jul 5, 2022
@github-actions github-actions bot added the patch Bump version 0.0.X label Jul 5, 2022
@kimadactyl kimadactyl added this to the PlaceCal v1.0 milestone Jul 5, 2022
@kimadactyl kimadactyl mentioned this issue Sep 21, 2022
2 tasks
@erbridge
Copy link
Contributor

This is fixed by the introduction of setup scripts in #1459, I think. Can you confirm @aaaaargZombies?

@aaaaargZombies
Copy link
Contributor Author

hmmm I ran through the new instructions and couldn't access the site. Not sure where I've gone wrong.

firefox says

The page isn’t redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

  • This problem can sometimes be caused by disabling or refusing to accept cookies.

chrome says

This page isn’t workinglvh.me redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS

output from ./bin/dev

./bin/dev
14:12:10 web.1        | started with pid 23019
14:12:10 js.1         | started with pid 23020
14:12:10 job_worker.1 | started with pid 23021
14:12:10 js.1         | yarn run v1.22.19
14:12:10 js.1         | $ node esbuild.config.js --watch
14:12:13 web.1        | => Booting Puma
14:12:13 web.1        | => Rails 6.1.6.1 application starting in development 
14:12:13 web.1        | => Run `bin/rails server --help` for more startup options
14:12:14 web.1        | Puma starting in single mode...
14:12:14 web.1        | * Puma version: 5.6.4 (ruby 2.7.6-p219) ("Birdie's Version")
14:12:14 web.1        | *  Min threads: 5
14:12:14 web.1        | *  Max threads: 5
14:12:14 web.1        | *  Environment: development
14:12:14 web.1        | *          PID: 23019
14:12:14 web.1        | * Listening on http://0.0.0.0:3000
14:12:14 web.1        | Use Ctrl-C to stop
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |    (1.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
14:12:41 web.1        |   Site Load (1.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 21ms (ActiveRecord: 2.3ms | Allocations: 7061)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.5ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 7ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (1.1ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.5ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 6ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.8ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.8ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 6ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.5ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.5ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.5ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.5ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.5ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 7ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.2ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 6ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.6ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.5ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 6ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 6ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.5ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.6ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 
14:12:41 web.1        | Started GET "/" for 127.0.0.1 at 2022-09-26 14:12:41 +0100
14:12:41 web.1        |   Site Load (0.4ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   Site Load (0.3ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Processing by PagesController#home as HTML
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Redirected to http://lvh.me:3000/
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."domain" = $1 LIMIT $2  [["domain", "lvh.me"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:118:in `find_by_request'
14:12:41 web.1        |   CACHE Site Load (0.0ms)  SELECT "sites".* FROM "sites" WHERE "sites"."slug" = $1 LIMIT $2  [["slug", "default-site"], ["LIMIT", 1]]
14:12:41 web.1        |   ↳ app/models/site.rb:137:in `find_by_request'
14:12:41 web.1        | Filter chain halted as :set_navigation rendered or redirected
14:12:41 web.1        | Completed 302 Found in 5ms (ActiveRecord: 0.1ms | Allocations: 1914)
14:12:41 web.1        | 
14:12:41 web.1        | 

Though that doesn't mean that this issue is not resolved.

@erbridge
Copy link
Contributor

Oh wait. I do too now. Odd. Thanks for testing.

@kimadactyl
Copy link
Member

I think you prob found this now (sorry looking at some old todos) but the live db sync instructions are on our private notion. the prob is that we only ever develop with live data so the seeds are now out of date. this is covered in the new issues ofc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Release Drafter category - bug impacting the normal functioning of existing features patch Bump version 0.0.X
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants