Skip to content

crontab: can't open '/etc/crontabs/abc': No such file or directory #19

Open
@NGDM

Description

@NGDM

linuxserver.io


Expected Behavior

Container retrieves the non-modified /etc/crontabs/abc file and executes a sync every 2 hours.

Current Behavior

After executing the first run (credential procedure) and restarting the container twice (first one this does not happen), I'm seeing this error log: crontab: can't open '/etc/crontabs/abc': No such file or directory

Steps to Reproduce

  1. docker compose up -d plextraktsync
  2. docker compose exec plextraktsync plextraktsync sync
  3. Follow credentials procedure and initial run
  4. docker compose restart plextraktsync
  5. After the next container restart, error shows cron file could not be found

Environment

OS: Ubuntu 24.04.1 LTS
CPU architecture: x86_64/arm32/arm64
How docker service was installed:

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Command used to create docker container (run/create/compose/screenshot)

docker-compose.yml

services:
  plextraktsync:
    image: lscr.io/linuxserver-labs/plextraktsync:latest
    container_name: plextraktsync
    volumes:
      - '$DOCKERDIR/plextraktsync/config:/config:rw'
    networks:
        - myBridge
    environment:
      - PUID=$DOCKER_UID
      - PGID=$DOCKER_GID
      - UMASK=$UMASK
    restart: 'unless-stopped'

.env

DOCKER_GID=1000
DOCKER_UID=1000
UMASK=022
DOCKERDIR=home/ngdm/docker

Docker logs

plextraktsync  | [migrations] started
plextraktsync  | [migrations] no migrations found
plextraktsync  | usermod: no changes
plextraktsync  | ───────────────────────────────────────
plextraktsync  | 
plextraktsync  |       ██╗     ███████╗██╗ ██████╗ 
plextraktsync  |       ██║     ██╔════╝██║██╔═══██╗
plextraktsync  |       ██║     ███████╗██║██║   ██║
plextraktsync  |       ██║     ╚════██║██║██║   ██║
plextraktsync  |       ███████╗███████║██║╚██████╔╝
plextraktsync  |       ╚══════╝╚══════╝╚═╝ ╚═════╝ 
plextraktsync  | 
plextraktsync  |           █   █▀▀▄ █▀▀▄ █▀▀
plextraktsync  |           █   █▄▄█ █▀▀▄ ▀▀▄
plextraktsync  |           ▀▀▀ ▀  ▀ ▀▀▀▀ ▀▀▀
plextraktsync  | 
plextraktsync  |     Brought to you by linuxserver.io
plextraktsync  | ───────────────────────────────────────
plextraktsync  | 
plextraktsync  | To support LSIO projects visit:
plextraktsync  | https://www.linuxserver.io/donate/
plextraktsync  | 
plextraktsync  | ───────────────────────────────────────
plextraktsync  | GID/UID
plextraktsync  | ───────────────────────────────────────
plextraktsync  | 
plextraktsync  | User UID:    1000
plextraktsync  | User GID:    1000
plextraktsync  | ───────────────────────────────────────
plextraktsync  | Linuxserver.io version: 0.32.2-ls141
plextraktsync  | Build-date: 2024-11-19T00:56:51+00:00
plextraktsync  | ───────────────────────────────────────
plextraktsync  |     
plextraktsync  | crontab: can't open '/etc/crontabs/abc': No such file or directory
plextraktsync  | [custom-init] No custom files found, skipping...
plextraktsync  | [ls.io-init] done.
plextraktsync  | INFO     Connecting with url:                                                   
plextraktsync  |          https://192-168-1-11.b15141e6b6674ee1a82ce05d0b25bde3.plex.direct:32400
plextraktsync  |          , timeout 30 seconds                                                   
plextraktsync  | INFO     Listening for events!                                                  
plextraktsync  | INFO     Server connected: Plexopolis (1.41.2.9200-c6bbc1b53)                   
plextraktsync  | INFO     Starting AlertListener:                                                
plextraktsync  |          wss://192-168-1-11.b15141e6b6674ee1a82ce05d0b25bde3.plex.direct:32400/:
plextraktsync  |          /websockets/notifications?X-Plex-Token=<hidden>                        
plextraktsync  | INFO     Websocket connected 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions