[resolved] Wallabag & Wallabag V2 : "Unknow Error" with android app

I’ve install Wallabag on my Yunohost server. Everything seems fine until I try to use the Android app.

I’ve seen this post.

So, I’ve applied the followind commands :
sudo yunohost app setting wallabag skipped_urls -v "[my hostname]/wallabag"
sudo yunohost app setting wallabag unprotected_uris -v "/"
sudo yunohost app setting wallabag skipped_regex -v “^/wallabag/?(.*)feed=true”

It still doesn’t work.

More precisely :

Whith wallabag :
I have to fill Token RSS and userID fields. A connexion test give me the result “unknow error”.

With Wallabag V2:

The configuration assistant in the android app fills fields automatically, say everything is OK, and the server is accessible. I see on my phone the articles saved from the web interface on Yunohost : the connection seems to be good.

But I can’t add an article from the android app. Nothing appens, and a “Unknow error” notification appear on my phone.

I’ve think of a client side bug, but it’s work OK with an account on framabag.org.

I’ve the same problem with wallabag V2.

Someone have an idea ?


En français (c’est sûrement bien mieux écrit)

J’ai installé Wallabag sur mon serveur Yunohost. Tout semblait marcher correctement, jusqu’à ce que j’essaye d’utiliser l’application android.

Je suis tombé sur ce post et ai donc appliqué les commandes suivantes :
sudo yunohost app setting wallabag skipped_urls -v "[myhostname]/wallabag"
sudo yunohost app setting wallabag unprotected_uris -v "/"
sudo yunohost app setting wallabag skipped_regex -v “^/wallabag/?(.*)feed=true”

ça ne marche toujours pas.

Plus précisément :

Avec wallabag :
J’ai du remplir manuellement les champs Token RSS; et ID utilisateur.
Un test de connexion me donne “Erreur inconnue”.

Avec Wallabag V2 :
l’assistant
de configuration de l’application wallabag me remplis automatiquement les champs tels que ID utilisateur et token RSS, et me dit que tout est OK, et que le serveur est accessible.
Je vois, sur mon téléphone, les articles que j’ai pu ajouter depuis l’interface web sur Yunohost.
Donc la connexion a bien lieu entre les deux.

Mais il m’est impossible de rajouter un article depuis l’application
android. Il ne se passe rien, et une notification "Unknow error"
apparait sur mon téléphone.

J’ai pensé à un bug du client android, mais il fonctionne bien sur un compte framabag.

Quelqu’un aurait des pistes ?

I’m still unsuccessfull with Wallabag V1, but I’ve resolved my problem with wallabag V2 with the solution in this post :

J’ai mis à jour sur Github, mais la solution pour le bookmarklet est d’éditer /etc/nginx/domain.tld.d/wallabag2.conf
et dans location @wallbag2 remplacer:
rewrite ^ /wallabag/app.php$is_args$args;
par:
rewrite ^ /wallabag/app.php?is_args$args;

and everything work fine in Wallabag V2 now, so I don’t care about Wallabag V1 :grin:

3 Likes

Merci tu seras ma solution du jour. Merci :grin:

Merci :slight_smile:
Solution toujours d’actualité pour une installation toute fraîche par contre.
J’ai pu obtenir mon premier jeton, valable 59 minutes :thinking: pour l’extension Wallabagger.