.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/forecast/home_controller.rb:4:in 'Forecast::HomeController#index'
app/controllers/concerns/auto_locale.rb:14:in 'ApplicationController#switch_locale'

Request

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

Parameters

{
  "action": "index",
  "controller": "forecast/home"
}

Headers

Host demo.solectrus.de
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Cf-Ray 9ed4f9f18bfec679-MUC
Sec-Gpc 1
Cdn-Loop cloudflare; loops=1
Priority u=0, i
Sec-Ch-Ua "Chromium";v="146", "Not-A.Brand";v="24", "DuckDuckGo";v="146"
X-Real-Ip 104.23.219.76
Cf-Visitor {"scheme":"https"}
User-Agent Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Mobile Safari/537.36
Cf-Ipcountry DE
Sec-Ch-Ua-Arch ""
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site none
Sec-Fetch-User ?1
Accept-Encoding gzip, br
Accept-Language de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
Sec-Ch-Ua-Model "SM-A556B"
X-Forwarded-For 2a02:3033:600:49e0:acd3:b033:effd:ecd, 104.23.219.76
Cf-Connecting-Ip 2a02:3033:600:49e0:acd3:b033:effd:ecd
Sec-Ch-Ua-Mobile ?1
X-Forwarded-Host demo.solectrus.de
X-Forwarded-Port 443
X-Requested-With com.duckduckgo.mobile.android
Sec-Ch-Ua-Bitness ""
X-Forwarded-Proto https
Sec-Ch-Ua-Platform "Android"
X-Forwarded-Server app.traefik.completho.de
Sec-Ch-Ua-Full-Version "146.0.7680.177"
Upgrade-Insecure-Requests 1
Sec-Ch-Ua-Platform-Version "15.0.0"
Sec-Ch-Ua-Full-Version-List "Chromium";v="146.0.7680.177", "Not-A.Brand";v="24.0.0.0", "DuckDuckGo";v="146.0.7680.177"

Context

controller
#<Forecast::HomeController:0x00007cea6a610018>

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