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

universal-cron not working with code-server image #782

Closed
jmbannon opened this issue Nov 3, 2023 · 5 comments
Closed

universal-cron not working with code-server image #782

jmbannon opened this issue Nov 3, 2023 · 5 comments

Comments

@jmbannon
Copy link

jmbannon commented Nov 3, 2023

  code-server:
    image: lscr.io/linuxserver/code-server:latest
    container_name: code-server
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Los_Angeles
      - DOCKER_MODS=linuxserver/mods:universal-cron
    volumes:
      - ./volumes/code-server:/config
    ports:
      - 8444:8443
    restart: unless-stopped
code-server     | [mod-init] Attempting to run Docker Modification Logic
code-server     | [mod-init] Adding linuxserver/mods:universal-cron to container
code-server     | [mod-init] Downloading linuxserver/mods:universal-cron from lscr.io
code-server     | [mod-init] Installing linuxserver/mods:universal-cron
code-server     | [mod-init] linuxserver/mods:universal-cron applied to container
code-server     | [migrations] started
code-server     | [migrations] no migrations found
code-server     | ───────────────────────────────────────
code-server     | 
code-server     |       ██╗     ███████╗██╗ ██████╗ 
code-server     |       ██║     ██╔════╝██║██╔═══██╗
code-server     |       ██║     ███████╗██║██║   ██║
code-server     |       ██║     ╚════██║██║██║   ██║
code-server     |       ███████╗███████║██║╚██████╔╝
code-server     |       ╚══════╝╚══════╝╚═╝ ╚═════╝ 
code-server     | 
code-server     |    Brought to you by linuxserver.io
code-server     | ───────────────────────────────────────
code-server     | 
code-server     | To support LSIO projects visit:
code-server     | https://www.linuxserver.io/donate/
code-server     | 
code-server     | ───────────────────────────────────────
code-server     | GID/UID
code-server     | ───────────────────────────────────────
code-server     | 
code-server     | User UID:    1000
code-server     | User GID:    1000
code-server     | ───────────────────────────────────────
code-server     | 
code-server     | /etc/s6-overlay/s6-rc.d/init-mod-universal-crontab-config/run: line 29: crontab: command not found
code-server     | /etc/s6-overlay/s6-rc.d/init-mod-universal-crontab-config/run: line 29: crontab: command not found
code-server     | s6-rc: warning: unable to start service init-mod-universal-crontab-config: command exited 127
@jmbannon
Copy link
Author

jmbannon commented Nov 3, 2023

cc @nemchik I think this was working prior to your commit a few days ago

@nemchik
Copy link
Member

nemchik commented Nov 3, 2023

The code server image hasn't updated with the changes in the base that make crontab available. I've triggered a build, should release shortly. You'll need to pull the new code-server image once it's released. You can watch https://github.com/linuxserver/docker-code-server/releases

@jmbannon
Copy link
Author

jmbannon commented Nov 3, 2023

Sounds good @nemchik , will test and report back once its up

@nemchik
Copy link
Member

nemchik commented Nov 3, 2023

Should be built and released now

@jmbannon
Copy link
Author

jmbannon commented Nov 3, 2023

Looks like it works! Thanks for the quick follow-up @nemchik

@jmbannon jmbannon closed this as completed Nov 3, 2023
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants