nostromos bLog | |||||
"bLog means boring-Log"
categories
* all entries (445)
* concerts (28)
* misc (120)
* techtalk (18)
* travel (241)
`-bruxelles_07 (8)
`-hongkong_09 (13)
`-iceland_10 (14)
`-ireland_16 (7)
`-newzealand_11 (5)
`-scandinavia_07 (22)
`-scandinavia_16 (17)
`-scotland_15 (11)
`-strasbourg_08 (4)
* zoo (38)
`-schoenbrunn (16)
chronology
|
Sun, 16 Nov 2014 firefox sync server (0 comments)
yay, after a very long time, a tech-talk bLog entry...
i read an article that it is now easier to set up your own firefox sync server without the need for php or other weird things i do not want on my server. so far those prerequisites kept me from running a sync server on my machine. and so i thought i want to give it a try so that i can store the passwords and bookmarks on my server and not some obscure cloud that i cannot control.
for the new sync system (starting with version 1.5) to work, one has to create a firefox account. once done, the old sync device has to be unlinked in the sync preferences tab in the firefox browser settings, and the new firefox account linked.
next step is to follow the howto provided by the mozilla organization. installation is easy and straight forward, same with nginx configuration. i chose the nginx with gunicorn way.
for testing if the setup so far is working, just browse to the location path you have just configured for nginx, and you should end up with a "it works!" site.
if so, very good, it's time to for the last step, namely to tell firefox to use the new sync server. just enter the url for the "it works!" site and add "/token/1.0/sync/1.5" to it, and set this url as values for the keys "services.sync.clusterURL" and "services.sync.tokenServerURI" in the "about:config" page.
to verify if firefox does sync (or for debugging if it did not work), there are log files in your default-profiles directory, in the subfolder "weave/logs/".
great all my passwords are now in a sqlite3 database on my own filesystem.
to have the sync server started automatically at boot time, i added the service to the monit daemon. for this i added the following configuration:
check host ffsyncserver with address 127.0.0.1
if failed
port 5000
type tcp
then exec
"/some/path/to/scripts/start_syncserver.sh"
as uid www and gid www
the "start_syncserver.sh" script then simply just starts the server. that was easy.
top [ ^ ]
Fri, 14 Nov 2014 [:sitd:] (0 comments)
^C: [:sitd:] (system84, bhambhamhara), weberknecht
dunkelziffer
purgatorium
lebensborn
firmament
kreuzgang
everlasting
redemption
code:red
revolution
laughingstock
autoaggression
rot
snuff machinery
herbsterwachen
richtfest
top [ ^ ]
|