.MD

Copy the markdown below:

ActionView::Template::Error

app/models/notification.rb:33

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/models/notification.rb:33:in 'block in Notification.stats'
app/models/notification.rb:32:in 'Notification.stats'
app/controllers/concerns/main_navigation.rb:213:in 'ApplicationController#notifications_item'
app/controllers/concerns/main_navigation.rb:43:in 'ApplicationController#desktop_secondary_items'
app/controllers/concerns/main_navigation.rb:38:in 'ApplicationController::HelperMethods#desktop_secondary_items'
app/views/layouts/application.html.slim:57:in 'block in _app_views_layouts_application_html_slim__2046368009960573710_13600'
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__2046368009960573710_13600'
app/controllers/errors_controller.rb:15:in 'ErrorsController#show'
app/controllers/concerns/auto_locale.rb:14:in 'ApplicationController#switch_locale'
config/application.rb:48:in 'block in <class:Application>'

Request

Name ErrorsController#show
Method GET
URL https://demo.solectrus.de/404
Browser DuckDuckGo 5

Headers

Host demo.solectrus.de
Cf-Ray 9ed4f9f57912e0db-MUC
Cdn-Loop cloudflare; loops=1
X-Real-Ip 104.23.219.43
Cf-Visitor {"scheme":"https"}
User-Agent DuckDuckGo/5 (com.duckduckgo.mobile.android; Android API 35)
Cf-Ipcountry DE
Accept-Encoding gzip, br
X-Forwarded-For 2a02:3033:600:49e0:acd3:b033:effd:ecd, 104.23.219.43
Cf-Connecting-Ip 2a02:3033:600:49e0:acd3:b033:effd:ecd
X-Forwarded-Host demo.solectrus.de
X-Forwarded-Port 443
X-Forwarded-Proto https
X-Forwarded-Server app.traefik.completho.de

Context

controller
#<ErrorsController:0x00007cea6e67af18>

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-146-g3527eb5

Server

Load CPU RAM Swap Disk
app.demo.solectrus.de Load avg 5% CPU 5% RAM 74% Swap 79% Disk 14%

Deployments 1

v1.1.1-146-g3527eb5 16 Apr 17:36