Error on fresh install (/usr/local/hestia/data/ips/*: No such file or directory)

I’m stuck with the following step when I want to do a completely fresh install. I formatted the server, tried again but failed. All updates are done on Debian 11 server.

========================================================================

[ * ] Configuring system settings...
[ * ] Configuring Hestia Control Panel...
[ * ] Generating default self-signed SSL certificate...
[ * ] Adding SSL certificate to Hestia Control Panel...
[ * ] Enable SFTP jail...
[ * ] Create admin account...
[ * ] Configuring NGINX...
[ * ] Updating Cloudflare IP Ranges for Nginx...
[ * ] Configuring Apache Web Server...
[ * ] Install  PHP 8.1...
[ * ] Configuring PHP 8.1...
[ * ] Configuring PHP...
[ * ] Configuring Vsftpd server...
[ * ] Configuring MariaDB database server...
[ * ] Installing phpMyAdmin version v5.2.1...
[ * ] Configuring Bind DNS server...
[ * ] Configuring fail2ban access monitor...
[ * ] Configuring File Manager...
[ * ] Configuring PHP dependencies...
[ * ] Install Rclone
[ * ] Configuring System IP...
grep: /usr/local/hestia/data/ips/*: No such file or directory
Error: IP MYIPADRESS doesn't exist
Error: can't create backup.mydomain.net domain
root@debian:~#

What do you see if your run:
/usr/local/hestia/bin/v-update-sys-ip

root@debian:~# /usr/local/hestia/bin/v-update-sys-ip
mv: cannot move ‘/usr/local/hestia/data/ips/’ to a subdirectory of itself, ‘/usr/local/hestia/data/ips/MYSERVERIP’
sed: -e expression #1, char 0: no previous regular expression
sed: can’t read /usr/local/hestia/data/users/admin/dns/*.conf: No such file or directory
sed: -e expression #1, char 0: no previous regular expression
sed: -e expression #1, char 0: no previous regular expression
Error: invalid interface format :: enp0s3
grep: /usr/local/hestia/data/ips/: Is a directory
sed: couldn’t edit /usr/local/hestia/data/ips/: not a regular file
root@debian:~#

ip address file can not create in that folder.

ls /usr/local/hestia/data/ips/

?

yes. this folder is empty.

Hmm it assigned to the network port an alias:

2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 52:54:xxx:xxx:xxx:22 brd ff:ff:ff:ff:ff:ff
    altname enp0s3
    inet xxxx/24 brd xxxx.255 scope global dynamic enp0s3
       valid_lft 2626480sec preferred_lft 2626480sec

So it detect for the system ip: xxxx/24 and interface enp0s3 but that one is the alt name for ens3…

Now only how to detect it…

There was a bug in a check function to make sure it has a valid port

I have fixed it in a test branch:

apt install git

git clone https://github.com/hestiacp/hestiacp.git
cd hestiacp 
git checkout fix/interface-check

cd ./src/
# Compile packages
./hst_autocompile.sh --all --noinstall --keepbuild '~localsrc'
cd ../install
bash hst-install-debian.sh --with-debs /tmp/hestiacp-src/deb/
1 Like

And did it work? @ufuk

I completed all the steps but the same error occurred again. Unfortunately, I had to give up trying more because I needed to use the server. There was no problem with Debian 10.5 version. So, I installed Hestia by installing this version of the operating system.

Still the same error?

What is your provider?

Hello,

if the bug has been fixed should not be released as soon as possible a new version where the patch is included?

@ ufuk why do not you answer here? I would also be interested in where the people host and whether the problem is fixed with the patch :slightly_smiling_face:.

I have made a PR how ever I need to know if it fixes the issue so I would like to test it first / verify it first…

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