But is there a reason to not ship it with Plex? Doesn’t take up much space. And if anyone ask for help with any database issues you’ll know they have this already installed to point them to run.
Would It be possible to add an option for clearing out any DVR and Tuners? Think one of the tuners may have caused an issue where one of my libraries won’t load the recommended page any more. For now going to try fixing it manually from Clear all DVR settings and start again Windows Plex Server - #2 by OttoKerner
By definition of REs (Regular Expressions), the semicolon in s/COMMIT\;/ will be taken literally.
You’ve not shown me where the command line reports the error.
Can you, using the command line, replicate the RE errors your tool output showed ?
I can’t replicate it here.
The second example will, by definition avoid the problem
This is where it’s occurring but there should be TWO of them.
# Edit the .SQL files if all OK
if [ $Fail -eq 0 ]; then
# Edit
sed -i -e 's/ROLLBACK;/COMMIT;/' "$TMPDIR/library.plexapp.sql-$TimeStamp"
sed -i -e 's/ROLLBACK;/COMMIT;/' "$TMPDIR/blobs.plexapp.sql-$TimeStamp"
fi