Subiquity crashes installing Ubuntu 24.04?

Got a crash when hitting the "Install recommended proprietary software" screen in the installer. This is a System76 Thelio, fresh install of 24.04 from a fresh iso. Debug logs below:

flutter: DEBUG subiquity_client: ==> setSource(ubuntu-mate-desktop) null
flutter: DEBUG subiquity_client: GET http://localhost/storage/v2?wait=true
flutter: DEBUG subiquity_client: ==> setDrivers(true) null
flutter: DEBUG subiquity_client: ==> setCodecs(true) null
flutter: ERROR ubuntu_bootstrap: Unhandled exception
	SubiquityException: getStorageV2() returned error 500
Traceback (most recent call last):
  File "/snap/ubuntu-desktop-bootstrap/171/bin/subiquity/subiquity/common/api/server.py", line 164, in handler
    result = await implementation(**args)
  File "/snap/ubuntu-desktop-bootstrap/171/bin/subiquity/subiquity/server/controllers/filesystem.py", line 1052, in v2_GET
    return await self.get_v2_storage_response(self.model, wait, include_raid)
  File "/snap/ubuntu-desktop-bootstrap/171/bin/subiquity/subiquity/server/controllers/filesystem.py", line 1038, in get_v2_storage_response
    disks=[labels.for_client(d) for d in disks],
  File "/snap/ubuntu-desktop-bootstrap/171/bin/subiquity/subiquity/server/controllers/filesystem.py", line 1038, in <listcomp>
    disks=[labels.for_client(d) for d in disks],
  File "/snap/ubuntu-desktop-bootstrap/171/usr/lib/python3.10/functools.py", line 889, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "/snap/ubuntu-desktop-bootstrap/171/bin/subiquity/subiquity/common/filesystem/labels.py", line 327, in _for_client_disk
    can_be_boot_device=boot.can_be_boot_device(disk),
  File "/snap/ubuntu-desktop-bootstrap/171/usr/lib/python3.10/functools.py", line 889, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "/snap/ubuntu-desktop-bootstrap/171/bin/subiquity/subiquity/common/filesystem/boot.py", line 343, in _can_be_boot_device_disk
    plan = get_boot_device_plan(disk, resize_partition=resize_partition)
  File "/snap/ubuntu-desktop-bootstrap/171/bin/subiquity/subiquity/common/filesystem/boot.py", line 317, in get_boot_device_plan
    return get_boot_device_plan_bios(device)
  File "/snap/ubuntu-desktop-bootstrap/171/bin/subiquity/subiquity/common/filesystem/boot.py", line 171, in get_boot_device_plan_bios
    offset=device.alignment_data().min_start_offset,
  File "/snap/ubuntu-desktop-bootstrap/171/bin/subiquity/subiquity/models/filesystem.py", line 745, in alignment_data
    return self._m._partition_alignment_data[ptable]
KeyError: 'unsupported'

#0      SubiquityClient._receive (package:subiquity_client/src/client.dart:74)
<asynchronous suspension>
#1      StorageService._updateStorage (package:ubuntu_bootstrap/services/storage_service.dart:101)
<asynchronous suspension>
#2      Future.wait.<anonymous closure> (dart:async/future.dart:518)
<asynchronous suspension>
#3      CodecsAndDriversPage.build.<anonymous closure> (package:ubuntu_bootstrap/pages/source/codecs_and_drivers_page.dart:40)
<asynchronous suspension>
#4      _WizardButtonState.build.<anonymous closure> (package:ubuntu_wizard/src/wizard_button.dart:112)
<asynchronous suspension>

This happens whether I have both boxes checked or not. Additionally, I have a confirmed working good internet connection.

Any guidance is appreciated!

Hi, @surfrock66 :slight_smile:

I suggest that you report the problem that you are having - with the Ubuntu 24.04 MATE LTS ("Noble Numbat") installation - in Launchpad, in the "subiquity" (Ubuntu installer) package section.

Here is the link to the Launchpad page with the current "subiquity" reported issues ("Bugs"), ordered by "Age" (most recent bugs appear first):

https://bugs.launchpad.net/ubuntu/+source/subiquity/+bugs?orderby=-datecreated&start=0

And here is the link to report a Bug for "subiquity":

https://bugs.launchpad.net/ubuntu/+source/subiquity/+filebug

I hope this helps at least somewhat. Please, keep us posted in this discussion topic :slight_smile:

1 Like

It's much worse...it is looking like the storage controller on the motherboard is failing, so writing the system to disk is crashing. This is not a subiquity issue :confused:

1 Like

Hi again, @surfrock66

You wrote:

Sorry to hear that :frowning: Best of luck with your machine!

1 Like

I d/l a fresh um24.04.3 iso, verified checksum. Used two diff ssd's, the installer fails on each. The ssd's were benchmarked to be ok. I don't remember the exact error but I posted in Launchpad.

side note: installed Mint 22.2 on same pc, same disk, flawless installation.

2 Likes

FYI update:
installed 22.04, flawless.
do_upgrade, I'm in 24.04
I don't know what changed in the installer.

2 Likes

Everything.

I mean, the good ubiquity 22.04 installer was dumped completely in favor of the "new and shiny" crappy subiquity installer which was written from scratch and introduced in 24.04.

My personal opinion is taht it was not the smartest move ever made.

Lubuntu and Kubuntu both use the "calamares" installer instead which do work perfectly.

2 Likes

It is pretty bad if a new user downloads um24.04 and the installer fails.

2 Likes

You are absolutely right. I've mentioned it before.

There are about 750 bugreports filed against subiquity since it was introduced 18 months ago. :roll_eyes:

The installer is a flutter app in a snap running parallell to a diskchecker. It is sheer madness. Why would they jail the installer ? for what ? :rofl:

Really I would rather have a good working classic textmode installer than this piece of unreliability. I've thought several times to switch to kubuntu in the future just because of this.

2 Likes