stephane-klein/discourse-hosting-playground

anacron: Can't chdir to /var/spool/anacron: No such file or directory

stephane-klein opened this issue · 1 comments

$ ./launcher bootstrap app
$ ./launcher start app
$ ./launcher logs app

...

anacron: Can't chdir to /var/spool/anacron: No such file or directory
run-parts: /etc/runit/1.d/anacron exited with return code 1
run-parts: executing /etc/runit/1.d/00-ensure-links
run-parts: executing /etc/runit/1.d/00-fix-var-logs
run-parts: executing /etc/runit/1.d/01-cleanup-web-pids
run-parts: executing /etc/runit/1.d/anacron
anacron: Can't chdir to /var/spool/anacron: No such file or directory
run-parts: /etc/runit/1.d/anacron exited with return code 1

Fixed by upgrade to last https://github.com/discourse/discourse_docker/ commit

root@ubuntu-lunar:/var/discourse# git log -n1
commit c90e6de7930e858d513fea2eedafc5aa1befbc8b (HEAD -> main, origin/main, origin/HEAD)
Author: Alan Guo Xiang Tan <gxtan1990@gmail.com>
Date:   Mon May 1 10:50:50 2023 +0800

    DEV: Introduce `enable-ruby-yjit template

    This adds the `RUBY_YJIT_ENABLE` environment variable which would enable
    Ruby 3.2's YJIT. See
    https://github.com/ruby/ruby/blob/master/doc/yjit/yjit.md for more
    information about YJIT.