canonical / ubuntu-desktop-installer

Ubuntu Desktop Installer
GNU General Public License v3.0
536 stars 94 forks source link

"Try Ubuntu": stuck at "Preparing Ubuntu..." #2340

Open danimesq opened 12 months ago

danimesq commented 12 months ago

I've noticed this behavior both at my custom derived distro, and at Ubuntu 23.04 itself.

Screenshot from 2023-09-16 20-53-16 Screenshot from 2023-09-16 20-53-45 Screenshot from 2023-09-16 20-53-58 Screenshot from 2023-09-16 20-55-20

Was running my Flutter app and then clicking to run ubuntu-desktop-installer from its desktop icon, it got stuck.

At my custom derived distro (made in Cubic, using Cinnamon DE), it didn't even showed the "Install Ubuntu / Try Ubuntu" screen, but worked when I clicked its desktop icon. However, when I choose to proceed in this script, ubuntu-desktop-installer started to say there's no space to install (despite having a lot of disks with enough space).

So, this issue refers to up to 3 potential bugs that weren't noticed on the old/Python version of Ubiquity.

seb128 commented 12 months ago

Thank you for your bug report. Could you attach /var/log/installer/ubuntu_desktop_installer.log after triggering the issue?

Atropine07 commented 11 months ago

Same problem for me on Ubuntu 23.10 Beta.

Launching the installer in the live session results in the window "Preparing Ubuntu...", and nothing happens anymore. I have a lot of CPU usage going on however.

My logs and the launchpad bug are here : https://bugs.launchpad.net/ubuntu-desktop-installer/+bug/2037219 I do not have an /var/log/installer/ubuntu_desktop_installer.log before, during of after launching the installer.

Thank you ! Alexandre Hen

danimesq commented 11 months ago

@seb128

Thank you for your bug report. Could you attach /var/log/installer/ubuntu_desktop_installer.log after triggering the issue?

Will reproduce once I get free time.

zachHixson commented 11 months ago

Facing the same issue, downloaded straight from the site, flashed using Etcher, and stuck on "Preparing Ubuntu." Restarting doesn't seem to fix anything.

natekasprzak commented 11 months ago

I've been dealing with the same issue, both in a virtual machine and on a physical laptop. After choosing to try Ubuntu and opening the installer from the desktop, it was stuck on the initial screen with the spinner.

When launched from the console, it seemed to break after the following line of output:

flutter: INFO subiquity_server: Waiting server up to 90 seconds

I closed the installer, restarted the snap.ubuntu-desktop-installer.subiquity-server service, and this made the installer work like a charm.

I haven't finished the installation process yet, I'll update this comment to let you know if there were any further problems.

EDIT: After getting the installer to work, everything else went well. I don't know why restarting this service resolved the problem, as the status output of the service didn't suggest any errors (it was active and running).

bagustris commented 8 months ago

I've been dealing with the same issue, both in a virtual machine and on a physical laptop. After choosing to try Ubuntu and opening the installer from the desktop, it was stuck on the initial screen with the spinner.

When launched from the console, it seemed to break after the following line of output:

flutter: INFO subiquity_server: Waiting server up to 90 seconds

I closed the installer, restarted the snap.ubuntu-desktop-installer.subiquity-server service, and this made the installer work like a charm.

I haven't finished the installation process yet, I'll update this comment to let you know if there were any further problems.

EDIT: After getting the installer to work, everything else went well. I don't know why restarting this service resolved the problem, as the status output of the service didn't suggest any errors (it was active and running).

For future readers, particularly those who want to install 24.04 daily build, the exact commands are below,

sudo snap stop ubuntu-desktop-installer.subiquity-server
sudo snap start ubuntu-desktop-installer.subiquity-server
TheFrisianClause commented 7 months ago

Same issue still here, with either Ubuntu 23.10 and Ubuntu 24.04. Tried the commands mentioned above, but the installer is still stuck on "Preparing Ubuntu". Any resolutions?

danimesq commented 7 months ago

@TheFrisianClause

Same issue still here, with either Ubuntu 23.10 and Ubuntu 24.04.

Untouched (no modifications, original/official) ISO? What other apps were open at the moment of running the installer?

TheFrisianClause commented 7 months ago

@danimesq Fresh ISO from Ubuntu, no other apps were open. Still this issue, which I don't have with Ubuntu 22.04.3 installer.