Easy Installer Autoinstall Feature Not Working

Hello team,

I have configured an Easy Installer infrastructure on my development machine using Nginx as a webserver.

I followed the tutorials:

and

I’m able to manually flash images that are served from my machine. Easy Installer detects my image on image_list.json

[upload|aSmGHYBQ9CW31LC35M/hrRqF/OA=]

Now, when I enable the autoinstall flag, and reload EasyInstaller on Colibri iMX6ULL, EasyInstaller on VNC seems to freeze when it loads and the image is never flashed.

Am I missing something? Any help will be much appreciated.

My files:

image_list.json

{ 
    "config_format": 1, 
    "images": [ 
      "TeziTorizonSiamOstreeCustom/image.json"
    ] 
}

/etc/avahi/services/tezi.service

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
  <name replace-wildcards="yes">Custom Toradex Easy Installer Feed</name>
  <service>
    <type>_tezi._tcp</type>
    <port>80</port>
    <txt-record>name=Custom Toradex Easy Installer Feed</txt-record>
    <txt-record>path=/image_list.json</txt-record>
    <txt-record>enabled=1</txt-record>
    <txt-record>https=0</txt-record>
  </service>
</service-group>

Freezed Easy Installer on VNC
[upload|7JcfZRLqtfpkpK8Li63oLB32HNo=]

Easy Installer terminal still works
[upload|HXxH560EBuGHWu1CIGjrvTe8CqE=]

Hi @giobauermeister,

Can you also show the content of the image.json you are using?

Best regards,
André Curvello

Hello @andrecurvello.tx

Yes, here it is:

{
    "config_format": "3",
    "autoinstall": true,
    "name": "[SIAM with OSTree] TorizonCore image (UPSTREAM EXPERIMENTAL)",
    "description": "Minimal TorizonCore console image, featuring secure OTA update capabilities. This release is not a officially supported build of TorizonCore, and is labeled experimental because of limited hardware constraints such as storage or memory, or include software we are still evaluating.",
    "version": "5.1.0-devel-20210115173925+build.0",
    "release_date": "2021-01-15",
    "u_boot_env": "u-boot-initial-env",
    "prepare_script": "prepare.sh",
    "wrapup_script": "wrapup.sh",
    "marketing": "marketing.tar",
    "icon": "toradexlinux.png",
    "supported_product_ids": [
        "0036",
        "0040",
        "0044",
        "0045"
    ],
    "mtddevs": [
        {
            "name": "u-boot1",
            "content": {
                "rawfile": {
                    "filename": "u-boot-nand.imx",
                    "size": 1
                }
            }
        },
        {
            "name": "u-boot2",
            "content": {
                "rawfile": {
                    "filename": "u-boot-nand.imx",
                    "size": 1
                }
            }
        },
        {
            "name": "u-boot-env",
            "erase": true,
            "content": {}
        },
        {
            "name": "ubi",
            "ubivolumes": [
                {
                    "name": "rootfs",
                    "content": {
                        "filesystem_type": "ubifs",
                        "filename": "torizon-core-lite-colibri-imx6ull.ota.tar.zst",
                        "uncompressed_size": 444.1171875
                    }
                }
            ]
        }
    ]
}

Hi @giobauermeister,

I’ll try to reproduce your issue locally here.

Best regards,
André Curvello

Hi @giobauermeister,

I managed to setup my environment as similar as described here at Unattended Flashing Over Ethernet, and it was perfectly fine. It was automatic as soon as the board got the image list, it started the installation through all the process.

The only difference at “hardware” level is that I’m using the Colibri iMX6ULL 512MB WB IT, while yours is the 256MB if I’m not wrong, but that should not affect it anyway.

Can you confirm that this issue does not occur when you try to install the image through USB Stick?

Best regards,
André Curvello

I tried restarting nginx service after changing auto install flag to true and I guess it solved the issue.

sudo systemctl restart nginx

As stated here: Downloads & Installers | Toradex Developer Center

Hello @andrecurvello.tx

Thanks for testing and for the help!

I restarted nginx service and the installation started automatically.

Good to know!
Problem solved.