From 0c6bb61496305e327a74c0137e3f614de4b43d62 Mon Sep 17 00:00:00 2001 From: json Date: Thu, 18 Jun 2026 18:13:04 +0000 Subject: [PATCH] more ssh! --- .gitea/workflows/spotizarr_deploy.yaml | 21 +++--- logs/spotizerr.log | 98 ++++++++++++++++++++++++++ 2 files changed, 111 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/spotizarr_deploy.yaml b/.gitea/workflows/spotizarr_deploy.yaml index b35cf40..84f75c7 100644 --- a/.gitea/workflows/spotizarr_deploy.yaml +++ b/.gitea/workflows/spotizarr_deploy.yaml @@ -21,18 +21,23 @@ jobs: key: ${{ secrets.DEPLOY_SSH_KEY }} port: 22 script: | - cd /home/json/containers/servarr/spotizerr && - git pull origin main && - docker compose down && + cd /home/json/containers/servarr/spotizerr + git pull origin main + docker compose down docker compose up -d - name: Clean up old docker containers and networks if: always() - 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 + with: + host: ${{ secrets.REMOTE_HOST }} + username: ${{ secrets.REMOTE_USER }} + 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 # name: Remote Server Deploy diff --git a/logs/spotizerr.log b/logs/spotizerr.log index 4b2393b..9961654 100644 --- a/logs/spotizerr.log +++ b/logs/spotizerr.log @@ -38116,3 +38116,101 @@ redis.exceptions.ConnectionError: Connection closed by server. 2026-06-18 12:23:43 [INFO] Celery workers stopped 2026-06-18 12:23:43 [INFO] Application shutdown complete. 2026-06-18 12:23:43 [INFO] Finished server process [1] +2026-06-18 17:54:14 [INFO] Logging system initialized +2026-06-18 17:54:14 [INFO] Logging system fully initialized (lifespan startup). Effective log level: INFO +2026-06-18 17:54:14 [INFO] Configuration version 3.3.1 detected. Proceeding. +2026-06-18 17:54:14 [INFO] Migration validation completed (3.3.0 gate) +2026-06-18 17:54:14 [INFO] Database migrations executed (if needed) early in startup. +2026-06-18 17:54:14 [INFO] Spotify device info backfill complete: created=0 updated=0 skipped=2 +2026-06-18 17:54:14 [INFO] Testing Redis connection to redis:6379... +2026-06-18 17:54:14 [INFO] Redis connection successful +2026-06-18 17:54:14 [INFO] CeleryManager initialized. Download concurrency set to: 3 | Utility concurrency: 1 +2026-06-18 17:54:14 [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 17:54:14 [INFO] Celery Download Worker (PID: 12) started with concurrency 3. +2026-06-18 17:54:14 [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 17:54:14 [INFO] Celery Utility Worker (PID: 15) started with concurrency 1. +2026-06-18 17:54:14 [INFO] CeleryManager: Config monitor thread active, monitoring configuration changes... +2026-06-18 17:54:14 [INFO] CeleryManager: Config monitor thread started. +2026-06-18 17:54:14 [INFO] Celery workers started successfully +2026-06-18 17:54:14 [INFO] Playlists database initialized/updated successfully at data/watch/playlists.db +2026-06-18 17:54:14 [INFO] Artists database initialized/updated successfully at data/watch/artists.db +2026-06-18 17:54:14 [INFO] Successfully updated all existing tables schema in playlists database +2026-06-18 17:54:14 [INFO] Watch Manager: Successfully updated all existing tables schema +2026-06-18 17:54:14 [INFO] Watch Scheduler: Thread started. +2026-06-18 17:54:14 [INFO] Watch Manager: Background scheduler started (includes playlists and artists). +2026-06-18 17:54:14 [INFO] Watch Manager initialized and registered for shutdown. +2026-06-18 17:54:14 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. +2026-06-18 17:54:14 [INFO] Application startup complete. +2026-06-18 17:54:14 [INFO] Uvicorn running on http://0.0.0.0:7171 (Press CTRL+C to quit) +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: /python/celery/platforms.py:811: SecurityWarning: An entry for the specified gid or egid was not found. +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: We're assuming this is a potential security issue. +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: warnings.warn(SecurityWarning(ASSUMING_ROOT)) +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: /python/celery/platforms.py:841: SecurityWarning: You're running the worker with superuser privileges: this is +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: absolutely not recommended! +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: Please specify a different user using the --uid option. +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: User information: uid=1000 euid=1000 gid=1000 egid=1000 +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: +2026-06-18 17:54:16 [INFO] Celery[UW-STDERR]: warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format( +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: /python/celery/platforms.py:811: SecurityWarning: An entry for the specified gid or egid was not found. +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: We're assuming this is a potential security issue. +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: warnings.warn(SecurityWarning(ASSUMING_ROOT)) +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: /python/celery/platforms.py:841: SecurityWarning: You're running the worker with superuser privileges: this is +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: absolutely not recommended! +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: Please specify a different user using the --uid option. +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: User information: uid=1000 euid=1000 gid=1000 egid=1000 +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: +2026-06-18 17:54:16 [INFO] Celery[DW-STDERR]: warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format( +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: -------------- worker_utw@9c24c4926fb4 v5.5.3 (immunity) +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: --- ***** ----- +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: -- ******* ---- Linux-5.15.0-181-generic-x86_64-with-glibc2.36 2026-06-18 17:54:16 +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: -------------- worker_dlw@9c24c4926fb4 v5.5.3 (immunity) +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: --- ***** ----- +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: - *** --- * --- +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: - ** ---------- [config] +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: - ** ---------- .> app: routes.utils.celery_tasks:0x7f10aec48850 +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: - ** ---------- .> transport: redis://:**@redis:6379/0 +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: - ** ---------- .> results: redis://:**@redis:6379/0 +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: - *** --- * --- .> concurrency: 1 (prefork) +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker) +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: --- ***** ----- +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: -------------- [queues] +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: .> default exchange=default(direct) key=default +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: .> utility_tasks exchange=utility_tasks(direct) key=utility_tasks +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: [tasks] +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: . cleanup_stale_errors +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: . delayed_delete_task_data +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: . download_album +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: . download_playlist +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: . download_track +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: . trigger_sse_update_task +2026-06-18 17:54:16 [INFO] Celery[UW-STDOUT]: +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: -- ******* ---- Linux-5.15.0-181-generic-x86_64-with-glibc2.36 2026-06-18 17:54:16 +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: - *** --- * --- +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: - ** ---------- [config] +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: - ** ---------- .> app: routes.utils.celery_tasks:0x7f76874d0750 +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: - ** ---------- .> transport: redis://:**@redis:6379/0 +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: - ** ---------- .> results: redis://:**@redis:6379/0 +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: - *** --- * --- .> concurrency: 3 (prefork) +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: -- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker) +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: --- ***** ----- +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: -------------- [queues] +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: .> downloads exchange=downloads(direct) key=downloads +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: [tasks] +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: . cleanup_stale_errors +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: . delayed_delete_task_data +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: . download_album +2026-06-18 17:54:16 [INFO] Celery[DW-STDOUT]: . download_playlist +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]: