Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Add-ons don't work after copying profile (Access to the file was denied)

  • 4 відповіді
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від John

more options

I recently copied my Old Firefox profile to another folder and refreshed my Firefox Dev Edition browser. After refreshing, I copied all of the content of my old Firefox profile to the new default profile and then started the browser. Upon starting it, the browser was working with all of my previous add-ons. But whenever I close the browser and open it again, the icons of the add-ons at the overflow menu are not showing though there is space for the add-ons. Whenever I click at the add-ons, the error that 'Access to file was denied' - `The file at moz-extension://b408b31d-945f-43cb-881e-b1f4071942b6/index.html is not readable` shows up. I tried it with creating other profile folders and then copying my old profile data but it still always happens.

Any help?

I recently copied my Old Firefox profile to another folder and refreshed my Firefox Dev Edition browser. After refreshing, I copied all of the content of my old Firefox profile to the new default profile and then started the browser. Upon starting it, the browser was working with all of my previous add-ons. But whenever I close the browser and open it again, the icons of the add-ons at the overflow menu are not showing though there is space for the add-ons. Whenever I click at the add-ons, the error that 'Access to file was denied' - `The file at moz-extension://b408b31d-945f-43cb-881e-b1f4071942b6/index.html is not readable` shows up. I tried it with creating other profile folders and then copying my old profile data but it still always happens. Any help?
Прикріплені знімки екрана

Обране рішення

Thanks for your help.

However I sorted out the problem myself. I disabled all the add-ons and renabled them and this solved the issue.

Читати цю відповідь у контексті 👍 0

Усі відповіді (4)

more options

All of the files have remained under the same Windows user? In that case, most likely, it is not a problem with Windows permissions.

The extensions.json file in your profile folder stores absolute paths, so when you copy it from one profile folder to another, it may retain references to the old profile. You could try having Firefox regenerate that file. Unfortunately, this may lose your enable/disable settings. Here's how:

**Note** If you use a container extension, you may want to create a backup before proceeding. See: Back up and restore information in Firefox profiles.

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, on the Profile Folder row, click the "Open Folder" button. This should launch a new window listing various files and folders in Windows Explorer.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > Exit
  • (menu bar) File > Exit

Pause while Firefox finishes its cleanup, then rename extensions.json to something like extensionsOLD.json.

Start Firefox back up again. Likely it will ask if you want to allow externally installed extensions and require you to manually allow individual extensions to run in private windows. But after all that, does it help?

more options

If you have issues with accessing a profile then try to rename/remove compatibility.ini in this profile folder with Firefox closed.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

Вибране рішення

Thanks for your help.

However I sorted out the problem myself. I disabled all the add-ons and renabled them and this solved the issue.

more options

jscher2000 said

All of the files have remained under the same Windows user? In that case, most likely, it is not a problem with Windows permissions. The extensions.json file in your profile folder stores absolute paths, so when you copy it from one profile folder to another, it may retain references to the old profile. You could try having Firefox regenerate that file. Unfortunately, this may lose your enable/disable settings. Here's how: **Note** If you use a container extension, you may want to create a backup before proceeding. See: Back up and restore information in Firefox profiles. Open your current Firefox settings (AKA Firefox profile) folder using either
  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter
In the first table on the page, on the Profile Folder row, click the "Open Folder" button. This should launch a new window listing various files and folders in Windows Explorer. Leaving that window open, switch back to Firefox and Exit, either:
  • "3-bar" menu button > Exit
  • (menu bar) File > Exit
Pause while Firefox finishes its cleanup, then rename extensions.json to something like extensionsOLD.json. Start Firefox back up again. Likely it will ask if you want to allow externally installed extensions and require you to manually allow individual extensions to run in private windows. But after all that, does it help?

I apologize if necroposting isn't allowed here, and for this message not exactly related to the main topic of this thread, but THANK YOU so much for this guide.

I renamed my Windows user profile directory to the desired name I want (due to Windows limiting user account directories to 5 letters. If your username is America, for example, Windows will shorten the name and use it as your profile directory - ameri) and I'm having some issues with missing directories and files and such, and this basically got all my add-ons to work again. Thank you so much!

Змінено John