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

Permission denied at /opt/plexWatch/plexWatch.pl line 888 #107

Open
CraigLowe1993 opened this issue Sep 21, 2015 · 2 comments
Open

Permission denied at /opt/plexWatch/plexWatch.pl line 888 #107

CraigLowe1993 opened this issue Sep 21, 2015 · 2 comments

Comments

@CraigLowe1993
Copy link

I have the cron set to the following:

  • * * * * root /opt/plexWatch/plexWatch.pl
    */15 * * * * root /opt/plexWatch/plexWatch.pl --recently_added=movie,tv

I get an intermittent error in my mail with the error below:

Permission denied at /opt/plexWatch/plexWatch.pl line 888

PlexWatch still runs fine but after a couple of days I may have hundreds of messages telling me about the issue.

Thank you,
Craig.

@Arcanemagus
Copy link
Contributor

I'm not sure how root would be denied permission, but that line is where it tries to write to the file log target. Maybe check that the file exists?

@CraigLowe1993
Copy link
Author

I think the file is locked when the error occurs, the file exists and permissions obviously aren't an issue.

I know a workaround for this and will put up the fix tomorrow once I get chance to edit the code.

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

No branches or pull requests

2 participants