[Bug]: Receive "Unable to activate this module: the API key is missing."
Before reporting
- [x] I am running the latest version of DVinyl.
- [x] I searched the existing issues and did not find a duplicate.
What happened?
I'm sure this is OE, but I can't find a solution to this. I just loaded DVinyl on my Unraid server. I've created the .env file in the /app directory and put in my TMDB API key, but when I try to enable the Movies/TV Shows module, I receive the error "Unable to activate this module: the API key is missing."
What am I doing wrong?
Thank you...
Steps to reproduce
- Load DVinyl from the apps repository
- Generate a JWT password and Session Secret
- Start the Docker container.
- In a console window, copy the .env.example to .env. Edit it with the JWT password and Session Secret.
- Add my TMDB API key
- Restart the container and try to enable the Movies/TV Shows module
Expected behavior
Expect to enable the Movies/TV Shows module
DVinyl version
4.0.0
How are you running DVinyl?
Other
Affected media type or plugin
Movies
Browser and device
Brave on desktop
Logs or screenshots
Hey! Thanks for the report, and you're not doing anything wrong, the docs just aren't clear about this on Unraid ;) Inside the container, DVinyl never reads a .env file: on Unraid every setting comes from the app template. Go to Edit on the DVinyl container, click "Show more settings", paste your key in the "TMDB API Key" field and hit Apply. The Movies/TV Shows module should then turn on right away. You can also delete the .env you created inside the container, it isn't used (and it would be wiped on the next update anyway). I'll make the docs clearer about this, thanks! :D
Thanks for the help! I added a key to Rebrickable and it didn't work either, so this explains it. I thought maybe there was a storage map that would keep the .env file from being deleted, but now that I think about it, it couldn't do that since the app is in the same directory!!
I'll try this and get things working!
Thanks again...
Ken Williams
Retired
Williams Household E @.***
[image: LinkedIn] https://www.linkedin.com/in/kenwilliams5/ [image: Facebook] https://www.facebook.com/kenwilliams5 [image: Instagram] https://www.instagram.com/ken.v.williams/
On Mon, Nov 23, 2026 at 10:26 AM Tiziano Senes @.***> wrote:
Kyonew left a comment (Kyonew/DVinyl#238) https://github.com/Kyonew/DVinyl/issues/238#issuecomment-7110164330
Hey! Thanks for the report, and you're not doing anything wrong, the docs just aren't clear about this on Unraid ;) Inside the container, DVinyl never reads a .env file: on Unraid every setting comes from the app template. Go to Edit on the DVinyl container, click "Show more settings", paste your key in the "TMDB API Key" field and hit Apply. The Movies/TV Shows module should then turn on right away. You can also delete the .env you created inside the container, it isn't used (and it would be wiped on the next update anyway). I'll make the docs clearer about this, thanks! :D
— Reply to this email directly, view it on GitHub https://github.com/Kyonew/DVinyl/issues/238?email_source=notifications&email_token=AGLNIZUVAKRY3DJOYP2URQT52R6OHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJRGAYTMNBTGMYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-7110164330, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLNIZTRYLFNSE6AVB4MJFT52R6OHAVCNFSNUABGKJSXA33TNF2G64TZHMYTCNBRHA2TKNBSGM5US43TOVSTWNRVGE4TAMRQHAYDTILWAI . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AGLNIZW3YKRXTK72SXXLX6L52R6OHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJRGAYTMNBTGMYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AGLNIZTAYTJQPXKDXU4BTED52R6OHA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJRGAYTMNBTGMYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
Great! let me know if it works! And it's the same for every key (Rebrickable, Discogs...), they all go in that template ;)
It worked!! Thank you so much
Can I ask a question now that I have the TMDB working?
I have over 1,600 movies. Some are in box sets, like "9 of Mel Brooks' Best Films". What is the best way to put these in DVinyl? I have been creating a new movie, just as a "container" with the name "9 of ...", then adding each movie and putting the movie inside the container. Is there a better way to do this?
I've also noticed that if a movie is in more than one "container", you can add an additional movie (quantity 2), but can't put it in both containers.
I know this might be a lot of questions, but I'm just getting started and looking forward to getting my library in DVinyl. Previously, I wrote my own database to do this, but it doesn't connect to TMDB and I had to add everything manually. And I don't really want to keep up with the maintenance of my own program!!
Thanks again..
Ken Williams
Retired
Williams Household E @.***
[image: LinkedIn] https://www.linkedin.com/in/kenwilliams5/ [image: Facebook] https://www.facebook.com/kenwilliams5 [image: Instagram] https://www.instagram.com/ken.v.williams/
On Mon, Nov 23, 2026 at 10:33 AM Tiziano Senes @.***> wrote:
Kyonew left a comment (Kyonew/DVinyl#238) https://github.com/Kyonew/DVinyl/issues/238#issuecomment-7110328436
Great! let me know if it works! And it's the same for every key (Rebrickable, Discogs...), they all go in that template ;)
— Reply to this email directly, view it on GitHub https://github.com/Kyonew/DVinyl/issues/238?email_source=notifications&email_token=AGLNIZUBQLG4GAR4Q56QRDL52R7IPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJRGAZTEOBUGM3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-7110328436, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGLNIZUJENMA5ZRQARTDILL52R7IPAVCNFSNUABGKJSXA33TNF2G64TZHMYTCNBRHA2TKNBSGM5US43TOVSTWNRVGE4TAMRQHAYDTILWAI . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AGLNIZWQ33Q3EVD2NY5BXET52R7IPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJRGAZTEOBUGM3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AGLNIZSXKEYJXRLJI7UODSL52R7IPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJRGAZTEOBUGM3KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>
Great to hear it works! :D The way you're doing it is the right one: one item for the box set, then each movie "put inside" it from the box set's page. The movies leave the grid but still show up in searches. An item stands for one physical copy, so it can only sit in one box. If you own the same movie in two box sets, add it twice as two separate items (rather than quantity 2), and put each one in its box ;)