Openoffice Uploaded Only Original Document After Shutdown

If yous take lost a file, or you accept a file which is full of ######, or you have a file which is corrupted across repair; and you lot want to observe before versions of it or un-delete the temporary files AOO wrote while y'all were editing the file (which are copies of the file) then Terminate USING THE PC and Practice Non Ability IT OFF until y'all have recovered the file so as to maximise your adventure of success.

These techniques just work if you lot have previously saved the document, or if y'all have enabled AutoRecovery and an AutoRecovery save has taken place. When you edit a new file the document is stored in the PC memory and the certificate is not written to disk until you save it, or until an AutoRecovery salve takes place.

See Why is my Writer file total of #####? beneath for an explanation of files full of null characters. Such files, whether .odt, .ods or .odp, always open up with Writer and brandish every bit ######.

 Edit: Utilitaire de réparation de fichier ODF (Utility to repair ODF files) on the French forum has a utility which can repair some corrupted files. It volition non repair files full of #### simply, if you lot have a truncated file, it may be able to recover what is left in the file. Apply Google Translate to translate the instructions.

Run into [Tutorial] ODF repair tool] for instructions on using the utility.

How do I know if my .od* file is truncated?

See the instructions here.

Cheers to cwolan and Hagar Delest for bringing it to my attention.

The post looks complex just information technology is actually pretty simple - just work slowly through it. If you get stuck enquire someone with better computer skills to help yous, or print the instructions (File > Print ...) and take the instructions and your PC to a PC repair shop.

 Edit: This tutorial gives detailed instructions on how to:

a) apply Previous Versions (W7 and subsequently) to recover previous versions of the file (is at that place something similar on MacOS and Linux?);

b) recover your file as it was when yous last opened or saved it; or as it was when it was last saved with AutoRecovery;

c) find previous versions of the file in the folder it is located in, but which have since been deleted;

d) find any temporary files AOO wrote while you were editing the file merely which have not notwithstanding been deleted;

e) un-delete the temporary files AOO wrote while you were editing the file, so deleted. d) and due east) will recover your file as it was when you lot last opened or yous last saved it.

It will also work for Mac users though you lot volition need to observe a Mac un-delete plan.

The tutorial is oftentimes updated to add information and make clarifications. Although information technology was originally written based on Writer .odt files it likewise works for .docx files, Calc files and all AOO and LO files. I accept therefore renamed the tutorial How to find and united nations-delete AOO/LO temporary files.

 Edit: Using Restore Previous Versions on Windows vii and later.

Windows 7 and later versions W8 and W10 have a Restore Previous Versions adequacy which, if you are very lucky, may help you lot to recover an before version of your .odt (or .medico or .rft etc) file. Basically, when a Restore Bespeak is taken on a PC, that Restore Point saves the current copy of all files on the deejay including information files. Then, if all your stars are lined up, a Organisation Restore will accept been taken at the right time for you lot and enough space was available and so that your file was saved and another System Restore has not needed some space and overwritten the one file yous want and y'all had previously enabled Volume Shadow Copy. So, cross your fingers tightly and right-click the file > Restore Previous Versions ..., and see if any are bachelor. Exist careful not to overwrite the one you nonetheless take so make a copy with a different name.

In summary it seems that:

one. Restore Previous Versions only works if the Windows Book Shadow Re-create service is running. Come across How to Enable Volume Shadow Copy in Windows 7
2. A Restore Signal saves one copy of each data file as it is when the Restore Point is taken.
three. If a file is edited afterwards that Restore Point is taken, and so the copy saved at the last Restore Signal (and any copies still available in previous Restore Points) is bachelor to be restored.
4. I cannot see previous versions of files I know I take edited so I estimate that when Organization Restore runs out of space, information technology deletes previous Restore Points and files to make infinite for the new Restore Bespeak. Yous tin configure the infinite fabricated available for Organization Restore in Organisation Restore.

If you lot want to test Restore Previous Versions (Windows 7 and later) do the following:

1. Create a file test.txt. Type Version one into the file and save it as test.txt.
two. Open test.txt and edit it to read Version ii. Save it as test.txt overwriting the previous file.
three. correct click test.txt. You will see in that location are no previous versions available.

