Ask Your Question
0

document is locked for editing

asked 2017-09-07 00:03:32 +0200

georgedn gravatar image

After updating my LibreOffice installation to 5.4.12 whenever I try to open a LibreOffice file I get a message stating "Document file 'xxxx.ods' is locked for editing by yourself on a different system. This seems to be occurring only after updating to v 5.4.12. I know I can open the files in read only and save the file to a new name for editing. This can be quite cumbersome. Is there fix for this? Since I have the .msi file for the previous version can I uninstall and reinstall the earlier version. Also I read that a system restore helped someone with the same problem. Would that work?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2017-09-07 04:01:34 +0200

robleyd gravatar image

updated 2017-09-08 08:16:28 +0200

I assume you are using Windows as you mention .msi file.

Close LibreOffice; in Windows Explorer go to the directory (folder) containing the file mentioned in the message. Set Windows Explorer to show hidden files. Locate and delete any files with names like .~lock.xxxx where xxxx is the name of a LibreOffice document file.

This should resolve the problem. Search this site using "lock" for more.

Edit 2017-09-08

Try Windows Disk Cleanup and see if it turns something up. Are you perhaps saving to a remote device?

If this answer helped you, please accept it by clicking the check mark ✔ to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

edit flag offensive delete link more

Comments

Sorry, using Windows 10. I understand your reply but in the File Explorer window the Hidden Items box is already checked and there are no hidden files shown.

georgedn gravatar imagegeorgedn ( 2017-09-07 04:47:04 +0200 )edit

Have you tried searching for files whose name contains lock? Search your entire C: drive (assuming that is where your files are kept)

NB: best to continue responses in comments, rather than repeat your comment within a (non) answer

robleyd gravatar imagerobleyd ( 2017-09-07 05:42:11 +0200 )edit

No such lock file is found! What can I try next?

georgedn gravatar imagegeorgedn ( 2017-09-07 14:45:50 +0200 )edit

Nothing was found using Windows Disk Cleanup or CCleaner or at least nothing fixed the problem.

georgedn gravatar imagegeorgedn ( 2017-09-08 15:19:37 +0200 )edit

Does Sysinternals have the capability to kill a lock on a file? If so, how do I find it? I've looked at sysinernals but its a bit over my head.

georgedn gravatar imagegeorgedn ( 2017-09-08 23:03:26 +0200 )edit

Where are you actually saving the file(s)?

robleyd gravatar imagerobleyd ( 2017-09-09 09:19:08 +0200 )edit

Files are saved to same folder on hard drive. Just tried opening a document and saving it to a different location on hard drive. It can be opened and edited from there. Moved it back to original folder and it is locked. But the file cannot be simply moved to a new location. Seems to need to be opened and "save as...." in the new location.

georgedn gravatar imagegeorgedn ( 2017-09-09 15:34:24 +0200 )edit

This (file in other folder can be opened) suggests to me some sort of Windows permissions issue ??

robleyd gravatar imagerobleyd ( 2017-09-10 04:31:12 +0200 )edit

So far as I can tell permissions are the same. I looked at properties for the same file in either folder and comparing settings in the Security tab. Is that the right place?

georgedn gravatar imagegeorgedn ( 2017-09-10 04:59:33 +0200 )edit

Check the directory permissions as well. Not being a Windows user, Im not sure about the Security tab. If it isn't directory permissions, then based on information you have provided, I have no further ideas, sorry.

robleyd gravatar imagerobleyd ( 2017-09-10 05:40:08 +0200 )edit
0

answered 2017-09-07 04:58:36 +0200

georgedn gravatar image

Sorry, using Windows 10. I understand your reply but in the File Explorer window the Hidden Items box is already checked and there are no hidden files shown.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-09-07 00:03:32 +0200

Seen: 4,754 times

Last updated: Sep 08 '17