Open jonathan-morton opened 1 week ago
Hi @jonathan-morton, thank you for reporting this issue.
I think this might be a limitation of the sqlite database, the trakt importer just spam adds your entire watch list into the watcharr db.
I'm not entirely sure if it's a limitation of the db engine, but I have heard things about it not being able to handle concurrent transactions. I'll have to look into this, it's possible just adding a short delay between importing chunks of data could allow other requests to go through.
I think you encountered another bug, where the popup doesn't keep updating with whats currently being imported (live job status), but its still importing correctly in the background.
Depending on the size of your trakt history, it might just need that much time to import, it has to gather each page of your history/ratings from trakt, then import each, sadly both tasks only work one by one which is why it can be so slow.
Setting sqlite into WAL mode might help alleviate this issue somewhat since you can get read concurrency.
Describe the bug I set up a brand new account and added all my credentials. I then tried to add my trakt page, and it seemed to be importing, but then appeared to get stuck on adding a star rating from a movie. I hit the X and it said it would continue. I was able to go to a few more pages and see some newly added watches but then it logged me out. I logged back in, was able to browse a couple more pages and then was logged out. Then I kept getting not authorized errors or user doesn't exist, with an occasional log in letting me into a loading page and being immediately logged out again.
Looking at the docker logs it appears to still be importing, so I'm going to let it run over night, even though its already been over an hour running
Here is the error when I tried to log in
Platform (please complete the following information):