This is considering a Restore Signal has not yet been taken.

4. Create a Restore Bespeak (right click Computer > Properties > System Protection > Create). This Restore Signal saves the current copy of test.txt saved on the deejay - ie text.txt contains Version 2.
five. Edit examination.txt so it now reads Version 3. Save it.
6. Edit examination.txt so it at present reads Version four. Save it.
7. Correct click test.txt > Restore previous versions. Y'all should at present be offered 1 Previous Version. When you choose Open information technology volition say Version 2 - ie information technology is the file as it was when the Restore Indicate was taken. Note that y'all tin can never get dorsum Version 3 because a Restore Point was not taken during the time Version 3 was present on the disk.

Do you have a Solid State Deejay (SSD) in your PC? If so, your chances of recovering a deleted file are poor.

Modern PCs are increasingly beingness equipped with Solid State Disks (SSD) because SSDs are and so much faster than old fashioned rotating hd drives. When you have an SSD, the Operating Organisation works silently in the background to set all the $.25 in deleted files to zero then, unfortunately, you lot may not find that many deleted temporary files! The Operating System does this because the Operating System must set all $.25 to zip before information technology can write new information to the SSD. Setting the bits to zero in the background therefore speeds future writes considering the "setting bits to nada" work has already been done.

If you have a separate rotating disk you tin can setup AOO to write its temporary files to that deejay with Tools > Options > OpenOffice > Paths ..., and fix the Temporary files path to the rotating disk. AOO will now operate very slightly slower only it should be imperceptible except for very large files (many MBytes) or for files with many big images.

Can I recover .doc, .xls, .ppt files? Tin can I recover .docx, .xlsx, .pptx files?

Yes but .doc. .xls, .ppt files exercise not write temporary files.
If you are trying to recover a .odt, a .ods, a .docx or a .xlsx etc file then follow the .odt instructions.
If yous are trying to recover a .doc or .xls etc file and so follow the .doc instructions.

Unlike file types

All AOO and LO files are Cypher files. Microsoft .doc, .xls, .ppt files are OLE compound files as specified by [MS-CFB]. They open in 7-ZIP and, to a certain extent, and then bear like Naught files. Microsoft .docx, .xlsx and .pptx files are Naught files.

Mac and Linux users

On Windows ...

  • the temporary folder is specified in Tools > Options > OpenOffice > Paths ..., and is located by default at C:\Users\xxxxxx\AppData\Local\Temp\.
  • the Backup folder is also specified in Tools > Options > OpenOffice > Paths ..., and is located by default at C:\Users\xxxxxx\AppData\Roaming\OpenOffice\iv\user\backup\.

On Macs ...
Use Preferences > instead of Tools > Options.

  • The temporary folder is located at /Users/xxxxxx/Library/Application Back up/OpenOffice.org/4/user/temp/. In Finder use Get (card) > Go to Binder > ~/Library/Awarding Support/OpenOffice.org/4/user/temp > OK. Information technology's probably easiest to copy/paste into the Go To Folder dialog. (Bank check Preferences > OpenOffice > Paths).
  • The Backup folder is located at /Users/xxxxxx/Library/Application Support/OpenOffice/4/user/Backup/.

On Linux ...

  • the temporary folder is located at /home/xxxxxx/.openoffice/4/user/temp/ (Check Tools > Options > Paths).
  • The Backup folder is located at /home/xxxxxx/.openoffice/4/user/backup/.

 Edit: What happens when AOO or LO opens a file?

Opening a .odt or .docx etc file.

When yous open My Documents\fred.odt, AOO takes a re-create of fred.odt and places information technology in the C:\Users\xxxxxx\AppData\Local\Temp binder as something like C:\Users\xxxxxx\AppData\Local\Temp\sv6a8vhe.tmp\sv6a8vt4.tmp. This file is then never changed. It carries the same date and time of creation stamp as My Documents\fred.odt.

The opened document is loaded into memory. All edits and changes yous make are kept in retentiveness and none are written to disk while the file is open. Hence, if AOO or the PC crashes, you lose all your edits. The exception is adding graphics, where the graphics metadata is kept in memory (so is lost on failure) only the images themselves are written as temporary files to \Temp later on the Remove from memory catamenia has elapsed, or the allocated graphics memory has been exhausted.

