• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Forwarded to devs psa-firewall /usr/local/psa/var/modules/firewall/firewall-active.sh: line 140: [: too many arguments

Paul Hermans

Basic Pleskian
User name: Paul Hermans

TITLE

psa-firewall /usr/local/psa/var/modules/firewall/firewall-active.sh: line 140: [: too many arguments

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian Version 18.0.25 Update #2 CentOS Linux 8.1.1911 (Core)

PROBLEM DESCRIPTION

when checking the status of the Plesk firewall you see and error

STEPS TO REPRODUCE

Run the command:
systemctl status psa-firewall.service

ACTUAL RESULT

/usr/local/psa/var/modules/firewall/firewall-active.sh: line 140: [: too many arguments

EXPECTED RESULT

I expect no errors.

ANY ADDITIONAL INFORMATION

# /sbin/ip6tables --version
ip6tables v1.8.2 (nf_tables)

iptables_version=`/sbin/ip6tables --version | awk -F '.' '{print $2$3}'`
iptables_version = 82 (nf_tables)

LINE 140 =
if [ $iptables_version -gt 420 ]; then

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you.
Reproduced on CentOS 8.1.1911 x86_64 with Plesk Obsidian.
Bug confirmed: PPP-48294
 
Back
Top