Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: LIbreOffice has corrupted a document -any recovery?

  1. #1
    Join Date
    Aug 2008
    Location
    Bedraggled island
    Beans
    251
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    LIbreOffice has corrupted a document -any recovery?

    I have a lost the single most important document that I have been working on, using LIbreOffice 3, for the past week. The backups cannot be read by LibreOffice.

    Because of the fragility of LibreOfffice I have been saving this document every 30 seconds or so throughout today. I have been able to close this document and re-open it during the day (the process always shows some changes in the document between closing it and re-opening it, but I can usually recover from these changes by redoing the work I did since the last save).

    I have just suffered a power-cut here but expected that LibreOffice would be able to recover the document since it was being saved so regularly. When I attempt this LibreOffice tells me that the document is locked by another user. Looking at the directory in which it is stored shows the document to be zero bytes long.

    Is it possible that LibreOffice has stored a recoverable copy somewhere?
    "Theorem: We live in an age of imbecility.
    Proof: Politicians, Civil Servants. Bankers"

  2. #2
    Join Date
    Jul 2005
    Beans
    4

    Re: LIbreOffice has corrupted a document -any recovery?

    Same thing happened here!

    LibreOffice version 3.3.2

    Any solution?

  3. #3
    Join Date
    Nov 2009
    Location
    Bari, Italy
    Beans
    27
    Distro
    Ubuntu

    Re: LIbreOffice has corrupted a document -any recovery?

    open the libreoffice backups dir:

    Code:
    nautilus /home/<username>/.libreoffice/3/user/backup
    in the terminal

  4. #4
    Join Date
    Jan 2007
    Beans
    68

    Re: LIbreOffice has corrupted a document -any recovery?

    Happened to me too. It's a bug in LibreOffice. My bug report is at https://bugs.launchpad.net/ubuntu/+s...ce/+bug/817326

    AFAIK it's impossible to recover the document.

  5. #5
    Join Date
    Jun 2010
    Location
    Queensland Australia
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: LIbreOffice has corrupted a document -any recovery?

    I too have just lost all of my last 2 f***ing days work that i needed to urgently finish tonight. That's the bloody end of librecrap for me. On other occasions i have been able to recover most of my work but it's never going to happen again because i am never going to use the CRAPPY program again

  6. #6
    Join Date
    Sep 2011
    Beans
    6

    Re: LIbreOffice has corrupted a document -any recovery?

    Jim4WB - I feel your pain. I've got same issue here.

    It's apparently not JUST a LO issue, but an application failure to deal with the Ext4 filesystem.
    We do not experience this problem with LIbreOffice running on Windows or Mac

    Here's a full explanation and here's a workaround we're testing out.

  7. #7
    Join Date
    Dec 2007
    Beans
    18

    Re: LIbreOffice has corrupted a document -any recovery?

    Does this data loss occur only from power losses? Has anyone lost data if, say, they're using a laptop or a system with a battery backup?

  8. #8
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,348
    Distro
    Ubuntu Mate Development Release

    Re: LIbreOffice has corrupted a document -any recovery?

    Quote Originally Posted by JasonR View Post
    Does this data loss occur only from power losses? Has anyone lost data if, say, they're using a laptop or a system with a battery backup?
    I've lost data simply due to having to reboot my PC when Unity froze up on me.

    Never had this problem with Open Office. never had this problem prior to Unity. This 11.10 is the all-time WORST version I've ever seen!

    BTW -- the backup folder is EMPTY. SO much for backups!
    Last edited by Mark Phelps; November 1st, 2011 at 12:30 AM. Reason: Checked the backu0p folder
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  9. #9
    Join Date
    Jan 2011
    Location
    Alta Floresta, MT
    Beans
    4
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: LIbreOffice has corrupted a document -any recovery?

    1. Install foremost:
    Code:
    sudo apt-get install foremost
    2. Find out which partition your file was in:
    Code:
    sudo fdisk -l
    3. Create an empty folder:
    i.e. /home/<user>/recovery

    4. Recovering with foremost:
    Code:
    sudo foremost -t odt -i /dev/sda5 -o /home/francisco/recovery
    - Replace odt with the file extension you want recover.
    - Replace /dev/sda5 with your partition.
    - Replace francisco with your userName.
    - The recovering may take a while.

    5. Check out the recovery folder. You will get a bunch of files named with a sequence of numbers. Find wich sequence belongs to the file you are after by opening up the highest number name of each sequence.

    Good luck.
    Last edited by Mr.Luz; November 4th, 2011 at 05:56 PM.

  10. #10
    Join Date
    Jan 2011
    Beans
    26

    Re: LIbreOffice has corrupted a document -any recovery?

    Hey,

    followed the steps to recovery with foremost, but I am not getting output. When last command is entered into terminal, it doesn't actually do the recovery but shows the command options:

    Code:
    ancaleth@buntekuh:~$ sudo foremost -t odt -i /dev/sda2 -o /home/ancaleth/recovery
    foremost version 1.5.7 by Jesse Kornblum, Kris Kendall, and Nick Mikus.
    $ foremost [-v|-V|-h|-T|-Q|-q|-a|-w-d] [-t <type>] [-s <blocks>] [-k <size>] 
        [-b <size>] [-c <file>] [-o <dir>] [-i <file] 
    
    -V  - display copyright information and exit
    -t  - specify file type.  (-t jpeg,pdf ...) 
    -d  - turn on indirect block detection (for UNIX file-systems) 
    -i  - specify input file (default is stdin) 
    -a  - Write all headers, perform no error detection (corrupted files) 
    -w  - Only write the audit file, do not write any detected files to the disk 
    -o  - set output directory (defaults to output)
    -c  - set configuration file to use (defaults to foremost.conf)
    -q  - enables quick mode. Search are performed on 512 byte boundaries.
    -Q  - enables quiet mode. Suppress output messages. 
    -v  - verbose mode. Logs all messages to screen
    ancaleth@buntekuh:~$
    Any ideas...? I need to find an earlier version of the document I now have saved over...

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •