Git Product home page Git Product logo

Comments (8)

mynttt avatar mynttt commented on May 20, 2024 2

Haha no worries! It's pretty unintuitive to run it with the environment variables. It's only like that because it makes it easier for me to maintain a docker and because there is no sane way to parse and validate command line arguments properly with Java.

from updatetool.

mynttt avatar mynttt commented on May 20, 2024

Sounds like a file permission error. How do you start the docker?

from updatetool.

MarcelCosta79 avatar MarcelCosta79 commented on May 20, 2024

Hi,

Thank you,

Just as another app without elevated privileges.

Another thing that needs mention:

  • I had to make a junction link(mklink) pointing to my PMS folder because it have spaces between names. As I could research docker desktop could not handle it.

Besides that it's everything normal.

from updatetool.

mynttt avatar mynttt commented on May 20, 2024

Hmm then it seems that docker on windows is some kind of mess. It's defenitly an issue with the application not having access to the sqlite database.

It might be easier for you to just run it as a Java application.

You'll need Java 11:

https://adoptopenjdk.net/

Then you can get the jar from the release page and create a bat script that runs it:

set OMDB_API_KEY=abcdefg
set TMDB_API_KEY=abcdefg
set PLEX_DATA_DIR=C:\User\Data\Plex Media Server

java -jar UpdateTool-xxx.jar imdb-docker

The environment variable will handle the spaces on windows. Let me know if that works!

from updatetool.

MarcelCosta79 avatar MarcelCosta79 commented on May 20, 2024

Yep. Docker Desktop is a mess.
Thank you for the tip. I'll try the Java 11.

from updatetool.

MarcelCosta79 avatar MarcelCosta79 commented on May 20, 2024

It worked ! Thank you very much !!

But I had to make a Junction link.
The Jar file was pointing to "C:\User\Data\Plex Media Server" but my PMS is installed at "C:\Users\marce\AppData\Local\Plex Media Server"

Thank you again !

from updatetool.

mynttt avatar mynttt commented on May 20, 2024

Glad it works! You can change the directory by setting PLEX_DATA_DIR to your path so you won't need a junction. I just set that as an example there.

from updatetool.

MarcelCosta79 avatar MarcelCosta79 commented on May 20, 2024

Oh, my God.
lol
I was so happy and in a hurry that iust read the 2 first lines.
I don't have to say that at first I tried to run it with the java -jar UpdateTool-xxx.jar imdb-docker
Just after the error that I got the xxx.
Thank you, again !

from updatetool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.