I have an error preloading a release on to an image.
image: iot-gate-imx8plus
version: v4.0.28
fleet: lc_imx8plus_testing
balena build -d iot-gate-imx8plus -A aarch64
balena deploy solaredge_software/lc_imx8plus_testing
balena os download iot-gate-imx8plus --version v4.0.28
balena preload --fleet --commit --debug
[debug] new argv=[/home/ben/balena/balena-cli/balena,/snapshot/balena-cli/bin/balena,preload,balena-iot-gate-imx8plus-v4.0.28.img,--fleet,solaredge_software/lc_imx8plus_testing,--commit,61dfcd0446f6b738cd382864ac7bb880] length=8
[debug] Deprecation check: 6.03779 days since last npm registry query for next major version release date.
[debug] Will not query the registry again until at least 7 days have passed.
[debug] Event tracking error: Timeout awaiting 'response' for 0ms
Building Docker preloader image. [=== ] 12%
Step 1/7 : FROM alpine:3.12
Building Docker preloader image. [====== ] 25%
Step 2/7 : WORKDIR /usr/src/app
---> Using cache
Building Docker preloader image. [========= ] 37%
Step 3/7 : RUN apk add --no-cache curl py3-pip parted btrfs-progs util-linux sfdisk file coreutils sgdisk e2fsprogs-extra docker
---> Using cache
Building Docker preloader image. [============ ] 50%
Step 4/7 : COPY requirements.txt ./
---> Using cache
Building Docker preloader image. [=============== ] 62%
Step 5/7 : RUN pip3 install --no-cache-dir -r requirements.txt
---> Using cache
Building Docker preloader image. [================== ] 75%
Step 6/7 : COPY src/ ./
---> Using cache
Building Docker preloader image. [===================== ] 87%
Step 7/7 : CMD ["python3", "/usr/src/app/preload.py"]
---> Using cache
---> e043c6145fa1
Successfully built e043c6145fa1
Building Docker preloader image. [========================] 100%
| Checking that the image is a writable file
| Finding a free tcp port
| Creating preloader container
- Starting preloader container
| Reading image information
/ Reading image informationWaiting for Docker to start...
| Reading image informationDocker started
| Reading image information
| Fetching application 2085970
- Cleaning up temporary files
Cannot read properties of undefined (reading 'split')
TypeError: Cannot read properties of undefined (reading 'split')
at Preloader._getImagesToPreload (/snapshot/balena-cli/node_modules/balena-preload/build/preload.js:397:66)
at Preloader._ensureCanPreload (/snapshot/balena-cli/node_modules/balena-preload/build/preload.js:669:18)
at /snapshot/balena-cli/node_modules/balena-preload/build/preload.js:701:18
From previous event:
at process.processImmediate (node:internal/timers:471:21)
From previous event:
at Preloader.preload (/snapshot/balena-cli/node_modules/balena-preload/build/preload.js:700:51)
at PreloadCmd.prepareAndPreload (/snapshot/balena-cli/build/commands/preload.js:320:25)
at async PreloadCmd.run (/snapshot/balena-cli/build/commands/preload.js:127:13)
at async PreloadCmd._run (/snapshot/balena-cli/node_modules/@oclif/command/lib/command.js:43:20)
at async Config.runCommand (/snapshot/balena-cli/node_modules/@oclif/config/lib/config.js:175:24)
at async CustomMain.run (/snapshot/balena-cli/node_modules/@oclif/command/lib/main.js:28:9)
at async CustomMain._run (/snapshot/balena-cli/node_modules/@oclif/command/lib/command.js:43:20)
at async /snapshot/balena-cli/build/app.js:76:13
at async Promise.all (index 2)
at async oclifRun (/snapshot/balena-cli/build/app.js:94:5)
at async Object.run (/snapshot/balena-cli/build/app.js:107:9)
at async run (/snapshot/balena-cli/bin/balena:20:2)
For further help or support, visit:
https://www.balena.io/docs/reference/balena-cli/#support-faq-and-troubleshooting
version: ‘2.4’
volumes:
certs-data: {}
resin-data: {}
secret-data: {}
services:
mqtt:
tty: true
image: ‘arm64v8/eclipse-mosquitto:1.6’
ports:
- ‘1883:1883’
restart: always
volumes:
- ‘resin-data:/data’
stdin_open: true