Hi,
I have created a custom mix and it fails to install where it has worked before. I re-created my install
USB sticks using the guide on the website (live server image on usb) and now it does not work anymore. When trying to use my installer config YAML file that specifies my own mirror with my own mix it fails on the swupd os-install run.
The log file shows that it copies offline content even though I specified that it should not. Then it says that my mirror version is too far behind upstream (my mix has version 120) and forces a much higher version. Then it complains that it can not download the manifests for this version, of course.
What do I need to do to make this work again?
2020/01/10 11:57:33 [INF] Overriding version from latest to 32050 to enable offline install
2020/01/10 11:57:33 [DBG] Overwriting stateDir with offline content
2020/01/10 11:57:33 [DBG] losetup -j /mnt/media/images/rootfs.img -O NAME -n
2020/01/10 11:57:33 [DBG] Using default shellProxy.DefaultGetProxyValue
2020/01/10 11:57:33 [DBG] [Previous line repeated 4 times]
2020/01/10 11:57:33 [DBG] cmd.Env: []
2020/01/10 11:57:33 [DBG] Extracting offline content in squashfs to target media
2020/01/10 11:57:33 [DBG] unsquashfs -d /tmp/install-438710953 -f /dev/loop0 -e /var/lib/clr-installer/offline-content
2020/01/10 11:57:33 [DBG] Using default shellProxy.DefaultGetProxyValue
2020/01/10 11:57:33 [DBG] [Previous line repeated 4 times]
2020/01/10 11:57:33 [DBG] cmd.Env: []
2020/01/10 11:57:35 [DBG] Parallel unsquashfs: Using 8 processors
2020/01/10 11:57:35 [DBG] 33452 inodes (42385 blocks) to write
2020/01/10 11:57:35 [DBG] ^M[=====| ] 3600/42385 8%!!(MISSING)
(MISSING)
2020/01/10 11:57:40 [DBG] ^M[===========================================================|] 42385/42385 100%!!(MISSING)
(MISSING)
2020/01/10 11:57:40 [DBG] created 32663 files
2020/01/10 11:57:40 [DBG] created 26 directories
2020/01/10 11:57:40 [DBG] created 730 symlinks
2020/01/10 11:57:40 [DBG] created 0 devices
2020/01/10 11:57:40 [DBG] created 0 fifos
2020/01/10 11:57:40 [INF] Installing base OS and configured bundles
2020/01/10 11:57:40 [DBG] Installing bundles: os-core, os-core-update, bootloader, freitag-all, NetworkManager, sysadmin-basic, kbd, kernel-native
2020/01/10 11:57:40 [DBG] Bundle os-core was already installed with the core bundles, skipping
2020/01/10 11:57:40 [DBG] Bundle os-core-update was already installed with the core bundles, skipping
2020/01/10 11:57:40 [DBG] swupd os-install --certpath=freitag-swupd-root.pem --statedir-cache=/var/lib/clr-installer/offline-content --url=https://192.168.1.203 --path=/tmp/install-438710953 --statedir=/tmp/install-438710953/var/lib/swupd -V 32050 --force --no-boot-update --json-output -B os-core-update,openssh-server,bootloader,freitag-all,NetworkManager,sysadmin-basic,kbd,kernel-native
2020/01/10 11:57:40 [DBG] Using default shellProxy.DefaultGetProxyValue
2020/01/10 11:57:40 [DBG] [Previous line repeated 4 times]
2020/01/10 11:57:40 [DBG] cmd.Env: []
2020/01/10 11:57:40 [DBG] [
2020/01/10 11:57:40 [DBG] { "type" : "start", "section" : "os-install" },
2020/01/10 11:57:40 [DBG] { "type" : "warning", "msg" : "/tmp/install-438710953//usr/share/clear/versionstamp does not exist!" },
2020/01/10 11:57:40 [DBG] { "type" : "progress", "currentStep" : 1, "totalSteps" : 9, "stepCompletion" : -1, "stepDescription" : "load_manifests" },
2020/01/10 11:57:40 [DBG] Target OS: : Setting indeterminate progress for task load_manifests
2020/01/10 11:57:40 [DBG] { "type" : "info", "msg" : "Installing OS version 32050" },
2020/01/10 11:57:40 [DBG] { "type" : "error", "msg" : "Certificate verification error - unable to get local issuer certificate" },
2020/01/10 11:57:40 [DBG] [Previous line repeated 1 time]
2020/01/10 11:57:40 [DBG] { "type" : "warning", "msg" : "Removing corrupt Manifest.MoM artifacts and re-downloading..." },
2020/01/10 11:57:40 [DBG] { "type" : "error", "msg" : "Failed to retrieve 32050 MoM manifest" },
2020/01/10 11:57:40 [DBG] { "type" : "error", "msg" : "Unable to download/verify 32050 Manifest.MoM" },
2020/01/10 11:57:40 [DBG] { "type" : "info", "msg" : " Installation failed" },
2020/01/10 11:57:40 [DBG] { "type" : "progress", "currentStep" : 1, "totalSteps" : 9, "stepCompletion" : 100, "stepDescription" : "load_manifests" },
2020/01/10 11:57:40 [DBG] Target OS: : Task load_manifests completed
2020/01/10 11:57:40 [DBG] { "type" : "end", "section" : "os-install", "status" : 4 }
2020/01/10 11:57:40 [DBG] ]
2020/01/10 11:57:40 [ERR] An error occurred executing command: "swupd os-install --certpath=freitag-swupd-root.pem --statedir-cache=/var/lib/clr-installer/offline-content --url=https://192.168.1.203 --path=/tmp/install-438710953 --statedir=/tmp/install-438710953/var/lib/swupd -V 32050 --force --no-boot-update --json-output -B os-core-update,openssh-server,bootloader,freitag-all,NetworkManager,sysadmin-basic,kbd,kernel-native". Error: exit status 4