Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API not working #1

Open
ghost opened this issue May 10, 2018 · 2 comments
Open

API not working #1

ghost opened this issue May 10, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented May 10, 2018

http://10.0.0.10:8080/zm/ is working,

but all API url not working:
http://10.0.0.10:8080/zm/api/host/getVersion.json
http://10.0.0.10:8080/zm/api/monitors.json

@barqers
Copy link

barqers commented Jan 13, 2019

I'm having the same issue the API folders are not downloading, as they musn't be included in the dockerfile.

Is there a way to get the api folders?

@merlucilla
Copy link

I managed to get api working fixing the following:

1- missing php package:
apt install php7.0-apcu
service apache2 restart

2 - Missing php plugin

apt-get update
apt-get install wget unzip
mkdir -p /usr/share/zoneminder/www/api/app/Plugin
wget -P /tmp/https://github.com/FriendsOfCake/crud/archive/c3976f1478c681b0bbc132ec3a3e82c3984eeed5.zip
cd /usr/share/zoneminder/www/api/app/Plugin
unzip /tmp/c3976f1478c681b0bbc132ec3a3e82c3984eeed5.zip
mv crud-c3976f1478c681b0bbc132ec3a3e82c3984eeed5 Crud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants