Publishing a container to devices

Last published : Nov 23, 2026
Your devices don't download their software from UniconOS Management Board. For a firmware update, a device downloads its image file and the packages from a web server or an FTP server. To make the images of a container available to your devices, you publish the container folder on such a server. Then you tell the devices in their device configuration where they find their image.
Scout doesn't set up this server for you. For HTTP and HTTPS, use a web server that delivers static files, for example IIS or nginx. For FTP and FTPS, use an FTP server. For the steps with IIS, see Example of publishing the containers with IIS.

The container folders

Each container is a folder with the name of the container. By default, the container folders are in C:\ProgramData\Unicon\Software\containers on the computer where the Software Management backend runs. If another data folder was chosen during the installation, they are in its containers subfolder.
All files that devices need are side by side at the top level of the container folder:
File Content
.epm, .fpm The packages and their features
.sig The signature files of the packages, and of the signed images
.idf The image files
container.ini Information that identifies the container
When you save an image, Scout writes its .idf file into the container folder. When you sign the image, Scout also writes its .idf.sig file. When you delete the image, Scout removes both files.
If a package changes in a container folder after you saved an image with it, Software takes the image file out of the folder until the change is accepted or the original file is back. Devices then find no image file and keep their installed image, see Images held back after a package change.
Make sure that no unauthorized person can change the files in the data folder.

Using your existing container folder

If you used the legacy ELIAS, a web server may already publish your containers to the devices. You can let Software use this folder instead of its own containers folder. Software then lists your existing containers, packages and images, and your devices keep their firmware settings. Software doesn't change any file in the folder until you edit an image or a container in UniconOS Management Board.
To use your existing folder:
  1. On the computer where the Software Management backend runs, open config\.env in the program folder of the backend. By default, this is C:\Program Files\Unicon\Scout\SoftwareManagement\config\.env. Use an editor that runs as administrator.
  2. Add these two lines. In CONTAINERS_DIR, enter the folder that holds your container folders, for example C:\inetpub\wwwroot\eluxng or \\fileserver\eluxng:
    CONTAINERS_DIR=C:\inetpub\wwwroot\eluxng
    FORCE_RESCAN=true
  3. Restart the service Software Management backend.
  4. Wait until Software has read the folder. Then open Software > Software library. Your containers are listed with their packages and images.
  5. Remove the line FORCE_RESCAN=true again. With this line, Software reads all containers again at every start, which takes a long time.
Keep these points in mind:
  • The Software Management backend must be able to read and change the files in the folder. If the folder is on another computer, give the computer account of the backend computer read and write access to it.
  • Older containers keep their packages in a Packages subfolder. Software doesn't read the files in this subfolder. Create such a container again in Software, for example by importing the AllPackages archive.
  • Containers whose folders aren't in this folder, for example the container elux7 that the installation created, stay in the list and are marked Folder missing. Delete them if you don't need them.
  • Don't use the root of the system drive, C:\, as the folder. Software would list the Windows folders as containers.
  • A repair or an update of Scout keeps the line CONTAINERS_DIR.
  • The rules in Setting up the server still apply.

Setting up the server

Set up the server so that devices can read the container folders, and so that nobody can change them through it:
  • Publish the containers folder, or the folder of a single container, read-only.
  • Make sure that the server delivers files with the extensions .epm, .fpm, .idf and .sig.
  • For HTTPS, use a server certificate that your devices trust.
  • For FTP or FTPS, point the FTP server to the same folder.
The devices must always get the current files of the container folders. A copy or a cache could still offer an image file that Software took out of a container folder, so these rules apply:
  • Let the devices download directly from the container folders, through a server that reads the files for every request. On IIS, this needs a change in the caching settings, see Example of publishing the containers with IIS.
  • Don't use copies of the container folders, for example mirrors or replicas that DFS Replication, rsync or scheduled robocopy jobs keep up to date. Such copies aren't supported. Software doesn't watch them, so it doesn't notice a package that was changed there.
  • If a second web server or a caching proxy is between the devices and the container folders, it must read each file from the container folder for every request. It must not keep copies of image files (.idf).
Devices can't download from the Software Management backend itself. The backend serves only UniconOS Management Board.

Example of publishing the containers with IIS

If a web server already publishes your containers from the legacy ELIAS, you can keep it, see Using your existing container folder.
Internet Information Services (IIS) is the web server of Windows Server. If you don't have a web server for your devices yet, install IIS on the computer where the Software Management backend runs. By default, this is the Scout Board computer. The following steps publish the containers folder under the address http://<server>/eluxng, where <server> is the name of this computer:
  1. Find the containers folder. By default, it's C:\ProgramData\Unicon\Software\containers. If another data folder was chosen during the installation, it's the containers subfolder of that folder. Each container is a folder in it, with the name of the container.
  2. Install IIS. In PowerShell as administrator, run this command:
    Install-WindowsFeature Web-Server -IncludeManagementTools
  3. Open the Internet Information Services (IIS) Manager. Under Sites, right-click Default Web Site, and click Add Virtual Directory.
  4. In Alias, enter a name for the address, for example eluxng. In Physical path, select the containers folder. Click OK.
  5. Let IIS deliver the files of UniconOS. Select the new virtual directory eluxng, and double-click MIME Types. For each of the extensions .epm, .fpm, .idf and .sig, click Add, enter the extension in File name extension and application/octet-stream in MIME type, and click OK.
    Don't add .* for all extensions instead. IIS would then deliver every file in the folder.
  6. Give IIS read access to the containers folder. In a command prompt as administrator, run this command. If your containers folder is in another place, use its path.
    icacls "C:\ProgramData\Unicon\Software\containers" /grant "IUSR:(OI)(CI)RX" "IIS_IUSRS:(OI)(CI)RX"
  7. Turn off caching for image files and signature files. Select the virtual directory eluxng, and double-click Output Caching. Click Add, and enter .idf in File name extension. Select User-mode caching and Kernel-mode caching, select Prevent all caching for both, and click OK. Add the same rule for .sig.
    This step is required. With a cache, IIS could still deliver an image file that Software has taken out of the container folder.
  8. Test the address. On another computer, open http://<server>/eluxng/<container name>/<image name>.idf in a browser, for example http://scout01.example.com/eluxng/elux7/sales.idf.
    The browser downloads the image file. If it can't connect at all, check that the firewall of the IIS computer allows HTTP. If it shows the error 401 or 403, IIS has no read access to the containers folder. If it shows the error 404, check the address. To see the exact error, open the address in a browser on the IIS computer: the error 404.3 means that the MIME types are missing.
  9. In the device configuration, open the Firmware section, and enter these values:
    • Protocol: HTTP
    • Server: the name or IP address of the IIS computer. Don't enter the port of the Software Management backend (22170). Add a port, for example scout01.example.com:8080, only if IIS doesn't use port 80.
    • Path: eluxng/<container name>, for example eluxng/elux7, without a slash at the start
    • Image file: <image name>.idf, for example sales.idf
    • User and Password: leave them empty.
    The line Entered path below the fields shows the whole address. It must be the same address that worked in the browser.
  10. Restart the devices, so that they get the new configuration. Then, to install the image, send the command Update software to the devices.
Keep these points in mind:
  • The container must match the UniconOS version of your devices.
  • If the container folder has no .idf file for your image, open the image in Software, and save it. If the image uses packages that are missing in the container, remove them first.
  • IIS delivers the files straight from the container folders. After you change and save an image, you don't need to copy anything.
  • IIS delivers only files whose extension has a MIME type. If your devices download other files from the container, for example the files of a migration from eLux® RP 6, add MIME types for these extensions too.
  • If your devices check signatures, sign the image first, see Checking signatures.

Configuring the devices

In the device configuration, the Firmware section tells the devices where to find their image. Enter the address of your server and of the image there:
Setting Type What to enter
Protocol Dropdown The protocol of your server: HTTP, HTTPS, FTP or FTPS
Server Text field The name (FQDN) or IP address of the server
Path Dropdown The path of the container folder on the server. If the server publishes the containers folder as its root, this is the name of the container, for example elux7.
Image file Dropdown The file name of the image, for example sales.idf
Software shows these values for each saved image. In the image list, open the menu of the image, and click Firmware settings. Click the copy button next to a value to copy it, and paste it into the device configuration.
Firmware settings shows Protocol, Server and the whole address of the image file (Full address) only if Software knows the address under which your server publishes the containers folder. Until you set this address, the dialog shows only Path and Image file, and a hint tells you where to set the address. To set it:
  1. On the computer where the Software Management backend runs, open config\.env in the program folder of the backend. Use an editor that runs as administrator.
    By default, the program folder is C:\Program Files\Unicon\Scout\SoftwareManagement.
  2. Add the line DEVICE_DOWNLOAD_URL= with the address of the containers folder on your server, for example DEVICE_DOWNLOAD_URL=http://scout01.example.com/eluxng for the IIS example above.
    The address starts with http://, https://, ftp:// or ftps://. It can't contain a user name or a password.
  3. Restart the service Software Management backend.
If the address isn't valid, the backend doesn't start, so check the address carefully. An update of Scout keeps the line.
To offer the names of your images in the Image file list, add them under Preferences > Predefined firmware configuration, see Preferences.
For the other settings of the section, see Device configuration / Firmware.
A device gets its changed configuration when it restarts. It installs the image with its next firmware update, for example when you run the Update software command, or when it checks for a new image version on start.

Checking signatures

Under Security, in the Firmware section of the device configuration, you decide which signatures the devices check before an update: Image definition files (.idf) and UniconOS software packages.
By default, both check boxes are cleared. The devices then check no signatures. They install an image and its packages even if these are unsigned or were changed on the server. To make the devices refuse unsigned or changed images and packages:
  1. Sign your images, see Signing an image.
    An image has a signature file only after you sign it. The signature files of the packages come with the packages.
  2. Make sure that the devices have the root certificate and your signing certificate in /setup/cacerts, see Firmware security through signatures.
  3. In the Firmware section of the device configuration, under Security, select Image definition files (.idf) and UniconOS software packages.
If a device checks the signatures of image files, it doesn't install an unsigned image: the update fails, and the device keeps its installed image.
A device checks the signatures of packages only if it has an update partition. A device without an update partition checks only the signature of the image file. For details, see Device configuration / Firmware.