AutoRecovery (annotation: non AutoSave!) is designed to protect you if AOO or the PC crashes. If AutoRecovery is switched ON, the offset AutoRecovery creates a new file C:\Users\xxxxxx\AppData\Roaming\OpenOffice\4\user\fill-in\fred.odt_0.odt which is the complete file (with all edits and added graphics) as it is at the time of the AutoRecovery save. This file is then updated on each AutoRecovery relieve and carries the time postage stamp of the last update. An AutoRecovery only takes place if an edit has been made and the AutoRecovery time has elapsed. AutoRecovery files get deleted by AOO when no longer needed.

I am a little unsure of the purpose of the temporary file C:\Users\xxxxxx\AppData\Local\Temp\sv6a8vhe.tmp\sv6a8vt4.tmp. Equally it carries the aforementioned appointment and time stamp as the original My Documents\fred.odt I suspect it is used to overwrite the original My Documents\fred.odt if you decide not to save any changes.

When AOO or LO closes fred.odt normally all temporary and AutoRecovery files are deleted.

Opening a .doc etc file.

Everything is the aforementioned for opening a .md, .xls, .ppt etc file except the temporary file C:\Users\xxxxxx\AppData\Local\Temp\sv6a8vhe.tmp\sv6a8vt4.tmp is not created.

Many of the required files are hidden files ...

... so before you brainstorm you must switch on existence able to encounter subconscious files past:

ane On W10 go Start > Settings > blazon folder options into the Search box > Enter > View tab. On W7 go Kickoff > Control Console > Folder Options > View ...

two Select Prove Subconscious files, folders and drives

If y'all take not done this yous will not be able to encounter the temporary files folder or the temporary files within it. In Windows 10, go File Explorer > View (Ribbon tab) > Options ..., to open up the Folder Options/File Explorer Options window.

Show hidden files MUST be enabled.png
You lot MUST switch on Show Subconscious Files and Folders or you will not be able to see the temporary folder or the files within it

First look for previous versions of the file itself

Say you accept lost ...My documents\fred.odt (or fred.doc or fred.rtf etc). Before trying to go back temporary files, use Recuva to see if you can become dorsum previous versions of ...My documents\fred.odt (or fred.doc or fred.rtf) by looking for deleted fred.odt (or deleted fred.doc or fred.rtf etc) in ...My Documents\ (or in whichever folder the file fred was located).

Did you have AutoRecovery ready to ON?

Check if AutoRecovery was set to ON by Tools > Options > Load/Save > General ...

If AutoRecovery was ON, and you were editing fred.odt, look in C:\Users\xxxxxx\AppData\Roaming\OpenOffice\4\user\backup\ for fred.odt_0.odt. This is the file every bit it was when information technology was terminal saved by AutoRecovery. You could also expect for deleted versions. " xxxxxx " here and below is your username on your PC.

If AutoRecovery was ON, and you lot were editing fred.doc, look in C:\Users\xxxxxx\AppData\Roaming\OpenOffice\4\user\backup\ for fred.doc_0.odt. This is the file as it was when it was last saved past AutoRecovery. You could too await for deleted versions. " xxxxxx " hither and below is your username on your PC.

Did yous have Create a Backup copy prepare to ON?

Check if Create a Backup copy was prepare to ON by Tools > Options > Load/Relieve > General ... When ON, Create a fill-in copy saves the last version of the file in \backup

If Create a fill-in copy was ON, and y'all were editing fred.odt or fred.dr., look in C:\Users\xxxxxx\AppData\Roaming\OpenOffice\four\user\backup\ for fred.bak. Open fred.bak with Writer (or rename it to fred.odt). This is the file as it was when you opened information technology for editing.

No luck so far? Information technology's fourth dimension to look for temporary files.

Looking for temporary files

When you lot open a file for editing, Writer creates temporary files and it is these temporary files y'all need to look for. Writer deletes these temporary files when you shut the document and/or when Author closes properly. If Writer crashes, or your PC crashes, these files are oft not deleted and can easily be recovered. If they have been deleted, you only need to un-delete them.

