-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Thumbnails not appearing in Events list #700
Comments
The forum topics you are referring to are very old.
|
Thumbnails are showing in Zoneminder but not in zmNinja's events list. zm is v 1.29 (and zm reports that "You are running the most recent version of ZoneMinder, v1.29.0. No update is necessary." |
You should update to 1.30.4 - thats the latest stable release. |
Forgot to add that I was previously able to see event list thumbnails in zmNinja with ver 1.29 of zm. I'm not aware of anything I've done that might have affected zmNinja. |
Thought you might suggest that. I'm a little reluctant to mess with a system that's otherwise been perfect. Hope updating doesn't produce unintended consequences, Thanks for your advice and keep up the great work. |
zmNinja switched over to image.php to display images - I don't believe that was in 1.29. The code was getting too messy |
Did as suggested and upgraded Debian 8 to 9 - and in the process ZM was automatically upgraded from 1.29 to 1.30.4. Zoneminder is working normally but the APIs are now broken (so I can't get past the error screen in zmNinja after otherwise successfully authenticating). My apache2 log says "PHP fatal error: call to undefined function apc_fetch() in /usr/share/php/Cake/Cache/Engine/ApcEngine.php on line 91". I'm not sure if that's relevant to the broken APIs? |
Yes there are many threads in the ZM forum about Debian 9 and APIs I don't use debian, but if you post in the forums, user 'bbunge' who maintains these "easy way" tutorials will likely respond and help resolve. |
Thanks for responding again. Have tried various suggestions already from the forum but your suggested https://forums.zoneminder.com/viewtopic.php?t=26575 looks very promising. If you leave the thread open I'll report the outcome here. |
Got zmNinja working again, with thumbnails, now running Debian 9 and zm 1.30.4 as explained here |
Great, thanks for letting me know! |
This issue is actually still ongoing if you try setting up a reverse proxy. Eg, I have nginx and Zoneminder running using the official Docker images. nginx is correctly setup as a reverse proxy and you can access Zoneminder from http://localhost:9080/zm (native) or from https://localhost/zm (reverse proxy). Both work almost totally, but the reverse proxy cannot load thumbnails and cannot generate a video. I think this is because of some shoddy coding around hardlinked URLs within Zoneminder and inconsistent usage of ZM_BASE_URL which doesn't actually set the base URL for most assets despite its name, but to my understanding this has been closed as a "won't fix." My workaround is a PHP script to redirect to the port address if you're on localhost and serve the reverse proxied address if you're not, coupled with a firewall to ensure no one accesses the ported address outside of localhost. A crappy solution, but anyways. |
Before you create an issue, please make sure you have read the FAQ. Common questions on API, no image etc are covered there. Please also read HOWTO REPORT ISSUES
Platform & OS Version
Debian 8, zm v1.29.0
zmNinja v 1.3.016
Device details:
Google Pixel 2 and Apple iPad v6
What is the nature of your issue
Bug
Details
My issue is the same as that in #599, now closed, and I have done the following:
Is there something I might be missing? Thanks for a great app.
Debug Logs (if applicable)
Thanks!
The text was updated successfully, but these errors were encountered: