App deployed but not work

Hello guys,

I finally deployed my app to Fly.io but as I understand it doesn’t see the database.
My last deploying lines look like:

==> Pushing image to fly
The push refers to repository [registry.fly.io/sewcon]
d26f2a8852f3: Pushed
97bdd82cb874: Pushed
c5a67bd20962: Pushed
7cbb2e21c27b: Pushed
2ec8810a3d5f: Pushed
5d383b03b7c2: Pushed
7d826d432122: Pushed
a90588b66a23: Pushed
f71fdf45dd12: Pushed
f4e1a052a6c4: Pushed
5997bcc5c659: Pushed
bc7ab3c53adb: Pushed
8ce475735ec6: Pushed
d349c55f562a: Pushed
571ade696b26: Pushed
deployment-01HKYJJ8QY04KQG7QGZB3XNST7: digest: sha256:8934aacb6fd3740d7ff8a9c7589cb004baa2fd673f0ffe2d42796dd29cd5f56e size: 3480
--> Pushing image done
image: registry.fly.io/sewcon:deployment-01HKYJJ8QY04KQG7QGZB3XNST7
image size: 728 MB

Watch your deployment at https://fly.io/apps/sewcon/monitoring

Provisioning ips for sewcon
  Dedicated ipv6: 2a09:8280:1::15:de5e
  Shared ipv4: 66.241.124.9
  Add a dedicated ipv4 with: fly ips allocate-v4

This deployment will:
 * create 2 "app" machines

No machines in group app, launching a new machine

WARNING The app is not listening on the expected address and will not be reachable by fly-proxy.
You can fix this by configuring your app to listen on the following addresses:
  - 0.0.0.0:3000
Found these processes inside the machine with open listening sockets:
  PROCESS        | ADDRESSES
-----------------*---------------------------------------
  /.fly/hallpass | [fdaa:4:8b67:a7b:18d:92ac:c118:2]:22

Creating a second machine to increase service availability
Finished launching new machines
-------
NOTE: The machines for [app] have services with 'auto_stop_machines = true' that will be stopped when idling

-------

Visit your newly deployed app at https://sewcon.fly.dev/

https://sewcon.fly.dev/ looks like:

This is my log:

$ fly logs -a sewcon

Waiting for logs...

2024-01-12T10:17:05.287 app[1781346c1d0389] waw [info] 2024/01/12 10:17:05 listening on [fdaa:4:8b67:a7b:c8:a026:684:2]:22 (DNS: [fdaa::3]:53)

2024-01-12T10:17:07.286 app[1781346c1d0389] waw [info] => Booting Puma

2024-01-12T10:17:07.286 app[1781346c1d0389] waw [info] => Rails 7.1.2 application starting in production

2024-01-12T10:17:07.286 app[1781346c1d0389] waw [info] => Run `bin/rails server --help` for more startup options

2024-01-12T10:17:08.250 app[1781346c1d0389] waw [info] Puma starting in single mode...

2024-01-12T10:17:08.250 app[1781346c1d0389] waw [info] * Puma version: 6.4.2 (ruby 3.2.2-p53) ("The Eagle of Durango")

2024-01-12T10:17:08.250 app[1781346c1d0389] waw [info] * Min threads: 5

2024-01-12T10:17:08.250 app[1781346c1d0389] waw [info] * Max threads: 5

2024-01-12T10:17:08.250 app[1781346c1d0389] waw [info] * Environment: production

2024-01-12T10:17:08.250 app[1781346c1d0389] waw [info] * PID: 305

2024-01-12T10:17:08.251 app[1781346c1d0389] waw [info] * Listening on http://0.0.0.0:3000

2024-01-12T10:17:08.252 app[1781346c1d0389] waw [info] Use Ctrl-C to stop

2024-01-12T10:17:18.422 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:18.422037 #305] INFO -- : [2e658db2-3ba9-4f34-b990-9d097fc601f3] Started GET "/" for 66.241.124.9 at 2024-01-12 10:17:18 +0000

2024-01-12T10:17:18.423 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:18.423286 #305] INFO -- : [2e658db2-3ba9-4f34-b990-9d097fc601f3] Processing by HomeController#index as HTML

2024-01-12T10:17:18.427 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:18.427460 #305] INFO -- : [2e658db2-3ba9-4f34-b990-9d097fc601f3] Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms | Allocations: 565)

2024-01-12T10:17:18.505 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:18.504835 #305] INFO -- : [a5325f74-a0d1-44d1-9875-50ad6386f611] Started GET "/users/sign_in" for 66.241.124.9 at 2024-01-12 10:17:18 +0000

2024-01-12T10:17:18.508 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:18.507892 #305] INFO -- : [a5325f74-a0d1-44d1-9875-50ad6386f611] Processing by Devise::SessionsController#new as HTML

2024-01-12T10:17:18.559 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:18.558741 #305] INFO -- : [a5325f74-a0d1-44d1-9875-50ad6386f611] Completed 500 Internal Server Error in 51ms (ActiveRecord: 11.1ms | Allocations: 6399)

2024-01-12T10:17:18.559 app[1781346c1d0389] waw [info] E, [2024-01-12T10:17:18.559124 #305] ERROR -- : [a5325f74-a0d1-44d1-9875-50ad6386f611]

2024-01-12T10:17:18.559 app[1781346c1d0389] waw [info] [a5325f74-a0d1-44d1-9875-50ad6386f611] ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "users" does not exist

2024-01-12T10:17:18.559 app[1781346c1d0389] waw [info] LINE 10: WHERE a.attrelid = '"users"'::regclass

2024-01-12T10:17:18.559 app[1781346c1d0389] waw [info] ^

2024-01-12T10:17:18.559 app[1781346c1d0389] waw [info] ):

