Error while installing on Debian 12

compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

myVesta wrote: Mon Jun 19, 2023 12:48 am I think it's ready now.
Only one issue left - and it's on Debian side - it's not our bug - https://bugs.debian.org/cgi-bin/bugrepo ... ug=1038416
This shouldn't be an issue the if we chose the other ftp server during the install right?
User avatar
myVesta
Site Admin
Posts: 932
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

We didn't test VSFTPD :D
Try and give us feedback :)

By the way, ProFTPD works just fine.
Only remember to start service manually after reboot :D
compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

myVesta wrote: Tue Jun 20, 2023 3:46 pm We didn't test VSFTPD :D
Try and give us feedback :)

By the way, ProFTPD works just fine.
Only remember to start service manually after reboot :D
I am testing now in a fresh vm!
One thing i wanted to report long time now is that if I use the installer and add my own parameters example other port, secret url etc, when i run the command that i copy from the site on the bottom, it stills asks me for those info to be added.
I am leaving checked though the interactive, i haven't tried without it. But I assumed that interactive meant that it would confirm the options that I gave it not that it will ask me to change the defaults.
When i make custom install, am i supposed to remove interactive?
User avatar
myVesta
Site Admin
Posts: 932
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Code: Select all

bash vst-install-debian.sh --hostname YOURHOSTNAME.COM --email [email protected] --password YOURPASSWORD --secret_url YOURSECRETURL --port YOUPORT
This way, it will ask you only to type 'y' at the beginning.
But, yes, we can make a parameter to skip that 'y' at the beginning.
compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

Installation was a success, do you want to log into it and check logs?
compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

After install, i did a server reboot, the only service that didn't start at startup was iptables, i have opened it manually and it works
compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

myVesta wrote: Wed Jun 21, 2023 9:29 am

Code: Select all

bash vst-install-debian.sh --hostname YOURHOSTNAME.COM --email [email protected] --password YOURPASSWORD --secret_url YOURSECRETURL --port YOUPORT
This way, it will ask you only to type 'y' at the beginning.
But, yes, we can make a parameter to skip that 'y' at the beginning.
Also i have noticed now that main php is 8.2? this is lovely!
I will install though the 7.4 for some old sites that I have. But it nice to see that webmail and so on are now on latest php
compiz
Posts: 33
Joined: Fri May 28, 2021 12:29 pm

Problem while installing php 7.4
I did

Code: Select all

wget -nv -O ./vesta-inst-php.sh https://c.myvestacp.com/tools/multi-php-install.sh

Code: Select all

mcedit ./vesta-inst-php.sh
then at first try i only did

Code: Select all

inst_56=0
inst_70=0
inst_71=0
inst_72=0
inst_73=0
inst_74=1
inst_80=0
inst_81=0
inst_82=0
which tried to uninstall the already installed php8.2 for some reason. So i have delete the vm, restored prior state and tried again only this time

Code: Select all

inst_56=0
inst_70=0
inst_71=0
inst_72=0
inst_73=0
inst_74=1
inst_80=0
inst_81=0
inst_82=1
which cause the following errors:

Code: Select all

Creating config file /etc/php/7.4/fpm/php.ini with new version
NOTICE: Not enabling PHP 7.4 FPM by default.
NOTICE: To enable PHP 7.4 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.4-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Created symlink /etc/systemd/system/multi-user.target.wants/php7.4-fpm.service → /lib/systemd/system/php7.4-fpm.service.
Setting up php7.4-memcache (1:4.0.5.2-1+0~20230617.4+debian12~1.gbpe9883d) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for php7.4-cli (1:7.4.33-6+0~20230609.83+debian12~1.gbp32abef) ...
Processing triggers for php7.4-fpm (1:7.4.33-6+0~20230609.83+debian12~1.gbp32abef) ...
NOTICE: Not enabling PHP 7.4 FPM by default.
NOTICE: To enable PHP 7.4 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.4-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Enabling conf php7.4-fpm.
To activate the new configuration, you need to run:
  systemctl reload apache2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'libapache2-mod-php7.4' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2023-06-21 11:26:09 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-74.stpl [1424/1424] -> "/usr/local/vesta/data/templates/web/apache2/PHP-FPM-74.                                                                  stpl" [1]
