X
Tippen Sie hierhin, um die Version dieser Website für Mobilgeräte aufzurufen.

Hilfeforum

unable to open firefox because of profile missing in ubuntu

Veröffentlicht

I accidentally deleted my cache file in Ubuntu 18.04 and deleted it in the trash also, so I cannot recover it, I tried uninstalling firefox and completely deleting any folders related to firefox in /usr/lib/mozilla and mozilla-addons and also the data in opt and also hidden folders in home directory, tried it trice and updated the system if it can solve anything but no results, any idea on how to go about this problem

I accidentally deleted my cache file in Ubuntu 18.04 and deleted it in the trash also, so I cannot recover it, I tried uninstalling firefox and completely deleting any folders related to firefox in /usr/lib/mozilla and mozilla-addons and also the data in opt and also hidden folders in home directory, tried it trice and updated the system if it can solve anything but no results, any idea on how to go about this problem
Zitieren
FredMcD
  • Top 10 Contributor
4396 Lösungen 61665 Antworten
Veröffentlicht

You went overboard with the deleting of files. If you removed the profile folders, no more profile.


https://support.mozilla.org/en-US/kb/how-run-firefox-when-profile-missing-inaccessible

http://kb.mozillazine.org/Profile_folder_-_Firefox#Navigating_to_the_profile_folder

https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles

https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles


Type about:profiles<enter> in the address bar. How many profiles are listed? How many should be there? Also, open the profile folder in your file explorer.

You went overboard with the deleting of files. If you removed the profile folders, no more profile. https://support.mozilla.org/en-US/kb/how-run-firefox-when-profile-missing-inaccessible http://kb.mozillazine.org/Profile_folder_-_Firefox#Navigating_to_the_profile_folder https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles Type '''about:profiles'''<enter> in the address bar. How many profiles are listed? How many should be there? Also, open the profile folder in your file explorer.
Hat Ihnen das weitergeholfen?
Zitieren
cor-el
  • Top 10 Contributor
  • Moderator
17865 Lösungen 161655 Antworten
Veröffentlicht

You still seem to have the profiles.ini file pointing to the profile folder you removed.

You can use the Profile Manager to create a new profile.

Firefox uses two locations for the Firefox profile folder, so make sure to look in the correct location. Location used for the main profile that keeps your personal data (Root Directory on about:profiles).

  • ~/.mozilla/firefox/

Location used for the disk cache and other temporary files (Local Directory on about:profiles).

  • ~/.cache/mozilla/firefox/
You still seem to have the profiles.ini file pointing to the profile folder you removed. *https://support.mozilla.org/en-US/kb/how-run-firefox-when-profile-missing-inaccessible You can use the Profile Manager to create a new profile. *https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles Firefox uses two locations for the Firefox profile folder, so make sure to look in the correct location. Location used for the main profile that keeps your personal data (Root Directory on about:profiles). *~/.mozilla/firefox/ Location used for the disk cache and other temporary files (Local Directory on about:profiles). *~/.cache/mozilla/firefox/
Hat Ihnen das weitergeholfen?
Zitieren

Fragesteller

I tried above methods but the issue was whenever I tried to open from both terminal or the icon but both give the window that profile is missing.In the cache file mozilla folder is not being created when I opened it.

I tried above methods but the issue was whenever I tried to open from both terminal or the icon but both give the window that profile is missing.In the cache file mozilla folder is not being created when I opened it.
Hat Ihnen das weitergeholfen?
Zitieren
cor-el
  • Top 10 Contributor
  • Moderator
17865 Lösungen 161655 Antworten
Veröffentlicht

Could be a permission issue, so make sure that you have read/write permission to all files and folders in both locations.

  • ~/.mozilla/firefox/
  • ~/.cache/mozilla/firefox/
Could be a permission issue, so make sure that you have read/write permission to all files and folders in both locations. *~/.mozilla/firefox/ *~/.cache/mozilla/firefox/
Hat Ihnen das weitergeholfen?
Zitieren

Fragesteller

When I tried running the command as root I encountered this error

Running Firefox as root in a regular user's session is not supported. ($HOME is /home/kushal which is owned by kushal.)

i tried to run firefox command in home directory is it that I have to run it in cache or mozilla directories in home

When I tried running the command as root I encountered this error Running Firefox as root in a regular user's session is not supported. ($HOME is /home/kushal which is owned by kushal.) i tried to run firefox command in home directory is it that I have to run it in cache or mozilla directories in home
Hat Ihnen das weitergeholfen?
Zitieren
Stellen Sie eine Frage

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.