I downloaded the new v5 script and it looks like it is compatible with Debian10. But I tried twice and saw that it doesn’t do git /opt/astpp and doesn’t install mysql. Any suggestions or is it still in beta?
It does not run or install any packages from line 109:
sudo apt-get install -y wget curl git dnsutils ntpdate systemd net-tools whois sendmail-bin sensible-mda mlocate vim imagemagick
I did this to resolve the missing dependencies;
open the installation script and run the commands one by one , when it crashes, check the error and fix the missing dependency then go ahead
I just tried to run the command you shared on fresh debian 10 OS and it executed properly without any issue. May be if you can try again and let us know if anything.
you didn’t understand, the command of course works! I’m saying that at the end of the script’s execution it didn’t install anything from line 109, and nothing from mysql!
I tried 2 times, a minimal clean install of Debian 10, the script finished normally, and after having verified that nothing from line 109 nor the mysql part was installed, not even git from astpp in the opt folder was done.
I already found out the problem, debian 10 does not come with sudo installed, and in your script you have sudo command, just remove sudo before the command and it passed.
I found another problem in lines 483 and 484, put the commands in lower case:
$chown -Rf root.root ${WWWDIR}/fs
$chmod -Rf 755 ${WWWDIR}/fs