Firefox with Profile-sync-daemon creates duplicate cache directory

I've set up the Profile-sync-daemon https://wiki.archlinux.org/index.php/Pr … ync-daemon (mainly to ease on my old SSD) and it works fine but Firefox keeps creating entries in
/home/<username>/.cache/mozilla/firefox/<myprofilename>
It contains 3 directories
/safebrowsing
/startupCache
/thumbnails
Since I set up psd I've been using
browser.cache.disk.parent_directory : /home/<myusername>/.mozilla/firefox/<myprofilename>
What can I do to address this issue? What I tried:
1. browser.cache.use_new_backend 0 (restore to default)
Last edited by bbarcher (2014-04-05 18:51:05)

gedgon wrote:
1. use your user account
2.
$mkdir ~/.mozilla/firefox/<profilename>/0CachesSymlinked
Same result as in post #7.
Apparently I suck at symlinking. I wouldn't want to waste anybody's time. I'll revisit the topic once I learn the basics of symlinking. I'll use ASD in the meantime.
EDIT:
OK, I got it now. The problem was that at the time I issued
ln -s /home/<username>/.mozilla/firefox/<profilename>/0CachesSymlinked /home/<username>/.cache/mozilla/firefox/<profilename>
the
/home/<username>/.cache/mozilla/firefox/<profilename>
already existed (I left it out, don't ask)
Since I'm a symlinking savvy I'm going to symlink my ~/Downloads to my external drive
graysky wrote:@OP - Yes, since v21 of firefox, it uses ~/.cache for the caching just like chromium.  The simple solution is to mount ~/.cache as tmpfs in your fstab.  I documented this is psd's man page.  Here is a link describing how to do it.
I'd rather preserve contents of ~/.cache between reboots. Especially because it holds nautilus thumbnails. I'd rather keep my Firefox cache as well.
Last edited by bbarcher (2014-04-06 18:09:52)

Similar Messages

  • Profile-sync-daemon and slow boot

    Hi, I write here cause i'm facing a problem with the profile-sync-daemon, that is loaded on boot by systemd.
    Some days ago it started slowing down my system boot: I have silent mode enabled and appears a text line showing "A job is start is running" related to psd that take 8-9 seconds.
    What can be the cause? Some days ago I started syncing my favorites, history and bookmarks on Google Account (I use Chrome in tablet and phone and Chromium on computer), can this issue be related with it?
    Thanks in advance.

    $ psd p
    Profile-sync-daemon v5.45.1 on Arch Linux.
    Systemd service is currently active.
    Systemd resync service is currently active.
    Psd will manage the following per /etc/psd.conf settings:
    browser/psname: chromium/chromium
    owner/group id: mons/100
    sync target: /home/mons/.config/chromium
    tmpfs dir: /tmp/mons-chromium
    profile size: 105M
    $ systemd-analyze blame| grep psd
    10.340s psd.service
    403ms psd-resync.service

  • Profile-sync-daemon failing to write in /tmp

    Hello,
    trying to get psd working, after starting it (systemctl start psd.service), it fail writing in /tmp, wich is 777 writable.
    the log look like thet :
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: chown: groupe incorrect: « mathieu:UNKNOWN »
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync: mkdir "/home/mathieu/.config/chromium" failed: File exists (17)
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync error: error in file IO (code 11) at main.c(587) [Receiver=3.0.9]
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync: connection unexpectedly closed (9 bytes received so far) [sender]
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: touch: impossible de faire un touch « /home/mathieu/.config/chromium/.flagged »: Aucun fichier ou dossier de ce type
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: install: groupe « UNKNOWN » incorrect
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: chown: groupe incorrect: « mathieu:UNKNOWN »
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync: mkdir "/home/mathieu/.mozilla/firefox" failed: File exists (17)
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync error: error in file IO (code 11) at main.c(587) [Receiver=3.0.9]
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync: connection unexpectedly closed (9 bytes received so far) [sender]
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
    Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: touch: impossible de faire un touch « /home/mathieu/.mozilla/firefox/.flagged »: Aucun fichier ou dossier de ce type
    can somebody help, please ?

    WonderWoofy wrote:
    When I do
    $ getent passwd $user
    it returns nothing.  I think you were looking for $USER, so I am not sure if that was a typo or not...
    Not a typo... it was from /usr/bin/profile-sync-daemon wherein that variable is defined by the user in /etc/psd.conf -- in retrospect it was confusing to post
    Anyway, I haven't seen a group as numerical before...
    Last edited by graysky (2012-11-01 00:32:27)

  • Request for community help: profile-sync-daemon feature

    Guys - I am attempting to modify profile-sync-daemon so that it parses out a user's $HOME/.mozilla/firefox/profile.ini and then syncs the corresponding profiles therein rather than simply syncing the entire $HOME/.mozilla/firefox directory.  I have taken a stab at it which you can find in the latest commit in the unstable branch on github:  https://github.com/graysky2/profile-syn … e/unstable
    I'd like to ask for assistance.  As you can see, the modified version does indeed parse out each user's $HOME/.mozilla/firefox/profile.ini into an array.  What I can't seem to wrap my mind around is how to get the entire array to get passed down to the subsequent functions should it contain more than one element.  For files that contain more than one, only the last one is passed.
    Input is welcomed and thanks in advance.
    Last edited by graysky (2012-11-26 20:43:30)

    Thanks for the help and suggestions, all.
    @aesiris - I checked out your code but found that it did not handle multiple profiles correctly.  I didn't spend too much time on it since I already invested in the array solution proposed by alain.
    I just now pushed a healthy beta to the unstable branch based on your both of your suggestions (from this thread and from private email).  I have ALL supported browsers installed on my workstation and have been testing for the past 1/2 hour.  I do not see any problems.  I need a break
    Anyway, please test it, bang away on it, let me know what is wrong.
    Note - STOP YOUR EXISTING psd FIRST.
    1) sudo systemctl stop psd.service
    2) Copy the unstable code from github to your /usr/bin and `sudo chmod +x /usr/bin/profile-sync-daemon`
    3) Start the daemon again
    EDIT:
    % profile-sync-daemon debug
    ::DEBUG MODE::
    profile-sync-daemon version: 5.01
    settings in /etc/psd.conf will make profile-sync-daemon manage the following browers/user combos when invoked:
    browser:psname chromium:chromium
    owner/group: facade:users
    sync target: /home/facade/.config/chromium
    backup target: /home/facade/.config/chromium-backup
    tmpfs dir: /tmp/facade-chromium
    browser:psname conkeror.mozdev.org:xulrunner
    owner/group: facade:users
    sync target: /home/facade/.conkeror.mozdev.org
    backup target: /home/facade/.conkeror.mozdev.org-backup
    tmpfs dir: /tmp/facade-conkeror.mozdev.org
    browser:psname firefox:firefox
    owner/group: facade:users
    sync target: /home/facade/.mozilla/firefox/zzvngsqc.default
    backup target: /home/facade/.mozilla/firefox/zzvngsqc.default-backup
    tmpfs dir: /tmp/facade-firefox-zzvngsqc.default
    browser:psname firefox:firefox
    owner/group: facade:users
    sync target: /mnt/profiles/djj43fbr.943
    backup target: /mnt/profiles/djj43fbr.943-backup
    tmpfs dir: /tmp/facade-firefox-djj43fbr.943
    browser:psname google-chrome:chrome
    owner/group: facade:users
    sync target: /home/facade/.config/google-chrome
    backup target: /home/facade/.config/google-chrome-backup
    tmpfs dir: /tmp/facade-google-chrome
    browser:psname heftig-aurora:aurora
    owner/group: facade:users
    sync target: /home/facade/.mozilla/aurora/imxbinbc.default
    backup target: /home/facade/.mozilla/aurora/imxbinbc.default-backup
    tmpfs dir: /tmp/facade-heftig-aurora-imxbinbc.default
    browser:psname heftig-aurora:aurora
    owner/group: facade:users
    sync target: /mnt/profiles/poza1kl4.dv2
    backup target: /mnt/profiles/poza1kl4.dv2-backup
    tmpfs dir: /tmp/facade-heftig-aurora-poza1kl4.dv2
    browser:psname midori:midori
    owner/group: facade:users
    sync target: /home/facade/.config/midori
    backup target: /home/facade/.config/midori-backup
    tmpfs dir: /tmp/facade-midori
    browser:psname opera:opera
    owner/group: facade:users
    sync target: /home/facade/.opera
    backup target: /home/facade/.opera-backup
    tmpfs dir: /tmp/facade-opera
    browser:psname opera-next:opera-next
    owner/group: facade:users
    sync target: /home/facade/.opera-next
    backup target: /home/facade/.opera-next-backup
    tmpfs dir: /tmp/facade-opera-next
    browser:psname qupzilla:qupzilla
    owner/group: facade:users
    sync target: /home/facade/.qupzilla
    backup target: /home/facade/.qupzilla-backup
    tmpfs dir: /tmp/facade-qupzilla
    Last edited by graysky (2012-11-27 21:28:05)

  • Syncing ical creates duplicates

    How do I stop creating duplicates when I sync iCal or Contacts to my iPad? I'm using Mountain Lion and iOS on iPad is up-to-date.

    Usually that happens because you're syncing both with iCloud or another CalDAV server and with iTunes. Choose one or the other.

  • Does uploading iPhoto libraries from multiple Macs with the same photos create duplicates in the new Photos app?

    I have 4 Macs and I had the same iPhoto library on each of them. When I chose to turn on the iCloud Photo Library on each of them, each Mac, each one of them uploaded the library to iCloud Photo Library.. Now it appears that I have many duplicates in the new Library. Is it adding each of the 4 libraries to the mix? It's a real problem as I have 25,000 pictures - 70GB in my library. So paused the upload on 2 of the Macs about half way through in case it is creating duplicates, until I get some answers. Any help would sure be appreciated.

    I'm in the same boat as well. I'm doing one mac at a time and seeing how it works. Howev the upload is so slow, who knows when it will be done.

  • Firefox doesn't open with profile even after creating a profile through Profile Manager.

    I created a profile of Firefox yesterday using Profile Manager. And placed it in a virtual encrypted drive created by TrueCrypt. But Firefox didn't open with the profile. Instead it opened in default setting that Firefox usually gets when newly installed. I tried to select the profile through Profile Manager and open Firefox but to no avail. Even tried placing the profile in the Profile folder in Firefox pathway in AppData. Still same thing. At last reset Firefox and the profile was deleted. Now I'm with newly default setting. Luckily I had saved my bookmarks from Bookmark Manager.
    I just wanted to save a profile so that only I can only access my profile and any other person would just had to use default setting. Also to restore my settings in case I install a fresh Firefox or reset Firefox to solve a problem.
    Please help me fulfill my wants as stated above and why did it not work yesterday with the Profile Manager?

    Hello ams963, i think the problem is with TrueCrypt because it is not support your win 8 yet. see: http://www.truecrypt.org/
    http://www.truecrypt.org/docs/version-history
    see if can find a method in the next link, not too useful i think for your win 8 : [http://kb.mozillazine.org/Protect_the_profiles_contents Protecting the contents of the profile]
    thank you

  • PC Sync / Synchronize created duplicate address bo...

    I just Synchronized two 6126 phones to pick up changes to my Contacts (MS Outlook). The first phone worked fine, but on the second phone I see that I now have duplicates of every entry in my address book. To fix this I would like to blast the current address book on that phone and then copy a fresh copy of my contacts from MS Outlook (like a one-way synchronize). How would I do that?  I'm afraid to delete every entry in the address book and then Sync with my PC as it might then delete every entry in my MS Outlook Contacts. 

    HI
       If you want to have both Contacts entery seperately,Then you have to make two profiles on your MS-Outlook SW.
    t hen you can have both your enteries seperately.
    Cheers 
    Was this post helpful? If so, please click on the "Kudos!" star to the right. Thank you!

  • Syncing contacts creates duplicates

    I would be grateful for any help. I don't sync my iPhone 3GS as often as I would like because when I do, I end up with all my contacts being duplicated. What I want is for all new/edited/deleted entries on my PC to be appropriately adjusted on my iPhone, and all new/edited/deleted items on my iPhone to be appropriately adjusted on my PC. (It would be even better if it asked which version is the correct one.)
    When I sync, my entire contacts list ends up being duplicated, so I have 2 of almost everything.
    I don't understand the collected Contacts concept. At one point my collected contacts was a 90% duplicate of my Contacts folder.
    I am clearly doing something wrong. If anybody can help, that would be awesome.
    Thanks!

    I am using Outlook 2007 on my PC.
    I am not using Mobile Me; rather I am running the sync on my PC using iTunes. The duplicates were on both my iPhone and my computer, but they didn't always appear to be identical. It is somewhat complicated by the fact that I use Plaxo to update my contacts folder(s) on my PC.
    I worked with Plaxo to combine all contacts folders, and then I went through each item and deleted all duplicates. Then I synced with my phone, and finally got it down to one unduplicated list. This was tedious, since I have over 1,000 contacts.
    Now I am getting ready to sync, and I am not sure what to check on the sync menu. It asks whether I want contacts added on the phone synced to my Collected Contacts folder. Why add it to a separate folder instead of my main contacts folder? Does this add a separate item that you then use to update the main folder?
    Thank you and sorry for all the questions.

  • Every time I sync my iPhone (IOS 7) in iPhoto it creates duplicate images

    Every time I sync my iPhone (IOS 7) in iPhoto it creates a duplicate, but not on my Mac, how do I slove or fix this? even if I delete all of the duplicates manually on my phone or Mac, if I sync, it creates duplicates 

    Have you ever had all 7 of them synced before? Are these ringtones you made yourself? Is there a chance they could exceed 30 seconds in length? Is there a chance you have moved the original file location on the computer? May need the answers to a couple more questions to try and determine an answer.

  • Anything-sync-daemon - keep ANYTHING in tmpfs and sync'ed

    Quite a few people like and use profile-sync-daemon.  I have received several requests now asking for a more general version that will allow the flexibility of syncing anything from tmpfs <--> hdd and back again.  I just uploaded the first public release of anything-sync-daemon in response to the requests.  I am currently working on the wiki page, but I have already written a full manpage that is included with the util.  As with anything, BACKUP the data you wish to sync before using it.
    What are some example directories you might want to sync to tmpfs?
    /srv/http
    /foo/bar
    /var/lib/monitorix
    AUR Package: https://aur.archlinux.org/packages.php?ID=58263
    Wiki Page: https://wiki.archlinux.org/index.php/An … ync-daemon
    Gitrepo if you just wanna browse the code (it is VERY simplistic): https://github.com/graysky2/anything-sync-daemon
    Last edited by graysky (2012-09-22 15:00:04)

    I'm having sort of troubles: it doesn't seem to mount anything into /shm...
    I told it to keep sync'ed /var/log and my chromium config (yes i don't like to have 2 daemons running, doing the same thing).
    So this is my asd.conf:
    # /etc/asd.conf
    # For documentation, see: https://wiki.archlinux.org/index.php/Anything-sync-daemon
    # Define where data will reside in tmpfs
    # Think hard about this if using utils like bleachbit as it has a nasty habbit
    # of nuking files it identifies as junk in /tmp
    # A safer location for things is actually /dev/shm
    # This location must be mounted to tmpfs and MUST have permissions of 777
    # Use NO trailing backslash!
    TMPFS="/dev/shm"
    # Define the target(s) directories in the WHATTOSYNC array
    # Do NOT define a file! These MUST be directories!
    # Note that the target directories and all subdirs under them will be included
    # In other words, this is recursive
    # Below is an example to wet your appetite
    #WHATTOSYNC=('/var/log' '/srv/http' '/home/foo/bar')
    WHATTOSYNC=('/var/log' '/home/federico/.config/chromium')
    and this is my /etc/mtab:
    rootfs / rootfs rw 0 0
    /dev/root / ext4 rw,noatime,user_xattr,acl,barrier=1,nodelalloc,data=ordered 0 0
    devtmpfs /dev devtmpfs rw,relatime,size=1027028k,nr_inodes=218985,mode=755 0 0
    proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    run /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
    devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
    shm /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
    tmpfs /tmp tmpfs rw,nosuid,nodev,noatime,size=614400k 0 0
    /var/tmp /var/tmp tmpfs rw,noatime,nodiratime 0 0
    gvfs-fuse-daemon /home/federico/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=1000,group_id=100 0 0
    So, don't know where is the problem... my /var/log folder is 65Mb, but if i run df -h, then, this is its output:
    File system Dim. Usati Dispon. Uso% Montato su
    rootfs 231G 31G 189G 14% /
    /dev/root 231G 31G 189G 14% /
    devtmpfs 1003M 0 1003M 0% /dev
    run 1004M 344K 1003M 1% /run
    shm 1004M 152K 1003M 1% /dev/shm
    tmpfs 600M 9,4M 591M 2% /tmp
    /var/tmp 1004M 84K 1004M 1% /var/tmp
    Thanks for the help!

  • Mail constantly is synchronising with server and updating cache directory!

    Mail constantly is synchronising with server (sent messages) and updating cache directory making everything slow.
    I have a .mac account. I understand the concept of IMAP and that it information is stored on the server therefore it needs to update but surely not constantly and besides the blue bar sticks halfway through without completing. Please help.

    I have had the same issue. Rebuilding fixes it temporarily, but it comes back....Also have an issue where Mail will not download attachments automatically. They show up in grey until they are clicked...have Mail set to download all messages and their attachments, but it doesn't want to. Very frustrating. I have begun the switch to Entourage, which is unfortunate, as I like Mail more.

  • Adf image cache directory

    Hi,
    I am using oracle ADF EA 14. I realized that when deploying my application, it created a cache directory under my adf/image directory. What is the cache directory for? Because sometimes the cache directory is not created
    and the page does not have the image rendered.
    Any information on this issue is highly appreciated.
    Thanks.
    Antonio.

    Any suggestion on this issue?
    Thanks.

  • After syncing Firefox with my Android phone, Google calendar is not functional. It hangs on "Loading" and will not allow updates or edits. Calendar works in IE, just not Firefox on any computer. Clearing cookies and cache no help.

    I synced Firefox with my Droid Razr Maxx Firefox. Now Google Calendar hangs on "Loading" and will not function. Clearing cache and cookies does not help. Works the same on any computer Firefox. But Gmail works fine and Calendar is okay under other browsers.

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • I cannot find the Firefox Start page with the Sync Set Up Link

    I'm trying to get the Sync code on my android device in order to retrieve all my bookmarks from my main computer to the tablet pc. The directions on the Mozilla support site say to "Tap the Set up Firefox Sync button on the Firefox Start page." Well I cannot for the life of me find this button or the Firefox start page. Where could it possibly be? My tablet pc, when operating Firefox, does not bring up any such page with said button.

    Locked as duplicate of [https://support.mozilla.org/en-US/questions/986705 /questions/986705]. Please continue there. I replied to your question in that thread

Maybe you are looking for