WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: LibreOffice extensions and backup  (Read 1939 times)

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
LibreOffice extensions and backup
« on: March 11, 2011, 03:15:49 PM »
I have installed a LibreOffice extension for german spell checking (German (de-DE frami) dictionaries).

After reboot, the extension could not be found and must be reinstalled.

I have found, that the entry "cache" in the file /opt/.xfiletool, is to blame. It denies backup of the files:

Code: [Select]
tc@box:~$ find .libreoffice | grep cache
.libreoffice/3/user/psprint/pspfontcache
.libreoffice/3/user/uno_packages/cache
.libreoffice/3/user/uno_packages/cache/uno_packages.db
.libreoffice/3/user/uno_packages/cache/uno_packages
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxtproperties
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/README_extension_owner.txt
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/de_DE_frami
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/de_DE_frami/de_DE_frami.aff
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/de_DE_frami/de_DE_frami.dic
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/de_DE_frami/COPYING_GPLv2.txt
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/de_DE_frami/COPYING_GPLv3.txt
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/de_DE_frami/README_de_DE_frami.txt
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/de_DE_frami/COPYING_OASIS.txt
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/thes_de_DE_v2
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/thes_de_DE_v2/COPYING_LGPL_v2.1.txt
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/thes_de_DE_v2/th_de_DE_v2.idx
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/thes_de_DE_v2/th_de_DE_v2.dat
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/thes_de_DE_v2/README.txt
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/hyph_de_DE
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/hyph_de_DE/hyph_de_DE.dic
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/hyph_de_DE/README_hyph_de_DE.txt
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/hyph_de_DE/COPYING_LGPL_v2.0.txt
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/dictionaries.xcu
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/description.xml
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/META-INF
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T_/dict-de_DE-frami_2010-12-04.oxt/META-INF/manifest.xml
.libreoffice/3/user/uno_packages/cache/uno_packages/4vbx6T
.libreoffice/3/user/uno_packages/cache/registry
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.bundle.PackageRegistryBackend/backenddb.xml
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.executable.PackageRegistryBackend
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.script.PackageRegistryBackend
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.help.PackageRegistryBackend/backenddb.xml
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/configmgr.ini
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/7NAbjr_
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/7NAbjr_/dictionaries.xcu
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/7NAbjr
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registered_packages.db
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/backenddb.xml
.libreoffice/3/user/uno_packages/cache/registry/com.sun.star.comp.deployment.sfwk.PackageRegistryBackend
.libreoffice/3/user/uno_packages/cache/log.txt

Is there a solution where I do not need to delete the entry "cache" in "/opt/.xfiletool"?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: LibreOffice extensions and backup
« Reply #1 on: March 14, 2011, 09:11:04 AM »
you can make your home persistent

or try moving ~/.libreoffice to a persistent location and add a symlink to it

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Re: LibreOffice extensions and backup
« Reply #2 on: March 14, 2011, 04:42:14 PM »
Thanks, Arslan, for the ideas!

I have followed the "moving way", and it works:

Code: [Select]
sudo mkdir -p /mnt/sda3/home/tc
sudo chown -R tc:staff /mnt/sda3/home
mv /home/tc/.libreoffice /mnt/sda3/home/tc/.
ln -s /mnt/sda3/home/tc/.libreoffice /home/tc/.libreoffice

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: LibreOffice extensions and backup
« Reply #3 on: March 14, 2011, 07:41:02 PM »
Perhaps you might also consider to contact upstream and let them know that it is a bad idea to rely on that a dir called 'cache' would be present after a reboot.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)