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

Database error #118

Open
rayk32 opened this issue Feb 2, 2016 · 0 comments
Open

Database error #118

rayk32 opened this issue Feb 2, 2016 · 0 comments

Comments

@rayk32
Copy link

rayk32 commented Feb 2, 2016

Everything seems to be working correctly, but I'm getting this error when I run ./plexWatch.pl from the command line. I'm running Ubuntu.

DBD::SQLite::st execute failed: attempt to write a readonly database at ./plexWatch.pl line 1093.
DBD::SQLite::st execute failed: attempt to write a readonly database at ./plexWatch.pl line 1094.
Unable to execute query: DBI::db=HASH(0x2537210)->errstr

line 1093: $delete->execute;
line 1094: $insert->execute($version,$json_s,$json_p,$ref_blob) or die("Unable to execute query: $dbh->errstr\n");

I'm guessing the database the errors are referring to is as follows. That database resides in the same directory as plexWatch.pl. /opt/plexWatch

-rw-r--r-- 1 www-data www-data 199680 Feb 2 07:36 plexWatch.db

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

1 participant