Hi,
after a short stint/look at 3.x, I decided to go with 4. But after the install and upgrade I don't have any network bridges in the network tab in the webinterface. Creating a new bridge with the second unused network card results in an error: Not a HASH reference at /usr/share/perl5/PVE/API2/Network.pm line 213. (500)

The corresponding line in Network.pm: raise_param_exc({ gateway => "Default gateway already exists on interface '$iface'." })
My /etc/network/interfaces file (nothing changed):
When I remove the default gateway I can click create, but nothing happens. I can reboot, nothing changes (something happens to the file, my test #comment got deleted)...
I have the "Error: Not a HASH reference at /usr/share/perl5/PVE/RESTHandler.pm line 568. (500)" as well in the Pending Changes (please reboot), but it doesn't go away after a reboot.
corresponding line (the second one):
Cheers!
Edit: other parts of the interface work as expected (backup, firewall, ...).
after a short stint/look at 3.x, I decided to go with 4. But after the install and upgrade I don't have any network bridges in the network tab in the webinterface. Creating a new bridge with the second unused network card results in an error: Not a HASH reference at /usr/share/perl5/PVE/API2/Network.pm line 213. (500)

The corresponding line in Network.pm: raise_param_exc({ gateway => "Default gateway already exists on interface '$iface'." })
My /etc/network/interfaces file (nothing changed):
Code:
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.50
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
When I remove the default gateway I can click create, but nothing happens. I can reboot, nothing changes (something happens to the file, my test #comment got deleted)...
I have the "Error: Not a HASH reference at /usr/share/perl5/PVE/RESTHandler.pm line 568. (500)" as well in the Pending Changes (please reboot), but it doesn't go away after a reboot.
corresponding line (the second one):
Code:
foreach my $k (keys %$hash) {
$hash->{$k}->{$idprop} = $k;
push @$res, $hash->{$k};
}
Cheers!
Edit: other parts of the interface work as expected (backup, firewall, ...).
Last edited: