We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox 67 breaks shared profile between Ubuntu and Windows10

  • 3 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 TheCritic

more options

Hi,

I use Firefox on a Windows 10/Ubuntu 18.04 dual boot system and share the profile of the Windows partition to use the same Firefox information with both installations. After upgrading the Firefox Win10 version to 67.0, I get the error message uploaded as a picture. The Ubuntu Firefox version is also 67.0, so there is no older version that modifies the profile information.

I found this thread https://support.mozilla.org/en-US/questions/1259820 describing a similar question, and the chosen solution to delete the compatibility.ini from the profile folder revived the profile. However, this is not a permanent solution. Using Ubuntu Firefox after Windows Firefox is unproblematic, whereas the error reappears in Windows Firefox after using Ubuntu Firefox. I have to delete now the compatibility.ini every time I use Windows Firefox after Ubuntu Firefox, which is rather annoying. Obviously, the Ubuntu and the Windows version of Firefox 67 interpret this .ini file differently. Is there anything planned to synchronize both versions of Firefox 67 better? Or any other solution that solves this problem permanently? And no - I don't want to store my profile information on an external Sync server. Thank you for your time reading this. Any help is much appreciated.

Hi, I use Firefox on a Windows 10/Ubuntu 18.04 dual boot system and share the profile of the Windows partition to use the same Firefox information with both installations. After upgrading the Firefox Win10 version to 67.0, I get the error message uploaded as a picture. The Ubuntu Firefox version is also 67.0, so there is no older version that modifies the profile information. I found this thread https://support.mozilla.org/en-US/questions/1259820 describing a similar question, and the chosen solution to delete the compatibility.ini from the profile folder revived the profile. However, this is not a permanent solution. Using Ubuntu Firefox after Windows Firefox is unproblematic, whereas the error reappears in Windows Firefox after using Ubuntu Firefox. I have to delete now the compatibility.ini every time I use Windows Firefox after Ubuntu Firefox, which is rather annoying. Obviously, the Ubuntu and the Windows version of Firefox 67 interpret this .ini file differently. Is there anything planned to synchronize both versions of Firefox 67 better? Or any other solution that solves this problem permanently? And no - I don't want to store my profile information on an external Sync server. Thank you for your time reading this. Any help is much appreciated.
已附加屏幕截图

被采纳的解决方案

I think that this is how it works:

The compatibility.ini file stores the path to the Firefox version that last used this profile. Firefox 67 uses installs.ini to map a specific Firefox installation folder to a specific profile and lock this profile, so it can't be used by other Firefox versions. If the path in compatibility.ini and installs.ini are different then Firefox will refuse to use the profile as long as the profile is locked. Deleting compatibility.ini makes it impossible to check this and Firefox allows to use this profile. Sharing a profile between platforms is not recommended because files like pkcs11.txt and prefs.js contain a path to the current profile folder.

You can use a script file (Bash on Linux and CMD on Windows) to remove this file. I don't know if this works when done automatically via an autoconfig.cfg file.

定位到答案原位置 👍 1

所有回复 (3)

more options

选择的解决方案

I think that this is how it works:

The compatibility.ini file stores the path to the Firefox version that last used this profile. Firefox 67 uses installs.ini to map a specific Firefox installation folder to a specific profile and lock this profile, so it can't be used by other Firefox versions. If the path in compatibility.ini and installs.ini are different then Firefox will refuse to use the profile as long as the profile is locked. Deleting compatibility.ini makes it impossible to check this and Firefox allows to use this profile. Sharing a profile between platforms is not recommended because files like pkcs11.txt and prefs.js contain a path to the current profile folder.

You can use a script file (Bash on Linux and CMD on Windows) to remove this file. I don't know if this works when done automatically via an autoconfig.cfg file.

more options

Thank you for the explanation and your suggestion. I assume it will be helpful for people more experienced than me. I don't feel particularly adventurous writing a CMD file and destroying my Win partition or deleting unintentionally files with this script file.

It is also still not clear to me, why this problem appears when switching from Linux to Win10 but not the other way round. According to your explanation, shouldn't it be present in both situations?

more options

Turns out it was possible even with my restricted knowledge. This StackOverflow answer contains the path, where I stored the .cmd file, and I changed the content of this file to the directory of my shared Firefox profile to delete the compatibility.ini on startup. So, if I can do it, everybody can do it. Thanks again for the suggestion.