.MD

Copy the markdown below:

ActionView::Template::Error

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'

Request

Name ErrorsController#show
Method GET
URL https://demo.solectrus.de/500
Browser Unknown Browser

Parameters

{
  "action": "index",
  "timeframe": "now",
  "controller": "balance/home",
  "sensor_name": "power_balance"
}

Headers

Host demo.solectrus.de
Accept */*
Cf-Ray 9ec093469fb4d3b9-FRA
Cdn-Loop cloudflare; loops=1
X-Real-Ip 172.71.172.109
Cf-Visitor {"scheme":"https"}
User-Agent undici
Cf-Ipcountry DE
Sec-Fetch-Mode cors
Accept-Encoding gzip, br
Accept-Language *
X-Forwarded-For 78.94.43.198, 172.71.172.109
Cf-Connecting-Ip 78.94.43.198
X-Forwarded-Host demo.solectrus.de
X-Forwarded-Port 443
X-Forwarded-Proto https
X-Forwarded-Server app.traefik.completho.de

Context

controller
#<Balance::HomeController:0x00007c7cbb10de98>

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