2024-01-12T10:17:18.559 app[1781346c1d0389] waw [info] [a5325f74-a0d1-44d1-9875-50ad6386f611]

2024-01-12T10:17:25.895 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:25.894177 #305] INFO -- : [156ef1ac-b4b7-4636-b3ea-33d73b1da026] Started GET "/" for 66.241.124.9 at 2024-01-12 10:17:25 +0000

2024-01-12T10:17:25.898 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:25.895064 #305] INFO -- : [156ef1ac-b4b7-4636-b3ea-33d73b1da026] Processing by HomeController#index as HTML

2024-01-12T10:17:25.898 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:25.895917 #305] INFO -- : [156ef1ac-b4b7-4636-b3ea-33d73b1da026] Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms | Allocations: 301)

2024-01-12T10:17:25.987 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:25.986828 #305] INFO -- : [a386a2be-4f7c-4bc4-842c-c45a0e610d71] Started GET "/users/sign_in" for 66.241.124.9 at 2024-01-12 10:17:25 +0000

2024-01-12T10:17:25.988 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:25.987865 #305] INFO -- : [a386a2be-4f7c-4bc4-842c-c45a0e610d71] Processing by Devise::SessionsController#new as HTML

2024-01-12T10:17:25.992 app[1781346c1d0389] waw [info] I, [2024-01-12T10:17:25.991818 #305] INFO -- : [a386a2be-4f7c-4bc4-842c-c45a0e610d71] Completed 500 Internal Server Error in 4ms (ActiveRecord: 2.6ms | Allocations: 477)

2024-01-12T10:17:25.992 app[1781346c1d0389] waw [info] E, [2024-01-12T10:17:25.992203 #305] ERROR -- : [a386a2be-4f7c-4bc4-842c-c45a0e610d71]

2024-01-12T10:17:25.992 app[1781346c1d0389] waw [info] [a386a2be-4f7c-4bc4-842c-c45a0e610d71] ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "users" does not exist

2024-01-12T10:17:25.992 app[1781346c1d0389] waw [info] LINE 10: WHERE a.attrelid = '"users"'::regclass

2024-01-12T10:17:25.992 app[1781346c1d0389] waw [info] ^

2024-01-12T10:17:25.992 app[1781346c1d0389] waw [info] ):

2024-01-12T10:17:25.992 app[1781346c1d0389] waw [info] [a386a2be-4f7c-4bc4-842c-c45a0e610d71]

2024-01-12T10:22:07.526 proxy[1781346c1d0389] waw [info] Downscaling app sewcon from 2 machines to 1 machines, stopping machine 1781346c1d0389 (region=waw, process group=app)

2024-01-12T10:22:07.528 app[1781346c1d0389] waw [info] INFO Sending signal SIGINT to main child process w/ PID 305

2024-01-12T10:22:07.531 app[1781346c1d0389] waw [info] - Gracefully stopping, waiting for requests to finish

2024-01-12T10:22:07.531 app[1781346c1d0389] waw [info] === puma shutdown: 2024-01-12 10:22:07 +0000 ===

2024-01-12T10:22:07.531 app[1781346c1d0389] waw [info] - Goodbye!

2024-01-12T10:22:07.531 app[1781346c1d0389] waw [info] Exiting

2024-01-12T10:22:07.603 app[1781346c1d0389] waw [info] INFO Main child exited normally with code: 0

2024-01-12T10:22:07.604 app[1781346c1d0389] waw [info] INFO Starting clean up.

2024-01-12T10:22:07.606 app[1781346c1d0389] waw [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2024-01-12T10:22:07.613 app[1781346c1d0389] waw [info] 2024/01/12 10:22:07 listening on [fdaa:4:8b67:a7b:c8:a026:684:2]:22 (DNS: [fdaa::3]:53)

2024-01-12T10:22:08.606 app[1781346c1d0389] waw [info] [ 303.758514] reboot: Restarting system

2024-01-12T10:22:54.205 proxy[683d607a794478] waw [info] Downscaling app sewcon from 1 machines to 0 machines, stopping machine 683d607a794478 (region=waw, process group=app)

2024-01-12T10:22:54.208 app[683d607a794478] waw [info] INFO Sending signal SIGINT to main child process w/ PID 305

2024-01-12T10:22:54.210 app[683d607a794478] waw [info] - Gracefully stopping, waiting for requests to finish

2024-01-12T10:22:54.210 app[683d607a794478] waw [info] === puma shutdown: 2024-01-12 10:22:54 +0000 ===

2024-01-12T10:22:54.210 app[683d607a794478] waw [info] - Goodbye!

2024-01-12T10:22:54.210 app[683d607a794478] waw [info] Exiting

2024-01-12T10:22:54.326 app[683d607a794478] waw [info] INFO Main child exited normally with code: 0

2024-01-12T10:22:54.326 app[683d607a794478] waw [info] INFO Starting clean up.

2024-01-12T10:22:54.327 app[683d607a794478] waw [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2024-01-12T10:22:54.333 app[683d607a794478] waw [info] 2024/01/12 10:22:54 listening on [fdaa:4:8b67:a7b:18d:92ac:c118:2]:22 (DNS: [fdaa::3]:53)

2024-01-12T10:22:55.328 app[683d607a794478] waw [info] [ 370.755057] reboot: Restarting system

2024-01-12T10:24:32.945 proxy[1781346c1d0389] waw [info] Starting machine

2024-01-12T10:24:33.138 app[1781346c1d0389] waw [info] [ 0.037480] PCI: Fatal: No config space access function found

2024-01-12T10:24:33.365 app[1781346c1d0389] waw [info] INFO Starting init (commit: 8995e367)...

2024-01-12T10:24:33.388 app[1781346c1d0389] waw [info] INFO starting statics vsock server

2024-01-12T10:24:33.389 app[1781346c1d0389] waw [info] INFO Preparing to run: `/rails/bin/docker-entrypoint ./bin/rails server` as 1000

2024-01-12T10:24:33.403 app[1781346c1d0389] waw [info] INFO [fly api proxy] listening at /.fly/api

2024-01-12T10:24:33.413 app[1781346c1d0389] waw [info] 2024/01/12 10:24:33 listening on [fdaa:4:8b67:a7b:c8:a026:684:2]:22 (DNS: [fdaa::3]:53)

2024-01-12T10:24:33.443 proxy[1781346c1d0389] waw [info] machine started in 497.950984ms

2024-01-12T10:24:33.450 proxy[1781346c1d0389] waw [info] machine became reachable in 7.101081ms

2024-01-12T10:24:33.455 proxy[1781346c1d0389] waw [error] instance refused connection. is your app listening on 0.0.0.0:3000? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2024-01-12T10:24:33.794 proxy[683d607a794478] waw [info] Starting machine

2024-01-12T10:24:33.979 app[683d607a794478] waw [info] [ 0.043957] PCI: Fatal: No config space access function found

2024-01-12T10:24:34.220 app[683d607a794478] waw [info] INFO Starting init (commit: 8995e367)...

2024-01-12T10:24:34.247 app[683d607a794478] waw [info] INFO starting statics vsock server

2024-01-12T10:24:34.247 app[683d607a794478] waw [info] INFO Preparing to run: `/rails/bin/docker-entrypoint ./bin/rails server` as 1000

2024-01-12T10:24:34.256 app[683d607a794478] waw [info] INFO [fly api proxy] listening at /.fly/api

2024-01-12T10:24:34.263 app[683d607a794478] waw [info] 2024/01/12 10:24:34 listening on [fdaa:4:8b67:a7b:18d:92ac:c118:2]:22 (DNS: [fdaa::3]:53)

2024-01-12T10:24:34.280 proxy[683d607a794478] waw [info] machine started in 485.880522ms

2024-01-12T10:24:34.287 proxy[683d607a794478] waw [info] machine became reachable in 7.060792ms

2024-01-12T10:24:34.291 proxy[683d607a794478] waw [error] instance refused connection. is your app listening on 0.0.0.0:3000? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2024-01-12T10:24:35.343 app[1781346c1d0389] waw [info] => Booting Puma

2024-01-12T10:24:35.343 app[1781346c1d0389] waw [info] => Rails 7.1.2 application starting in production

2024-01-12T10:24:35.344 app[1781346c1d0389] waw [info] => Run `bin/rails server --help` for more startup options

2024-01-12T10:24:35.740 app[683d607a794478] waw [info] => Booting Puma

2024-01-12T10:24:35.740 app[683d607a794478] waw [info] => Rails 7.1.2 application starting in production

2024-01-12T10:24:35.740 app[683d607a794478] waw [info] => Run `bin/rails server --help` for more startup options

2024-01-12T10:24:36.269 app[1781346c1d0389] waw [info] Puma starting in single mode...

2024-01-12T10:24:36.269 app[1781346c1d0389] waw [info] * Puma version: 6.4.2 (ruby 3.2.2-p53) ("The Eagle of Durango")

2024-01-12T10:24:36.269 app[1781346c1d0389] waw [info] * Min threads: 5

2024-01-12T10:24:36.269 app[1781346c1d0389] waw [info] * Max threads: 5

2024-01-12T10:24:36.269 app[1781346c1d0389] waw [info] * Environment: production

2024-01-12T10:24:36.269 app[1781346c1d0389] waw [info] * PID: 305

2024-01-12T10:24:36.273 app[1781346c1d0389] waw [info] * Listening on http://0.0.0.0:3000

2024-01-12T10:24:36.277 app[1781346c1d0389] waw [info] Use Ctrl-C to stop

2024-01-12T10:24:36.538 app[683d607a794478] waw [info] Puma starting in single mode...

2024-01-12T10:24:36.538 app[683d607a794478] waw [info] * Puma version: 6.4.2 (ruby 3.2.2-p53) ("The Eagle of Durango")

2024-01-12T10:24:36.538 app[683d607a794478] waw [info] * Min threads: 5

2024-01-12T10:24:36.538 app[683d607a794478] waw [info] * Max threads: 5

2024-01-12T10:24:36.538 app[683d607a794478] waw [info] * Environment: production

2024-01-12T10:24:36.538 app[683d607a794478] waw [info] * PID: 305

2024-01-12T10:24:36.538 app[683d607a794478] waw [info] * Listening on http://0.0.0.0:3000

2024-01-12T10:24:36.540 app[683d607a794478] waw [info] Use Ctrl-C to stop

2024-01-12T10:28:17.799 app[1781346c1d0389] waw [info] I, [2024-01-12T10:28:17.799214 #305] INFO -- : [f1c6a00f-44a3-4705-9ab7-b75aebe1ab52] Started GET "/users/sign_in" for 66.241.124.9 at 2024-01-12 10:28:17 +0000

2024-01-12T10:28:17.801 app[1781346c1d0389] waw [info] I, [2024-01-12T10:28:17.800675 #305] INFO -- : [f1c6a00f-44a3-4705-9ab7-b75aebe1ab52] Processing by Devise::SessionsController#new as HTML

2024-01-12T10:28:17.846 app[1781346c1d0389] waw [info] I, [2024-01-12T10:28:17.846161 #305] INFO -- : [f1c6a00f-44a3-4705-9ab7-b75aebe1ab52] Completed 500 Internal Server Error in 45ms (ActiveRecord: 10.4ms | Allocations: 6810)

2024-01-12T10:28:17.847 app[1781346c1d0389] waw [info] E, [2024-01-12T10:28:17.846550 #305] ERROR -- : [f1c6a00f-44a3-4705-9ab7-b75aebe1ab52]

2024-01-12T10:28:17.847 app[1781346c1d0389] waw [info] [f1c6a00f-44a3-4705-9ab7-b75aebe1ab52] ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "users" does not exist

2024-01-12T10:28:17.847 app[1781346c1d0389] waw [info] LINE 10: WHERE a.attrelid = '"users"'::regclass

2024-01-12T10:28:17.847 app[1781346c1d0389] waw [info] ^

2024-01-12T10:28:17.847 app[1781346c1d0389] waw [info] ):

2024-01-12T10:28:17.847 app[1781346c1d0389] waw [info] [f1c6a00f-44a3-4705-9ab7-b75aebe1ab52]

What should I do to start database? Or maybe I’m wrong and I should I do something else … Please help me. If you need more info from, please tell me - I will provide it.

Thanks to advance for help.

Hi there!

I can see from the 4 outlined log lines above the major issue:

Completed 500 Internal Server Error in 4ms (ActiveRecord: 2.6ms | Allocations: 477)

That means its a backend error on some code from that action

ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation “users” does not exist

That seems to indicate that your migrations weren’t ran for your database. They’re usually configured in your release_command on your fly.toml

My fly.toml:

# fly.toml app configuration file generated for sewcon on 2024-01-12T12:12:26+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "sewcon"
primary_region = "waw"
console_command = "/rails/bin/rails console"

[build]

[http_service]
  internal_port = 3000
  force_https = true
  auto_stop_machines = true
  auto_start_machines = true
  min_machines_running = 0
  processes = ["app"]

[[vm]]
  cpu_kind = "shared"
  cpus = 1
  memory_mb = 256

[[statics]]
  guest_path = "/rails/public"
  url_prefix = "/"

Tell me please how should I change it?
Thanks

Considering that that’s your console_command, can you try to add this to your toml?

[deploy]
  release_command = "/rails/bin/rails db:prepare"

(Could also be db:migrate)

Then try to deploy again, keep an eye on your logs and see if there’s anything new.

Thanks, realy work. But, I faced one more bug - js doesn’t work at all.
This is log after deploy with release_comand in toml:

2024-01-12T12:15:51.767 app[683d607a794578] waw [info] I, [2024-01-12T12:15:51.766881 #305] INFO -- : [b3138968-1480-4b64-857e-565214476c43] Redirected to https://sewcon.fly.dev/

2024-01-12T12:15:51.767 app[683d607a794578] waw [info] I, [2024-01-12T12:15:51.767050 #305] INFO -- : [b3138968-1480-4b64-857e-565214476c43] Completed 303 See Other in 241ms (ActiveRecord: 5.2ms | Allocations: 3742)

2024-01-12T12:15:51.884 app[e286de6a305386] waw [info] I, [2024-01-12T12:15:51.881894 #305] INFO -- : [2a11bbc2-b981-4468-831c-1e9985ecea86] Started GET "/" for 66.241.124.9 at 2024-01-12 12:15:51 +0000

2024-01-12T12:15:51.884 app[e286de6a305386] waw [info] I, [2024-01-12T12:15:51.882883 #305] INFO -- : [2a11bbc2-b981-4468-831c-1e9985ecea86] Processing by HomeController#index as HTML

2024-01-12T12:15:51.952 app[e286de6a305386] waw [info] I, [2024-01-12T12:15:51.952772 #305] INFO -- : [2a11bbc2-b981-4468-831c-1e9985ecea86] Rendered layout layouts/application.html.erb (Duration: 7.8ms | Allocations: 6833)

2024-01-12T12:15:51.953 app[e286de6a305386] waw [info] I, [2024-01-12T12:15:51.953118 #305] INFO -- : [2a11bbc2-b981-4468-831c-1e9985ecea86] Completed 200 OK in 70ms (Views: 9.8ms | ActiveRecord: 15.7ms | Allocations: 28580)

2024-01-12T12:15:52.251 app[683d607a794578] waw [info] I, [2024-01-12T12:15:52.249599 #305] INFO -- : [302f90a4-147f-4261-b358-78e03830e93c] Started GET "/assets/controllers/sortable_controller" for 66.241.124.9 at 2024-01-12 12:15:52 +0000

2024-01-12T12:15:52.251 app[683d607a794578] waw [info] E, [2024-01-12T12:15:52.250226 #305] ERROR -- : [302f90a4-147f-4261-b358-78e03830e93c]

2024-01-12T12:15:52.251 app[683d607a794578] waw [info] [302f90a4-147f-4261-b358-78e03830e93c] ActionController::RoutingError (No route matches [GET] "/assets/controllers/sortable_controller"):

2024-01-12T12:15:52.251 app[683d607a794578] waw [info] [302f90a4-147f-4261-b358-78e03830e93c]

2024-01-12T12:15:52.253 app[683d607a794578] waw [info] I, [2024-01-12T12:15:52.252934 #305] INFO -- : [4d9e21cc-bcc9-4e25-ad99-411ba2801f72] Started GET "/assets/controllers/size_grid_for_sizes_controller" for 66.241.124.9 at 2024-01-12 12:15:52 +0000

2024-01-12T12:15:52.253 app[e286de6a305386] waw [info] I, [2024-01-12T12:15:52.251930 #305] INFO -- : [db36de6c-0d25-4cda-abe6-56f97bff53cb] Started GET "/assets/controllers/sortable_specifications_controller" for 66.241.124.9 at 2024-01-12 12:15:52 +0000

2024-01-12T12:15:52.253 app[e286de6a305386] waw [info] E, [2024-01-12T12:15:52.252551 #305] ERROR -- : [db36de6c-0d25-4cda-abe6-56f97bff53cb]

2024-01-12T12:15:52.253 app[e286de6a305386] waw [info] [db36de6c-0d25-4cda-abe6-56f97bff53cb] ActionController::RoutingError (No route matches [GET] "/assets/controllers/sortable_specifications_controller"):

2024-01-12T12:15:52.253 app[e286de6a305386] waw [info] [db36de6c-0d25-4cda-abe6-56f97bff53cb]

2024-01-12T12:15:52.253 app[683d607a794578] waw [info] E, [2024-01-12T12:15:52.253530 #305] ERROR -- : [4d9e21cc-bcc9-4e25-ad99-411ba2801f72]

2024-01-12T12:15:52.253 app[683d607a794578] waw [info] [4d9e21cc-bcc9-4e25-ad99-411ba2801f72] ActionController::RoutingError (No route matches [GET] "/assets/controllers/size_grid_for_sizes_controller"):

2024-01-12T12:15:52.253 app[683d607a794578] waw [info] [4d9e21cc-bcc9-4e25-ad99-411ba2801f72]

2024-01-12T12:15:52.258 app[e286de6a305386] waw [info] I, [2024-01-12T12:15:52.257082 #305] INFO -- : [f4c0e8e9-a1e0-42ce-8bb9-eaaaf901d2e1] Started GET "/assets/controllers/visibility_controller" for 66.241.124.9 at 2024-01-12 12:15:52 +0000

2024-01-12T12:15:52.258 app[e286de6a305386] waw [info] E, [2024-01-12T12:15:52.257605 #305] ERROR -- : [f4c0e8e9-a1e0-42ce-8bb9-eaaaf901d2e1]

2024-01-12T12:15:52.258 app[e286de6a305386] waw [info] [f4c0e8e9-a1e0-42ce-8bb9-eaaaf901d2e1] ActionController::RoutingError (No route matches [GET] "/assets/controllers/visibility_controller"):

2024-01-12T12:15:52.258 app[e286de6a305386] waw [info] [f4c0e8e9-a1e0-42ce-8bb9-eaaaf901d2e1]

2024-01-12T12:15:52.272 app[683d607a794578] waw [info] I, [2024-01-12T12:15:52.271009 #305] INFO -- : [098399a5-11b0-4198-a797-5d025948693d] Started GET "/assets/controllers/hotkeys_controller" for 66.241.124.9 at 2024-01-12 12:15:52 +0000

2024-01-12T12:15:52.272 app[683d607a794578] waw [info] E, [2024-01-12T12:15:52.271566 #305] ERROR -- : [098399a5-11b0-4198-a797-5d025948693d]

2024-01-12T12:15:52.272 app[683d607a794578] waw [info] [098399a5-11b0-4198-a797-5d025948693d] ActionController::RoutingError (No route matches [GET] "/assets/controllers/hotkeys_controller"):

2024-01-12T12:15:52.272 app[683d607a794578] waw [info] [098399a5-11b0-4198-a797-5d025948693d]

2024-01-12T12:15:52.276 app[683d607a794578] waw [info] I, [2024-01-12T12:15:52.275757 #305] INFO -- : [003fecca-5145-44c5-bec2-1764a3da6bea] Started GET "/assets/controllers/area_for_tools_controller" for 66.241.124.9 at 2024-01-12 12:15:52 +0000

2024-01-12T12:15:52.276 app[683d607a794578] waw [info] E, [2024-01-12T12:15:52.276088 #305] ERROR -- : [003fecca-5145-44c5-bec2-1764a3da6bea]

2024-01-12T12:15:52.276 app[683d607a794578] waw [info] [003fecca-5145-44c5-bec2-1764a3da6bea] ActionController::RoutingError (No route matches [GET] "/assets/controllers/area_for_tools_controller"):

2024-01-12T12:15:52.276 app[683d607a794578] waw [info] [003fecca-5145-44c5-bec2-1764a3da6bea]

2024-01-12T12:15:52.282 app[683d607a794578] waw [info] I, [2024-01-12T12:15:52.281012 #305] INFO -- : [86e13032-3cf8-436b-9859-bc8544eed641] Started GET "/assets/controllers/sortable_operations_controller" for 66.241.124.9 at 2024-01-12 12:15:52 +0000

2024-01-12T12:15:52.282 app[683d607a794578] waw [info] E, [2024-01-12T12:15:52.281769 #305] ERROR -- : [86e13032-3cf8-436b-9859-bc8544eed641]

2024-01-12T12:15:52.282 app[683d607a794578] waw [info] [86e13032-3cf8-436b-9859-bc8544eed641] ActionController::RoutingError (No route matches [GET] "/assets/controllers/sortable_operations_controller"):

2024-01-12T12:15:52.282 app[683d607a794578] waw [info] [86e13032-3cf8-436b-9859-bc8544eed641]

2024-01-12T12:16:01.377 app[683d607a794578] waw [info] I, [2024-01-12T12:16:01.375070 #305] INFO -- : [10e711a4-cb1a-414a-aeb5-997765281eb4] Started GET "/products" for 66.241.124.9 at 2024-01-12 12:16:01 +0000

2024-01-12T12:16:01.377 app[683d607a794578] waw [info] I, [2024-01-12T12:16:01.375797 #305] INFO -- : [10e711a4-cb1a-414a-aeb5-997765281eb4] Processing by ProductsController#index as HTML

2024-01-12T12:16:01.396 app[683d607a794578] waw [info] I, [2024-01-12T12:16:01.396381 #305] INFO -- : [10e711a4-cb1a-414a-aeb5-997765281eb4] Rendered layout layouts/application.html.erb (Duration: 9.8ms | Allocations: 3233)

2024-01-12T12:16:01.396 app[683d607a794578] waw [info] I, [2024-01-12T12:16:01.396726 #305] INFO -- : [10e711a4-cb1a-414a-aeb5-997765281eb4] Completed 200 OK in 21ms (Views: 7.4ms | ActiveRecord: 6.1ms | Allocations: 5275)

2024-01-12T12:16:01.675 app[683d607a794578] waw [info] I, [2024-01-12T12:16:01.673466 #305] INFO -- : [7d056eda-b567-4ddd-818c-c814a0c2ec71] Started GET "/assets/controllers/sortable_controller" for 66.241.124.9 at 2024-01-12 12:16:01 +0000

2024-01-12T12:16:01.675 app[683d607a794578] waw [info] E, [2024-01-12T12:16:01.674011 #305] ERROR -- : [7d056eda-b567-4ddd-818c-c814a0c2ec71]

2024-01-12T12:16:01.675 app[683d607a794578] waw [info] [7d056eda-b567-4ddd-818c-c814a0c2ec71] ActionController::RoutingError (No route matches [GET] "/assets/controllers/sortable_controller"):

2024-01-12T12:16:01.675 app[683d607a794578] waw [info] [7d056eda-b567-4ddd-818c-c814a0c2ec71]

2024-01-12T12:16:01.675 app[e286de6a305386] waw [info] I, [2024-01-12T12:16:01.674309 #305] INFO -- : [ad5f34b8-3fde-47eb-a864-9833919ae816] Started GET "/assets/controllers/sortable_specifications_controller" for 66.241.124.9 at 2024-01-12 12:16:01 +0000

2024-01-12T12:16:01.675 app[e286de6a305386] waw [info] E, [2024-01-12T12:16:01.674744 #305] ERROR -- : [ad5f34b8-3fde-47eb-a864-9833919ae816]

2024-01-12T12:16:01.675 app[e286de6a305386] waw [info] [ad5f34b8-3fde-47eb-a864-9833919ae816] ActionController::RoutingError (No route matches [GET] "/assets/controllers/sortable_specifications_controller"):

2024-01-12T12:16:01.675 app[e286de6a305386] waw [info] [ad5f34b8-3fde-47eb-a864-9833919ae816]

2024-01-12T12:16:01.676 app[683d607a794578] waw [info] I, [2024-01-12T12:16:01.676003 #305] INFO -- : [af10a40c-8f1a-4613-9897-09873cf9b396] Started GET "/assets/controllers/visibility_controller" for 66.241.124.9 at 2024-01-12 12:16:01 +0000

2024-01-12T12:16:01.676 app[683d607a794578] waw [info] E, [2024-01-12T12:16:01.676470 #305] ERROR -- : [af10a40c-8f1a-4613-9897-09873cf9b396]

2024-01-12T12:16:01.676 app[683d607a794578] waw [info] [af10a40c-8f1a-4613-9897-09873cf9b396] ActionController::RoutingError (No route matches [GET] "/assets/controllers/visibility_controller"):

2024-01-12T12:16:01.676 app[683d607a794578] waw [info] [af10a40c-8f1a-4613-9897-09873cf9b396]

2024-01-12T12:16:01.677 app[e286de6a305386] waw [info] I, [2024-01-12T12:16:01.676357 #305] INFO -- : [487bb3e2-4454-4015-8cae-4a3c81a4d53b] Started GET "/assets/controllers/hotkeys_controller" for 66.241.124.9 at 2024-01-12 12:16:01 +0000

2024-01-12T12:16:01.677 app[e286de6a305386] waw [info] E, [2024-01-12T12:16:01.676651 #305] ERROR -- : [487bb3e2-4454-4015-8cae-4a3c81a4d53b]

2024-01-12T12:16:01.677 app[e286de6a305386] waw [info] [487bb3e2-4454-4015-8cae-4a3c81a4d53b] ActionController::RoutingError (No route matches [GET] "/assets/controllers/hotkeys_controller"):

2024-01-12T12:16:01.677 app[e286de6a305386] waw [info] [487bb3e2-4454-4015-8cae-4a3c81a4d53b]

2024-01-12T12:16:01.682 app[683d607a794578] waw [info] I, [2024-01-12T12:16:01.681470 #305] INFO -- : [ac32922c-16c1-4439-8490-b25036bb843c] Started GET "/assets/controllers/size_grid_for_sizes_controller" for 66.241.124.9 at 2024-01-12 12:16:01 +0000

2024-01-12T12:16:01.682 app[683d607a794578] waw [info] E, [2024-01-12T12:16:01.681928 #305] ERROR -- : [ac32922c-16c1-4439-8490-b25036bb843c]

2024-01-12T12:16:01.682 app[683d607a794578] waw [info] [ac32922c-16c1-4439-8490-b25036bb843c] ActionController::RoutingError (No route matches [GET] "/assets/controllers/size_grid_for_sizes_controller"):

2024-01-12T12:16:01.682 app[683d607a794578] waw [info] [ac32922c-16c1-4439-8490-b25036bb843c]

2024-01-12T12:16:01.683 app[e286de6a305386] waw [info] I, [2024-01-12T12:16:01.681731 #305] INFO -- : [b4aa6bdb-c9f2-4709-a133-c84d82b9e32c] Started GET "/assets/controllers/area_for_tools_controller" for 66.241.124.9 at 2024-01-12 12:16:01 +0000

2024-01-12T12:16:01.683 app[e286de6a305386] waw [info] E, [2024-01-12T12:16:01.682073 #305] ERROR -- : [b4aa6bdb-c9f2-4709-a133-c84d82b9e32c]

2024-01-12T12:16:01.683 app[e286de6a305386] waw [info] [b4aa6bdb-c9f2-4709-a133-c84d82b9e32c] ActionController::RoutingError (No route matches [GET] "/assets/controllers/area_for_tools_controller"):

2024-01-12T12:16:01.683 app[e286de6a305386] waw [info] [b4aa6bdb-c9f2-4709-a133-c84d82b9e32c]

2024-01-12T12:16:01.688 app[683d607a794578] waw [info] I, [2024-01-12T12:16:01.686877 #305] INFO -- : [c7ee1b31-dca7-4634-baa1-24a5db72d2fe] Started GET "/assets/controllers/sortable_operations_controller" for 66.241.124.9 at 2024-01-12 12:16:01 +0000

2024-01-12T12:16:01.688 app[683d607a794578] waw [info] E, [2024-01-12T12:16:01.687444 #305] ERROR -- : [c7ee1b31-dca7-4634-baa1-24a5db72d2fe]

2024-01-12T12:16:01.688 app[683d607a794578] waw [info] [c7ee1b31-dca7-4634-baa1-24a5db72d2fe] ActionController::RoutingError (No route matches [GET] "/assets/controllers/sortable_operations_controller"):

2024-01-12T12:16:01.688 app[683d607a794578] waw [info] [c7ee1b31-dca7-4634-baa1-24a5db72d2fe]

2024-01-12T12:16:05.183 app[e286de6a305386] waw [info] I, [2024-01-12T12:16:05.180725 #305] INFO -- : [4eaf5a07-88ac-4561-8049-ac1da7a6ca3f] Started GET "/products" for 66.241.124.9 at 2024-01-12 12:16:05 +0000

2024-01-12T12:16:05.183 app[e286de6a305386] waw [info] I, [2024-01-12T12:16:05.181538 #305] INFO -- : [4eaf5a07-88ac-4561-8049-ac1da7a6ca3f] Processing by ProductsController#index as HTML

2024-01-12T12:16:05.203 app[e286de6a305386] waw [info] I, [2024-01-12T12:16:05.202941 #305] INFO -- : [4eaf5a07-88ac-4561-8049-ac1da7a6ca3f] Rendered layout layouts/application.html.erb (Duration: 10.5ms | Allocations: 3068)

2024-01-12T12:16:05.204 app[e286de6a305386] waw [info] I, [2024-01-12T12:16:05.203321 #305] INFO -- : [4eaf5a07-88ac-4561-8049-ac1da7a6ca3f] Completed 200 OK in 22ms (Views: 7.6ms | ActiveRecord: 6.9ms | Allocations: 5024)

2024-01-12T12:16:05.480 app[e286de6a305386] waw [info] I, [2024-01-12T12:16:05.478553 #305] INFO -- : [cac4d3b3-27eb-4c30-a0c1-6fcec30b0d54] Started GET "/assets/controllers/sortable_controller" for 66.241.124.9 at 2024-01-12 12:16:05 +0000

2024-01-12T12:16:05.480 app[e286de6a305386] waw [info] E, [2024-01-12T12:16:05.479097 #305] ERROR -- : [cac4d3b3-27eb-4c30-a0c1-6fcec30b0d54]

2024-01-12T12:16:05.480 app[e286de6a305386] waw [info] [cac4d3b3-27eb-4c30-a0c1-6fcec30b0d54] ActionController::RoutingError (No route matches [GET] "/assets/controllers/sortable_controller"):

2024-01-12T12:16:05.480 app[e286de6a305386] waw [info] [cac4d3b3-27eb-4c30-a0c1-6fcec30b0d54]

2024-01-12T12:16:05.480 app[683d607a794578] waw [info] I, [2024-01-12T12:16:05.477825 #305] INFO -- : [76c38673-1a72-401a-b76a-70bf8bbea16b] Started GET "/assets/controllers/sortable_specifications_controller" for 66.241.124.9 at 2024-01-12 12:16:05 +0000

2024-01-12T12:16:05.480 app[683d607a794578] waw [info] E, [2024-01-12T12:16:05.478448 #305] ERROR -- : [76c38673-1a72-401a-b76a-70bf8bbea16b]

2024-01-12T12:16:05.480 app[683d607a794578] waw [info] [76c38673-1a72-401a-b76a-70bf8bbea16b] ActionController::RoutingError (No route matches [GET] "/assets/controllers/sortable_specifications_controller"):

2024-01-12T12:16:05.480 app[683d607a794578] waw [info] [76c38673-1a72-401a-b76a-70bf8bbea16b]

2024-01-12T12:16:05.480 app[683d607a794578] waw [info] I, [2024-01-12T12:16:05.480071 #305] INFO -- : [dffdaa14-87f4-4108-93ff-e0520b09bddf] Started GET "/assets/controllers/sortable_operations_controller" for 66.241.124.9 at 2024-01-12 12:16:05 +0000

2024-01-12T12:16:05.482 app[683d607a794578] waw [info] E, [2024-01-12T12:16:05.480853 #305] ERROR -- : [dffdaa14-87f4-4108-93ff-e0520b09bddf]

2024-01-12T12:16:05.482 app[683d607a794578] waw [info] [dffdaa14-87f4-4108-93ff-e0520b09bddf] ActionController::RoutingError (No route matches [GET] "/assets/controllers/sortable_operations_controller"):

2024-01-12T12:16:05.482 app[683d607a794578] waw [info] [dffdaa14-87f4-4108-93ff-e0520b09bddf]

2024-01-12T12:16:05.483 app[683d607a794578] waw [info] I, [2024-01-12T12:16:05.481810 #305] INFO -- : [e7701cf9-69a5-4054-b0b4-4913ce77c31c] Started GET "/assets/controllers/visibility_controller" for 66.241.124.9 at 2024-01-12 12:16:05 +0000

2024-01-12T12:16:05.483 app[683d607a794578] waw [info] E, [2024-01-12T12:16:05.483216 #305] ERROR -- : [e7701cf9-69a5-4054-b0b4-4913ce77c31c]

2024-01-12T12:16:05.483 app[683d607a794578] waw [info] [e7701cf9-69a5-4054-b0b4-4913ce77c31c] ActionController::RoutingError (No route matches [GET] "/assets/controllers/visibility_controller"):

2024-01-12T12:16:05.483 app[683d607a794578] waw [info] [e7701cf9-69a5-4054-b0b4-4913ce77c31c]

2024-01-12T12:16:05.484 app[683d607a794578] waw [info] I, [2024-01-12T12:16:05.482461 #305] INFO -- : [d5b5a7cb-5986-4933-8a65-d5bc25088aa0] Started GET "/assets/controllers/size_grid_for_sizes_controller" for 66.241.124.9 at 2024-01-12 12:16:05 +0000

2024-01-12T12:16:05.484 app[683d607a794578] waw [info] E, [2024-01-12T12:16:05.484123 #305] ERROR -- : [d5b5a7cb-5986-4933-8a65-d5bc25088aa0]

2024-01-12T12:16:05.484 app[683d607a794578] waw [info] [d5b5a7cb-5986-4933-8a65-d5bc25088aa0] ActionController::RoutingError (No route matches [GET] "/assets/controllers/size_grid_for_sizes_controller"):

2024-01-12T12:16:05.484 app[683d607a794578] waw [info] [d5b5a7cb-5986-4933-8a65-d5bc25088aa0]

2024-01-12T12:16:05.498 app[683d607a794578] waw [info] I, [2024-01-12T12:16:05.498560 #305] INFO -- : [3808a86c-a146-44c0-8790-0e74caa2f24d] Started GET "/assets/controllers/hotkeys_controller" for 66.241.124.9 at 2024-01-12 12:16:05 +0000

2024-01-12T12:16:05.500 app[683d607a794578] waw [info] E, [2024-01-12T12:16:05.499807 #305] ERROR -- : [3808a86c-a146-44c0-8790-0e74caa2f24d]

2024-01-12T12:16:05.500 app[683d607a794578] waw [info] [3808a86c-a146-44c0-8790-0e74caa2f24d] ActionController::RoutingError (No route matches [GET] "/assets/controllers/hotkeys_controller"):

2024-01-12T12:16:05.500 app[683d607a794578] waw [info] [3808a86c-a146-44c0-8790-0e74caa2f24d]

2024-01-12T12:16:05.500 app[683d607a794578] waw [info] I, [2024-01-12T12:16:05.499155 #305] INFO -- : [e49b59ce-fbc6-445f-83e2-08e87fde4e63] Started GET "/assets/controllers/area_for_tools_controller" for 66.241.124.9 at 2024-01-12 12:16:05 +0000

2024-01-12T12:16:05.500 app[683d607a794578] waw [info] E, [2024-01-12T12:16:05.500558 #305] ERROR -- : [e49b59ce-fbc6-445f-83e2-08e87fde4e63]

2024-01-12T12:16:05.500 app[683d607a794578] waw [info] [e49b59ce-fbc6-445f-83e2-08e87fde4e63] ActionController::RoutingError (No route matches [GET] "/assets/controllers/area_for_tools_controller"):

2024-01-12T12:16:05.500 app[683d607a794578] waw [info] [e49b59ce-fbc6-445f-83e2-08e87fde4e63]

Glad it fixed your migrations issue.

I’m not sure how to debug assets for deployments so I’d hope someone else can step in here.

Also try to take a look at rails docs for assets and deployment, that might help.

Thanks , you really helped me. My last question I’ve also already solved. So, this topic could be closed.
Have a nice day!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.