Ubuntu upgrade hanging at LXD

Hello, I have to admit upfront that I am a newbie to the linux world, so my issue may be a simple fix. I recently tried to upgrade my ubuntu server from 18.04 LTS to 20.04 LTS and every time I try to upgrade all of the packages, the upgrade hangs at “=> Connecting to source server” when installing the LXD snap. Any help would be much appreciated!

And it never shows anything past that line?

If not, that suggests that you have an issue with LXD starting up on your system.
journalctl -u lxd may provide more details.

Correct. I tried to upgrade it multiple times yesterday and never got passed that, I even let it run over night and was still in the same state this morning.

I get the following when I run journalctl -u lxd
Jan 21 00:51:11 Plex systemd[1]: Failed to start LXD - main daemon.
Jan 21 00:51:11 Plex systemd[1]: lxd.service: Scheduled restart job, restart counter is at 41.
Jan 21 00:51:11 Plex systemd[1]: Stopped LXD - main daemon.
Jan 21 00:51:11 Plex systemd[1]: Starting LXD - main daemon…
Jan 21 00:51:11 Plex lxd[336946]: Error: Log file path doesn’t exist: /var/log/lxd
Jan 21 00:51:11 Plex systemd[1]: lxd.service: Main process exited, code=exited, status=1/FAILURE
Jan 21 01:01:11 Plex lxd[336947]: Error: LXD still not running after 600s timeout ()
Jan 21 01:01:11 Plex systemd[1]: lxd.service: Start-post operation timed out. Stopping.
Jan 21 01:01:11 Plex systemd[1]: lxd.service: Control process exited, code=exited, status=1/FAILURE
Jan 21 01:01:11 Plex systemd[1]: lxd.service: Failed with result ‘exit-code’.

Try mkdir /var/log/lxd, then see if that unblocks things enough.

Ok, created the directory and am running the upgrade again… Still appears to hang in the same spot.

Are you getting something different in journalctl -u lxd now?

Jan 21 12:05:26 Plex systemd[1]: Starting LXD - main daemon…
Jan 21 12:05:26 Plex lxd[5706]: Error: Log file path doesn’t exist: /var/log/lxd
Jan 21 12:05:26 Plex systemd[1]: lxd.service: Main process exited, code=exited, status=1/FAILURE

Sounds like /var/log/lxd is missing again.

Ran the mkdir command again, confirmed the directory is in fact there and the upgrade appears to be running now as I got past where I was hanging before. I’ll let this run and let you know how it goes. So far the issue appears to be fixed. Thank you so much for your help!