[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
This commit is contained in:
@ -1,5 +1,39 @@
|
|||||||
#+title: CHANGELOG
|
#+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]
|
* Version 65.4 [2/2]
|
||||||
** DONE [#B] Rename the default,charts celery worker to vrobbler_celery_charts :celery:deploy:
|
** DONE [#B] Rename the default,charts celery worker to vrobbler_celery_charts :celery:deploy:
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
|
|||||||
32
PROJECT.org
32
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)
|
- 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.
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "vrobbler"
|
name = "vrobbler"
|
||||||
version = "65.3"
|
version = "65.5"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Colin Powell <colin@unbl.ink>"]
|
authors = ["Colin Powell <colin@unbl.ink>"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user