From 3095180b258e3d9fa4b6d79400de8fe5677a9eea Mon Sep 17 00:00:00 2001 From: tcely Date: Wed, 2 Jul 2025 23:30:50 -0400 Subject: [PATCH] Update other-database-backends.md We also should stop the `huey-*` consumer services. --- docs/other-database-backends.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/other-database-backends.md b/docs/other-database-backends.md index 8df7989c..baf769a5 100644 --- a/docs/other-database-backends.md +++ b/docs/other-database-backends.md @@ -21,7 +21,7 @@ existing database data with: # Stop services $ docker exec -t tubesync \ bash -c 'for svc in \ - /run/service/{gunicorn,tubesync*-worker} ; \ + /run/service/{gunicorn,huey-*,tubesync*-worker} ; \ do \ /command/s6-svc -wd -D "${svc}" ; \ done' @@ -52,7 +52,7 @@ After you have changed your database backend over, then use: # Stop services $ docker exec -t tubesync \ bash -c 'for svc in \ - /run/service/{gunicorn,tubesync*-worker} ; \ + /run/service/{gunicorn,huey-*,tubesync*-worker} ; \ do \ /command/s6-svc -wd -D "${svc}" ; \ done' @@ -67,7 +67,7 @@ Or, if you only have the copy in `/tmp/`, then you would use: # Stop services $ docker exec -t tubesync \ bash -c 'for svc in \ - /run/service/{gunicorn,tubesync*-worker} ; \ + /run/service/{gunicorn,huey-*,tubesync*-worker} ; \ do \ /command/s6-svc -wd -D "${svc}" ; \ done' @@ -80,11 +80,11 @@ $ xzcat /tmp/tubesync-database-backup.jsonl.xz | \ As detailed in the Django documentation: -https://docs.djangoproject.com/en/5.1/ref/django-admin/#dumpdata +* https://docs.djangoproject.com/en/5.2/ref/django-admin/#dumpdata and: -https://docs.djangoproject.com/en/5.1/ref/django-admin/#loaddata +* https://docs.djangoproject.com/en/5.2/ref/django-admin/#loaddata Further instructions are beyond the scope of TubeSync documenation and you should refer to Django documentation for more details.