Page 1 of 1

Forcing a sync still does not sync

Posted: 2018-05-19, 19:47
by troypulk
I made sure that services.sync.clusterURL preference is set to https://pmsync.palemoon.org/sync/index.php/ and all the other web addresses in about:config services.sync have the .org in the name, I didn't change anything everything looked normal.

Everything appears to work I get no error's, forcing a sync on my phone and PC appears to work but my phone hasn't been updated in I'm thinking about 2 weeks.

Are there any other settings I can check to make sure it's working properly?

Thanks

Re: Forcing a sync still does not sync

Posted: 2018-05-22, 02:39
by troypulk
So no one has any idea's as to why my phone and PC will not sync?

Should delete my setup and start over?

Thanks

Re: Forcing a sync still does not sync

Posted: 2018-05-22, 10:46
by yami_
If you use PM4A you should also update this file:

Code: Select all

/data/data/org.palemoon.android/shared_prefs/sync.prefs.org!palemoon!android.*.default.1.xml
You will need to replace

Code: Select all

<string name="clusterURL">https://pmsync.palemoon.net/sync/index.php/</string>
with

Code: Select all

<string name="clusterURL">https://pmsync.palemoon.org/sync/index.php/</string>
That fixed Sync for me.
Off-topic:
Note that you can also change Sync's client name by modifying this line:

Code: Select all

<string name="account.clientName">device's name</string>

Re: Forcing a sync still does not sync

Posted: 2018-05-22, 16:50
by troypulk
Thanks I'll try these tonight after work.

Are these updates done on my PC or Phone?

Thanks

Re: Forcing a sync still does not sync

Posted: 2018-05-22, 17:57
by yami_
troypulk wrote:Are these updates done on my PC or Phone?
You need to do them on the phone. On PC you would only need to change services.sync.clusterURL about:config entry and you already did that. I forgot to clarify this, sorry.
Off-topic:
If you are wondering why PM4A keeps the clusterURL (and other Sync-related data) in separate file:
On Android your profile isn't synchronized by Pale Moon itself, there is a separate program for that. This program is regularly started by a cron-like scheduler. This ensures that your profile will be synchronized even if Pale Moon is not running. The problem is that the synchronization program can't access Pale Moon's prefs.js config file that would normally store Sync's configuration data. Storing Sync related data in more easily accessible location solves this problem.
Note: This section is based on my own observations. I may be wrong.

Re: Forcing a sync still does not sync

Posted: 2018-05-23, 02:30
by troypulk
yami_ wrote:If you use PM4A you should also update this file:

Code: Select all

/data/data/org.palemoon.android/shared_prefs/sync.prefs.org!palemoon!android.*.default.1.xml
Update this file to what?

It will not take the * in the file name.

Re: Forcing a sync still does not sync

Posted: 2018-05-23, 07:35
by yami_
troypulk wrote:It will not take the * in the file name.
The name of this file is partially randomized. Between sync.prefs.org!palemoon!android. and .default.1.xml there is a random piece of text (the star was meant as an indication of this). Because of that, I can't give you the exact file name, you must find it yourself.
troypulk wrote:Update this file to what?
When you found this file, open it in a text editor. Then find this line:
yami_ wrote:

Code: Select all

<string name="clusterURL">https://pmsync.palemoon.net/sync/index.php/</string>
and replace it with this line:
yami_ wrote:

Code: Select all

<string name="clusterURL">https://pmsync.palemoon.org/sync/index.php/</string>
Then save, and close the editor.

Re: Forcing a sync still does not sync

Posted: 2018-05-23, 15:25
by troypulk
Thanks,

I've changed this already:
<string name="clusterURL">https://pmsync.palemoon.net/sync/index.php/</string>

/data/data/org.palemoon.android/shared_prefs/sync.prefs.org!palemoon!android.*.default.1.xml

Already had a number in there, I'm guessing it's the right number.

Either way thanks for your help, the phone and PC still do not sync I think I will have to disconnect it and start over with a new connection.

Re: Forcing a sync still does not sync

Posted: 2018-05-23, 15:42
by yami_
Good luck then.

Re: Forcing a sync still does not sync

Posted: 2018-05-24, 00:34
by troypulk
It sync's now, I just disconnected and reconnected the sync.

Re: Forcing a sync still does not sync

Posted: 2018-05-24, 10:34
by yami_
Good to know that this approach worked.