I can't log in to admin to fix a problem that is blocking users' connection

I installed nextcloud with snap, on ubuntu 20.04.
I have installed several applications, including: files fulltextsearch and fulltextsearch.
Everything was fine, and I disconnected. When I wanted to reconnect I got a problem that is solved here: https://github.com/nextcloud/fulltextsearch/issues/447

To fix the connection problem, I have to log in as administrator to delete the applications.
However, I can’t even connect as administrator without getting the error.
So it’s an endless loop.

I wanted to know, if there is a way to force login as admin (e.g. automatically put me in the admin session/cookie, if possible) / delete applications from command lines / … to allow me to fix my login problem.
I would like to avoid reinstalling nextcloud (which I would do if I have to).

I found out where the installed applications are stored: /var/snap/nextcloud/NUMBER/nextcloud/extra-apps/
I don’t know if I can just delete the folders of the apps that are bothering me to fix the problem or if it will make it worse.

Thanks in advance

Nextcloud version: installed with snap (i think it is 23.0.0)
Operating system and version: Ubuntu 20.04
Apache version: Apache 2.4.41
PHP version: 7.4 and 8.0

I just found out how to modify the nextcloud application/site without logging in: