Authentication stopped to work
Authentication stopped to work
I just updated from 1.36.25 to 1.36.30 on a Fedora 36 box. After the update it seems to be impossible to log in. At first glance I did not see any error messages in the log files. If I disable authentication (i.e. by setting zm.ZM_OPT_USE_AUTH to 0) the rest works as usual.
Then I completely reinstalled zoneminder by removing the package, deleting all events and dropping the zm database. The login problem is still there, so my problem does currently not look like a broken update due to whatever circumstances.
Did someone run into the same problem?
Then I completely reinstalled zoneminder by removing the package, deleting all events and dropping the zm database. The login problem is still there, so my problem does currently not look like a broken update due to whatever circumstances.
Did someone run into the same problem?
Re: Authentication stopped to work
I found something in ssl_error_log:
Right now I don't know what is causing that as the previous setup has worked for a couple of zoneminder versions.
Code: Select all
[Sun Oct 30 14:46:31.876139 2022] [authz_core:error] [pid 1157:tid 1322] [client 192.168.xx.xx:50440] AH01630: client denied by server configuration: /usr/share/zoneminder, referer: https://p10s/zm/?view=console
Re: Authentication stopped to work
I already checked for the "Require all granted" permissions, but they all exist. The error message refers to "/usr/share/zoneminder" and not to "/usr/share/zoneminder/www", which confuses me. On the other hand, I am not sure if this is the cause of my login problem.
Re: Authentication stopped to work
Same problem here. I was waiting for 1.36.29 because of the log problems so decided to upgrade to 1.36.30 when i get an invitation to upgrade.
After upgrade a running zoneminder everything works fine ans problems seems resolved.
Unfortunately in a new browser session i can't login anymore.
Looks like logon works:
PM GMT+1.706398 web_php[1454].INF [192.168.178.100] [Login successful for user "admin"] at /usr/share/zoneminder/www/includes/auth.php line 372
Question is what doesn't work anymore? Can't find useful error messages. ZM seems to work okay. I see al kind of messages in the logs as usual.
So a little help is also welcome over here
Thanks in advance
After upgrade a running zoneminder everything works fine ans problems seems resolved.
Unfortunately in a new browser session i can't login anymore.
Looks like logon works:
PM GMT+1.706398 web_php[1454].INF [192.168.178.100] [Login successful for user "admin"] at /usr/share/zoneminder/www/includes/auth.php line 372
Question is what doesn't work anymore? Can't find useful error messages. ZM seems to work okay. I see al kind of messages in the logs as usual.
So a little help is also welcome over here
Thanks in advance
Re: Authentication stopped to work
I have same problem with Fedora 35 with verson 1.36.30-2. I Don't have time to debug now, temporary solution just:
dnf downgrade zoneminder
But now I have older version than before running dnf update, 1.36.5
Is there any way in Fedora (dnf) I can downgrade to the version I already have and was working which was 1.36.28?
- TRa
dnf downgrade zoneminder
But now I have older version than before running dnf update, 1.36.5
Is there any way in Fedora (dnf) I can downgrade to the version I already have and was working which was 1.36.28?
- TRa
Re: Authentication stopped to work
There is another post about that here and it seems that the problem has already been solved. I doubt that you will we able to go back to an older version. As far as I remember the table defs of the database have also been updated, so you would have to work out the differences manually. Of course, you could also start from scratch.
Re: Authentication stopped to work
Downgrading is not an option for me. Did a database update too but beside that i think the problem isn't so big.
After a couple of hours now i did a logon again. Just trying. It worked and i got the ZM interface. But logging out and in again it doesn't.
BTW ZMNINJA is working fine.
I read about the problem is already solved? Where can i read about it?
After a couple of hours now i did a logon again. Just trying. It worked and i got the ZM interface. But logging out and in again it doesn't.
BTW ZMNINJA is working fine.
I read about the problem is already solved? Where can i read about it?
Re: Authentication stopped to work
Looks like the problem is solved in 1.36.31
Re: Authentication stopped to work
You could say so, .
Re: Authentication stopped to work
Yeah, 1.36.31-1 is available now in Fedora 35 rpmfusion.
I did:
systemctl stop zoneminder
dnf update
zmupdate.pl
systemctl start zoneminder
and everything works again! Thanks!
--
- TRa
I did:
systemctl stop zoneminder
dnf update
zmupdate.pl
systemctl start zoneminder
and everything works again! Thanks!
--
- TRa