doitandbedone/ispyagentdvr-docker

Photos not displayed anymore in Photo Menu / (latest upgrade?)

MrSiO opened this issue ยท 16 comments

MrSiO commented

Affected Version
Noticed since I upgraded to v4.4.5.0

Describe the bug.
No more pictures shown under Photos.
No filters are applied. Pictures are in the folder (/home/user1/ispyagentdvr/media/video/FRONT-CAM/grabs) but not showing anymore in the GUI under Photos.

Did a clean new installation. Added one single ONVIF camera: Same results.
Using Docker-Compose.

Steps To Reproduce

  1. Install version 4.4.5.0 as a container (running Ubuntu) & docker-compose
  2. Add one camera and take a picture
  3. Check the Photo menu - will be empty

Expected behavior
As I used to, we should see pictures listed.

Reproduction rate
100%. Have not been able to see a photo since my upgrade to v4.4.5.0 (at least)

Screenshots
N/A

Host System Information (where ispy agent is running/hosted):

  • Ubuntu 20.04.5 LTS (running latest version of Docker-Compose)

Client System Information (device accessing the web portal, if applicable):

  • Linux Mint / Firefox or Chrome
  • Android Firefox and Chrome

Additional Information
Thx for your support! Great projet!

Check you don't have the camera minimized in the UI - you might have to check the toggle in the header to expand it - also check logs.html for any error messages and check the browser console for errors.
Also check you don't have a filter applied that could be filtering out the results.

MrSiO commented

Check you don't have the camera minimized in the UI - you might have to check the toggle in the header to expand it - also check logs.html for any error messages and check the browser console for errors.
Also check you don't have a filter applied that could be filtering out the results.

Hi
Unfortunately all this has been done already.

I even made a fresh install (parallel container), default config except adding a single Onvif cam. Same issue.

Tried different browser (mobile and desktop), private browsing...

No filters are applied.
/Logs.html has no mention of pictures anywhere..

I've seen other users on Reddit with the same issue but no solution yet except downgrading.

Pictures are created under Grab folder, but not displayed in the UI.

I'm available for testing / I kept my parallel container for that purpose.

Found the issue, fix in next update. It's to do with a timezone difference between the computer running Agent and the browser.

MrSiO commented

Found the issue, fix in next update. It's to do with a timezone difference between the computer running Agent and the browser.

Great news and great support!
Thx!

This should be fixed in latest.

MrSiO commented

This should be fixed in latest.

Great!!! When will it be available for download?
Last update on Dockerhub is 24 days old.

By [doitandbedone](https://hub.docker.com/u/doitandbedone) โ€ข Updated 24 days ago

Thx!

MrSiO commented

Thx !
4.4.9.0 fixed it!

And BTW I'm getting way better results now using senseAI w/combined models on 4.4.9.0.

Didn't miss a detection since I switched!

๐Ÿ‘

MrSiO commented

Follow up:

Issue is fixed in 4.4.9.0 but my Watchtower keeps downgrading ispyagentdvr back to old version...

Seems like Latest tag on Docker-Hub is still on a way older version...

Could "latest" tag on Docker-Hub be linked to latest stable version?

@doitandbedone - not sure how to update latest tag?

MrSiO commented
MrSiO commented

Latest is 4.5.3.0. Dockerhub and github both show that.

On Mon, Feb 27, 2023, 3:54 PM sean tearney @.***> wrote:

@doitandbedone https://github.com/doitandbedone - not sure how to
update latest tag?

โ€”
Reply to this email directly, view it on GitHub
#542 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AORTFNGS3NCLQ2OOI7WP5TDWZU5ETANCNFSM6AAAAAATUZVWEA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I tried this morning.
Removed my 4.5.3.0 manually added tag in my Docker-compose file and replaced it with "latest".

Rebuilt the container and it downgraded to 4.4.X.X I believe....

You could also see the file size on Docker-hub for Latest did not match 4.5.3.0 size....

I just ran

docker run -it -p 8090:8090 -p 3478:3478/udp -p 50000-50010:50000-50010/udp
-v /appdata/ispyagentdvr/config/:/agent/Media/XML/
-v /appdata/ispyagentdvr/media/:/agent/Media/WebServerRoot/Media/
-v /appdata/ispyagentdvr/commands:/agent/Commands/
-e TZ=America/Los_Angeles
--name ispyagentdvr doitandbedone/ispyagentdvr:latest

from
https://github.com/doitandbedone/ispyagentdvr-docker

and it installed v4.5.3.0

MrSiO commented
MrSiO commented

I don't get it.
I once again tried and I downgraded to 4.4.6 again......

Here is part of my Docker-compose config...

version: "3.5"
services:
ispyagentdvr:
image: doitandbedone/ispyagentdvr:latest
container_name: ispyagentdvr
restart: always
ports:
- "8090:8090"
- "3478:3478/udp"
- "50000-50010:50000-50010/udp"
...

Why am I always downgrading?
When :latest is replaced by :4.5.3.0 everything is good... But :latest rolls back to 4.4.6....

Could I have something cached somewhere? I use Docker-compose.yml files to create containers and Portainer to maintain and reload....

MrSiO commented

I don't get it.
I once again tried and I downgraded to 4.4.6 again......

Here is part of my Docker-compose config...

version: "3.5"
services:
ispyagentdvr:
image: doitandbedone/ispyagentdvr:latest
container_name: ispyagentdvr
restart: always
ports:
- "8090:8090"
- "3478:3478/udp"
- "50000-50010:50000-50010/udp"
...

Why am I always downgrading?
When :latest is replaced by :4.5.3.0 everything is good... But :latest rolls back to 4.4.6....

Could I have something cached somewhere? I use Docker-compose.yml files to create containers and Portainer to maintain and reload....

FIXED!

I don't know why, but I found I had an unused :latest image dating back to January! For unknown reason it was never replaced...

Had to manually force delete this image, recreated the container with :latest and it worked!!

Thx all! Happy ๐Ÿ˜Š