When y'all open an existing .odt file , Writer takes a copy of the .odt file as it was when opened and saves the copy of the .odt file as a temporary file with a name like sv2ju21c.tmp. This is the file you are trying to recover. You are therefore looking for files with names something similar C:\Users\xxxxxx\AppData\Local\Temp\sv2ju1mk.tmp\sv2ju21c.tmp. Note that it is very unusual for a folder to be called C:\Users\xxxxxx\AppData\Local\Temp\sv2ju1mk.tmp, with a " . " in the binder proper noun, just this is what Writer does.

When you get such a file just rename it to a .odt file and try to open up it.

If you save a .odt file while you are editing it and continue to edit it, Writer updates the temporary file above to be the same as the newly saved file.

If yous create a new document from scratch Writer creates an empty temporary file with nothing in it, so there is nothing to recover unless you lot had AutoRecovery gear up to ON and an AutoRecovery save had taken place.

Temporary files created when a .odt file is being edited.png
Temporary files within folder C:Users\John\App\Data\Local\Temp\sv3i2d1f.tmp

The first file is the .odt file as it was when you opened it - this is the one you want
The second file is a binary file - ignore it - information technology is to do with displaying
The other files are copies of the images which have been paged out of memory. Yous do not need them as all the images are in the first file. If you have added images then some may be hither

The following is based on Windows 7 but other versions of Windows should be very similar.

Mac and Linux

If you are running Mac or Linux, it should be very similar. All you need to exercise is to check which paths Author uses past Tools > Options (Preferences for Mac??) > OpenOffice > Paths .... If you are in incertitude, open a .odt file (or create a new one or edit a .doc file - any it was you were doing when you lost the document) and cheque to run across where the temporary files go and what they are chosen. And then search in that binder or folders for deleted temporary files for your lost document where the deleted files will take similarly formed names to those you constitute when doing the check. You volition a need Mac or Linux unzip utility and a Mac or Linux united nations-delete utility.

USB memory stick or second disk

It is better (merely not essential) to un-delete the file(s) to a unlike deejay from the deejay on which the original file was created or saved because, if you un-delete to the same disk, y'all run the risk overwriting the very files you are trying to get back! It is ameliorate, just not essential, to recover them to a USB memory stick, or to a second deejay if you accept one.

i. Looking for temporary files which are still there and have non been deleted

1a. If your PC or Writer crashed ...

... yous may notice that the temporary files are nevertheless there, so navigate to the Temp folder (information technology is specified in Tools > Options > OpenOffice > Paths ...) and see if you can see them. Sort the files in alphabetical order and rename the first file with a name like sv2ju1mk.tmp to fred.odt and try to open it with Author.

If you cannot see any, so Author has deleted them. You now need to united nations-delete them. Act quickly - they run a risk being overwritten the longer yous leave it..

1b. Did you take AutoRecovery set to ON?

If y'all had AutoRecovery set to ON, then Author should have automatically fixed your file for y'all. If Writer does non or cannot recover your file, follow the instructions beneath and check to see if the AutoRecovery files are still there. If in that location are no AutoRecovery files then wait for deleted the AutoRecovery files. (Annotation - check to run into if AutoRecovery was on past Tools > Options > Load/Save > Full general ...)

1c. Did y'all have Create a backup copy gear up to ON?

If you had Create a fill-in copy ... set to ON, look in the \backup folder for a file called fred.bak, where your file is fred.odt. Open fred.bak with Writer (or rename it to fred.odt). (Check to meet Create a backup re-create was ON by Tools > Options > Load/Salvage > General ...)

2. Looking for temporary files which have been deleted

If 1a, 1b and 1c failed you take to expect for deleted temporary files. The method you use depends on what blazon of file you were editing, namely:

- whether it was an existing .odt file saved on your PC (or .docx file);
- a file which you had never previously saved; or
- a .doc, .xls, .ppt etc file.

From what I can gather, Writer handles .docx files in the same way every bit .odt files so, if y'all are recovering a .docx file, follow the instructions for .odt files.

2a. Recovering .ODT files which have previously been saved - likewise works for .DOCX files

In this example, you were editing a .odt file similar fred.odt (or a .docx file like fred.docx).

