linuxserver / docker-syslog-ng

GNU General Public License v3.0
53 stars 9 forks source link

[BUG] No such file ... #28

Open Mephisto090 opened 1 week ago

Mephisto090 commented 1 week ago

Is there an existing issue for this?

Current Behavior

Hi,

image

Expected Behavior

That no more errors are displayed and a log is created

Steps To Reproduce

Start vanilla the docker compose

Environment

- OS: Ubuntu 22.04
- How docker service was installed: docker compose

CPU architecture

x86-64

Docker creation

services: 
  syslog-ng:
    image: lscr.io/linuxserver/syslog-ng:latest
    container_name: Tasmota-Syslog
    environment:
      PUID: 1000
      PGID: 1000
      TZ: Europe/Berlin
    volumes:
      - ./config:/config
      - ./log:/var/log #optional
    ports:
      - 514:5514/udp
      - 601:6601/tcp
      - 6514:6514/tcp
    restart: unless-stopped

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

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

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

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

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

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 4.7.1-r1-ls126
Build-date: 2024-09-05T18:56:30+00:00
───────────────────────────────────────

[custom-init] No custom files found, skipping...
[ls.io-init] done.
github-actions[bot] commented 1 week ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

thespad commented 1 week ago

Are there messages and/or messages-kv.log files in the directory you've mounted? Does the user have write access to that location?

Mephisto090 commented 1 week ago

No, the files are not in the mounted folder. docker compose was run with root

thespad commented 4 days ago

No, not which account did you run the container creation with, I'm talking about the account you're running the container application as (1000:1000).