mirror of
https://github.com/Googolplexed0/zotify.git
synced 2026-04-25 06:15:55 +03:00
[GH-ISSUE #55] [Bug Report] Docker Not Detecting credentials.json #43
Labels
No labels
bug
considering
discussion
documentation
enhancement
enhancement
good first issue
help wanted
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zotify#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @treysu on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/55
Originally assigned to: @Googolplexed0 on GitHub.
Bug Description
When running the docker image and supplying the credentials.json file generated on another machine, Zotify still asks for login.
Bug Triggering Command
I run my docker containers on a headless Linux VM, so I am unable to click the login link. Instead, I am generating my credentials file on Windows and trying to pass the pre-generated token to Zotify by supplying my
credentials.jsonfile to the container.I have tried mapping a docker volume pointed to
/root/.config/zotify(which does properly create the config in the location next tocredentials.json). I have also tried using theCREDENTIALS_LOCATIONenvironment variable to no visible success.The command that caused the error/crash, including relevant url arguments.
Additional Context
I have also tried creating an SSH tunnel from my Windows desktop to the VM running the container, tunneling port 4381 and exposing it in the docker run command. This would ideally let me click the link directly from the browser in Windows, but I was also not able to get this working.
@treysu commented on GitHub (Aug 19, 2025):
Figured out the root of the issue. The problem was that
config.jsonis saved inside/root/.config/zotify, butcredentials.jsonis saved inside/root/.local/share/zotify.