Blogheim.at Logo
nostromos bLog






* all entries (445)
* concerts (28)
* misc (120)
* techtalk (18)
* travel (241)
  `-bruxelles_07 (8)
  `-canada_14 (22)
  `-hongkong_09 (13)
  `-iceland_10 (14)
  `-ireland_16 (7)
  `-japan_13 (22)
  `-paris_06 (1)
  `-poland_10 (3)
  `-russia_10 (12)
  `-scotland_15 (11)
  `-sweden_09 (10)
  `-taiwan_12 (22)
  `-tokyo_08 (14)
  `-usa_09 (10)
* zoo (38)
  `-abroad (8)
  `-linz (3)
  `-misc (11)
  `-schoenbrunn (16)


08(01), 07(03), 06(03), 05(02), 04(02), 03(02)
12(02), 11(01), 10(08), 09(03), 07(17), 06(01), 05(04), 04(03), 03(02), 02(02), 01(06)
12(05), 11(02), 10(01), 09(01), 08(02), 07(04), 06(01), 05(02), 04(03), 03(02), 02(02), 01(01)
12(01), 11(02), 09(09), 08(16), 07(02), 06(03), 05(04), 04(03), 02(03), 01(02)
12(03), 11(01), 10(02), 09(01), 08(23), 07(03), 06(02), 05(01), 04(02), 03(02)
12(03), 11(02), 10(01), 09(01), 08(23), 05(02)
09(04), 08(01), 06(01), 05(02), 04(02), 03(01), 02(01)
11(01), 10(02), 09(15), 08(01), 07(02), 06(04), 04(12), 01(06)
12(05), 11(01), 10(06), 09(12), 08(02), 07(02), 06(01), 05(01), 04(10), 02(01), 01(05)
12(02), 08(01), 07(15), 06(02), 05(03), 02(02), 01(03)
12(05), 11(01), 07(24), 06(06), 05(03), 04(02), 01(01)
12(01), 11(01), 10(07), 09(01), 08(04), 07(05), 06(04), 05(06), 04(01), 03(04), 02(06), 01(04)
12(04), 11(02), 10(03), 09(04), 08(03), 07(04), 04(01)
07(01), 05(01)
08(01)
10(01)

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 [
^
]

[ prev | index | next ]