From a870d8063617e28a2a4e3294c13116f6953abb6a Mon Sep 17 00:00:00 2001 From: json Date: Fri, 19 Jun 2026 13:16:49 +0000 Subject: [PATCH] fixing part that stops everything --- .gitea/workflows/spotizarr_deploy.yaml | 4 +- logs/spotizerr.log | 141 +++++++++++++++++++++++++ 2 files changed, 143 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/spotizarr_deploy.yaml b/.gitea/workflows/spotizarr_deploy.yaml index 84f75c7..a196aa5 100644 --- a/.gitea/workflows/spotizarr_deploy.yaml +++ b/.gitea/workflows/spotizarr_deploy.yaml @@ -34,11 +34,11 @@ jobs: key: ${{ secrets.DEPLOY_SSH_KEY }} port: 22 run: | - docker stop $(docker ps -a -q) || true && - docker rm -f $(docker ps -a -q) || true && docker container prune -f || true && docker network prune -f || true + # docker stop $(docker ps -a -q) || true && + # docker rm -f $(docker ps -a -q) || true && # name: Remote Server Deploy # on: [push] diff --git a/logs/spotizerr.log b/logs/spotizerr.log index 9961654..c191a5c 100644 --- a/logs/spotizerr.log +++ b/logs/spotizerr.log @@ -38214,3 +38214,144 @@ redis.exceptions.ConnectionError: Connection closed by server. 2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: . download_track 2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: . trigger_sse_update_task 2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: +2026-06-18 18:21:09 [INFO] Shutting down +2026-06-18 18:21:09 [INFO] Waiting for application shutdown. +2026-06-18 18:21:09 [INFO] Watch Manager: Stopping background scheduler... +2026-06-18 18:21:09 [INFO] Watch Scheduler: Thread stopped. +2026-06-18 18:21:09 [INFO] Watch Manager: Background scheduler stopped. +2026-06-18 18:21:09 [INFO] Watch Manager stopped +2026-06-18 18:21:09 [INFO] CeleryManager: Stopping Celery workers... +2026-06-18 18:21:09 [INFO] CeleryManager: Config monitor thread stopped. +2026-06-18 18:21:09 [INFO] Terminating Celery Download Worker (PID: 12)... +2026-06-18 18:21:09 [INFO] Celery[DW-STDOUT]: +2026-06-18 18:21:09 [INFO] Celery[DW-STDOUT]: worker: Warm shutdown (MainProcess) +2026-06-18 18:21:11 [INFO] Celery[DW-STDOUT] stream reader thread finished. +2026-06-18 18:21:11 [INFO] Celery[DW-STDERR] stream reader thread finished. +2026-06-18 18:21:11 [INFO] Celery Download Worker (PID: 12) terminated. +2026-06-18 18:21:11 [INFO] Terminating Celery Utility Worker (PID: 15)... +2026-06-18 18:21:11 [INFO] Celery[UW-STDOUT]: +2026-06-18 18:21:11 [INFO] Celery[UW-STDOUT]: worker: Warm shutdown (MainProcess) +2026-06-18 18:21:13 [INFO] Celery[UW-STDERR] stream reader thread finished. +2026-06-18 18:21:13 [INFO] Celery[UW-STDOUT] stream reader thread finished. +2026-06-18 18:21:13 [INFO] Celery Utility Worker (PID: 15) terminated. +2026-06-18 18:21:13 [INFO] Joining log threads... +2026-06-18 18:21:13 [INFO] CeleryManager: All workers and threads signaled to stop and joined. +2026-06-18 18:21:13 [INFO] Celery workers stopped +2026-06-18 18:21:13 [INFO] Application shutdown complete. +2026-06-18 18:21:13 [INFO] Finished server process [1] +2026-06-18 18:21:21 [INFO] Logging system initialized +2026-06-18 18:21:21 [INFO] Logging system fully initialized (lifespan startup). Effective log level: INFO +2026-06-18 18:21:21 [INFO] Configuration version 3.3.1 detected. Proceeding. +2026-06-18 18:21:21 [INFO] Migration validation completed (3.3.0 gate) +2026-06-18 18:21:21 [INFO] Database migrations executed (if needed) early in startup. +2026-06-18 18:21:21 [INFO] Spotify device info backfill complete: created=0 updated=0 skipped=2 +2026-06-18 18:21:21 [INFO] Testing Redis connection to redis:6379... +2026-06-18 18:21:21 [INFO] Redis connection successful +2026-06-18 18:21:21 [INFO] CeleryManager initialized. Download concurrency set to: 3 | Utility concurrency: 1 +2026-06-18 18:21:21 [INFO] Starting Celery Download Worker with command: /usr/bin/python3 -m celery -A routes.utils.celery_tasks worker --loglevel=INFO -Q downloads -c 3 --hostname=worker_dlw@%h --pool=prefork +2026-06-18 18:21:21 [INFO] Celery Download Worker (PID: 12) started with concurrency 3. +2026-06-18 18:21:21 [INFO] Starting Celery Utility Worker with command: /usr/bin/python3 -m celery -A routes.utils.celery_tasks worker --loglevel=INFO -Q utility_tasks,default -c 1 --hostname=worker_utw@%h --pool=prefork +2026-06-18 18:21:21 [INFO] Celery Utility Worker (PID: 15) started with concurrency 1. +2026-06-18 18:21:21 [INFO] CeleryManager: Config monitor thread active, monitoring configuration changes... +2026-06-18 18:21:21 [INFO] CeleryManager: Config monitor thread started. +2026-06-18 18:21:21 [INFO] Celery workers started successfully +2026-06-18 18:21:21 [INFO] Playlists database initialized/updated successfully at data/watch/playlists.db +2026-06-18 18:21:21 [INFO] Artists database initialized/updated successfully at data/watch/artists.db +2026-06-18 18:21:21 [INFO] Successfully updated all existing tables schema in playlists database +2026-06-18 18:21:21 [INFO] Watch Manager: Successfully updated all existing tables schema +2026-06-18 18:21:21 [INFO] Watch Scheduler: Thread started. +2026-06-18 18:21:21 [INFO] Watch Manager: Background scheduler started (includes playlists and artists). +2026-06-18 18:21:21 [INFO] Watch Manager initialized and registered for shutdown. +2026-06-18 18:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-18 18:21:21 [INFO] Application startup complete. +2026-06-18 18:21:21 [INFO] Uvicorn running on http://0.0.0.0:7171 (Press CTRL+C to quit) +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: /python/celery/platforms.py:811: SecurityWarning: An entry for the specified gid or egid was not found. +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: We're assuming this is a potential security issue. +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: warnings.warn(SecurityWarning(ASSUMING_ROOT)) +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: /python/celery/platforms.py:841: SecurityWarning: You're running the worker with superuser privileges: this is +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: absolutely not recommended! +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: Please specify a different user using the --uid option. +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: User information: uid=1000 euid=1000 gid=1000 egid=1000 +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: +2026-06-18 18:21:22 [INFO] Celery[UW-STDERR]: warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format( +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: /python/celery/platforms.py:811: SecurityWarning: An entry for the specified gid or egid was not found. +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: We're assuming this is a potential security issue. +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: warnings.warn(SecurityWarning(ASSUMING_ROOT)) +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: /python/celery/platforms.py:841: SecurityWarning: You're running the worker with superuser privileges: this is +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: absolutely not recommended! +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: Please specify a different user using the --uid option. +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: User information: uid=1000 euid=1000 gid=1000 egid=1000 +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: +2026-06-18 18:21:22 [INFO] Celery[DW-STDERR]: warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format( +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: -------------- worker_dlw@2930f721161a v5.5.3 (immunity) +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: --- ***** ----- +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: -- ******* ---- Linux-5.15.0-181-generic-x86_64-with-glibc2.36 2026-06-18 18:21:22 +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: - *** --- * --- +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: - ** ---------- [config] +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: - ** ---------- .> app: routes.utils.celery_tasks:0x7fb5325d8710 +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: - ** ---------- .> transport: redis://:**@redis:6379/0 +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: - ** ---------- .> results: redis://:**@redis:6379/0 +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: - *** --- * --- .> concurrency: 3 (prefork) +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker) +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: --- ***** ----- +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: -------------- [queues] +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: .> downloads exchange=downloads(direct) key=downloads +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: [tasks] +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: . cleanup_stale_errors +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: . delayed_delete_task_data +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: . download_album +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: . download_playlist +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: . download_track +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: . trigger_sse_update_task +2026-06-18 18:21:22 [INFO] Celery[DW-STDOUT]: +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: -------------- worker_utw@2930f721161a v5.5.3 (immunity) +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: --- ***** ----- +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: -- ******* ---- Linux-5.15.0-181-generic-x86_64-with-glibc2.36 2026-06-18 18:21:22 +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: - *** --- * --- +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: - ** ---------- [config] +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: - ** ---------- .> app: routes.utils.celery_tasks:0x7faa2b320750 +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: - ** ---------- .> transport: redis://:**@redis:6379/0 +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: - ** ---------- .> results: redis://:**@redis:6379/0 +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: - *** --- * --- .> concurrency: 1 (prefork) +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker) +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: --- ***** ----- +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: -------------- [queues] +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: .> default exchange=default(direct) key=default +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: .> utility_tasks exchange=utility_tasks(direct) key=utility_tasks +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: [tasks] +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: . cleanup_stale_errors +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: . delayed_delete_task_data +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: . download_album +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: . download_playlist +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: . download_track +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: . trigger_sse_update_task +2026-06-18 18:21:22 [INFO] Celery[UW-STDOUT]: +2026-06-18 19:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-18 20:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-18 21:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-18 22:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-18 23:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 00:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 01:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 02:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 03:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 04:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 05:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 06:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 07:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 08:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 09:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 10:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 11:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-19 12:21:21 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks.