Forgotten your password → User not found

Hello Xibo Team !

I hope you are all doing well through these times.

I upgraded to Xibo 2.3.3 and one of my users reported me an error when he clicked on ‘forgotten password’ at the logon screen: when he enters his username he has a ‘User not found’ message.
I searched through the topics and see here that it had already happened in 2.1.0
Can you please check this ?

Thank you.

Thank you for your message. I have been testing the Forgotten Password functionality and can confirm that it is working on my 2.3.3 CMS.

Have you set up your User account so that it has an email address to send the forgot password message to? You must do that by going to the Users option in your CMS, then edit the User account you want to reset the password for. Make sure a valid email address has been entered and save to confirm.

Many Thanks.

Hello Dan,

It worked until the migration but it doesn’t work anymore. And yes, every user account (including mine) has a valid email address. I even changed it and entered again, just in case… but the problem still occurs when I click on forgotte password : User not found. Here are some logs where you can see "Unable to send password reminder to " (me).

682360 c61b37c 2020-05-26 21:06 WEB GET INFO /login Request stats: { “default”: { “select”: 2 }, “log”: { “insert”: 5 }, “length”: 0.09416317939758301, “memoryUsage”: 13957944, “peakMemoryUsage”: 14078392 }.
682359 c61b37c 2020-05-26 21:06 WEB GET DEBUG /login Blocked assess to unrecognised page: /drawer.
682358 c61b37c 2020-05-26 21:06 WEB GET DEBUG /login Route drawer not viewable
682357 c61b37c 2020-05-26 21:06 WEB GET DEBUG /login Checking permissions against the logged in user: ID: 0, Name: , UserType: 0
682356 c61b37c 2020-05-26 21:06 WEB GET DEBUG /login CMS font CSS returned from Cache.
682355 c61b37c 2020-05-26 21:06 WEB GET DEBUG /login Install Fonts called with options: {“invalidateCache”:false}
682354 efeb99f 2020-05-26 21:06 WEB POST INFO /login/forgotten Request stats: { “default”: { “select”: 3 }, “log”: { “insert”: 7 }, “length”: 0.1755359172821045, “memoryUsage”: 14323336, “peakMemoryUsage”: 14694784 }.
682353 efeb99f 2020-05-26 21:06 WEB POST DEBUG /login/forgotten Unable to send password reminder to valid.mail.address@mailserver.com
682352 efeb99f 2020-05-26 21:06 WEB POST INFO /login/forgotten Forgotten Password Request for MyLogin
682351 efeb99f 2020-05-26 21:06 WEB POST DEBUG /login/forgotten Blocked assess to unrecognised page: /drawer.
682350 efeb99f 2020-05-26 21:06 WEB POST DEBUG /login/forgotten Route drawer not viewable
682349 efeb99f 2020-05-26 21:06 WEB POST DEBUG /login/forgotten Checking permissions against the logged in user: ID: 0, Name: , UserType: 0
682348 efeb99f 2020-05-26 21:06 WEB POST DEBUG /login/forgotten CMS font CSS returned from Cache.
682347 efeb99f 2020-05-26 21:06 WEB POST DEBUG /login/forgotten Install Fonts called with options: {“invalidateCache”:false}
682346 3c1b35f 2020-05-26 21:06 WEB GET INFO /login Request stats: { “default”: { “select”: 2 }, “log”: { “insert”: 5 }, “length”: 0.11174201965332031, “memoryUsage”: 13957312, “peakMemoryUsage”: 14077760 }.

I can send you more logs if you can help me. Where can I find more logs ?

Thank you for your help.

Could you provide more information about the migration and also confirm if this is a Docker or Custom installation?

For Docker installations, you need to make sure that you have set your mail server in the config.env. Once you have done that, your containers will need to be recreated by using the docker-compose down and docker-compose up -d or other appropriate up command depending on your setup.

For custom installations, you will need to make sure that you have configured your server to send emails via PHP.

Many Thanks.

Hello Dan,

Sorry, I couldn’t investigate further before today. Our installation of Xibo is on Docker on Ubuntu server 18.04.

We installed Xibo on a VM and hypervisor is Proxmox VE. That way we can do snapshots and rollback if something goes wrong.

I had to wait today to avoid interrupting service to our users and make some tests. I took a snapshot of the VM and rolled back to the situation where everything worked in 2.2.2.

So to start, here is the logon screen. Note that we have a custom theme but for the purpose of showing you the problem, I deactivated it and activated the Xibo default theme.

01

If I click on Forgotten Password (in french here) :
02
and press Reset, then I come back to the login screen with a message telling me a mail was sent :


I receive a mail and everything works like a charm.
Now, let’s “break” it.

First I docker-compose down :
04

Then edit the docker-compose.yml to upgrade the versions :

Just notice that I make no changes to config.env (never did since 2017 !) :

And I docker-compose up -d:


Everything goes fine !

Now the forgotten password is broken :
08

When I fill my username :
09

And press Reset, I have an ugly message :

User not found !

Besides this, I noticed that Xibo doesn’t send any more mails. Even when I schedule them through the notification center.

It is a very annoying situation, I don’t know what is going wrong but I did nothing more than what I showed here.

Can you please help me ?

I can send you any logs you want if you ask me to.

Thank you for your help. :blush:

The Xibo Community site uses cookies. What are cookies?