搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

how to fix "suggest-unexpected" incompatible database version error?

  • 2 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 Dan Drake

more options

I'm using Ubuntu 24.04 and just reinstalled for unrelated reasons. I'm trying to copy my Firefox profile over from my backup to the new installation.

I used the Ubuntu Snap store to install Firefox and put my old profile in -- this is the one that I was using on my previous Ubuntu 24.04 installation just a couple days ago -- and everything seems fine, but I do see this error message:

[ERROR error_support::handling] suggest-unexpected: Error opening database: Incompatible database version: 18

It gets printed when I type things in the search bar, so it seems related to some sqlite database related to history and autocompletion.

Is there a way to fix this? I'm fine with just deleting it, so long as the other parts of the profile remain.

(This is a strange error, since after all I was using the exact same setup -- Firefox on Ubuntu 24.04, installed via snap -- just a couple days ago, and it was, as far as I know, up-to-date.)

I'm using Ubuntu 24.04 and just reinstalled for unrelated reasons. I'm trying to copy my Firefox profile over from my backup to the new installation. I used the Ubuntu Snap store to install Firefox and put my old profile in -- this is the one that I was using on my previous Ubuntu 24.04 installation just a couple days ago -- and everything seems fine, but I do see this error message: [ERROR error_support::handling] suggest-unexpected: Error opening database: Incompatible database version: 18 It gets printed when I type things in the search bar, so it seems related to some sqlite database related to history and autocompletion. Is there a way to fix this? I'm fine with just deleting it, so long as the other parts of the profile remain. (This is a strange error, since after all I was using the exact same setup -- Firefox on Ubuntu 24.04, installed via snap -- just a couple days ago, and it was, as far as I know, up-to-date.)

所有回覆 (2)

more options

Searching the source code for suggest-unexpected leads to this file.

Search suggestions from Mozilla are stored in a [Remote Settings](https://remote-settings.readthedocs.io/en/latest/) collection. The Suggest component downloads these suggestions from Remote Settings, stores them in a local SQLite database, and makes them available to the Firefox address bar. Because these suggestions are stored and matched locally, Mozilla never sees the user's search queries.

Maybe check this: "How can I control what results the location bar shows me?":

Settings -> Search -> Address bar — Firefox Suggest -> Contextual Suggestions

有幫助嗎?

more options

I unchecked all the options in Settings -> Search -> Address bar — Firefox Suggest -> Contextual Suggestions, restarted Firefox, and so far that seems to have fixed the problem. It's not clear what database version is now set to 18, but I'm not seeing the error, and the various suggestions are showing up as expected.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題