Search found 5 matches

by warpengine
Thu Nov 24, 2022 6:58 am
Forum: Mobile Apps and Event Server
Topic: HTTP 500 Error on API access from zm_detetc .../zm/api/host/login.json
Replies: 8
Views: 25204

Re: HTTP 500 Error on API access from zm_detetc .../zm/api/host/login.json

Ok I think I've resolved, the last PHP log made me thinking and I've found the missing package in PHP-APCU which was causing "Call to undefined function apc_fetch()". Installed the package resolved the HTTP500 error.

Thanks to all for your hints :D
by warpengine
Wed Nov 23, 2022 2:16 pm
Forum: Mobile Apps and Event Server
Topic: HTTP 500 Error on API access from zm_detetc .../zm/api/host/login.json
Replies: 8
Views: 25204

Re: HTTP 500 Error on API access from zm_detetc .../zm/api/host/login.json

I've found also this on /var/log/php-fpm/www-error.log thrown in /usr/share/zoneminder/www/api/lib/Cake/Cache/Engine/ApcEngine.php on line 91 [23-Nov-2022 13:53:06 UTC] PHP Fatal error: Uncaught Error: Call to undefined function apc_fetch() in /usr/share/zoneminder/www/api/lib/Cake/Cache/Engine/ApcE...
by warpengine
Wed Nov 23, 2022 2:09 pm
Forum: Mobile Apps and Event Server
Topic: HTTP 500 Error on API access from zm_detetc .../zm/api/host/login.json
Replies: 8
Views: 25204

Re: HTTP 500 Error on API access from zm_detetc .../zm/api/host/login.json

/var/log/apache2/error.log [Wed Nov 23 10:10:06.404811 2022] [mpm_event:notice] [pid 1596:tid 1596] AH00492: caught SIGWINCH, shutting down gracefully [Wed Nov 23 10:10:07.462536 2022] [suexec:notice] [pid 256046:tid 256046] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00558: http...
by warpengine
Wed Nov 23, 2022 1:32 pm
Forum: Mobile Apps and Event Server
Topic: HTTP 500 Error on API access from zm_detetc .../zm/api/host/login.json
Replies: 8
Views: 25204

Re: HTTP 500 Error on API access from zm_detetc .../zm/api/host/login.json

I've turn on debug logs and checked all logs but I cannot see anything more then the error I've already posted. There is no specific log file for the API, maybe I'm wrong but what would be the file to look into the logs for this kind of errors?
by warpengine
Wed Nov 23, 2022 10:01 am
Forum: Mobile Apps and Event Server
Topic: HTTP 500 Error on API access from zm_detetc .../zm/api/host/login.json
Replies: 8
Views: 25204

HTTP 500 Error on API access from zm_detetc .../zm/api/host/login.json

Hello, I'm trying to set up EventNotification on my Fedora 34 server, everything looks fine but for this error on API: Unrecoverable error:500 Server Error: Internal Server Error for url: https://********/zm/api/host/login.json Traceback:Traceback (most recent call last): File "/var/lib/zmevent...