Troubleshooting
Why mel-setup reports Packages may have failed to install
Short answer
The banner means the first-boot wizard completed without installing anything: the repository step was skipped during a page transition, or the preflashed eMMC image lacks the optional packages and their fetch failed on the setup network. Recover with the vendor service stick and re-run mel-setup from the Software step, or write the example image to the eMMC with the tools preinstalled.

On this page
An IOT2050 Advanced that ends its first-boot setup with the banner "Packages may have failed to install - see setup log" has installed nothing: after login there is no node-red service and no npm command. Two independent faults produce that banner. Either the wizard's repository step was skipped during a page transition, or the preflashed eMMC image simply lacks the optional packages and their fetch failed on the setup network. The repair is to re-run mel-setup from the vendor's service image, or to write the example image onto the eMMC.
What the banner is telling you #
mel-setup is the first-boot wizard of Industrial OS on the IOT2050. On this image, a cleanly finished wizard does not run again at the next boot unless autostart was enabled during the very first setup. So a completed-but-empty wizard leaves you with a bootable system and no application layer, and the setup log the banner points to is not written to a path you can read from a default shell. Two commands confirm the state: systemctl status node-red answers Unit node-red.service not found, and npm -v answers command not found.
Two failure modes, one banner #
- Skipped repository step. The wizard has a long transition between pages. Pressing Enter twice during it bypasses the repository configuration; the Software page then carries an empty feed address, shows no error, completes, and installs nothing because there is nowhere to install from.
- Packages missing from the preflashed image. The optional packages are not inside the image delivered on the eMMC. The installer must fetch them, and in the reported cases the fetch only succeeded with a network cable with internet access on the DHCP-configured port. A manually set static address with an internet DNS server still failed, so DNS alone does not fix it.
Confirm which fault you hit #
Work through these checks before changing anything:
- Confirm the symptom: run
systemctl status node-redandnpm -v. Both missing means the package step ran with no source. - Identify the booted medium with
findmnt / -o SOURCE. The internal eMMC shows as an mmcblk device, an SD card as a different one. If you are not sure what you booted, the checks in identify the Linux base before installing Node-RED natively show how to tell. - Ask whether the cable sat on the DHCP-configured port with internet access during setup. If not, the fetch failure is your fault mode.
- Ask whether Enter was pressed during the long page transition. If yes, the repository step was skipped.
The decision: if the eMMC image booted and either check 3 or check 4 failed, the preflashed system cannot repair itself. The packages are not on it and the wizard will not come back at boot, so go to the service stick or the example image below. If you caught the fault before the wizard completed, connect the DHCP-configured port to a switch with internet access, re-run, and confirm the repository field in the Software step is populated before applying.
Worked example: recovering three units whose setup ran on a static IP #
Inputs, each with its source:
- Three IOT2050 Advanced units, each with the wizard already completed on a manually set static address with an internet DNS server. This is the reported case, and the fetch failed on all three devices.
- Internal eMMC of 16 GB, and the default first boot device on the Advanced with firmware FS:01, FS:02 and from FS:04 onward, per the vendor setup documentation.
- A recovery stick of at least 8 GB, FAT32 or ext4, one primary partition.
- State after the failed setup: node-red and npm absent, and the wizard will not re-run at boot.
The rule: an image written to a medium must fit on it. An image that fits the minimum service stick is therefore at most 8 GB.
The arithmetic: worst-case free space on the eMMC after writing the example image is 16 GB − 8 GB = 8 GB.
The result: the example image fits the internal eMMC with at least that headroom, and because the eMMC is the default boot device, no stick or card has to stay in the unit.
The decision: for these three units, write the example image to the eMMC. Node-red and npm come preinstalled and no package fetch runs at all. The threshold to remember: if your flow logs, container images or buffering will outgrow the remaining headroom, put that data on USB or SD storage rather than on the eMMC.
Re-run mel-setup from the service stick #
For a unit that must stay on the full Industrial OS and pick its own packages:
- Request the Industrial OS image from Siemens application support. A unit shipped with the minimal eMMC image has no service stick in the box.
- Write the image to the stick, for example the file industrialos-image.img to the device /dev/sdX:
sudo dd if=/path/to/industrialos-image.img of=/dev/sdX bs=4M status=progress conv=fsync
Confirm the target device with lsblk before every write: with the input and output reversed, the command destroys the contents of whichever medium it names.
- Plug the stick into the running device. Either the wizard starts on its own, when autostart was enabled in the very first setup, or you start it from a root shell:
sudo mel-setup
- In the Software step choose node-red, npm and the other packages you need, then apply the changes. The install completes this time because the service image carries the full local package set, so no internet access is needed.
- Enable autostart if you want the wizard available again on a later boot.
Or write the example image to the eMMC #
The example image ships with node-red and npm preinstalled, so it skips the package step entirely. Write it from an engineering station or from a running system onto the internal eMMC. Because the eMMC is the default first boot device on the Advanced, the unit then boots it with no card or stick inserted, which is the state you want for a cabinet unit. Booting the same image from the SD card works and is useful as a bench test, but on the reported units it was the intermediate step, not the destination.
Verify before you call it fixed #
| What | Command | Expected |
|---|---|---|
| Node runtime | node -v |
a v16 or later version string |
| npm | npm -v |
a matching npm version |
| Node-RED service | systemctl status node-red |
active (running) |
| Autostart | systemctl is-enabled node-red |
enabled |
| Boot medium | findmnt / -o SOURCE |
an eMMC partition |
Then open the flow editor in a browser on port 1880. If Node-RED is up but the editor reports the port taken at that point, the walkthrough on why Node-RED on an IOT2050 shows port 1880 in use covers that separate cause.
The rule to keep: the banner means the wizard ran without a package source, and no later install command repairs that. Restore the source with the service stick or replace the image, and the stack installs in one pass.
Questions asked
Where is the setup log the banner points to?
The first-boot log is not written to a location a default login can read. Re-run the wizard from a root shell and watch the Software step instead; whether the install worked is proven by the verification commands, not by the log file. The banner itself is already enough evidence that the package source was missing.
Can the unit keep its static address after the recovery?
Yes. The DHCP requirement applies only to the wizard's setup-time package fetch, which failed on a manually configured address even with an internet DNS server entered. Once the packages are installed from the service stick, assign the production static address and it stays; the installed software does not depend on how the address was set.
Will mel-setup start by itself at the next boot?
Only if autostart was enabled during the very first setup. Otherwise the wizard has removed itself from the boot sequence, and you start it by typing mel-setup in a root shell on the running system, then choose the packages in the Software step and apply.
Why not just install Node-RED manually with npm afterwards?
Because npm is one of the missing pieces and the preflashed image has no reachable feed to install from, there is nothing to run the install with. Restore the package source first, with the service stick or the example image, and the stack comes up in the wizard's single pass.

