Cannot open LibreOffice files, why?

For a couple of days I have had troubles, particularly if I haven’t saved a file. All of the Libre Office Writer files I have open simply close and I have to re-open them. But if I only want to open the one, of course all of them re-open.

Until today, and nothing I can do can get them to re-open. I get to the ‘finish’ command and it goes to ‘not responding’ and that’s the end of it. Nothing else, I have to take the option to close the program.

What can I do? Windows 11 in near new Acer laptop.

And now I cannot even open Libre Office Writer at all.

I have uninstalled and reinstalled, it made no difference.

  1. You should always regularly save your files. The automatic save function simply saves recovery information in case LibreOffice crashes, it does not really save your files.
  2. If you re-open a file and then all files re-open - that doesn’t seem to be normal behavior to me. Something must be wrong. I suspect that your user profile got corrupted. See next.
  3. Uninstalling and reinstalling LibreOffice does not reset the user profile, where important information is stored. When it gets corrupted, LibreOffice will not work properly, or may not even load. So, reset your user profile. See LibreOffice user profile - The Document Foundation Wiki for help. Note: you rename the old profile, so your user settings are safe, and you can later copy them from the old profile to the new one. Do that when LibreOffice is not running.
1 Like
  1. I do save the files as I work.

  2. It’s all the files which are open when it crashes. It’s always done this on this and other computers I’ve used.

  3. I don’t know what a ‘user profile’ is and I feel quite sure I would get lost trying to work that out. I am not a computer geek, but I use Libre Office Writer all the time. Can you please explain to me in simple terms what I need to know?

What is happening now is that I select one file to open and the - for the want of a better term - opening panel lists another file, just the one, and then I get ‘success!’ and then click on ‘finish’ and it all goes dull, nothing happens, it tells me it’s not responding and the only thing to do is close it and try again… with exactly the same result.

Is it possible to get some help here, I mean help which I can cope with?

I went to the suggested link and wound up trying to assess what this means:

"Quick test for corrupted profiles: use a temporary, new user profile

While you can reset the default user profile LibreOffice uses, as described in the above sections, you can also start LibreOffice from a terminal / command line with a different, new user profile.

For Linux:

soffice -env:UserInstallation=file:///tmp/test

For Windows:

soffice.com -env:UserInstallation=file:///c:/my-test-profile"

I have no idea of how to work with this, can someone please explain?

Maybe if someone tells me what a ‘terminal / command line’ is I can work this out?

Or if someone tells me how to have a ‘second user’ setup on my computer?

Well, while I was wondering if anyone might give me some advice here I tried clicking on that ‘soffic.com’ link and AVG immediately told me that led to a phishing URL.

Why is it so hard?

How many files do you have open at any one time? (Computers, especially non-gaming computers) generally work better if you don’t have too many files open at once.)

The soffice.com reference isn’t a link – it is part of a command that should be entered at a command line. In Windows, the command line is accessed by using the ‘Run’ facility which you might have seen in the same menu when you accessed the Control Panel. When Run opens, you get an empty line into which you can enter actual computer commands that will execute directly and without having to use an icon in the graphical user interface that is Windows. But it has been years since I used that in Windows, so can’t help any further with that. Perhaps someone who uses Windows regularly can help you.

It might be relevant to ask where you got the LibreOffice program. Was it on your computer when you got it, or did you install it from the official Open Document Foundation website, or from the Microsoft Windows store, or somewhere else? Recommendation : always download from the official ODF download website.

Hope this helps.

P.S. - Please don’t use Answer to add information. Answers are for solutions. Use the Comment function to add information. Thanks.

Hallo
It was never soffice.com -env:UserInstallation=file:///c:/my-test-profile it was:

soffice.exe -env:UserInstallation=file:///c:/my-test-profile

AFAIK in actual Versions of Libreoffice it should also work without suffix …exe:

soffice -env:UserInstallation=file:///c:/my-test-profile
1 Like

@karolus : Thanks very much for the correction. I don’t play with Windows much anymore and I forgot. My mistake. Thanks.

1 Like

It became soffice.com in 6.3, with the proper console mode introduction for Windows. And use of soffice.exe is not recommended for command line purpose when you need to see the output, because it can not output the needed data to stdout. Note that we even clarified that in the help for upcoming 7.4.

I am missing any hint about Linux-OS eg. without suffix:

soffice  ……

I’m sorry, how Linux is relevant to this discussion of Windows-specific command line, and Windows-specific help topic (with explicit &System=WIN)? On Linux, there were never a problem using the command line. Please see the blog post from the release notes page for the discussion.

And there you would see how the use without extension fits there.

thanks for clarification, indeed I had not realized the windows-specific URI.

1 Like

Six or so were open…
I don’t know where the ‘run’ facility is on these modern Windows platforms. Whoever did away with XP wasn’t thinking of end users.
I downloaded from, I believe, Open Document Foundation - as I have done on the last six or seven computers I’ve had.
I also last night tried another one, from Officesuite, it had the same result, I’d work on things for a while, then it refused to reopen them. I wonder if Microsoft are trying to force me to buy their product?

I wonder if Microsoft are trying to force me to buy their product?

When new PCs are delivered, the Office programs used by Microsoft are already installed.
However, these are only so-called test versions.
And Microsoft wants you to buy these programs.

The problem is that your documents are assigned to Microsoft programs by the operating system. So an ODT file is then assigned to Word.

My recommendation, if you do not need the programs MicrosoftOffice, to uninstall them.
Then you should address the program assignment of your files.

Assign files to LibreOffice

So it’s not ‘soffice.com’, eh?

Can I post a screenshot?

Maybe it’s 'how can I post a screenshot?

450px-202108_EN_Question_opened_for_editing_-_with_description

1 Like

I can’t see that anywhere…