You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error reporting for syntax errors in recurring.yml #722
but quickly notice there are no workers running and that systemctl status reports that the service is not running. There is nothing reported by journalctl, the queue log files are empty.
Now I can see how this happens, systemctl kicks off the process, that daemonises, reads its configuration (possibly that configures logging, so before logs opened), and errors.
If I start my dev solid-queue with the same syntax error introduced then
$ bundle exec rake solid_queue:start
Invalid recurring tasks:
- gannets: Schedule is not a supported recurring schedule
Exiting...
Nice, but in the systemctl deploy I guess that the error will write to stdout which is not there (or redirected to /dev/null) since daemonised. So it looks like there is a "blind spot" where syntax errors in configuration produce systemctl success and no error output at all.
Now I will be extremely careful editing configuration files in future, but it would be really nice if there were some facility to check the configuration files for validity? (The obvious running of the rake solid_queue:start will only check the development part of the configuration, and will fail for production since there is no DB). Or possibly that is there already and I couldn't find it?
I encountered the same problem (twice actually) and couldn't find an existing solution, so I have been working on one. I'll try to submit a PR somewhere in the coming days.
Activity
J-Verz commentedon Apr 19, 2026
I encountered the same problem (twice actually) and couldn't find an existing solution, so I have been working on one. I'll try to submit a PR somewhere in the coming days.
add bin/jobs check to validate config before starting
add bin/jobs check to validate config before starting
add bin/jobs check to validate config before starting
rosa commentedon Jul 20, 2026
Closed by #745 🥳
add bin/jobs check to validate config before starting
add bin/jobs check to validate config before starting