2023-06-21 11:26:10 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-74.tpl [1239/1239] -> "/usr/local/vesta/data/templates/web/apache2/PHP-FPM-74.t                                                                  pl" [1]
2023-06-21 11:26:10 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-74.sh [2614/2614] -> "/usr/local/vesta/data/templates/web/apache2/PHP-FPM-74.sh                                                                  " [1]
2023-06-21 11:26:10 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-74-public.stpl [1431/1431] -> "/usr/local/vesta/data/templates/web/apache2/PHP-                                                                  FPM-74-public.stpl" [1]
2023-06-21 11:26:10 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-74-public.tpl [1246/1246] -> "/usr/local/vesta/data/templates/web/apache2/PHP-F                                                                  PM-74-public.tpl" [1]
2023-06-21 11:26:10 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-74-public.sh [2614/2614] -> "/usr/local/vesta/data/templates/web/apache2/PHP-FP                                                                  M-74-public.sh" [1]
=== Press enter to continue ===============================================================================
=== Press enter to install PHP 8.2 ===============================================================================
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
php8.2-mbstring is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-bcmath is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-cli is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-cli set to manually installed.
php8.2-curl is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-fpm is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-fpm set to manually installed.
php8.2-gd is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-intl is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-mysql is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-soap is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-xml is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-zip is already the newest version (8.2.7-1+0~20230609.23+debian12~1.gbp21561a).
php8.2-memcache is already the newest version (8.2-2+0~20230612.31+debian12~1.gbpbf55c7).
php8.2-memcached is already the newest version (3.2.0++-1+0~20230620.53+debian12~1.gbp8f3995).
php8.2-imagick is already the newest version (3.7.0-4+0~20230415.39+debian12~1.gbpbf7e27).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Enabling conf php8.2-fpm.
To activate the new configuration, you need to run:
  systemctl reload apache2
ERROR: Module php8.2 does not exist!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'libapache2-mod-php8.2' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2023-06-21 11:26:11 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-82.stpl [1223/1223] -> "/usr/local/vesta/data/templates/web/apache2/PHP-FPM-82.                                                                  stpl" [1]
2023-06-21 11:26:12 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-82.tpl [1038/1038] -> "/usr/local/vesta/data/templates/web/apache2/PHP-FPM-82.t                                                                  pl" [1]
2023-06-21 11:26:12 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-82.sh [2964/2964] -> "/usr/local/vesta/data/templates/web/apache2/PHP-FPM-82.sh                                                                  " [1]
2023-06-21 11:26:12 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-82-public.stpl [1230/1230] -> "/usr/local/vesta/data/templates/web/apache2/PHP-                                                                  FPM-82-public.stpl" [1]
2023-06-21 11:26:12 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-82-public.tpl [1045/1045] -> "/usr/local/vesta/data/templates/web/apache2/PHP-F                                                                  PM-82-public.tpl" [1]
2023-06-21 11:26:12 URL:https://c.myvestacp.com/tools/apache-fpm-tpl/PHP-FPM-82-public.sh [2964/2964] -> "/usr/local/vesta/data/templates/web/apache2/PHP-FP                                                                  M-82-public.sh" [1]
=== Patching php.ini for php8.2
2023-06-21 11:26:13 URL:https://c.myvestacp.com/tools/patches/php8.2.patch [2970/2970] -> "/root/php8.2.patch" [1]
patching file /etc/php/8.2/fpm/php.ini
Reversed (or previously applied) patch detected!  Assume -R? [n]
How can I install php7.4 in this version then?

Code: Select all

Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 320.
Hunk #2 FAILED at 423.
Hunk #3 FAILED at 432.
Hunk #4 FAILED at 700.
Hunk #5 FAILED at 852.
Hunk #6 FAILED at 1108.
Hunk #7 FAILED at 1786.
7 out of 7 hunks FAILED -- saving rejects to file /etc/php/8.2/fpm/php.ini.rej
=== PHP 8.2 installed, press enter to continue ===============================================================================
mckaygerhard
Posts: 20
Joined: Thu Jun 08, 2023 6:32 pm
Been thanked: 1 time

myVesta wrote: Fri Jun 09, 2023 8:18 am
mckaygerhard wrote: Thu Jun 08, 2023 11:35 pm i manage to install by using apt key bypass
can you explain further what exactly you did?
men you used debian XD .. the apt-key and all the security ssl was made to check the man-in-the-middle type attacks.. but sometimes feels too paranoic !

Code: Select all

cat > /etc/apt/apt.conf.d/50venenuxcustom << EOF
APT::Install-Recommends "0";
APT::Install-Suggests "0";
Acquire::Languages "en";
EOF
and then pass AllowUnauthenticated and AllowInsecureRepositories to apt when performs operations
Post Reply