You are looking for files with names something like C:\Users\xxxxxx\AppData\Local\Temp\sv2ju1mk.tmp\sv2ju21c.tmp. Note that it is very unusual for a folder to be called C:\Users\xxxxxx\AppData\Local\Temp\sv2ju1mk.tmp, with a " . " in the folder name, but this is what Writer does. You will therefore be looking for files called something like C:\Users\xxxxxx\AppData\Local\Temp\sv2ju1mk.tmp\sv2ju21c.tmp where "xxxxxx" here and beneath is your username.

Converting a found temporary file dorsum to a .odt or .docx file

If you manage to notice and undelete a file like ...sv2ju21c.tmp, yous need to check if it is a .odt or .docx file as it could be a graphics file.

The easiest fashion to check if it is a .odt or a .docx file is to try to unzip the file. The easiest way to unzip it is to rename information technology to sv2ju21c.ZIP and double click it. If sv2ju21c.ZIP does not open a window showing files, information technology is a graphics file or a damaged file and information technology can exist ignored.

If sv2ju21c.ZIP opens a window showing files so it must be a ZIP file.
- If ane of the files is content.xml, the file is a .odt file, and so rename the zip file back to sv2ju21c.ODT, and open information technology with Writer.
- If the window has a binder called \Word information technology is a .docx file, so rename the zip file back to sv2ju21c.DOCX, and open it with Writer.

You should get dorsum the complete fred.odt (or fred.docx) file as it was the previous fourth dimension it was saved and it should have all the images, both those already in the certificate when you opened information technology and all the images added since. You exercise non go any text added since the file was last saved.

If you lot had AutoRecovery gear up to ON and so likewise see 3. Getting back AutoRecovery files when AutoRecovery has been set to ON beneath as you may as well be able to recover some of the AutoRecovery files every bit well or instead.

three. Getting back AutoRecovery files when AutoRecovery has been prepare to ON

The post-obit methods only work if you had AutoRecovery set to ON .

Annotation: you set AutoRecovery to ON past Tools > Options > Load/Save > Full general ... The Backup folder location is specified in Tools > Options > OpenOffice > Paths ..., and the default is C:\Users\xxxxxx\AppData\Roaming\OpenOffice\four\user\backup\.

3a. Recovering the AutoRecovery file for an existing fred.ODT which was being edited - it should too work for fred.DOCX files

If you lot were editing fred.odt, and so Writer creates an AutoRecovery file called fred.odt_0.odt in the Backup folder. The default fill-in folder is C:\Users\xxxxxx\AppData\Roaming\OpenOffice\4\user\fill-in\ then yous are looking for files named C:\Users\xxxxxx\App\Data\Roaming\OpenOffice\4\user\backup\fred.odt_0.odt where " 0 " is a nix.

First, navigate to the Backup folder and look for existing files similar fred.odt_0.odt.

Second, if there are no fred.odt_0.odt files in the Backup folder, then use Recuva and endeavour to find a deleted version of fred.odt_0.odt. If you do manage to find it, fred.odt_0.odt will have the entire contents of the certificate as saved at the AutoRecovery fourth dimension information technology was created.

3b. Recovering the AutoRecovery file for a new document which has never been saved

If you are editing a new file and you take never saved it, Writer gives the file the name Untitled1.odt while you are editing it only does non relieve it. When Author creates an AutoRecovery file, Writer creates a file chosen untitled_0.odt in the Backup folder as C:\Users\xxxxxx\AppData\Roaming\OpenOffice\four\user\backup\untitled_0.odt where " 0 " is a zero.

Outset, navigate to the Backup folder and look for untitled_0.odt.

2d, if it is not there, then utilise Recuva and try to detect a deleted version of the file. If you do manage to observe it, it will accept the unabridged contents of the document as saved at the AutoRecovery time information technology was created.

3c. .doc files. Finding the AutoRecovery file for an existing fred.Doc which was existence edited

Assume you are editing fred.medico and y'all take AutoRecovery set to ON. When Author does an AutoRecovery save, Writer creates a temporary AutoRecovery file for fred.md chosen fred.doc_1.odt and saves it in the \fill-in folder. It could also be called fred.doc_0.odt or similar. The file will exist named C:\Users\xxxxxx\AppData\Roaming\OpenOffice\iv\user\backup\ fred.doc_1.odt . Writer deletes this AutoRecovery file when you lot save the .physician file y'all are editing and/or when you close Author.

