[ASTPPCOM-859] Install script only supports Debian 9 which is EOL Created: 28/Dec/21  Updated: 29/Jun/22  Resolved: 29/Jun/22

Status: Done
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Highest
Reporter: KNERD Assignee: Sahil Sheikh (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 5h 40m
Original Estimate: Not Specified

Attachments: File install.sh    
Category: Other
Edition: Community

 Description   

According to Debian, version 9 "Stretch" entered End of Life July 6, 2020, with Long Term Support ending in June of 2022 which is about six months from now. After that date, I assume the repos will then go into "vault."

https://wiki.debian.org/DebianReleases#Production_Releases

However, the install script still only accepts Debian 9 for Debian installations. And with that, Debian 10 "Buster" End of Life is already approaching in 3rd quarter 2022.

On a side note, CentOS 8 is already EOL, with CentOS 7 soon following. What about getting on track to include Rocky Linux version 8?



 Comments   
Comment by Neetu Nogia [ 31/Dec/21 ]

Dear KNERD

Goodday,

The support team will share you soon for deb10 scripts.

Thank You

Comment by KNERD [ 03/Jan/22 ]

But as noted, Debian 10 will be EOL around September 2022.

Comment by Sahil Sheikh (Inactive) [ 24/Jan/22 ]

Hello KNERD,

Please find updated script which support debian 10 also. 
Please let us know if anything.

Thank you

install.sh

Comment by KNERD [ 06/Feb/22 ]

Question. Why are you using a third-party repo for PHP 7.3 when Debian 10 already comes with PHP 7.3?

 else if [ "$DIST" = "DEBIAN10" ]; then
                apt -y install lsb-release apt-transport-https ca-certificates
                wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
                echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php7.3.list
                apt-get update
                apt install -y php7.3 php7.3-fpm php7.3-mysql php7.3-cli php7.3-json php7.3-readline php7.3-xml php7.3-curl php7.3-gd php7.3-json php7.3-mbstring php7.3-opcache php7.3-imap php7.3-geoip php-pear php-imagick libreoffice ghostscript

Reference:

https://wiki.debian.org/PHP

Comment by Sahil Sheikh (Inactive) [ 11/Feb/22 ]

Hello KNERD,

Apologies for delayed response. 
and thank you for pointing out this thing. I will try to escalate this to our core team and will update the script. 
You can download it directly from github.

Thank you

Comment by KNERD [ 14/Feb/22 ]

For Debian 10, it seems "git" is also needed before any installation is executed.
Can you ask them to add that also?

Comment by KNERD [ 14/Feb/22 ]

This script was not tested.
Found a couple of breaking bugs.

In Debian 10, nftables is the default firewall.

It has not been removed/disbaled by the script, thus returns.


Error: COMMAND_FAILED: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.8.2 (nf_tables):
line 4: RULE_REPLACE failed (No such file or directory): rule in chain INPUT
line 4: RULE_REPLACE failed (No such file or directory): rule in chain OUTPUT

Also "sudo: command not found"

Comment by Neetu Nogia [ 29/Jun/22 ]

Hello KNERD

Good day,

We have only supported Debian 10, we request to you please install ASTPP in Debian 10, it will work fine.

Thank You

Generated at Sat Feb 10 07:20:54 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.