Unexpected error: 'NoneType' object has no attribute 'group'
melodie11 opened this issue · 1 comments
melodie11 commented
Hello Kamilion,
I just tried to update my ISO on the remote server. But I can't get the latest available customizer to create the new ISO. This is what happens:
# customizer -r
* Read Configuration file: /etc/customizer.conf
* Rebuilding ISO...
=> Checking
=> Doing sanity checks
=> Gathering information
=> Cleaning up
=> Updating initramfs
update-initramfs: Generating /boot/initrd.img-5.4.0-53-generic
Clearing symlinks in /var/tmp/mkinitramfs_0FelXw/etc/ssl/certs...
done.
Updating certificates in /var/tmp/mkinitramfs_0FelXw/etc/ssl/certs...
138 added, 0 removed; done.
=> Copying boot files
* Unexpected error: 'NoneType' object has no attribute 'group'
The host is an Ubuntu 20.04 up to date and so is the ISO.
Can you help me solve it?
Thanks for your work!
Best regards,
Mélodie
melodie11 commented
Hello,
I found the solution. I had a symlink vmlinuz and vmlinuz.old (pointing to the same kernel image), and same with initrd and initrd.old symlinks. Once I have removed the *.old symlinks the build worked.
The message error in itself is weird, considering where the problem was.