Temporary file created when you edit a .doc file.png
When y'all edit a .physician file AND y'all take AutoRecovery ON, Writer creates a re-create of the file in the Backup folder

Kickoff, navigate to C:\Users\xxxxxx\AppData\Roaming\OpenOffice\4\user\backup\ and await for fred.doc_1.odt (or fred.doc_0.odt ), where fred is the name of the file y'all were editing. If your PC or Writer crashed, you lot may exist lucky and nevertheless find fred.doc_1.odt there.

Second, if you do not see fred.doc_1.odt , then employ Recuva and wait for deleted versions of it.

There are some more detailed explanations in the post-obit posts which may be useful:

Using RECUVA to un-delete Writer .odt temporary files which are now deleted
Some other on RECUVA

While I employ the free Recuva, which runs nether Windows, you can use any file recovery program. The free PhotoRec works under Windows, Linux and Mac OS.

These may also be helpful.

Using 7-ZIP
Inside an odt file
Hints on how to forestall it happening

Some hints ...

1 Do non be besides jerky when shutting down your PC, or slamming the laptop lid shut, or pulling the USB retention stick out. AOO continues to write data to the file and to the profile for several seconds (many on a slow network) after the blue dotted line has finished crossing the screen. You must not close down the PC or remove the USB stick while this writing is taking identify.

2 If you relieve your file to a USB retentivity stick be certain to eject the USB retentiveness stick safely . On Windows seven, right-click the USB icon in the System Tray (lesser right, by the time) and choose Squirt.

3 Always set AutoRecovery to ON - this saves a re-create of the file every few minutes while you are working on it - it protects yous confronting things like power cuts, Bone freezes, AOO hangs etc. Do so by Tools > Options > Load/Save > General ... See the Tutorial on images for a possible problem with AutoRecovery.

4 Always ?? set up Create A Fill-in copy to ON - this keeps the previously saved version of the file fred.odt equally fred.bak in the \backup folder. Do so by: Tools > Options > Load/Save > General ... The \backup folder location is shown past Tools > Options > OpenOffice > Paths ... You may need to switch on Show hidden files (Control Panel > Folder Options > View ...) to be able to see the folder and its contents. Yous have to manage the \backup folder yourself and delete old, no longer required files.

Why the ?? ? Because you should remember that highly_confidential.bak will yet be in the \backup binder long subsequently you take deleted highly_confidential.odt.

5 ... and, of course, always take a daily backup of all important files and store them somewhere safe . A cheap USB memory stick is infinitely improve than nothing. In an emergency, or if yous need a very quick backup, but e-mail yourself a copy of the file.

Remember, information technology is not a instance of " if my deejay fails ..." or " if I lose my file". It is a example of what practice I do " when my disk fails ..." and " when I lose my file ...". You can download complimentary fill-in utilities which will dorsum up your hard drive daily so that you will never lose more than 24 hours piece of work - I have used Cobian from http://www.cobiansoft.com/index.htm for many years and have never lost a file despite having disk crashes and a lightning strike which destroyed both my PC and hard drive.

See the Timestamp Backup extension which is designed for LO but (2018) works with AOO. You take to invoke it manually and when you employ it you manually salve a fourth dimension stamped version of the file a separate fill-in binder. Yous need to delete older versions in the fill-in folder yourself. Y'all tin automate running it by Tools > Customise > Events ...

AOO and LO have File > Versions ... , where previous versions of the file automatically get stored in the .odt file. You demand to manage the multipl versions manually and, if your document is big, the .odt file grows very large. The large .odt file does non affect the speed of AOO or LO because AOO and LO open only 1 copy of the document.

half dozen Run across the thread [Hint] How did I fix my ODT file for a word and some examples of broken, corrupted and lost files.

kohlerblevensight.blogspot.com

Source: https://forum.openoffice.org/en/forum/viewtopic.php?f=71&t=85038

0 Response to "Openoffice Uploaded Only Original Document After Shutdown"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel