From ab3079b0ea1ed7d9dfb3a46e3faf667a909129a1 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 13 Aug 2026 19:21:55 -0400 Subject: [PATCH] [release] Bump to version 65.5 - Fix database backup bug where running in celery task fails - Rename the default,charts celery worker to vrobbler_celery_charts --- CHANGELOG.org | 34 ++++++++++++++++++++++++++++++++++ PROJECT.org | 32 -------------------------------- pyproject.toml | 2 +- 3 files changed, 35 insertions(+), 33 deletions(-) diff --git a/CHANGELOG.org b/CHANGELOG.org index 9d0cb4c..2d0ae34 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -1,5 +1,39 @@ #+title: CHANGELOG +* Version 65.5 [2/2] +** DONE [#A] Fix database backup bug where running in celery task fails :bug:backups:celery:tasks: +:PROPERTIES: +:ID: 4117482f-4774-49b8-93b2-5b97adb194bd +:END: + +*** Description + +Running the backup_database command manually on the host works fine, but it does not work when running in Celery. The error is: + +#+begin_src bash +No such file or directory `pg_dump` +#+end_src + +The FreeBSD rc.d celery workers run under daemon(8) with a minimal PATH (the +rc.subr default of `/sbin:/bin:/usr/sbin:/usr/bin`) that omits `/usr/local/bin`, +where `pg_dump` lives. The task now locates `pg_dump` with `shutil.which()`, +falling back to the common PostgreSQL install locations, instead of relying on +the inherited PATH. + +** DONE [#B] Rename the default,charts celery worker to vrobbler_celery_charts :celery:deploy: +:PROPERTIES: +:ID: 92686951-8c87-4eae-8c48-1bed87567e93 +:END: + +*** Description + +The FreeBSD rc.d worker that consumes the `default,charts` queues is renamed +from `vrobbler_celery` to `vrobbler_celery_charts`, matching the naming of its +companion workers (`vrobbler_celery_priority`, `vrobbler_celery_background`). +The gitea action, Drone pipeline, Makefile deploy target, and the rc.d script +itself are updated so every deploy restarts the three celery workers plus +celerybeat. + * Version 65.4 [2/2] ** DONE [#B] Rename the default,charts celery worker to vrobbler_celery_charts :celery:deploy: :PROPERTIES: diff --git a/PROJECT.org b/PROJECT.org index d899e78..fc27dfb 100644 --- a/PROJECT.org +++ b/PROJECT.org @@ -628,35 +628,3 @@ The Edit log form should have from top to bottom: - Location (which should be a drop down of BoardGameLocations for this user) -** DONE [#A] Fix database backup bug where running in celery task fails :bug:backups:celery:tasks: -:PROPERTIES: -:ID: 4117482f-4774-49b8-93b2-5b97adb194bd -:END: - -*** Description - -Running the backup_database command manually on the host works fine, but it does not work when running in Celery. The error is: - -#+begin_src bash -No such file or directory `pg_dump` -#+end_src - -The FreeBSD rc.d celery workers run under daemon(8) with a minimal PATH (the -rc.subr default of `/sbin:/bin:/usr/sbin:/usr/bin`) that omits `/usr/local/bin`, -where `pg_dump` lives. The task now locates `pg_dump` with `shutil.which()`, -falling back to the common PostgreSQL install locations, instead of relying on -the inherited PATH. - -** DONE [#B] Rename the default,charts celery worker to vrobbler_celery_charts :celery:deploy: -:PROPERTIES: -:ID: 92686951-8c87-4eae-8c48-1bed87567e93 -:END: - -*** Description - -The FreeBSD rc.d worker that consumes the `default,charts` queues is renamed -from `vrobbler_celery` to `vrobbler_celery_charts`, matching the naming of its -companion workers (`vrobbler_celery_priority`, `vrobbler_celery_background`). -The gitea action, Drone pipeline, Makefile deploy target, and the rc.d script -itself are updated so every deploy restarts the three celery workers plus -celerybeat. diff --git a/pyproject.toml b/pyproject.toml index 450962c..cbd6398 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "vrobbler" -version = "65.3" +version = "65.5" description = "" authors = ["Colin Powell "]