Error when installing on a VDS

My YunoHost server

Hardware: VDS bought online
YunoHost version: couldn’t install
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Hi everyone, I am really new to this world so I am not sure I got the log file correctly but I will provide the details. Thanks for your helps in advance.

^[[1m^[[34mINFO^[[0m] Running upgrade_system

Hit:1 Index of /debian-security bullseye-security InRelease

Hit:2 Index of /debian bullseye InRelease

Hit:3 Index of /debian bullseye-updates InRelease

Hit:4 Index of /debian/ bullseye InRelease

Hit:5 Index of /debian bullseye-backports InRelease

Reading package lists…

Reading package lists…

Building dependency tree…

Reading state information…

libtext-iconv-perl is already the newest version (1.7-7+b1).

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

1 not fully installed or removed.

After this operation, 0 B of additional disk space will be used.

Setting up postfix (3.5.25-0+deb11u1) …

postconf: warning: valid_hostname: numeric hostname: 45

postconf: fatal: unable to use my own hostname

Use of uninitialized value $destinations in scalar chomp at /var/lib/dpkg/info/postfix.config line 223.

Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.

postconf: warning: valid_hostname: numeric hostname: 45

postconf: fatal: unable to use my own hostname

postconf: warning: valid_hostname: numeric hostname: 45

postconf: fatal: unable to use my own hostname

Use of uninitialized value $mynetworks in scalar chomp at /var/lib/dpkg/info/postfix.config line 287.

Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.

postconf: warning: valid_hostname: numeric hostname: 45

postconf: fatal: unable to use my own hostname

Use of uninitialized value $protos in scalar chomp at /var/lib/dpkg/info/postfix.config line 389.

Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/Client/ConfModule.pm line 121.

postconf: warning: valid_hostname: numeric hostname: 45

postconf: fatal: unable to use my own hostname

postconf: warning: valid_hostname: numeric hostname: 45

postconf: fatal: unable to use my own hostname

dpkg: error processing package postfix (–configure):

installed postfix package post-installation script subprocess returned error exit status 1

Errors were encountered while processing:

Errors were encountered while processing:

postfix

E: Sub-process /usr/bin/dpkg returned an error code (1)

[^[[1m^[[31mFAIL^[[0m] Unable to update the system

[^[[1m^[[34mINFO^[[0m] Installation logs are available in /var/log/yunohost-installation_20240821_023805.log


What’s a VDS … did you mean a VPS ?

VDS are Virtual Dedicated Servers. It’s a sort of VPS but with dedicated ressources (ram & CPU most of the times)

Hmokay so it looks like the error is : postconf: warning: valid_hostname: numeric hostname: 45

Is the hostname of the machine just number, like “45” ?

I do not know how to check machine’s name but ip starts with 45 so it is probably named with ip

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.