MozillaZine

Browsing History Keeps Disappearing

User Help for Mozilla Firefox
AV8NLVR
 
Posts: 67
Joined: December 1st, 2006, 11:29 am
Location: Jackson, MS USA

Post Posted May 16th, 2017, 10:03 am

Ever since I updated FF to a recent version I am having a problem with my history. It goes away when I close the browser. Not my bookmarks, just history. The only way I was able to restore it was to build a new profile and copy all files to it from a backed-up version of my profile from before this started happening. Then I got all my history back. It did not come back by restoring only the places.sqlite file, I had to do all files in the profile. But this morning, its gone again when I open the new profile! What is happening?

therube

User avatar
 
Posts: 17829
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted May 16th, 2017, 10:34 am

Not exactly history, but something to look through, Preferences not saved.

Suppose the first thing you'd want to do with a new Profile - before making changes or importing anything, is to verify that it does save history.

If it does, then import from old Profile - piece-meal, restarting (FF) & checking after each piece to see if history is maintained.
I'd start with places.sqlite, first. Possible that it is corrupted somewhere in there, causing it not to retain history?

And I'll assume you are not using Private Browsing, nor have disabled history, or clearing it externally (CCleaner or similar).
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

AV8NLVR
 
Posts: 67
Joined: December 1st, 2006, 11:29 am
Location: Jackson, MS USA

Post Posted May 18th, 2017, 9:20 am

I found that there was a file called places.sqlite and one called places.sqlite.corrupt. The corrupt one was a much bigger file size while the normal one was around 10mb and had no history in it. So I deleted the plain one and re-named the corrupt one without the "corrupt" and now the history is back. I don't see anything wrong or a reason why it would have been corrupted.

Brummelchen
 
Posts: 2611
Joined: March 19th, 2005, 10:51 am

Post Posted May 18th, 2017, 10:49 am

your profile is corrupted, however* - start a new one.
http://kb.mozillazine.org/Creating_a_ne ... on_Windows or
http://kb.mozillazine.org/Profile_Manager

recover data
https://support.mozilla.org/en-US/kb/re ... ld-profile

* dont use any 3rd-party cleaner on firefox data, like ccleaner or ** tuneup or any similar.
some wrong working antivirus can do same. or rights mismatch/mismanamgment in your users account folder
this wont happen from alone, i never had that.

concerning any bookmarks backup you should look into the <profile folder>\bookmarkbackups
and copy it (the whole folder) back into the new profile. firefox without any places.sqlite will restore from that file(s)

dickvl

User avatar
 
Posts: 52279
Joined: July 18th, 2005, 3:25 am

Post Posted May 18th, 2017, 9:03 pm

You did remove all other places.sqlite files (e.g. places.sqlite-shm and places.sqlite-wal) when you restored the file?

See also:
https://developer.mozilla.org/Mozilla/T ... leshooting

AV8NLVR
 
Posts: 67
Joined: December 1st, 2006, 11:29 am
Location: Jackson, MS USA

Post Posted May 18th, 2017, 11:02 pm

No, I do not believe I removed those other files. What I did was copy all files from the last known good version of my profile into a newly created (empty) profile. Should I delete those? That troubleshooting link describes how to "fix" a corrputed one but I just replaced mine with like I said one from several days prior.

dickvl

User avatar
 
Posts: 52279
Joined: July 18th, 2005, 3:25 am

Post Posted May 19th, 2017, 5:19 pm

When you replace a places.sqlite file then you should always remove the places.sqlite-shm and places.sqlite-wal SQLite temp files and move away any other places.sqlite files (numbered or marked as corrupted) because a possible cause of Firefox marking the file as corrupted could be that these SQLite temp files didn't match the places.sqlite file.

AV8NLVR
 
Posts: 67
Joined: December 1st, 2006, 11:29 am
Location: Jackson, MS USA

Post Posted May 19th, 2017, 11:13 pm

Right now I have besides the regular places.sqlite, one called places.sqliteOLD, places.sqlite-shm, and places.sqlite-wal. I don't know what the OLD file is. It is 71mb while the regular one is 51mb, and all my history seems to be accounted for as well as bookmarks. Should I go ahead and delete them? When I had the corrupted one, I did not have an OLD file so I don't know where it came from.

dickvl

User avatar
 
Posts: 52279
Joined: July 18th, 2005, 3:25 am

Post Posted May 19th, 2017, 11:38 pm

It is normally OK to leave the places.sqlite-shm and places.sqlite-wal files.
Firefox leaves them to speed up the Firefox startup process, otherwise they need to be created at every start.
They only need to be removed when you would remove places.sqlite because of issues with the file.

Return to Firefox Support


Who is online

Users browsing this forum: Google Adsense [Bot] and 13 guests