ispysoftware / iSpy

Open source surveillance software
http://www.ispyconnect.com
Other
1.32k stars 529 forks source link

iSpy Installation not working on Raspberry Pi5 #271

Open rodriguesgnuno opened 8 months ago

rodriguesgnuno commented 8 months ago

Hello,

iSpy/Agent DVR installation is not working on Raspberry Pi5.

I absolutely love your software and have been using it on my raspberrypi4 where everything works perfectly.

I'm looking to migrate the CCTV to my Pi5 but the installation is having issues. Bellow is a print of what happens when I try to launch the Agent manually (./Agent):

Log start Agent (v5.1.4.0) Starting... Detected: LinuxARM64 Creating temp path for opencv in /tmp/ Get com port list Conf: Check /home/grodrigues/AgentDVR/Media/WebServerRoot/Media/ Using WorkStation GC StartUp: Inbuilt SOAP auth unavailable (using alternate) Using Original WebRTC library Init FFmpeg ffmpeg6/lib not found ffmpeg-v6/workspace/lib not found Checking in /usr/local/lib Checking in /usr/lib/aarch64-linux-gnu /usr/lib/aarch64-linux-gnueabi not found /usr/lib/aarch64-linux-gnueabihf not found Installing FFmpeg6 StartUp: P2P library not installed (this is normal) Init: NDI Init: Not installed Init SDL StartUp: SDL not available (SDL not available on all platforms - local talk playback disabled) Downloading https://ispyrtcdata.blob.core.windows.net/downloads/ffmpeg6-linuxarm64.tar.xz Database Preloading Images Unhandled exception. System.TypeInitializationException: The type initializer for 'Pixiv.Rtc.ThreadManager' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'jingle_peerconnection_so' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libjingle_peerconnection_so: cannot open shared object file: No such file or directory at Pixiv.Rtc.ThreadManager.rtcThreadManagerInstance() at Pixiv.Rtc.ThreadManager..cctor() --- End of inner exception stack trace --- at Pixiv.Rtc.ThreadManager.get_Instance() at CoreLogic.Server.WebRTC.RTCConnection.RunTURN() at System.Threading.Thread.StartCallback() Aborted

I know the issue is most likely on raspberry pi 5, but I am unnable to solve it. One difference I could see is that if I ran LDD on my Pi4 against jingle_peerconnection_so it works:

pi@raspberrypi:~/AgentDVR $ ldd libjingle_peerconnection_so.so linux-vdso.so.1 (0x0000007f8c02e000) libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f8b62e000) libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f8b583000) libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f8b55f000) libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f8b3eb000) /lib/ld-linux-aarch64.so.1 (0x0000007f8bffe000)

If I do the same on my Pi5 it doesn't:

pi@raspberrypi5:~/AgentDVR $ ldd libjingle_peerconnection_so.so not a dynamic executable

I really your help as I dislike all other similar products out there, as iSpy is the most straight forward easy to use software I found. I will be more than glad to buy subscribe to the Basic Version, even though this is for home use, the HTTPS feature will come in handy since I also access iSpy from outside my home network.

Looking forward for your reply. Best Regards, Goncalo Rodrigues

ispysoftware commented 8 months ago

what's the difference between the processors? it could be that one is 32 bit and one is 64 bit.. have you tried the docker option? might also be a new version of glibc breaking it - could need a different OS.

rodriguesgnuno commented 8 months ago

Hello Sean, thanks for the reply! Both of them are 64bits and pretty similar processors. Yes docker it gives me the same exact error on Pi5.

I don’t have enough knowledge about libraries to fix this unfortunately… I am using the latest available for Pi5, Debian 12 64bits

Gonçalo Rodrigues

On Thu, 7 Dec 2023 at 23:52, sean t @.***> wrote:

what's the difference between the processors? it could be that one is 32 bit and one is 64 bit.. have you tried the docker option? might also be a new version of glibc breaking it - could need a different OS.

— Reply to this email directly, view it on GitHub https://github.com/ispysoftware/iSpy/issues/271#issuecomment-1846280793, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATB3BLAYNTQVENNKSRWVFD3YIJJFDAVCNFSM6AAAAABALKXPT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBWGI4DANZZGM . You are receiving this because you authored the thread.Message ID: @.***>

ispysoftware commented 8 months ago

if you're on 64 bits you should be able to use the docker option

rodriguesgnuno commented 8 months ago

Hello Sean,

I did use the docker option.

I have the exact same error.

What are you suggesting here ?

sean t @.***> escreveu no dia sábado, 9/12/2023 à(s) 05:26:

if you're on 64 bits you should be able to use the docker option

— Reply to this email directly, view it on GitHub https://github.com/ispysoftware/iSpy/issues/271#issuecomment-1848244913, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATB3BLATABEXCCAAOQK6GU3YIPZATAVCNFSM6AAAAABALKXPT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGI2DIOJRGM . You are receiving this because you authored the thread.Message ID: @.***>

-- Best Regards,

Goncalo Rodrigues

rodriguesgnuno commented 8 months ago

I have the same error through docker:

[image: image.png]

sean t @.***> escreveu no dia sábado, 9/12/2023 à(s) 05:26:

if you're on 64 bits you should be able to use the docker option

— Reply to this email directly, view it on GitHub https://github.com/ispysoftware/iSpy/issues/271#issuecomment-1848244913, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATB3BLATABEXCCAAOQK6GU3YIPZATAVCNFSM6AAAAABALKXPT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGI2DIOJRGM . You are receiving this because you authored the thread.Message ID: @.***>

-- Best Regards,

Goncalo Rodrigues

ispysoftware commented 8 months ago

someone else solved a similar issue with java:

https://unix.stackexchange.com/questions/762505/java-21-on-raspberry-pi-5

rodriguesgnuno commented 8 months ago

Just tried this and it didn't work still :(

sean t @.***> escreveu no dia terça, 12/12/2023 à(s) 00:30:

someone else solved a similar issue with java:

https://unix.stackexchange.com/questions/762505/java-21-on-raspberry-pi-5

— Reply to this email directly, view it on GitHub https://github.com/ispysoftware/iSpy/issues/271#issuecomment-1851113722, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATB3BLFUUARH5ADUS5J54STYI6QS5AVCNFSM6AAAAABALKXPT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJRGEYTGNZSGI . You are receiving this because you authored the thread.Message ID: @.***>

-- Best Regards,

Goncalo Rodrigues

ispysoftware commented 8 months ago

i'm not sure i don't have one to test with which makes this difficult (and can't get one as they're all out of stock) There's plenty of google about it though i'd try some of the suggestions from there, for example:

https://unix.stackexchange.com/questions/75054/ldd-tells-me-my-app-is-not-a-dynamic-executable

I'm gussing that it'll be a missing or incompatible version of glibc

Smithy396 commented 8 months ago

Hi Goncalo,

I was also having the exact same issue with my Pi 5 on the Debian Bookworm 64 bit Raspberry Pi OS.

I ended up wiping the OS and switching to Ubuntu 23.10 (GNU/Linux 6.5.0-1005-raspi aarch64). Installed through the Raspberry Pi Imager (Other general purpose OS -> Ubuntu -> Desktop). Installed docker following the standard ubuntu docker documentation and ispy span up with no errors.

rodriguesgnuno commented 8 months ago

Thank you Sam !

I will definitely try this out !

I wonder if there’s a lite version as well, as normally I don’t want GUI.

Appreciate both your help guys!

Hopefully the issue on Debian will be resolve in the next OS/Kernel releases.

Best Regards, Gonçalo Rodrigues

On Tue, 19 Dec 2023 at 18:49, Sam Smith @.***> wrote:

Hi Goncalo,

I was also having the exact same issue with my Pi 5 on the Debian Bookworm 64 bit Raspberry Pi OS.

I ended up wiping the OS and switching to Ubuntu 23.10 (GNU/Linux 6.5.0-1005-raspi aarch64). Installed through the Raspberry Pi Imager (Other general purpose OS -> Ubuntu -> Desktop). Installed docker following the standard ubuntu docker documentation https://docs.docker.com/engine/install/ubuntu/ and ispy span up with no errors.

— Reply to this email directly, view it on GitHub https://github.com/ispysoftware/iSpy/issues/271#issuecomment-1863307641, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATB3BLFTS25J63IRD6C4QW3YKHOU7AVCNFSM6AAAAABALKXPT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRTGMYDONRUGE . You are receiving this because you authored the thread.Message ID: @.***>