spotisub: Service Unhealthy and script can't find it
Hi again, I’ll open a new issue, as you probably won’t receive notifications from the closed one.
I have deployed the second part of the compose separately and after a few minutes as “Starting”, it now shows as “Unhealthy” in Portainer. I have tried the script, but it says the container is not running. The log is stuck like this:
[uWSGI] getting INI configuration from uwsgi.ini
*** Starting uWSGI 2.0.21 (64bit) on [Wed Sep 11 19:48:41 2024] ***
compiled with version: 10.2.1 20210110 on 09 September 2024 22:46:17
os: Linux-6.1.0-0.deb11.21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1~bpo11+1 (2024-05-06)
nodename: 158ba914baa5
machine: x86_64
clock source: unix
detected number of CPU cores: 4
current working directory: /home/user/subtify
detected binary path: /home/user/.local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
your memory page size is 4096 bytes
*** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: enabled
uWSGI http bound on 0.0.0.0:50811 fd 4
uwsgi socket 0 bound to TCP address 127.0.0.1:40515 (port auto-assigned) fd 3
Python version: 3.10.15 (main, Sep 9 2024, 18:01:49) [GCC 10.2.1 20210110]
Python main interpreter initialized at 0x56534619dbc0
python threads support enabled
your server socket listen backlog is limited to 4096 connections
your mercy for graceful operations on workers is 60 seconds
mapped 145808 bytes (142 KB) for 1 cores
*** Operational MODE: single process ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 7)
spawned uWSGI worker 1 (pid: 8, cores: 1)
spawned uWSGI http 1 (pid: 9)
░██████╗██╗░░░██╗██████╗░████████╗██╗███████╗██╗░░░██╗
██╔════╝██║░░░██║██╔══██╗╚══██╔══╝██║██╔════╝╚██╗░██╔╝
╚█████╗░██║░░░██║██████╦╝░░░██║░░░██║█████╗░░░╚████╔╝░
░╚═══██╗██║░░░██║██╔══██╗░░░██║░░░██║██╔══╝░░░░╚██╔╝░░
██████╔╝╚██████╔╝██████╦╝░░░██║░░░██║██║░░░░░░░░██║░░░
╚═════╝░░╚═════╝░╚═════╝░░░░╚═╝░░░╚═╝╚═╝░░░░░░░░╚═╝░░░
v0.0.3
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x56534619dbc0 pid: 8 (default app)```
Also: I do use watchtower, but never add any label about it in containers, is this something specific to Subtify?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 44 (24 by maintainers)
I am marking this as definitively closed now, finally!
After some hour it will start importing. You can change that by configuring the env variables. The value is in hours.
If you want to trigger it manually do it from the webapis
Inside the README there’s everything you need to know about the scheduler and the Web apis
Please, don’t post your access tokens publicly! I have removed it from your message.
Thanks to you i will integrate some guide on how to configure correctly the spotify dev account and the cache file in case of permission errors.