-
Notifications
You must be signed in to change notification settings - Fork 24
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
Errors using the updated script. #11
Comments
double [ [ in line 111
Thanks using the fix I don't get the argument error anymore but I am still receiving the other errors. Do you have any idea why its happening? I removed the 1-136 setting server from the log below to shorten it up. [Sat Jun 8 07:21:54 EDT 2019] Starting. |
try with this another fix please |
Still receiving some errors, I am using media server V 1.15.8.1198 on Ubuntu if that helps. [Sun Jun 9 08:00:49 EDT 2019] Starting. |
can you run with "--debug true" and post the result ? |
./plex-db-sync --plex-db-1 "/home/databases1/com.plexapp.plugins.library.db" --plex-start-1 "ssh [email protected] service plexmediaserver start" --plex-stop-1 "ssh [email protected] service plexmediaserver stop" --plex-db-2 "/home/database2/com.plexapp.plugins.library.db" --plex-start-2 "ssh [email protected] service plexmediaserver start" --plex-stop-2 "ssh [email protected] service plexmediaserver stop" --debug true |
which version of sqlite3 are you using ? |
sqlite3 version 3.11.0 [Tue Jun 11 06:49:23 EDT 2019] PLEXF1: /tmp/plex-db-sync/1.sql |
can you run this command please : |
This is the result of that command test "value2" BTW I really appreciate you helping me with this, do you have a donation link? |
Your welcome. Thanks to you this script will be better. |
Errors are a bit different this time :) [Sun Jun 16 05:55:51 EDT 2019] Starting. |
Anyone else seeing this? |
Your using an old version of sqlite3 (from 2016). |
OMG that worked!!! I updated to 3.22.0 and it seems to have worked perfectly, I am sorry I thought I was at the latest version I didn't realize I needed to add a new repo to get the newest version of it. BTW can you tell me exactly what command do I use to add the ignore user option? Or is there a way to sync for only 1 user? |
Did you tried --ignore-accounts "user1 user2 user3" ? |
not yet but I will try it once I get a chance, I am now getting a plex database not equal error and am not sure how to fix it. Both plex servers are running the same version but I am still getting the error. version db1: 20190316132700 db2: 20190528190600 |
Are you sure about running the same version on these plex servers ? maybe you tried a new beta in one of them then revert ? You can use option --nocomparedb "true" to ignore this verification. |
to fix this I had to install one of the servers at a lower version that I had the other server at then upgrade it again to the current version which the other server was at. I think it was because one of the servers skipped an update. |
good to know |
Need to set this to closed. |
Using the newly updated script I am getting the following errors:
/root/plex-db-sync: line 111: [: too many arguments
[Fri Jun 7 07:13:18 EDT 2019] Stopping Plex on Server 1... Done
[Fri Jun 7 07:13:20 EDT 2019] Stopping Plex on Server 2... Done
[Fri Jun 7 07:13:33 EDT 2019] Checking for changes... Found
Error: near line 1: table "metadata_item_settings" already exists
Error: near line 1: table "metadata_items" already exists
Error: near line 1: table "taggings" already exists
Error: near line 1: table "tags" already exists
Error: near line 1: no such table: tmpdb.metadata_item_settings1
Error: near line 1: no such table: tmpdb.metadata_item_settings2
[Fri Jun 7 07:13:35 EDT 2019] Processing tags...
Error: no such table: taggings1
Error: no such table: taggings1
Error: no such table: taggings2
Error: no such table: taggings2
[Fri Jun 7 07:13:35 EDT 2019] Processing for (0)...
[Fri Jun 7 07:13:35 EDT 2019] - Checking records that are in both databases
Error: no such table: metadata_item_settings1
The text was updated successfully, but these errors were encountered: