Error creating new document:templates already exist

Using 3.5 under Linux. When I try to open a new document via the menu (File->New->Templates and Documents) I get the above error and my templates folder does not open. I can only access them via Files->Templates->Edit. Under options the templates Path is present. This appears to be a bug. Anyone else having this problem and any work arounds?

in Linux the libreoffice directory to delete is usually HOME/.libreoffice or HOME/.config/.libreoffice/

This fixed the template error as well as the recent documents empty error on Ubuntu and Mint.

Thank you. I found that and deleted it. Problem is that a lot of other information was lost. Hopefully they will fix this so there is no need to delete either the older installed version or the config folder. Thanks

  1. In windows 7, I enabled view hidden files.
  2. I renamed the LibreOffice directory in the C:\username\Appdata\roaming\libreoffice\ where I renamed the user folder.
  3. Opened libreoffice and allowed it to update its user details.
  4. Checked on the templates and found that I could now open the templates.

I was having this exact issue here under Ubunutu 11.04 with LibreOffice 3.5. I read the other “solutions” and instead of just doing them, I did some testing.

Here is the correct way to fix this issue, without having to wipe out the HOME/.config/libreoffice folder. Go to HOME/.config/libreoffice/3/user and look for a file named registrymodifications.xcu. Delete the file. LibreOffice will recreate it for you. You will no longer get the window telling you that the templates already exist.

This also fixes the “File → Send → Create master document” I/O error on GNU/Linux Debian 9 (LibreOffice 6.0.2).

Please note that this modification will reset some settings, so you’ll need to reconfigure LibreOffice and check the document properties (from the File menu) before distributing the next documents.

You saved my day @MannDTP. :wink:

reported at: https://bugs.freedesktop.org/show_bug.cgi?id=45658

Same problem on Windows Vista System. Haven’t found any solution for this. Hope this bug will be solved in the next update of LibreOffice .

Same problem!
My system is Windows XP SP3 Home Edition. Language Finnish
When starting LibreOffice Writer 3.5 this pop-up appears: templates already exist (my version is Finnish)
It does not allow me to save new template I greated.
I deleted 3.5 and took back 3.4.5 which work very well.

I came across the answer when tracking down the Empty “Recent Documents” list.

This will undo all of one’s settings.

These steps are for Windows XP SP3.

  1. I closed all LibreOffice windows and exited the QuickStart
  2. I renamed the LibreOffice directory in the C:\Documents and Settings\username\Application Data directory.
  3. I started up LibreOffice (double-clicked on shortcut) and let it recreate the user’s LibreOffice directory.
  4. I went into Tools → Options… and updated various settings in there (name, country, which dictionaries to use, which Java runtime to use).
  5. I selected Text Document and opened an .ott (template) file. It went through its first-time template use, but there were no errors and the new document opened just fine.

Now opening a template to create a new document works just fine.

Also, now the Recent Documents list works just fine.

Also, the help pack works just fine!

(That means renaming the user’s LibreOffice directory fixed all three bugs I had hit in the past 12 hours!)

However, the words I added to my dictionary are gone, and the toolbars are now reverted back to the standard ones. Fortunately, I had made very few changes in toolbars and the words are easy to add back as I use them.

Hai
TNX MannDTP!!
for me the same ‘templates already exist’ message, and than no deal.
I deleted the file ‘registrymodifications.xcu’. After that all templates and stuff where there. All working fine after setting them back again as defaults, just as ManDTP suggested.
only I had to deal with a second location where the culprit lived: ~mine/.libreoffice/3/user/
system used: Linux-Mint 10.04 / libreoffice3.5

I suppose all you win users most have almost the same set of dir’s where your libreoffice config-file’s will live
Try to delete the same ‘registrymodifications.xcu’… and cross your thumbs

Louis

Windows 7 users:

  1. Close LL
  2. Delete registrymodifications.xcu in your \users*username*\AppData\Roaming\LibreOffice\ folder.
  3. Restart LO and templates will now function properly.

Thanks. I use Mint 9 Linux. Deleting HOME/.config/.libreoffice/registrymodifications.xcu fixed the problem for me.