I have updated Zoneminder from 1.30 to 1.32 on an Ubuntu 16.04 Server Installation. Everything works fine (monitors, events, capturing, ...) but zmninja cannot connect ("Check your Credentials"). For testing i have disabled authentication, but i think its a problem with the API:
http://server/zm/api/host/getVersion.json
Code: Select all
{
"version": "1.32.3",
"apiversion": "1.0"
}
http://server/zm/api/host/monitors.json
Code: Select all
{
"success": false,
"data": {
"code": 404,
"name": "Action HostController::monitors() could not be found.",
"message": "Action HostController::monitors() could not be found.",
"url": "\/zm\/api\/host\/monitors.json",
"exception": {
"class": "MissingActionException",
"code": 404,
"message": "Action HostController::monitors() could not be found.",
"trace": [
"#0 \/usr\/share\/zoneminder\/www\/api\/app\/Plugin\/Crud\/Lib\/CrudControllerTrait.php(31): Controller->invokeAction(Object(CakeRequest))",
"#1 \/usr\/share\/zoneminder\/www\/api\/lib\/Cake\/Routing\/Dispatcher.php(193): AppController->invokeAction(Object(CakeRequest))",
"#2 \/usr\/share\/zoneminder\/www\/api\/lib\/Cake\/Routing\/Dispatcher.php(167): Dispatcher->_invoke(Object(HostController), Object(CakeRequest))",
"#3 \/usr\/share\/zoneminder\/www\/api\/app\/webroot\/index.php(107): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))",
"#4 {main}"
]
},
"queryLog": []
}
}
sorry for my bad english