Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make compatible with Ombi Automatic Updater #1

Open
tidusjar opened this issue Oct 27, 2017 · 2 comments
Open

Make compatible with Ombi Automatic Updater #1

tidusjar opened this issue Oct 27, 2017 · 2 comments
Assignees

Comments

@tidusjar
Copy link

tidusjar commented Oct 27, 2017

We have the option in ombi to specify a custom script to update ombi. See wiki entry here: https://github.com/tidusjar/Ombi/wiki/Update-Settings

This script would get executed everytime ombi detects there is a new update.

@kyse
Copy link

kyse commented Nov 2, 2017

Was messing around with this and ran into a couple problems with that thought.

The update script gets run under the Ombi.service in sytemd so when the update script wants to stop the service, the update script gets killed as well.

Will play around some more with it, to get a working solution and submit a PR if I have time.

Edited by Unimatrix0: Removed comments unrelated to this issue.

@Unimatrix0 Unimatrix0 self-assigned this Nov 14, 2017
@didyouexpectthat
Copy link
Contributor

didyouexpectthat commented Feb 9, 2018

I notice Ombi shows which package to use and sets all these variables but update_ombi doesn't use the same flags.

Feb 09 09:23:57 plexrequests Ombi[16811]: Starting /opt/update_ombi/update_ombi.sh https://ci.appveyor.com/api/buildjobs/284p86h9n64cakim/artifacts/linux.tar.gz --applicationPath "/opt/ombi" --processname "Ombi" --startupArgs http://*:5001
Feb 09 09:23:57 plexrequests Ombi[16811]: dbug: Ombi.Schedule.Jobs.Ombi.OmbiAutomaticUpdater[6000]
Feb 09 09:23:57 plexrequests Ombi[16811]: Script started
Feb 09 09:23:57 plexrequests  Ombi[16811]: dbug: Ombi.Helpers.ProcessProvider[0]
Feb 09 09:23:57 plexrequests  Ombi[16811]: ****************************
Feb 09 09:23:57 plexrequests  Ombi[16811]: dbug: Ombi.Helpers.ProcessProvider[0]
Feb 09 09:23:57 plexrequests  Ombi[16811]: * Error: Invalid argument. *
Feb 09 09:23:57 plexrequests  Ombi[16811]: dbug: Ombi.Helpers.ProcessProvider[0]
Feb 09 09:23:57 plexrequests  Ombi[16811]: ****************************

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants