Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: nginx Bad Gateway after idle
#4
I reflashed the SD card with a new image, did not restore the backup - same issue. It lasted for a couple of days without issue and started again today. The uid issue has disappeared though.

Code:
rpi@rpi:~ $ moodeutl -l
20230812 130228 worker: --
20230812 130228 worker: -- Start moOde 8 series
20230812 130228 worker: --
20230812 130228 worker: Successfully daemonized
20230812 130228 worker: Waiting for Linux startup...
20230812 130241 worker: Linux startup complete
20230812 130241 worker: Boot config backed up
20230812 130243 worker: File check (OK)
20230812 130244 worker: Session vacuumed
20230812 130244 worker: Session loaded
20230812 130244 worker: Debug logging (OFF)
20230812 130244 worker: --
20230812 130244 worker: -- Audio debug
20230812 130244 worker: --
20230812 130244 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty
20230812 130244 worker: MPD config: (1:Pi Headphone jack | mixer:(PCM) | card:1)
20230812 130244 worker: ALSA mixer actual (PCM)
20230812 130244 worker: ALSA PCM volume set to (0%)
20230812 130244 worker: --
20230812 130244 worker: -- System
20230812 130244 worker: --
20230812 130246 worker: Host      (rpi)
20230812 130246 worker: Hardware  (Pi-4B 1.2 2GB)
20230812 130246 worker: moOde     (8.3.3 2023-06-08)
20230812 130246 worker: RaspiOS   (11.7)
20230812 130246 worker: Kernel    (6.1.21-v8+ #1642)
20230812 130246 worker: Procarch  (aarch64, 64-bit)
20230812 130246 worker: MPD ver   (0.23.12)
20230812 130246 worker: CPU gov   (ondemand)
20230812 130246 worker: Userid    (rpi)
20230812 130246 worker: Homedir   (/home/rpi)
20230812 130246 worker: Timezone  (Europe/Berlin)
20230812 130246 worker: Keyboard  (de)
20230812 130246 worker: USB boot  (enabled)
20230812 130246 worker: File sys  (expanded)
20230812 130246 worker: HDMI port (Off)
20230812 130246 worker: Sys LED0  (Off)
20230812 130246 worker: Sys LED1  (On)
20230812 130246 worker: --
20230812 130246 worker: -- Network
20230812 130246 worker: --
20230812 130246 worker: eth0 adapter exists
20230812 130246 worker: eth0 address check (Off)
20230812 130246 worker: eth0 address not assigned
20230812 130246 worker: wlan0 adapter exists
20230812 130246 worker: wlan0 country (DE)
20230812 130246 worker: wlan0 configured SSID (xxx)
20230812 130246 worker: wlan0 SSID alternates (None)
20230812 130246 worker: wlan0 router mode (Off)
20230812 130246 worker: wlan0 address check (up to 90 secs)
20230812 130246 worker: wlan0 connected to SSID (xxx)
20230812 130247 worker: wlan0 power save (Disabled)
20230812 130247 worker: IP addr (192.168.0.123)
20230812 130247 worker: Netmask (255.255.255.0)
20230812 130247 worker: Gateway (192.168.0.1)
20230812 130247 worker: Pri DNS (192.168.0.21)
20230812 130247 worker: Domain  (lan)
20230812 130247 worker: --
20230812 130247 worker: -- Software update
20230812 130247 worker: --
20230812 130247 worker: Automatic check (Off)
20230812 130247 worker: --
20230812 130247 worker: -- Audio config
20230812 130247 worker: --
20230812 130247 worker: MPD conf updated
20230812 130247 worker: ALSA card number (1)
20230812 130247 worker: MPD audio output (Pi Headphone jack)
20230812 130247 worker: Audio formats (U8, S16_LE)
20230812 130247 worker: ALSA mixer name (PCM)
20230812 130247 worker: MPD mixer type (hardware)
20230812 130247 worker: Hdwr volume controller exists
20230812 130247 worker: Max ALSA volume (100%)
20230812 130247 worker: ALSA output mode (Default: plughw)
20230812 130247 worker: ALSA loopback (Off)
20230812 130247 worker: Reset renderer active flags
20230812 130247 worker: CamillaDSP configuration (off)
20230812 130247 worker: CamillaDSP volume sync   (Off)
20230812 130247 worker: CamillaDSP volume range  (60 dB)
20230812 130247 worker: --
20230812 130247 worker: -- File sharing
20230812 130247 worker: --
20230812 130247 worker: SMB file sharing (Off)
20230812 130247 worker: NFS file sharing (Off)
20230812 130247 worker: --
20230812 130247 worker: -- MPD startup
20230812 130247 worker: --
20230812 130248 worker: MPD started
20230812 130248 worker: MPD accepting connections
20230812 130248 worker: MPD output 1 ALSA Default (On)
20230812 130248 worker: MPD output 2 ALSA Bluetooth (Off)
20230812 130248 worker: MPD output 3 HTTP Server (Off)
20230812 130248 worker: MPD crossfade (off)
20230812 130248 worker: MPD ignore CUE files (yes)
20230812 130248 worker: --
20230812 130248 worker: -- Music sources
20230812 130248 worker: --
20230812 130248 worker: USB sources
20230812 130248 worker: EFI
20230812 130248 worker: scaldic_art
20230812 130248 worker: NAS sources
20230812 130248 worker: None configured
20230812 130248 worker: --
20230812 130248 worker: -- Feature availability
20230812 130248 worker: --
20230812 130248 worker: Input select (available)
20230812 130248 worker: Input (MPD)
20230812 130248 worker: Output (Pi Headphone jack)
20230812 130249 worker: Bluetooth (available)
20230812 130249 worker: AirPlay renderer (available)
20230812 130249 worker: Spotify renderer (available)
20230812 130249 worker: Squeezelite (available)
20230812 130249 worker: RoonBridge renderer (not installed)
20230812 130249 worker: Multiroom sender (available)
20230812 130249 worker: Multiroom receiver (available)
20230812 130249 worker: UPnP renderer (available)
20230812 130249 worker: DLNA server (available)
20230812 130249 worker: GPIO button handler (available)
20230812 130249 worker: Stream recorder (available: not installed)
20230812 130249 worker: HTTPS-Only mode (n/a)
20230812 130249 worker: --
20230812 130249 worker: -- Other
20230812 130249 worker: --
20230812 130249 worker: USB volume knob (Off)
20230812 130249 worker: USB auto-mounter (udisks-glue)
20230812 130249 worker: Saved MPD vol level (0)
20230812 130249 worker: Preamp volume level (0)
20230812 130249 worker: MPD volume level (35) restored
20230812 130249 worker: ALSA PCM volume (74%)
20230812 130249 worker: Auto-play (Off)
20230812 130249 worker: LocalUI (Off)
20230812 130249 worker: Automatic CoverView (Off)
20230812 130249 worker: On-screen keyboard (Off)
20230812 130249 worker: Library scope (all)
20230812 130249 worker: View reset to playback
20230812 130249 worker: Maintenance interval (360 minutes)
20230812 130249 worker: Screen saver activation (Never)
20230812 130249 worker: Session permissions (OK)
20230812 130249 worker: --
20230812 130249 worker: -- Startup complete
20230812 130249 worker: --
20230812 130249 worker: Mount monitor (off)
20230812 130249 worker: Watchdog monitor (started)
20230812 130249 worker: Ready
20230812 130313 worker: Job mpdcfg
20230812 130315 worker: Job mpdcfg: devchg|mixchg (|0), alsavol (74%), playstate (paused)



Code:
rpi@rpi:~ $  systemctl status nginx
● nginx.service - A high performance web server and a reverse proxy server
    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
    Active: active (running) since Sat 2023-08-12 13:02:28 CEST; 3 days ago
      Docs: man:nginx(8)
  Main PID: 544 (nginx)
     Tasks: 5 (limit: 2137)
       CPU: 45.184s
    CGroup: /system.slice/nginx.service
            ├─544 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
            ├─545 nginx: worker process
            ├─546 nginx: worker process
            ├─547 nginx: worker process
            └─548 nginx: worker process

Code:
rpi@rpi:~ $  systemctl status mpd
● mpd.service - Music Player Daemon
    Loaded: loaded (/lib/systemd/system/mpd.service; disabled; vendor preset: enabled)
    Active: active (running) since Sat 2023-08-12 13:03:15 CEST; 3 days ago
      Docs: man:mpd(1)
            man:mpd.conf(5)
            file:///usr/share/doc/mpd/html/user.html
  Main PID: 1580 (mpd)
     Tasks: 7 (limit: 2137)
       CPU: 29min 40.379s
    CGroup: /system.slice/mpd.service
            └─1580 /usr/bin/mpd --systemd /etc/mpd.conf

Code:
rpi@rpi:~ $ systemctl status php7.4-fpm
● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager
    Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled)
    Active: active (running) since Sat 2023-08-12 13:02:28 CEST; 3 days ago
      Docs: man:php-fpm7.4(8)
  Main PID: 486 (php-fpm7.4)
    Status: "Processes active: 64, idle: 0, Requests: 3612, slow: 0, Traffic: 0req/sec"
     Tasks: 65 (limit: 2137)
       CPU: 5min 21.656s
    CGroup: /system.slice/php7.4-fpm.service
            ├─   486 php-fpm: master process (/etc/php/7.4/fpm/php-fpm.conf)
            ├─  1658 php-fpm: pool www
            ├─570145 php-fpm: pool www
            ├─583507 php-fpm: pool www
            ├─583524 php-fpm: pool www
            ├─585317 php-fpm: pool www
            ├─585330 php-fpm: pool www
            ├─585593 php-fpm: pool www
            ├─585707 php-fpm: pool www
            ├─585819 php-fpm: pool www
            ├─585922 php-fpm: pool www
            ├─586083 php-fpm: pool www
            ├─586088 php-fpm: pool www
            ├─586191 php-fpm: pool www
            ├─586321 php-fpm: pool www
            ├─586419 php-fpm: pool www
            ├─586701 php-fpm: pool www
            ├─586706 php-fpm: pool www
            ├─586945 php-fpm: pool www
            ├─586958 php-fpm: pool www
            ├─587050 php-fpm: pool www
            ├─587425 php-fpm: pool www
            ├─587430 php-fpm: pool www
            ├─587543 php-fpm: pool www
            ├─587544 php-fpm: pool www
            ├─587641 php-fpm: pool www
            ├─587941 php-fpm: pool www
            ├─587943 php-fpm: pool www
            ├─588037 php-fpm: pool www
            ├─588042 php-fpm: pool www
            ├─588139 php-fpm: pool www
            ├─588140 php-fpm: pool www
Reply


Messages In This Thread
nginx Bad Gateway after idle - by demian.smith - 08-10-2023, 08:53 AM
RE: nginx Bad Gateway after idle - by Tim Curtis - 08-10-2023, 12:55 PM
[Problem] nginx Bad Gateway after idle - by demian.smith - 08-16-2023, 07:33 AM
RE: nginx Bad Gateway after idle - by Tim Curtis - 08-16-2023, 10:42 AM
RE: nginx Bad Gateway after idle - by the_bertrum - 08-16-2023, 03:52 PM
RE: nginx Bad Gateway after idle - by DRONE7 - 08-16-2023, 08:55 PM
RE: nginx Bad Gateway after idle - by the_bertrum - 08-23-2023, 01:24 PM
RE: nginx Bad Gateway after idle - by Nutul - 11-23-2023, 10:05 AM
RE: nginx Bad Gateway after idle - by Nutul - 11-23-2023, 06:12 PM
RE: nginx Bad Gateway after idle - by the_bertrum - 11-24-2023, 10:45 AM
RE: nginx Bad Gateway after idle - by fdealexa - 11-25-2023, 12:04 AM
ginx Bad Gateway after idle - by demian.smith - 12-07-2023, 12:32 PM

Forum Jump: