Package Details: firefox-sync 20180623-1

Git Clone URL: https://aur.archlinux.org/firefox-sync.git (read-only)
Package Base: firefox-sync
Description: Speed up Firefox using tmpfs
Upstream URL: http://wiki.archlinux.org/index.php/Speed-up_Firefox_using_tmpfs
Licenses: GPL
Submitter: xrchz
Maintainer: quequotion
Last Packager: quequotion
Votes: 26
Popularity: 0.965597
First Submitted: 2010-10-07 19:38
Last Updated: 2018-06-22 17:45

Latest Comments

1 2 3 Next › Last »

Piero commented on 2019-06-03 14:43

Solved.

I don't have firefox-sync.service, mostly because this is also a server and I access it via ssh, so I used .bash_profile

I added ~/.local/bin/firefox-sync script to .bash_profile but I forgot the $1 parameter.

So when starting firefox-sync from .bash_profile it should look like this:

~/.bash_profile

[[ -f ~/.bashrc ]] && . ~/.bashrc

~/.local/bin/firefox-sync randomaplhanumerics.default

When using .bash_profile, remember to do the same in .bash_logout

That's all, but I didn't immediately realize this when installing by following the wiki page https://wiki.archlinux.org/index.php/Firefox/Profile_on_RAM

Thank you all,

Piero

finoderi commented on 2019-05-06 23:10

You can just open firefox-sync.service file and add whateveryouprofilename.default to ExecStart= and ExecStop= It should look something like this:
[Unit]
Description=Firefox profile memory cache

[Install]
WantedBy=default.target

[Service]
ExecStart=/usr/bin/firefox_rsync/firefox-sync whateveryourprofilename.default %i
ExecStop=/usr/bin/firefox_rsync/firefox-sync whateveryourprofilename.default %i
Type=oneshot
RemainAfterExit=yes

quequotion commented on 2019-04-20 12:17

@Piero

Looks like LINK is not set. You should also get a message about that. It needs to be the name of your firefox profile (not the whole path, just the folder name).

You can set it in the firefox-sync script, on line 3:

LINK=randomaplhanumerics.default

It's a little more involved, but you could alternatively override firefox-sync.service, and specify it on the command line:

ExecStart=/usr/bin/firefox-sync -p randomaplhanumerics.default 
ExecStop=/usr/bin/firefox-sync -p randomaplhanumerics.default

Note, using a service override will ensure the setting can't be unset by upgrades of this package--not that there are likely to be any.

Piero commented on 2019-04-20 08:17

At login via ssh it shows:

readlink: missing operand Try 'readlink --help' for more information. mv: missing destination file operand after 'static-' Try 'mv --help' for more information.

Any hint? Thanks Piero

quequotion commented on 2019-03-08 22:43

@pelle Are you still having that problem? I was never able to reproduce it.

pelle commented on 2018-09-16 19:32

Hi guys,

since the last update i get following error:


ERROR:syncstorage.views:Could not append to batch("1537125484221") Sep 16 21:18:04 vvv uwsgi[31089]: ERROR:syncstorage.views:(pymysql.err.InternalError) (1054, u"Unknown column 'userid' in 'field list'") [SQL: u'/ [queryName=UPSERT_batch_upload_items] / INSERT INTO batch_upload_items (ttl_offset,payload_size,userid,batch,id,payload) VALUES (%(ttl_offset0)s,%(payload_size0)s,%(userid0)s,%(batch0)s,%(id0)s,%(payload0)s) ON DUPLICATE KEY UPDATE ttl_offset = VALUES(ttl_offset),payload_size = VALUES(payload_size),userid = VALUES(userid),batch = VALUES(batch),id = VALUES(id),payload = VALUES(payload)'] ...


Every time my firefox try to sync the error appear.

I think there is a mistake in the where clause. The column userid does not exist in the table batch_upload_items. In the table only exists the columns batch,id,sortindex,payload,payload_size,ttl_offset.

What i have to do to fix the problem?

quequotion commented on 2018-06-22 17:54

midgard Added! Sorry I never noticed it.

Also fixed in epiphany-pantheon-bzr's epiphany-sync!

midgard commented on 2018-06-20 09:09

On firefox-sync:26, "r" is not in getopts's argument, so the -r option cannot be activated.

quequotion commented on 2018-03-30 18:03

This package installs a simplified version of the advice on the Wiki. It is suited to a user with a single profile. The systemd service will sync your profile at login and logout.

After installing this package, enable the service:

systemctl --user daemon-reload

systemctl --user enable firefox-sync

systemctl --user start firefox-sync

xrchz commented on 2017-12-04 11:54

You can edit the PKGBUILD yourself by adopting the package.