[gotosocial] Recover user email

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.9.1
What app is this about: gotosocial

Describe your issue

I have a gotosocial account working with tusky and I need to add a second client but the adding process sends me to a page of my gotosocial instance asking me for the password and email, and this I cannot remember because every address I use is not working.
How I can recover this email?
The log below is created an address in use and nothing changes using other addresses in use.

Share relevant logs or error messages

timestamp=“28/12/2024 19:00:31.103” func=server.init.func1.Logger.13.1 level=INFO latency=“2.256553ms” userAgent=“Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0” method=POST statusCode=401 path=/auth/sign_in clientIP=151.217.222.121 errors=“Error #01: user leandro@noferini.org was not retrievable from db during oauth authorization attempt: sql: no rows in result set\n” requestID=fn56t3mm04000fspxr4g msg=“Unauthorized: wrote 992B”

You may use the following command to get the email address you used upon installation:

sudo yunohost app setting gotosocial email

This one may have changed. To fix it, according to Admin Settings Panel - GoToSocial Documentation, you need to do:

yunohost app shell gotosocial
#this will open a dedicated shell into the app

./gotosocial --config-path ./config.yaml admin account list
#this will list the accounts and specify which ones are admins

./gotosocial --config-path ./config.yaml admin account password --username <USER> --password <PASSWORD>
# this will set the password of the user, replace the <VARIABLES> accordingly

I don’t understand what is this email: some kind of admin email?

By the way, it does not work trying to use to register a new client.

This last command is to change password, command I gave with apparent success but I still cannot add a new client because the question about the user email.

P.S.: I am trying to add tuba (gnome client) as new client.

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