[Bug]: task scheduler does not run properly in a separate container on 0.19.4-beta.5 #4709
Closed
5 tasks done
Labels
bug
Something isn't working
Requirements
Summary
A 0.19.4-beta.5 instance can not run the task scheduler as a separate container. When you attempt to do this, the task scheduler container keeps restarting, and tasks (such as updating Hot / Scaled / etc. sort types) never run.
If you move the task scheduler to run in the main lemmy container, the container does not restart and tasks run properly.
Steps to Reproduce
entrypoint: lemmy_server --disable-http-server --disable-activity-sending
. On all other lemmy services in the docker-compose.yml, make sure the entrypoint contains--disable-scheduled-tasks
docker compose logs -f lemmy-tasks
- after a short period of time, the lemmy-tasks container will exit. If you usedocker compose ps
, you will see lemmy-tasks in a restarting state.Technical Details
The following log is an example of the tasks container exiting, however the info/debug messages leading up to the exit are not always the same.
Version
0.19.4-beta.5
Lemmy Instance URL
No response
The text was updated successfully, but these errors were encountered: