[SOLVED] Ubuntu 24.04 Container from official template fails to start

northernbrewer

New Member
Sep 22, 2023
17
4
3
Hi,



I'm running the latest Proxmox with no updates available. I have downloaded the Official Ubuntu 24.04 temaplate by using the pveam command. I created a new conatiner using the template. It is installes fine and goes into runnig state. But when I open the Console there is no output at all and it does not respond to keystrokes either.

Any tips on how to solve?
 

Attachments

  • Screenshot 2024-07-01 102727.jpg
    Screenshot 2024-07-01 102727.jpg
    89.2 KB · Views: 28
  • Screenshot 2024-07-01 104140.jpg
    Screenshot 2024-07-01 104140.jpg
    38.1 KB · Views: 29
  • Screenshot 2024-07-01 104105.jpg
    Screenshot 2024-07-01 104105.jpg
    65 KB · Views: 26
  • Screenshot 2024-07-01 103023.jpg
    Screenshot 2024-07-01 103023.jpg
    42.4 KB · Views: 21
  • Screenshot 2024-07-01 102939.jpg
    Screenshot 2024-07-01 102939.jpg
    24.1 KB · Views: 22
  • Screenshot 2024-07-01 102853.jpg
    Screenshot 2024-07-01 102853.jpg
    75.4 KB · Views: 26
If you stop the container, open the noVNC console using the Console button's dropdown, start the container from this menu and wait for the container to start, are you able to login?
 
@bkinigadner Thank you for you reply. I tried to shut down the container open noVnc and than used the button in noVNC to start the container. The result is the same, blank terminal in noVNC, but the container Summary screen reads that the container is up and running.
 

Attachments

  • Screenshot 2024-07-01 114811.jpg
    Screenshot 2024-07-01 114811.jpg
    58.3 KB · Views: 8
  • Screenshot 2024-07-01 114917.jpg
    Screenshot 2024-07-01 114917.jpg
    44.3 KB · Views: 9
  • Screenshot 2024-07-01 115020.jpg
    Screenshot 2024-07-01 115020.jpg
    103.3 KB · Views: 8
@bkinigadner Good point, I tried but no response to SSH or Ping.
 

Attachments

  • Screenshot 2024-07-01 130705.jpg
    Screenshot 2024-07-01 130705.jpg
    51.6 KB · Views: 4
  • Screenshot 2024-07-01 130626.jpg
    Screenshot 2024-07-01 130626.jpg
    146.2 KB · Views: 4
  • Screenshot 2024-07-01 130733.jpg
    Screenshot 2024-07-01 130733.jpg
    77.4 KB · Views: 4
On the pve server there is the pct executable.
Code:
pct list
pct start <id>
pct status <id>
pct console <id>
list and status should show you if it is running, then you could try to log in using this way.
 
  • Like
Reactions: leesteken
@bkinigadner I'm able to connect with pct console, but the result is the same - no output and no response to keystrokes.

@leesteken with pct enter I'm able to connect and run commands like top. So the container is running, but it does not seem to have network as ping produces an error.
 

Attachments

  • Screenshot 2024-07-01 133702.jpg
    Screenshot 2024-07-01 133702.jpg
    141.7 KB · Views: 4
  • Screenshot 2024-07-01 133844.jpg
    Screenshot 2024-07-01 133844.jpg
    229.7 KB · Views: 4
  • Screenshot 2024-07-01 134057.jpg
    Screenshot 2024-07-01 134057.jpg
    215.3 KB · Views: 4
Try to set the network to dhcp, maybe there is a problem with the static ip, and what happens if you enter
Code:
ip a
in the container
 
@bkinigadner Yes, after that command it works. But it is strange with all these problems when using the official template and a clean install?
 

Attachments

  • Screenshot 2024-07-01 143138.jpg
    Screenshot 2024-07-01 143138.jpg
    205.1 KB · Views: 6
I logged in through the pct enter command and did an apt update and then a apt upgrade and updated Ubuntu 24.04 to the latest version. Then shut down and rebooted. The issue is still the same, no terminal output and no network at boot.

Any tips on how to solve?
 
Yes, after a reboot the network is down again. Your command will work again, but each reboot resets it.
 

Attachments

  • Screenshot 2024-07-02 091457.jpg
    Screenshot 2024-07-02 091457.jpg
    115 KB · Views: 2
root@box2404Test:~# cat /etc/network/interfaces
cat: /etc/network/interfaces: No such file or directory
root@box2404Test:~#
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!