Skip to content

[Docker] audit_prod.sh: 15: [[: not found #95

@FutureDouble

Description

@FutureDouble

Problem Summary

Error in log (if Xmx and Docker limits are set?)
The Server will start and work, but probably some things in the checks will be skipped

Log files

SECTION: Memory Integrity
/usr/local/bin/scripts/checks/audit_prod.sh: 15: [[: not found
  Java Heap vs Docker Limit...       [ OK ] ✔
-e       ↳ Java Heap: 6144MB | Container: 7168MB

Docker setup

services:
  hytale:
    image: ghcr.io/deinfreu/hytale-server:latest
    container_name: hytale-server
    environment:
      SERVER_IP: "0.0.0.0"
      SERVER_PORT: "5520"
      PROD: "TRUE"
      DEBUG: "FALSE"
      TZ: "Europe/Berlin"
      HYTALE_BACKUP: "TRUE"
      HYTALE_BACKUP_DIR: "./backups"
      HYTALE_BACKUP_FREQUENCY: "720"
      HYTALE_BACKUP_MAX_COUNT: "20"
      HYTALE_DISABLE_SENTRY: "TRUE"
      HYTALE_SERVER_NAME: "Server"
      HYTALE_MOTD: "Test"
      HYTALE_MAX_VIEW_RADIUS: "12"
      JAVA_ARGS: "-Xmx6144M"
    restart: unless-stopped
    ports:
      - "5520:5520/udp"
    volumes:
      - hytale-data:/home/container
      - /etc/machine-id:/etc/machine-id:ro
    tty: true
    stdin_open: true
    deploy:
      resources:
        limits:
          memory: 7GB
    labels:
      com.centurylinklabs.watchtower.scope: "monitor"

volumes:
  hytale-data:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions