Running on Raspberry OS 11.
I installed CaptureGrid4 originally by just using sudo snap install capturegrid4
. Everything installed fine and even got the node to show up in the network tab on a windows computer. But every time I connected a camera I was getting permission issues on the USB.
So I removed capturegrid then ran snap install --devmode capturegrid4
.
Now when I run sudo snap start capturegrid4
and I watch the logs. It seem to connect fine and it detects the camera. But then it errors out.
2023-07-22T14:25:02-04:00 capturegrid4.node[5155]: [14:25:02.781 Camera Info: 1] 132024003631] Canon event: Canon_PropValueChanged - Canon_AvailableShots - 2719
2023-07-22T14:25:02-04:00 capturegrid4.node[5155]: [14:25:02.781 Camera Info: 1] 132024003631] Canon event: Canon_PropValueChanged - Canon_CaptureDestination - SDCard
2023-07-22T14:25:02-04:00 capturegrid4.node[5155]: [14:25:02.781 Camera Info: 1] 132024003631] Canon event: Canon_PropValueChanged - Canon_AvailableShots - 397829
2023-07-22T14:25:02-04:00 capturegrid4.node[5155]: [14:25:02.781 Camera Info: 1] 132024003631] Canon event: Canon_PropValueChanged - Canon_CaptureDestination - Disk
2023-07-22T14:25:02-04:00 capturegrid4.node[5155]: [14:25:02.781 Camera Info: 1] 132024003631] PTP event: Canon_StorageInfoChanged - 20001
2023-07-22T14:25:02-04:00 capturegrid4.node[5155]: [14:25:02.781 Camera Info: 1] 132024003631] camera poll timer updated to: 1000
2023-07-22T14:25:04-04:00 systemd[1]: snap.capturegrid4.node.service: Main process exited, code=killed, status=7/BUS
2023-07-22T14:25:04-04:00 systemd[1]: snap.capturegrid4.node.service: Failed with result 'signal'.
2023-07-22T14:25:04-04:00 systemd[1]: snap.capturegrid4.node.service: Scheduled restart job, restart counter is at 19.
2023-07-22T14:25:04-04:00 systemd[1]: Stopped Service for snap application capturegrid4.node.
2023-07-22T14:25:04-04:00 systemd[1]: snap.capturegrid4.node.service: Start request repeated too quickly.
2023-07-22T14:25:04-04:00 systemd[1]: snap.capturegrid4.node.service: Failed with result 'signal'.
2023-07-22T14:25:04-04:00 systemd[1]: Failed to start Service for snap application capturegrid4.node.
I tried sudo snap stop and then running capturegride from the command line, again it starts but then fails
[14:39:55.044 General Info: 0] log file opened: /home/photo/snap/capturegrid4/72/.config/CaptureGRID 4/capturegrid4_log.txt
[14:39:55.044 General Info: 0] date: 22/07/2023 14:39:55.044
[14:39:55.044 General Info: 0] CaptureGRID 4 linux-arm32 v4.27
[14:39:55.047 App Info: 0] identified OS: Linux 6.1.21-v8+
[14:39:55.054 App Warning: 0] unable to load options
[14:39:55.054 App Info: 0] enabling option: GRID networking
[14:39:55.054 App Info: 0] enabling option: External API
[14:39:55.054 App Warning: 0] unable to load camera presets
[14:39:55.054 App Warning: 0] unable to load script parameters
[14:39:55.054 App Warning: 0] unable to load camera database
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
[14:39:55.119 App Info: 0] license status: activated=false, trial=true, tag=
[14:39:55.119 App Info: 0] license trial ID: 10191fb8-8375-450c-8f66-e7869601df40
[14:39:55.119 App Warning: 0] unable to load license file
[14:39:55.120 Network Info: 0] checking host address (up): 192.168.2.105 (D8:3A:DD:16:A2:B3, wlan0)+
[14:39:55.121 App Info: 0] MAC address: D8:3A:DD:16:A2:B3 (192.168.2.105)
[14:39:55.122 Network Info: 0] waiting for GRID client connection on: tcp://192.168.2.105:54442
[14:39:55.122 Network Info: 0] waiting for GRID node broadcast on port: 54442
[14:39:55.123 App Info: 0] opened External API event publisher on: tcp://127.0.0.1:54543
[14:39:55.123 App Info: 0] opened External API req/rep server on: tcp://127.0.0.1:54544
[14:39:55.123 App Info: 0] starting camera thread
[14:39:55.129 Camera Info: 0] photo download path updated (108.46 GB free): /home/glossyadmin/snap/capturegrid4/common/Pictures/CaptureGRID 4
[14:39:55.134 Camera Info: 1] camera request: SetOptions
[14:39:55.134 Camera Info: 1] camera response: SetOptions - ok
[14:39:55.135 Camera Info: 1] camera request: SetSequenceNum
[14:39:55.135 Camera Info: 1] camera response: SetSequenceNum - ok
[14:39:55.135 Camera Info: 1] camera request: SetBatchNum
[14:39:55.135 Camera Info: 1] camera response: SetBatchNum - ok
[14:39:55.135 Camera Info: 1] camera request: DetectCameras
[14:39:55.135 Camera Info: 1] number of USB devices: 3
[14:39:55.135 Camera Info: 1] detected devices: 0 new, 0 stale
[14:39:55.135 Camera Info: 1] camera response: DetectCameras - ok
[14:39:55.135 Camera Info: 1] camera request: SetOptions
[14:39:55.135 Camera Info: 1] camera response: SetOptions - ok
[14:39:55.147 Network Info: 0] discovered GRID node at: tcp://192.168.2.105:54442 (version v4.27)
[14:39:55.148 Camera Info: 1] camera request: SetOptions
[14:39:55.148 Camera Info: 1] camera response: SetOptions - ok
[14:39:55.763 Network Info: 0] added new GRID node endpoint: tcp://192.168.2.182:54442
Bus error
I was able to setup a listener to catch events, that worked too.
Not sure what I am missing to keep the service up and running, and waiting for photo capture.
Thanks!