lejacobroy / Tidalrr

Self-hosted Tidal library sync
Apache License 2.0
30 stars 4 forks source link

Error on boot - no web access #5

Closed mangocat1 closed 6 months ago

mangocat1 commented 6 months ago

I'm getting this error on boot. My Compose is below. I suspect this is a syntax issue.

2024-02-12 22:00:28 watchtower-1 | time="2024-02-13T05:00:28Z" level=info msg="Watchtower 1.7.1" 2024-02-12 22:00:29 tidalrr | Starting tidalrr app 2024-02-12 22:00:28 watchtower-1 | time="2024-02-13T05:00:28Z" level=info msg="Using no notifications" 2024-02-12 22:00:28 watchtower-1 | time="2024-02-13T05:00:28Z" level=info msg="Checking all containers (except explicitly disabled with label)" 2024-02-12 22:00:29 tidalrr | Scans are scheduled 2024-02-12 22:00:29 tidalrr | Downloads are scheduled 2024-02-12 22:00:28 watchtower-1 | time="2024-02-13T05:00:28Z" level=info msg="Scheduling first run: 2024-02-14 05:00:28 +0000 UTC" 2024-02-12 22:00:29 tidalrr | Process Process-1: 2024-02-12 22:00:28 watchtower-1 | time="2024-02-13T05:00:28Z" level=info msg="Note that the first check will be performed in 23 hours, 59 minutes, 59 seconds" 2024-02-12 22:00:29 tidalrr | Traceback (most recent call last): 2024-02-12 22:00:29 tidalrr | File "/usr/local/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap 2024-02-12 22:00:29 tidalrr | self.run() 2024-02-12 22:00:29 tidalrr | File "/usr/local/lib/python3.11/multiprocessing/process.py", line 108, in run 2024-02-12 22:00:29 tidalrr | self._target(*self._args, **self._kwargs) 2024-02-12 22:00:29 tidalrr | File "/app/tidalrr/webserver/init.py", line 167, in webServer 2024-02-12 22:00:29 tidalrr | migration() 2024-02-12 22:00:29 tidalrr | File "/app/tidalrr/database/init.py", line 51, in migration 2024-02-12 22:00:29 tidalrr | conn.execute("ALTER TABLE tidal_artists \ 2024-02-12 22:00:29 tidalrr | sqlite3.OperationalError: no such column: "queued"

version: '3.7' services: tidalrr: container_name: tidalrr image: jacobroyquebec/tidalrr restart: always environment:

sickify1 commented 6 months ago

I'm wondering if you modify line 110 of init.py in the database folder from a value of 1 to 4, then delete the database file and start the container again, if it might fix this.

mangocat1 commented 6 months ago

Thanks! that did it!