Install procedure in linux - ubuntu with flatpak

hi guys
after a ssd failure last week
I had to reinstall all my applications
After installing Wappler I can no longer log in
When I try to open Wappler it stays on this "Processing Screen"
What can I do?

linux - ubuntu - 22.04
bowser - firefox / brave
asus - ryzen5 - nvidia

image

You can install through the terminal or via Gnome Software/Snap Store. Both methods work well in Ubuntu 22.04. Could try uninstalling Wappler and then installing again but use the terminal. Change directory to the downloads directory (or wherever the .deb package is located), and run:

sudo dpkg -i WAPPLER_FILE.deb

Hi friend
I didn't explain it properly
This screen appears after the .deb file installation process
When I open Wappler for the first time
I believe it is to validate my signature
It "seems" like it tries to open the browser and call the login screen
The problem is that it doesn't do anything after this screen
I tried to log in to the site beforehand
I used Firefox and Brave, but it doesn't get past this screen

How strange. Have you tried a reboot, silly question I know?

yes
I tried rebooting
I reinstalled it a few times
I deleted the wappler folder that is inside .config
It always freezes on that screen

@Teodor @George
Is there another way to log in and validate the account?

Wappler registeres a custom protocol, called x-wappler-desktop-auth to be used when authorizing via browser like Firefox or Chrome.

The browser than open Wappler back after authorization thanks to the registration of this custom protocol.

However in your configuration it seems like the registration is corrupted or invalid.

  1. Check registered MIME-types in /usr/share/applications/defaults.list.
  2. Build cache database of MIME types handled by desktop files (may need sudo): update-desktop-database
    Make sure also Firefox is your default browser

Also state your exact Ubuntu version of you still have problems.

hi @George

I understand what happens and how it happened

Since this is a new Ubuntu installation, I decided not to use Snap as a package installation method, I replaced it with Flatpak
Apparently this broke the process of "finding" the browser because the Firefox installed by Flatpak did not respond to the Wappler authentication process, I saw in the documentation that there are indeed differences in permissions when you work with Flatpak

But ok
I reversed the process and installed Firefox by Snap and the process went well

But, when it returns, it cannot open Wappler
I have already tried uninstalling and reinstalling Wappler
I changed the Ubuntu app store to have full support for Snaps again
I repeated the process and even so, when it returns to authentication, it does not find Wappler to open

And it stops at this screen

I am considering reinstalling everything again, but if you can help me I would prefer not to do this

when you close app store , browser show this

May be worth trying this @mrwmartins

This is from my recent post:

always in the same cycle


returning to login page

I believe the authentication process is ok, what is still failing is the application initialization on my computer

Looks like a GPU/Display driver issue..?

What desktop are you running, x or Wayland? Do you have a custom display driver installed, or are you using the Nouveau default x driver?

And what version of glibc?

Possibly OpenGL related? Looking at the error displayed... May want to install OpenGL or check it is installed?

Try launching Wappler through its desktop file and directly so do:

gtk-launch wappler

@George @Cheese

Hi friends
I gave up

I tried several ways to implement the token reception to authenticate and log into Wappler, but nothing worked

I edited the SSD and created a new partition

In this partition I created a new Ubuntu 22.04 and using the standard installation with Snap, Wappler works perfectly

But...
If you switch to Flatpak, nothing works

So that's the problem

Thanks for your help and keep going

Well Flatpak runs Wappler complete in a sandbox so limits all its functionality and also disallowing it to access custom protocols.

See

There might be a way by creating custom manifest but i would suggest not to use flatpack but just the regular supported installation methods.

1 Like

I did not install it through Flatpak and ran into the same error. I basically downloaded the .deb form the website. Wappler was not allowing me to authorize, I was stuck in a continous loop of getting back to the auth client, then to the website and then back again.

The only thing that helped was what @Cheese stated here:

You have to maneuver to

/usr/share/wappler-beta

And then you have to type:

exec Wappler Beta

If you have installed a non beta version, you would have to do the same, just without the beta tag I guess.

I don't know what caused this, but there must be something else causing this issue, besides Flatpak being sandboxed. It happened to me outside of Flatpak, as I have not even touched Flatpak at all.
@George

1 Like

Are you on Ubuntu 24?

Nope. It is Linux Mint 22. But this is essentially the same, because Linux Mint 22 is based on Ubuntu 24.