Forcing a sync still does not sync

Anything to do with the Pale Moon Sync service.

Moderator: satrow

User avatar
troypulk
Fanatic
Fanatic
Posts: 239
Joined: 2014-09-19, 23:53
Location: Washington State, USA

Forcing a sync still does not sync

Unread post by troypulk » 2018-05-19, 19:47

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
SolydX EE (64-bit) Xfce 4.12

Pale Moon 28.2.0a1 (64-bit) (2018-11-07)

User avatar
troypulk
Fanatic
Fanatic
Posts: 239
Joined: 2014-09-19, 23:53
Location: Washington State, USA

Re: Forcing a sync still does not sync

Unread post by troypulk » 2018-05-22, 02:39

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
SolydX EE (64-bit) Xfce 4.12

Pale Moon 28.2.0a1 (64-bit) (2018-11-07)

yami_
Astronaut
Astronaut
Posts: 505
Joined: 2018-04-26, 11:05

Re: Forcing a sync still does not sync

Unread post by yami_ » 2018-05-22, 10:46

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>
Last edited by yami_ on 2018-05-22, 14:28, edited 1 time in total.

User avatar
troypulk
Fanatic
Fanatic
Posts: 239
Joined: 2014-09-19, 23:53
Location: Washington State, USA

Re: Forcing a sync still does not sync

Unread post by troypulk » 2018-05-22, 16:50

Thanks I'll try these tonight after work.

Are these updates done on my PC or Phone?

Thanks
SolydX EE (64-bit) Xfce 4.12

Pale Moon 28.2.0a1 (64-bit) (2018-11-07)

yami_
Astronaut
Astronaut
Posts: 505
Joined: 2018-04-26, 11:05

Re: Forcing a sync still does not sync

Unread post by yami_ » 2018-05-22, 17:57

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.
cat came back from Berkeley waving flags -- rob pike

User avatar
troypulk
Fanatic
Fanatic
Posts: 239
Joined: 2014-09-19, 23:53
Location: Washington State, USA

Re: Forcing a sync still does not sync

Unread post by troypulk » 2018-05-23, 02:30

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.
SolydX EE (64-bit) Xfce 4.12

Pale Moon 28.2.0a1 (64-bit) (2018-11-07)

yami_
Astronaut
Astronaut
Posts: 505
Joined: 2018-04-26, 11:05

Re: Forcing a sync still does not sync

Unread post by yami_ » 2018-05-23, 07:35

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.
cat came back from Berkeley waving flags -- rob pike

User avatar
troypulk
Fanatic
Fanatic
Posts: 239
Joined: 2014-09-19, 23:53
Location: Washington State, USA

Re: Forcing a sync still does not sync

Unread post by troypulk » 2018-05-23, 15:25

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.
SolydX EE (64-bit) Xfce 4.12

Pale Moon 28.2.0a1 (64-bit) (2018-11-07)

yami_
Astronaut
Astronaut
Posts: 505
Joined: 2018-04-26, 11:05

Re: Forcing a sync still does not sync

Unread post by yami_ » 2018-05-23, 15:42

Good luck then.
cat came back from Berkeley waving flags -- rob pike

User avatar
troypulk
Fanatic
Fanatic
Posts: 239
Joined: 2014-09-19, 23:53
Location: Washington State, USA

Re: Forcing a sync still does not sync

Unread post by troypulk » 2018-05-24, 00:34

It sync's now, I just disconnected and reconnected the sync.
SolydX EE (64-bit) Xfce 4.12

Pale Moon 28.2.0a1 (64-bit) (2018-11-07)

yami_
Astronaut
Astronaut
Posts: 505
Joined: 2018-04-26, 11:05

Re: Forcing a sync still does not sync

Unread post by yami_ » 2018-05-24, 10:34

Good to know that this approach worked.
cat came back from Berkeley waving flags -- rob pike

Locked