There were too poor info, sory! Here is more information.
I have a pool, named "system", which was system pool for CORE version. After upgrade to Scale, i specified this pool for applications. I have installed three apps, Plex (official), Deluge (from charts), they working fine, and ispy agent app from TrueCharts.
Also i have a "backuppool" as raid1, where is a dataset "ispy" which is owned by the apps user and the apps group with r-w-x for them.
In ispy-agent-dvr app's properties, i specified
Integrated Persistent Storage and
App Config Storage like hostPath parameter with value /mnt/backuppool/ispy (tried and PVC(simple) and HostPath(simple) with
Automatic Permissions checked and not), also i added an Additional app storage /mnt/backuppool/ispy like /ispy-video.
As a result, i can open GUI of application, even add a remote camera, and it works, and it recording into /media directory, BUT...
When i trying to configure an added camera there is a
read-only file system error in left upper corner with this log entry:
Code:
09:51:37 Read-only file system
09:51:59 JSON Processor: JSON Processor: Read-only file system
09:51:59 Error: JSON Processor: JSON Processor: Read-only file system
09:51:59 JSON Processor: at System.IO.FileSystem.CreateDirectory(String fullPath) at System.IO.Directory.CreateDirectory(String path) at CoreLogic.Server.JsonProcessor.GetFileOptionsList(String relPath, String filter, String languageCode) at CoreLogic.Server.JsonProcessor.LoadJson(Int32 oid, Int32 ot, String lc, String command, String fullcmd, String data, RTCSession session)
09:51:59 Error: JSON Processor: at System.IO.FileSystem.CreateDirectory(String fullPath) at System.IO.Directory.CreateDirectory(String path) at CoreLogic.Server.JsonProcessor.GetFileOptionsList(String relPath, String filter, String languageCode) at CoreLogic.Server.JsonProcessor.LoadJson(Int32 oid, Int32 ot, String lc, String command, String fullcmd, String data, RTCSession session)
09:51:59 Read-only file system
The same issue with connect to iSpyConnect account...
Here log of starting app
Code:
10:06:07 Starting...
10:06:07 Using default media location
10:06:09 Creating temp path for opencv in /tmp/
10:06:09 Get com port list
10:06:09 Using default port (8090)
10:06:09 Local Server running on port 8090
10:06:09 H264 compatible version of ffmpeg is required to use H264 encoding. Switch to VP8 in settings if unable to record.
10:06:09 Accepting http connections at http://*:8090/
10:06:09 Access locally at http://172.16.0.24:8090
10:06:09 Agent (v3.8.9.0)
10:06:09 Log start
10:06:09 Process is 64 bit
10:06:09 Using WorkStation GC
10:06:09 Init Webrtc
10:06:09 Init FFmpeg
10:06:09 Looking for ffmpeg in /usr/local/lib
10:06:09 Not in there..
10:06:09 Looking for ffmpeg in /usr/lib/x86_64-linux-gnu
10:06:09 ffmpeg path: /usr/lib/x86_64-linux-gnu
10:06:09 Initializing devices
10:06:10 vdpau
10:06:10 ZeroConf: ZeroConf Service Started
10:06:10 Could not write local port to file system.
10:06:10 Error: Could not write local port to file system.
10:06:10 vaapi
10:06:10 drm
10:06:10 opencl
10:06:10 Found 0 devices
10:06:10 call arecord -l
10:06:10 CMD: CMD: No such file or directory
10:06:10 Error: CMD: CMD: No such file or directory
10:06:10 CMD: at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at CoreLogic.Utilities.CMD.GetOutput(String exe, String strCommand)
10:06:10 Error: CMD: at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at CoreLogic.Utilities.CMD.GetOutput(String exe, String strCommand)
10:06:10 No such file or directory
10:06:10 No audio devices found
10:06:10 Error: No audio devices found
10:06:10 Preloading Images
10:06:10 Turn Server accepting connections at 172.16.0.24:3478 using range 50000-50010)
10:06:10 MQTT not configured or enabled
10:06:10 Loaded 1 cameras and 1 mics from /agent/Media/XML/objects.xml
10:06:10 Running at http://localhost:8090
10:06:10 Enable: Camera 1 mic: Start audio
10:06:10 Enable: Camera 1: Enabled
10:06:10 Enable: Camera 1 mic: Enabled
10:06:10 IP addresses:
10:06:10 172.16.0.24
10:06:10 found 172.16.0.1
10:06:10 found 172.16.0.2
10:06:10 found 172.16.0.3
10:06:10 found 172.16.0.4
10:06:10 found 172.16.0.6
10:06:10 found 172.16.0.5
10:06:10 found 172.16.0.8
10:06:10 found 172.16.0.9
10:06:10 found 172.16.0.10
10:06:10 found 172.16.0.23
10:06:10 found 172.16.0.24
10:06:11 Start Stream: Camera 1: Using software decoder
10:06:35 rtc:added servers
10:06:35 rtc:inited peer connection (True)
10:06:35 rtc:set flag
10:06:35 rtc:onsuccessanswer
10:06:35 ICE state: Checking
10:06:36 ICE state: Connected
10:06:36 rtc:ondatachannelstatechange (serverdata: Open)
10:06:36 rtc: opened serverdata
10:06:36 rtc:ondatachannelstatechange (talk: Open)
10:06:36 rtc: opened talk
/var/log/error
Code:
Mar 30 16:25:03 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:03 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:04 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:04 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:04 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:05 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:05 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:05 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:05 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:05 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:08 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:08 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:08 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:08 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:08 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:08 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:08 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:08 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:08 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:08 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:13 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:13 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:13 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:13 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:13 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:13 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:13 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:13 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:13 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:13 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:17 truenas ntpd[5471]: bind(47) AF_INET6 fe80::c0f4:eaff:fea8:cc0b%22#123 flags 0x11 failed: Cannot assign requested address
Mar 30 16:25:17 truenas ntpd[5471]: unable to create socket on veth63947be5 (41) for fe80::c0f4:eaff:fea8:cc0b%22#123
Mar 30 16:25:18 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:18 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:18 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:18 truenas kernel: IPVS: rr: UDP 10.0.0.210:3478 - no destination available
Mar 30 16:25:23 truenas kernel: IPVS: rr: TCP 10.0.0.210:10184 - no destination available
Mar 30 16:25:24 truenas kernel: IPVS: rr: TCP 10.0.0.210:10184 - no destination available
Mar 30 16:25:24 truenas kernel: IPVS: rr: TCP 10.0.0.210:10184 - no destination available
Mar 30 16:25:24 truenas kernel: IPVS: rr: TCP 10.0.0.210:10184 - no destination available
Mar 30 16:25:25 truenas kernel: IPVS: rr: TCP 10.0.0.210:10184 - no destination available
Mar 30 16:25:26 truenas kernel: IPVS: rr: TCP 10.0.0.210:10184 - no destination available
Mar 30 16:25:26 truenas kernel: IPVS: rr: TCP 10.0.0.210:10184 - no destination available
Mar 30 16:25:27 truenas kernel: IPVS: rr: TCP 10.0.0.210:10184 - no destination available
Mar 30 16:25:30 truenas kernel: IPVS: rr: TCP 10.0.0.210:10184 - no destination available
Mar 30 16:25:31 truenas kernel: IPVS: rr: TCP 10.0.0.210:10184 - no destination available
/var/log/containers/ispy-blablabla -> docker_dir/autopermissions/0.log
Code:
{"log":"Automatically correcting permissions...\n","stream":"stdout","time":"2022-03-31T07:05:58.948750124Z"}
{"log":"chown: /ispy-video/config.xml.bak: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.056120439Z"}
{"log":"chown: /ispy-video/layouts.xml.bak: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.056142399Z"}
{"log":"chown: /ispy-video/fileDB.db3: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.056153387Z"}
{"log":"chown: /ispy-video/media/audio/XQDJM: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.05626438Z"}
{"log":"chown: /ispy-video/media/audio/XQDJM: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.056280411Z"}
{"log":"chown: /ispy-video/media/audio: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.056285325Z"}
{"log":"chown: /ispy-video/media/audio: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.056289605Z"}
{"log":"chown: /ispy-video/media/video/WZKCD/grabs: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.075294095Z"}
{"log":"chown: /ispy-video/media/video/WZKCD/grabs: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.07531707Z"}
{"log":"chown: /ispy-video/media/video/WZKCD/thumbs: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085777884Z"}
{"log":"chown: /ispy-video/media/video/WZKCD/thumbs: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085791829Z"}
{"log":"chown: /ispy-video/media/video/WZKCD: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085802347Z"}
{"log":"chown: /ispy-video/media/video/WZKCD: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085807744Z"}
{"log":"chown: /ispy-video/media/video: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085817658Z"}
{"log":"chown: /ispy-video/media/video: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085822868Z"}
{"log":"chown: /ispy-video/media: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085846644Z"}
{"log":"chown: /ispy-video/media: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085852893Z"}
{"log":"chown: /ispy-video/layouts.xml: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085862184Z"}
{"log":"chown: /ispy-video/NetworkDeviceList.xml.bak: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085867398Z"}
{"log":"chown: /ispy-video/objects.xml.bak: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085875178Z"}
{"log":"chown: /ispy-video: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.08587962Z"}
{"log":"chown: /ispy-video: Operation not permitted\n","stream":"stderr","time":"2022-03-31T07:05:59.085884Z"}
{"log":"BusyBox v1.34.1 (2022-02-02 18:21:20 UTC) multi-call binary.\n","stream":"stderr","time":"2022-03-31T07:05:59.08971201Z"}
{"log":"\n","stream":"stderr","time":"2022-03-31T07:05:59.089725469Z"}
{"log":"Usage: chmod [-Rcvf] MODE[,MODE]... FILE...\n","stream":"stderr","time":"2022-03-31T07:05:59.089735261Z"}
{"log":"\n","stream":"stderr","time":"2022-03-31T07:05:59.089739863Z"}
{"log":"MODE is octal number (bit pattern sstrwxrwxrwx) or [ugoa]{+|-|=}[rwxXst]\n","stream":"stderr","time":"2022-03-31T07:05:59.089744431Z"}
{"log":"\n","stream":"stderr","time":"2022-03-31T07:05:59.089748905Z"}
{"log":"\u0009-R\u0009Recurse\n","stream":"stderr","time":"2022-03-31T07:05:59.089753024Z"}
{"log":"\u0009-c\u0009List changed files\n","stream":"stderr","time":"2022-03-31T07:05:59.089761089Z"}
{"log":"\u0009-v\u0009Verbose\n","stream":"stderr","time":"2022-03-31T07:05:59.089765783Z"}
{"log":"\u0009-f\u0009Hide errors\n","stream":"stderr","time":"2022-03-31T07:05:59.089770023Z"}
{"log":"chmod failed for /ispy-video, are you running NFSv4 ACLs? /ispy-video\n","stream":"stdout","time":"2022-03-31T07:05:59.089878839Z"}