Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NGDM opened this issue Nov 28, 2024 · 3 comments
Open

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

NGDM opened this issue Nov 28, 2024 · 3 comments

Comments

@NGDM
Copy link

NGDM commented Nov 28, 2024

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 
Copy link

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

@NGDM
Copy link
Author

NGDM commented Nov 28, 2024

It seems the cron job does run and sync is executed every 2h.
Just not sure why this error message is shown.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant