X
Tocca qui per la versione per piattaforma mobile del sito.

Forum di supporto

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

Inserita

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?
Immagini allegate

Soluzione scelta

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.

Leggere questa risposta nel contesto 0
Citazione
jscher2000
  • Top 10 Contributor
8633 soluzioni 70605 risposte

Risposta utile

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?

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?
È stato utile questo messaggio? 1
Citazione
cor-el
  • Top 10 Contributor
  • Moderator
17410 soluzioni 157270 risposte

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.

If you have issues with accessing a profile then try to rename/remove <b>compatibility.ini</b> 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 <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *http://kb.mozillazine.org/Profile_folder_-_Firefox
È stato utile questo messaggio?
Citazione

Soluzione scelta

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.

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.
È stato utile questo messaggio?
Citazione
John 0 soluzioni 1 risposte

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!

''jscher2000 [[#answer-1226246|said]]'' <blockquote> 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? </blockquote> 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!

Modificato da John il

È stato utile questo messaggio?
Citazione
Richiedi supporto

Bisogna accedere al proprio account per rispondere nelle discussioni. Se non si possiede ancora un account, inserire una nuova richiesta.