Hello,

I am trying to install an app in the oak 4 d pro. When creating an application with a nn archive converted model where should this tar file be placed ? Should it be included in the same directory as the toml file or in the /data directory of the camera?

If so, do I need to specify the location in the required_mounts ?

    rsantan
    Wherever you have space - data folder is probably the best. You can then link to the archive from the dai.NNArchive(<path to archive>).

    Thanks,
    Jaka

    Hello @jakaskerl,

    I have been using the model that is on my hub account because when building the application with the physical model it fails due to no space left in the device. Now I don't think that error is related with the model itself but the times I have installed an application ?

    Failed to start build container. Reason: "Error BuilderError(IoError(Os { code: 28, kind: StorageFull, message: \"No space left on device\" }))"

    I see when doing "df -h" inside the device that there are different oak-agent-containers? Are these created every time you install and application ?
    Can I delete them and just leave the one being used ?

    Filesystem Size Used Available Use% Mounted on

    devtmpfs 4.0M 0 4.0M 0% /dev

    tmpfs 3.5G 0 3.5G 0% /dev/shm

    tmpfs 1.4G 46.9M 1.4G 3% /run

    tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup

    /dev/sda7 4.8G 3.3G 1.5G 68% /

    tmpfs 74.6G 25.4G 49.3G 34% /etc/machine-id

    tmpfs 3.5G 110.1M 3.4G 3% /tmp

    /dev/sde33 64.0M 1.3M 62.6M 2% /bt_firmware

    /dev/sde37 59.0M 41.7M 16.0M 72% /dsp

    /dev/sde32 319.9M 193.8M 126.1M 61% /firmware

    /dev/sda2 2.8M 20.0K 2.7M 1% /persist

    tmpfs 3.5G 96.0K 3.5G 0% /var/volatile

    overlay 3.5G 96.0K 3.5G 0% /srv

    overlay 3.5G 96.0K 3.5G 0% /var/cache

    overlay 3.5G 96.0K 3.5G 0% /var/lib

    overlay 3.5G 96.0K 3.5G 0% /var/spool

    /dev/sda11 74.6G 25.4G 49.3G 34% /overlay

    overlay 74.6G 25.4G 49.3G 34% /cache

    overlay 74.6G 25.4G 49.3G 34% /data

    overlay 74.6G 25.4G 49.3G 34% /etc

    overlay 74.6G 25.4G 49.3G 34% /home

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/lib/libEGL_adreno.so

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/lib/libGLESv1_CM_adreno.so

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/lib/libGLESv2_adreno.so

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/local/share/vulkan/icd.d/adrenovk.json

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/lib/libEGL_adreno.so

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/lib/aarch64-linux-gnu/libEGL.so.1.0.0

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/lib/libGLESv1_CM_adreno.so

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/lib/aarch64-linux-gnu/libGLESv1_CM.so.1.1.0

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/lib/libGLESv2_adreno.so

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/lib/aarch64-linux-gnu/libGLESv2.so.2.0.0

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/local/share/vulkan/icd.d/adrenovk.json

    /dev/sda7 4.8G 3.3G 1.5G 68% /usr/share/vulkan/icd.d/lvp_icd.aarch64.json

    oak-agent-image-0e1693e99befef1aa0e6f0abe299e3ec72bff9afd327a9628c9eeb5aa0373d0c

                         74\.6G     25.4G     49.3G  34% /overlay/oak-agent/containers/images/0e1693e99befef1aa0e6f0abe299e3ec72bff9afd327a9628c9eeb5aa0373d0c/merged

    oak-agent-container-5e5352b7-4d1e-4bf2-a8b6-d824e57379c6

                         74\.6G     25.4G     49.3G  34% /overlay/oak-agent/containers/containers/5e5352b7-4d1e-4bf2-a8b6-d824e57379c6/merged

    oak-agent-container-54466e2e-4c7b-405c-9448-8be1d7179b1e

                         74\.6G     25.4G     49.3G  34% /overlay/oak-agent/containers/containers/54466e2e-4c7b-405c-9448-8be1d7179b1e/merged

    oak-agent-container-76aafec4-1695-4495-90f6-a800a9e32571

                         74\.6G     25.4G     49.3G  34% /overlay/oak-agent/containers/containers/76aafec4-1695-4495-90f6-a800a9e32571/merged

    oak-agent-develop 74.6G 25.4G 49.3G 34% /overlay/oak-agent/containers/containers/3383c1cc-34e7-4988-a4e8-5c631a1d2bd2/merged

      rsantan

      oakctl connect <ip>
      oakctl app list 
      oakctl app delete <container-id>

      Thanks,
      Jaka

      I should've specified, there are only 2 applications that show up when doing the oakctl app list. I am aware of the oakctl pipeline and how to use it but these containers showing up in the device do not show when using the oakctl tool.

      Also one of the 2 applications that show up with oakctl app list had an unknown status which prevents it from being deleted. I will manually delete it from the device, Thanks !