Error 500 in SSOwat

My YunoHost server

Hardware: Raspberry 4
YunoHost version:

  • yunohost version: 4.1.0+202011021853 (unstable)
  • yunohost-admin version: 4.0.4+202011021953 (unstable)
  • moulinette version: 4.1+202010311817 (unstable)
  • ssowat version: 4.0.5+202010311353 (unstable)
    I have access to my server : Through SSH | through the webadmin
    Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes / installed with the script curl https://raw.githubusercontent.com/YunoHost/install_script/buster-unstable/install_yunohost | bash
    Except that, the system is vanilla/out of the box

Description of my issue

Several apps (wallabag, davx5, …) are not working, because of what I think is an issue in SSOwat.

/var/log/nginx/mydomain-error.log
coroutine 0:
[C]: in function ‘decode_base64’
/usr/share/ssowat/helpers.lua:274: in function ‘refresh_logged_in’
/usr/share/ssowat/access.lua:32: in function </usr/share/ssowat/access.lua:1>, client: 165.225.77.50, server: yuno.flipo.me, request: “GET /wallabag/api/tags.json HTTP/1.1”, host: “yuno.flipo.me
2020/11/03 15:38:46 [error] 1120#1120: *1 lua entry thread aborted: runtime error: /usr/share/ssowat/helpers.lua:274: string argument only
stack traceback:
coroutine 0:
[C]: in function ‘decode_base64’
/usr/share/ssowat/helpers.lua:274: in function ‘refresh_logged_in’
/usr/share/ssowat/access.lua:32: in function </usr/share/ssowat/access.lua:1>, client: 165.225.77.50, server: yuno.flipo.me, request: “POST /wallabag/api/entries.json HTTP/1.1”, host: “yuno.flipo.me

/var/log/nginx/mydomain-access.log: error 500 for every api call
192.168.1.254 - - [03/Nov/2020:15:41:49 +0000] “GET /wallabag/api/entries/exists.json?url=https://forum.yunohost.org/c/support/6 HTTP/2.0” 500 472 “-” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0”
192.168.1.254 - - [03/Nov/2020:15:42:19 +0000] “GET /wallabag/api/entries/exists.json?url=https://mail.ovh.net/roundcube/?_task=mail&_mbox=INBOX HTTP/2.0” 500 472 “-” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0”
192.168.1.254 - - [03/Nov/2020:15:42:20 +0000] “GET /wallabag/api/entries/exists.json?url=https://mail.ovh.net/roundcube/?_task=mail&_mbox=INBOX HTTP/2.0” 500 472 “-” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0”

Any idea ?
Thanks (a lot !) in advance

Your issue is that you’re running the unstable version of yunohost, which as the name indicates, is unstable …

unstable is not suited for production… if you want to run a stable server, you should remove the “testing” and “unstable” flags in /etc/apt/sources.list.d/yunohost.list

Nevertheless this sounds like a legit bug in the unstable version which should be investitaged and fixed so thanks for the bug report I guess :confused:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.