Hi Virtualmin team,
I run into a problem when runing the install script on a freshly installed Debian 9 server.
The scripts ends up with an error because it is unable to find the /etc/network/interfaces file.
I contacted my provider's support (OVH) and they confirmed that, since 11/15/17, they changed the image with wich all servers are now installed. Naming the interfaces as eth0, eth1… has been abandoned and, from now on, systemd-network wil bee used.
As a result, the network confoguration now relies on /etc/network/50-default.network
Here is their doc (french, sorry): https://docs.ovh.com/fr/dedicated/network-ipaliasing/#debian-9-ubuntu-17...
Is there any quick (and clean :) workarround?
EDIT Oh, it turns out that simply creating the interfaces file (blank) makes the installation script happy... Is that it? It looks too simple :)
All the best! Nico
Comments
Submitted by Nico94 on Thu, 11/23/2017 - 07:48 Comment #1
Submitted by JamieCameron on Thu, 11/23/2017 - 13:06 Comment #2
That's surprising - because even if you fix the installer, other parts of Virtualmin may run into trouble if /etc/network/interfaces doesn't exist.
Are you running Debian 9 there?
Submitted by Nico94 on Sat, 11/25/2017 - 03:37 Comment #3
Yes it is surprising ... I confirm that it is a Debian 9 system and that Virtualmin seems to be runing fine. I did not test extensively yet, but creating a new Virtual Server works like a charm.
Not surprisingly, the "Activated at boot" tab of Webmin's "Network Interfaces" module does not show anything, but the "Active Now" tab shows an "eno1" interface with my actual IPv4 and IPv6 adresses.
If you would like acces to the server or some screenshots, just yell ;-)
I'm gonna fire up an OVH VPS and see what that looks like. It's likely we'll need some tweaks to both the installer and to Virtualmin. It's weird I didn't see this on any of my Debian 9 test systems, but fixing the installer will be easy...fixing Virtualmin/Webmin maybe slightly less easy.
Submitted by Nico94 on Mon, 11/27/2017 - 01:55 Comment #5
I just did the same: I installed a new VPS a few minutes ago ... and the /etc/network/interfaces file IS present.
Obviously, the Debian 9 image with wich they install their VPS is not the same as the one used to install dedicated servers :-/
Submitted by XTaz on Fri, 12/22/2017 - 08:17 Comment #6
Hello all,
I have the same error with fresh install (debian 9.3) on OVH server.
Like Nico94, I try a new install, create a new blank file '/etc/network/interfaces' and installation script run fine.
Can i use my server like this or not ? Any other change to do after install ?
Thanks
PS : sorry for my basic english
Submitted by andreychek on Fri, 12/22/2017 - 09:19 Comment #7
Yeah it should be no problem to use Virtualmin; I think the biggest issue to watch out for is when adding new IP addresses to your server.
If you have Virtualmin add a new IP, it wouldn't understand how to go about that, and would try adding it to the "interfaces" file.
What you may want to do instead is manually add any new IP's to your server until Virtualmin is modified to handle the different configuration that they're using there.
Submitted by XTaz on Fri, 12/22/2017 - 09:21 Comment #8
Ok, thanks a lot
Submitted by XTaz on Fri, 01/05/2018 - 11:24 Comment #9
I have error when i try to run
composer self-update
[Composer\Downloader\TransportException] The "https://getcomposer.org/versions" file could not be downloaded: failed to open stream: Connection timed out
I find this post https://getcomposer.org/doc/articles/troubleshooting.md#operation-timed-...
i go to Webmin > Networking > Network Configuration > Host Addresses IPv6 for my server hostnamame was 127.0.1.1.
I updated with the correct server IPv6 and now,
composer self-update
run fine.Is it a good way to do ? is it a relative issue of this install error ?
Thanks
Submitted by toli on Fri, 07/13/2018 - 06:07 Pro Licensee Comment #10
I take new dedicated server from OVH with Debian 9. I can confirm /etc/network/interfaces not there and installation fails.
Submitted by franckvmwm on Mon, 06/10/2019 - 12:26 Pro Licensee Comment #12
Hi, Always the same issue here with Debian 9.4 on Soyoustart Dedicated Server !!! "/etc/network/interfaces doesn't existe" 1/ is the install script adapted for systemd netxork configuration? 2/ Where is the fix ? Thank
Submitted by Nico94 on Mon, 06/10/2019 - 12:31 Comment #13
Read above :
touch /etc/network/interfaces
Submitted by franckvmwm on Mon, 06/10/2019 - 12:42 Pro Licensee Comment #14
Thank for answer, I read but it does not solve my issue
Submitted by franckvmwm on Wed, 06/12/2019 - 02:38 Pro Licensee Comment #15
Hi Joe, Submitted by Joe on Mon, 10/29/2018 - 04:39 Pro Licensee Comment #11
We'll add support for the new network configuration in Debian as soon as possible, but it will take some time, as it is very complex.
Some news ?
Thank
Submitted by toli on Wed, 06/12/2019 - 06:03 Pro Licensee Comment #16
You need to make a "touch /etc/network/interfaces" before you start installing the virtualmin.