dairon
Posts: 28
Joined: Sat Dec 15, 2012 12:17 pm

Firefox Sync Server on Raspberry

Mon Jun 17, 2013 5:39 pm

Hi guys,

I'm working to get the firefox sync server running called FSyncMS (https://github.com/balu-/FSyncMS).
I downloaded the file, opened the setup.php and chose sqlite. settings.php and weave_db were created successfully. I adapted the path to the index.php file in the settings.php and saved it. After chosing sqlite as database program it did not ask me any name or credentials for the database. I don't know if this was ok?!

The tutorials say after the setup.php was finished you can try to connect to the sync server but it tells me every time that I need to insert a valid URL?! I used the following: http://<IP>/fsync/index.php/
They say you need to end it with a '/', but still it says i should enter a valid URL... Working on it since two days, even though this is an easy tool to install i struggle hard..

Hope someone did this before and can help me to solve this. Ask me if you need any further information.

Cheers,
dai

dairon
Posts: 28
Joined: Sat Dec 15, 2012 12:17 pm

Re: Firefox Sync Server on Raspberry

Mon Jun 17, 2013 6:21 pm

While accessing the server via the firefox sync feature in the browser I get the following log on the raspberry:

2013/06/17 20:08:50 [error] 3110#0: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: <IP>, server: localhost, request: "GET /fsync/user/1.0/a HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "<IP>"

Maybe this tool does not work anymore, don't even know how to debug that stuff..

fradeve
Posts: 2
Joined: Thu May 16, 2013 3:14 pm

Re: Firefox Sync Server on Raspberry

Fri Jun 21, 2013 10:11 pm

Struggling today on the same topic!

I didn't know FSyncMS, but it seems (and it is) a clone of the old PHP Sync software developed by Toby Elliot [1]. Since FF Sync (also called Weave) has been completely rewritten using a Python server, Elliot's version is not functional anymore. It has been replaced by what seems a fork by a German guy, who called it FSyncMS.

So, FSyncMS is the right way to go. There are others updated projects as Weave-minimal [2]: tried it today but I'm unable to get it work on my RPi (it seems a lighttpd issue).

I've setup FSyncMS using this [3] guide. It is now on my RPi and works like a charm.

The funniest thing: in a first time I was thinking it was not working (oh, no, another 30 minutes wasted). So, after the 10th time I was writing down login data to Firefox Sync window (and the "next" button was greyed out), I gave up and take a coffee. Returned to PC 10 minutes later, the "Next" button was available, so I pressed "Next" and, (wow), FSyncMS synced my Firefox data to my RPi!

Tips:
  • follow the instructions in the post

    when it comes to write login data to Firefox Sync window, be patient: in a first time the "url" error will be issued under the "Custom server" field; wait 10 minutes; probably Firefox will show the classic window it uses to ask if the sync process should be killed (it seems hanged up), select "continue"; after some minutes, the "Next" button will be selectable and sync will start

    about:sync-log actually shows only errors, but sync works, so it is not useful here

At least, this is my experience,
hope it'll help ;)

[1] https://tobyelliott.wordpress.com/2011/ ... al-server/
[2] https://github.com/posativ/weave-minimal
[3] http://avih.github.io/blog/2013/05/31/p ... in-5-mins/

andPS2
Posts: 17
Joined: Wed Apr 03, 2013 1:37 pm

Re: Firefox Sync Server on Raspberry

Tue Aug 27, 2013 9:19 am

which webserver did u use - apache (heavy) , cherokee (medium) or nginx (superfast) ?

dairon
Posts: 28
Joined: Sat Dec 15, 2012 12:17 pm

Re: Firefox Sync Server on Raspberry

Wed Oct 02, 2013 10:28 am

hey guys,

thanks for the answers. I got it to work some time ago with exchanging nginx with apache... it's heavier but it worked instantly :)

cheers,
dai

jnihil
Posts: 37
Joined: Sat Dec 29, 2012 12:29 pm

Re: Firefox Sync Server on Raspberry

Sun Feb 09, 2014 2:50 am

Following the instrauctions at the link below worked just fine for me:
http://docs.services.mozilla.com/howtos/run-sync.html

Return to “General discussion”