filips123 / PWAsForFirefox

A tool to install, manage and use Progressive Web Apps (PWAs) in Mozilla Firefox
https://pwasforfirefox.filips.si
Mozilla Public License 2.0
2.08k stars 49 forks source link

Can't run installed PWA apps -Failed to read the configuration file. Please contact your system administrator. #520

Open skoruppa opened 3 weeks ago

skoruppa commented 3 weeks ago

Description

When I try to launch Teams with PWAsForFirefox on my Ubuntu 22.04 Installation i receive an error "Failed to read the configuration file. Please contact your system administrator."

And after that, a new empty Firefox window is opened with a question about making it a default browser. I tried reinstalling the extension, runtime, pwa an it always ends on with the same error message

Nothing interesting in logs

firefoxpwa site launch 01J14S02B83BGYRP8S65V0HG9N -- --jsconsole
09:27:45 <font color="#12488B">[INFO] </font>Patching the runtime
09:27:45 <font color="#12488B">[INFO] </font>Runtime patched!
09:27:45 <font color="#12488B">[INFO] </font>Patching the profile
09:27:45 <font color="#12488B">[INFO] </font>Profile patched!
09:27:45 <font color="#12488B">[INFO] </font>Launching the web app

and I see one interesting warning in browser's console but I don't know if it is related image

Extension/connector is in the latest version - 2.12.1 just like Firefox - 128.0b6

Steps to Reproduce

  1. Go to (https://teams.microsoft.com/v2/)
  2. Click on install PWA button in the url navigation bar
  3. Install PWA in a new profile
  4. Try to run the PWA
  5. Error is thrown image
  6. After accepting it, a new empty Firefox window is open image

Environment

filips123 commented 3 weeks ago

Please try to run "Patch profiles and runtime" from the extension settings and relaunch your PWA. Also, try to install a new PWA into a separate profile and check if it works there.

skoruppa commented 3 weeks ago

Please try to run "Patch profiles and runtime" from the extension settings and relaunch your PWA. Also, try to install a new PWA into a separate profile and check if it works there.

Tried everything. I have done "Patch profiles and runtime" countless times before reporting this bug. I just created a new profile, installed PWA there and have the exact same issue

filips123 commented 1 week ago

Can you please check if files _autoconfig.cfg and defaults/pref/autoconfig.js inside your runtime directory are the same as in the repository? Also, please try to remove the runtime directory, and install and patch the runtime again from the extension.