• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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