Libreoffice always opens in recovery mode Solved

5 replies [Last post]
sanford59
Offline
Last seen: 2 years 28 weeks ago
Title:
Joined: 27 Dec 2011
Posts: 4
Hi folks.  This is a problem that used to happen once in a while and now always happens.  I shut down libreoffice with my documents properly saved.  But the .~lock....doc# file does not go away.  And when I restart Open Office, it always wants to begin by recovering the last closed document.  Even when I delete the .lock...doc#  file manually it opens in recovery mode.  I found one other post on this topic and that person traced his problem to some add ons, but I am not using any addons.  Help would be much appreciated.  
PeterRoots
Offline
Last seen: 38 weeks 2 days ago
Title: ==Moderator==
Joined: 25 Oct 2011
Posts: 941
Don't know where your missing

Don't know where your missing comment went, maybe it got deleted as spam or maybe the user deleted it.

the .~lock file is not connected with autorecovery but it does suggest you are having problems shutting down LO  - these files should go when LO shuts properly.

If you look in Tools>Options>Paths you should see where temp files are stored. This is where the autorecovery files are. They are not easy to spot as, at least on my system, the names do not relate to the file name of your document. They will be in a folder, with the same name as the contained file (one of mine is lus7unad.tmp with a file in it of the same name which is an .odt file even if it has a .tmp extension). If LO is using a temp folder in your LO profile space it is easy, if, like mine, it is using a system temp folder then spotting these files is much harder with all the other junk in there.

With LO closed (really closed, check task manager on Windows or a ps -e at the Linux command line) you can delete all the LO temp folders. This should take out the autorecovery files. Starting LO again should result in a clean start.

If, after this, you are still getting the lock files left laying around (or autorecover on startup) then there is still something wrong with how LO is shutting down. I would then try a profile reset.

http://wiki.documentfoundation.org/UserProfile

Linux Mint 15 LibreOffice 4.1.1.2 : OpenSUSE 12.3 LibreOffice 4.0.3

sanford59
Offline
Last seen: 2 years 28 weeks ago
Title:
Joined: 27 Dec 2011
Posts: 4
Hi Peter.  Thanks for the
Hi Peter.  Thanks for the reply but unfortunately it did not help.  I followed the directions and recreated the User profile according to directions in the link you sent.  The first time I opened an .odt file, it opened fine.  I shut it down.  As before, the .~lock file remained behind and when I deleted the .~lock file and reopened the .odt file, I got the same autorecover on restart.  Maybe the thing to do is to reinstall LO and if that does not work, go back to an earlier version.  (I am using 3.4 now) But more suggestions will be cheerfully accepted! 
PeterRoots
Offline
Last seen: 38 weeks 2 days ago
Title: ==Moderator==
Joined: 25 Oct 2011
Posts: 941
Like I said the lock files

Like I said the lock files are nothing to do with autorecover (they just indicate a failure to shut down properly if they remain behind).

Did you clear out the temp files? If you did and since you have already reset your profile I would try a reinstall after I had checked that LO was really shutting down when you close it. Does it still show up as a running process after you close it?

What operating system are you using? 

Linux Mint 15 LibreOffice 4.1.1.2 : OpenSUSE 12.3 LibreOffice 4.0.3

sanford59
Offline
Last seen: 2 years 28 weeks ago
Title:
Joined: 27 Dec 2011
Posts: 4
Hi Peterroots.  I solved the

Hi Peterroots.  I solved the problem by downloading a new copy of LO and reinstalling it..  I actually not only uninstalled the previous version but removed  every bit of it that I could find including a fair amount in the registry that the uninstaller left behind.  The new version seems to work. 

To answer your questions, I did clear out the temp files and it had closed as a running process.  So what went wrong is a mystery.  I am running this copy on XP.  I have not had a similar problem running LO in Ubuntu or Windows 7. 

PeterRoots
Offline
Last seen: 38 weeks 2 days ago
Title: ==Moderator==
Joined: 25 Oct 2011
Posts: 941
A mystery but good to hear
A mystery but good to hear you are up and running again

Linux Mint 15 LibreOffice 4.1.1.2 : OpenSUSE 12.3 LibreOffice 4.0.3

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.