Public bug reported: OS- ubuntu 24.10 package - epiphany-browser 47.0-1 (deb package)
while trying to install site(i.e.protonmail and microsoft.com) as web app on gnome web (aka epiphany browser) expected to get a get shortcut to appear in app menu instead following message was displayed in terminal (epiphany:5621): epiphany-WARNING **: 00:11:27.295: Failed to install web app, PrepareInstall() failed: GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: Dynamic launcher icon failed validation Problems Seems to be in ubuntu systems only The following fix I found on the web worked fine The following workaround/configuration recommended by the WebApps app also fixed this GNOME Web issue on my ubuntu system: https://etbe.coker.com.au/2024/04/24/ubuntu-24-04-bubblewrap/ The workaround/configuration is to allow the creation of bubblewrap namescapes in the ubuntu apparmor configuration. The web page suggest either to upgrade to SElinux or to create a file named /etc/apparmor.d/bwrap with the following contents: abi <abi/4.0>, include <tunables/global> profile bwrap /usr/bin/bwrap flags=(unconfined) { userns, # Site-specific additions and overrides. See local/README for details. include if exists <local/bwrap> } I applied this configuration change to my system and GNOME Web's feature "Install as webapp..." is working as expected for me. Following configuration also worked for flatpak version ProblemType: Bug DistroRelease: Ubuntu 24.10 Package: epiphany-browser 47.0-1 ProcVersionSignature: Ubuntu 6.11.0-14.15-generic 6.11.0 Uname: Linux 6.11.0-14-generic x86_64 ApportVersion: 2.30.0-0ubuntu4 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: GNOME Date: Sat Feb 15 00:11:41 2025 InstallationDate: Installed on 2025-01-21 (25 days ago) InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Release amd64 (20241009.4) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash XDG_RUNTIME_DIR=<set> SourcePackage: epiphany-browser UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: epiphany-browser (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug oracular wayland-session ** Description changed: - OS- ubuntu 24.10 + OS- ubuntu 24.10 package - epiphany-browser 47.0-1 (deb package) while trying to install site(i.e.protonmail and microsoft.com) as web app on gnome web (aka epiphany browser) expected to get a get shortcut to appear in app menu instead following message was displayed in terminal (epiphany:5621): epiphany-WARNING **: 00:11:27.295: Failed to install web app, PrepareInstall() failed: GDBus.Error:org.freedesktop.portal.Error.InvalidArgument: Dynamic launcher icon failed validation + Problems Seems to be in ubuntu systems only The following fix I found on the web worked fine The following workaround/configuration recommended by the WebApps app also fixed this GNOME Web issue on my ubuntu system: https://etbe.coker.com.au/2024/04/24/ubuntu-24-04-bubblewrap/ The workaround/configuration is to allow the creation of bubblewrap namescapes in the ubuntu apparmor configuration. The web page suggest either to upgrade to SElinux or to create a file named /etc/apparmor.d/bwrap with the following contents: abi <abi/4.0>, include <tunables/global> profile bwrap /usr/bin/bwrap flags=(unconfined) { - userns, + userns, - # Site-specific additions and overrides. See local/README for details. - include if exists <local/bwrap> + # Site-specific additions and overrides. See local/README for details. + include if exists <local/bwrap> } - I applied this configuration change to my system An GNOME Web's feature + I applied this configuration change to my system and GNOME Web's feature "Install as webapp..." is working as expected for me. Following configuration also worked for flatpak version ProblemType: Bug DistroRelease: Ubuntu 24.10 Package: epiphany-browser 47.0-1 ProcVersionSignature: Ubuntu 6.11.0-14.15-generic 6.11.0 Uname: Linux 6.11.0-14-generic x86_64 ApportVersion: 2.30.0-0ubuntu4 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: GNOME Date: Sat Feb 15 00:11:41 2025 InstallationDate: Installed on 2025-01-21 (25 days ago) InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Release amd64 (20241009.4) ProcEnviron: - LANG=en_US.UTF-8 - PATH=(custom, no user) - SHELL=/bin/bash - XDG_RUNTIME_DIR=<set> + LANG=en_US.UTF-8 + PATH=(custom, no user) + SHELL=/bin/bash + XDG_RUNTIME_DIR=<set> SourcePackage: epiphany-browser UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2098519 Title: web app install fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/epiphany-browser/+bug/2098519/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs