Skip to content

[BUG] STDOUT Logs spamming "Server Ready" #374

@kernelkaribou

Description

@kernelkaribou

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

On latest version of SWAG, 2.6.0-ls213, STDOUT logs for container are being spammed with Server Ready. Not showing any indication of NGINX server issues and reverse proxying seems to be working as per usual.

Expected Behavior

Not spam container STDOUT logs with Server Ready

Steps To Reproduce

So far tested on two bare metal hosts with same OS version. Reverting my container from latest to tag 2.6.0-ls212 addressed the issue

Have no other environments OS environments to test on, but two separate baremetal with identical versions and package version on Debian have produced this issue

Environment

- OS: Debian 11.7
- How docker service was installed: Docker apt repository

CPU architecture

x86-64

Docker creation

swag:
    container_name: swag
    image: lscr.io/linuxserver/swag:latest
    hostname: swag
    cap_add:
      - NET_ADMIN
    networks:
      - infra-net
      - proxy-net
    ports:
      - 80:80
      - 443:443
    environment:
      - PUID=${puid}
      - PGID=${pgid}
      - TZ=${tz}
      - EMAIL=${letsencrypt_email}
      - URL=${letsencrypt_domain}
      - SUBDOMAINS=${letsencrypt_subdomains}
      - VALIDATION=dns
      - DNSPLUGIN=cloudflare
      - DOCKER_MODS=linuxserver/mods:swag-auto-reload|linuxserver/mods:universal-stdout-logs
      - LOGS_TO_STDOUT=/config/log/nginx/error.log
    volumes:
      - ./swag:/config
    restart: always

Container logs

[mod-init] Attempting to run Docker Modification Logic
[mod-init] Adding linuxserver/mods:swag-auto-reload to container
[mod-init] linuxserver/mods:swag-auto-reload at sha256:9dbae5d11b0dab3c5825a700ea1933a606a81df6312186da0f167e6ed8b6039e has been previously applied skipping
[mod-init] Adding linuxserver/mods:universal-stdout-logs to container
[mod-init] linuxserver/mods:universal-stdout-logs at sha256:9cf1b3862da4f62e9795ec448616ab44564b4c40f665bb63b1793c60767b8945 has been previously applied skipping
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
Certbot: https://supporters.eff.org/donate/support-work-on-certbot

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1032
User GID:    1032
───────────────────────────────────────

using keys found in /config/keys
Variables set:
PUID=1032
PGID=1032
TZ=America/Chicago
URL=REDACTED
SUBDOMAINS=wildcard
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=false
VALIDATION=dns
CERTPROVIDER=
DNSPLUGIN=cloudflare
EMAIL=REDACTED
STAGING=

cp: not replacing '/config/dns-conf/acmedns-registration.json'
...truncated...
cp: not replacing '/config/etc/letsencrypt/renewal-hooks/pre/10-nginx'
Using Let's Encrypt as the cert provider
SUBDOMAINS entered, processing
Wildcard cert for REDACTED will be requested
E-mail address entered: REDACTED
dns validation via cloudflare plugin is selected
Certificate exists; parameters unchanged; starting nginx
The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am).
**** The following active confs have different version dates than the samples that are shipped. ****
**** This may be due to user customization or an update to the samples. ****
**** You should compare the following files to the samples in the same folder and update them. ****
**** Use the link at the top of the file to view the changelog. ****
┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐
│  old date  │  new date  │ path                                                                   │
├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤
REDACTED
└────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘
**** swag-auto-reload deps already installed, skipping ****
[custom-init] No custom files found, skipping...
MOD Auto-reload: Watching the following files/folders for changes (excluding .sample and .md files):
/config/nginx
Executing: tail -F /config/log/nginx/error.log
[ls.io-init] done.
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready
Server ready

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions