.MD

Copy the markdown below:

ActiveRecord::DatabaseConnectionError

app/controllers/concerns/main_navigation.rb:10

There is an issue connecting with your hostname: db.

Please check your database configuration and ensure there is a valid connection to your database.

Backtrace

app/controllers/concerns/main_navigation.rb:10:in 'ApplicationController#desktop_primary_items'
app/controllers/concerns/main_navigation.rb:7:in 'ApplicationController::HelperMethods#desktop_primary_items'
app/views/layouts/application.html.slim:56:in 'block in _app_views_layouts_application_html_slim___3931531579599393252_25552'
app/components/nav/top/component.rb:14:in 'Nav::Top::Component#root_item'
app/components/nav/top/component.html.slim:7:in 'Nav::Top::Component#call'
app/views/layouts/application.html.slim:55:in '_app_views_layouts_application_html_slim___3931531579599393252_25552'
app/controllers/concerns/auto_locale.rb:14:in 'ApplicationController#switch_locale'

Context

controller
#<ErrorsController:0x00007c7cd0714890>

Environment

os Linux 6.8.0-106-generic
cwd /app
pid 1
host app.demo.solectrus.de
ruby ruby 4.0.2 (2026-03-17 revision d3da9fec82) +YJIT +PRISM [x86_64-linux-musl]
rails 8.1.3
revision v1.1.1-128-gb3dee4b

Server

Load CPU RAM Swap Disk
app.demo.solectrus.de Load avg 24% CPU 29% RAM 82% Swap 74% Disk 14%

Deployments 1

v1.1.1-128-gb3dee4b 14 Apr 01:41