GithubHelp home page GithubHelp logo

Comments (6)

mrworf avatar mrworf commented on June 20, 2024

Could it be you're running this using sudo? If so, ~ will refer to root's account, not your logged in account. Please try with an absolute path instead if using sudo.

from plexupdate.

blackley avatar blackley commented on June 20, 2024

I have tried both sudo and as user and have put both full path and ~. Also i have been doing further testing and find that if i don't use the .plexupdate file and add the details to the script it works fine, however if using the .plexupdate file it fails everytime.

from plexupdate.

mrworf avatar mrworf commented on June 20, 2024

Interesting, I'll have a look at it. Thanks

from plexupdate.

blackley avatar blackley commented on June 20, 2024

Some further investigation - If i add the details for additional advanced settings to the .plexupdate file then the download folder setting fail, however if i only have the email, password and download folder - then it appears to accept the download folder, however fails authentication. If i don't use the .plexupdate file and put all the settings in the script - it works fine.

I would prefer to use the .plexupdate file so i can use autoupdate feature and put this into a cron job :-)

from plexupdate.

mrworf avatar mrworf commented on June 20, 2024

That sounds really odd to me. This is what I have in my .plexupdate

EMAIL=<my email>
PASS="<something secret>"
DOWNLOADDIR="~/"
#AUTOINSTALL=yes
KEEP=yes

And it works...

Check the following on your side:

  1. Make sure EMAIL, PASS and DOWNLOADDIR values are enclosed with quotes
  2. Doublecheck so your .plexupdate isn't in DOS format

An easy way to check for DOS format is:
grep "$(echo -e "\r\n")" .plexupdate

If it prints out all the lines, then your file is in DOS format which will not play nice with bash.

from plexupdate.

blackley avatar blackley commented on June 20, 2024

Thanks for the information - this issue is now resolved.

from plexupdate.

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.