• 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

Resolved Plesk Onyx Preview and FeedBack

Status
Not open for further replies.
I installed Plesk on a Debian LTS Server, after reinstalling Plesk Onyx on a minimal system, everything seems ok and the CSR can be generated.

Thanks.
 
Guys, please do no mark this thread as Resolved! This is Important thread and can't be "Resolved" by default. Thanks.
 
Hi,

Tried using my activation key, however get the following:

Error: The license key is invalid. In order to use Plesk, please obtain and install a new valid license key.
The license key is intended only for use with Plesk operating inside the following virtual environments: Virtuozzo containers, VMWare, Microsoft Hyper-V, Xen, KVM, Virtuozzo Server, LXC, Docker.

This is on a virtual environment though, it's a CentOS 7 VM on Hyper-V Gen 2 machine. Got it working using a trial key for now, but would like to use a longer term key so I can evaluate side by side with my production box before we migrate over.

Thanks, Carl
 
Also a bug when trying to activate a new firewall configuration:

Internal error: DB query failed: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-0-5' for key 'configuration_id', query was: insert into module_firewall_rules (configuration_id, direction, priority, object) values :)configuration, :direction, :priority, :eek:bject)
Message DB query failed: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-0-5' for key 'configuration_id', query was: insert into module_firewall_rules (configuration_id, direction, priority, object) values :)configuration, :direction, :priority, :eek:bject)
File Mysql.php
Line 53
Type Plesk\Exception\Database

Here is the preview of what I tried to apply:

#!/bin/bash
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

set -e

echo 0 > /proc/sys/net/ipv4/ip_forward
([ -f /var/lock/subsys/ipchains ] && /etc/init.d/ipchains stop) >/dev/null 2>&1 || true
(rmmod ipchains) >/dev/null 2>&1 || true

apply_rule()
{
iptables_bin="$1"
shift

iptables_version=`/sbin/iptables --version | awk -F '.' '{print $2$3}'`

# Use the native --wait option since v1.4.20
if [ $iptables_version -gt 420 ]; then
$iptables_bin -w $@ 2>/dev/null
return $?
fi

# Emulate --wait for elderly versions
for i in `seq 10`; do
$iptables_bin $@ 2>&1 | grep -q xtable || return 0
sleep 1
done

return 1
}

/sbin/iptables-save -t filter | grep -- "-A INPUT" | grep -v "fail2ban-\|f2b-" | sed -e "s#^-A#apply_rule /sbin/iptables -D#g" | xargs -0 echo -e "`declare -f apply_rule`\n" | /bin/bash

apply_rule /sbin/iptables -F FORWARD
apply_rule /sbin/iptables -F OUTPUT
apply_rule /sbin/iptables -Z FORWARD
apply_rule /sbin/iptables -Z OUTPUT

apply_rule /sbin/iptables -P INPUT DROP
apply_rule /sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
apply_rule /sbin/iptables -A INPUT -p tcp ! --syn -m state --state NEW -j REJECT --reject-with tcp-reset
apply_rule /sbin/iptables -A INPUT -m state --state INVALID -j DROP
apply_rule /sbin/iptables -P OUTPUT DROP
apply_rule /sbin/iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
apply_rule /sbin/iptables -A OUTPUT -p tcp ! --syn -m state --state NEW -j REJECT --reject-with tcp-reset
apply_rule /sbin/iptables -A OUTPUT -m state --state INVALID -j DROP
apply_rule /sbin/iptables -P FORWARD DROP
apply_rule /sbin/iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
apply_rule /sbin/iptables -A FORWARD -p tcp ! --syn -m state --state NEW -j REJECT --reject-with tcp-reset
apply_rule /sbin/iptables -A FORWARD -m state --state INVALID -j DROP

apply_rule /sbin/iptables -A INPUT -i lo -j ACCEPT
apply_rule /sbin/iptables -A OUTPUT -o lo -j ACCEPT
apply_rule /sbin/iptables -A FORWARD -i lo -o lo -j ACCEPT

apply_rule /sbin/iptables -t mangle -F
apply_rule /sbin/iptables -t mangle -Z
apply_rule /sbin/iptables -t mangle -P PREROUTING ACCEPT
apply_rule /sbin/iptables -t mangle -P OUTPUT ACCEPT
apply_rule /sbin/iptables -t mangle -P INPUT ACCEPT
apply_rule /sbin/iptables -t mangle -P FORWARD ACCEPT
apply_rule /sbin/iptables -t mangle -P POSTROUTING ACCEPT

/sbin/ip6tables-save -t filter | grep -- "-A INPUT" | grep -v "fail2ban-\|f2b-" | sed -e "s#^-A#apply_rule /sbin/ip6tables -D#g" | xargs -0 echo -e "`declare -f apply_rule`\n" | /bin/bash

apply_rule /sbin/ip6tables -F FORWARD
apply_rule /sbin/ip6tables -F OUTPUT
apply_rule /sbin/ip6tables -Z FORWARD
apply_rule /sbin/ip6tables -Z OUTPUT

apply_rule /sbin/ip6tables -P INPUT DROP
apply_rule /sbin/ip6tables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp ! --syn -m state --state NEW -j REJECT --reject-with tcp-reset
apply_rule /sbin/ip6tables -A INPUT -m state --state INVALID -j DROP
apply_rule /sbin/ip6tables -P OUTPUT DROP
apply_rule /sbin/ip6tables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
apply_rule /sbin/ip6tables -A OUTPUT -p tcp ! --syn -m state --state NEW -j REJECT --reject-with tcp-reset
apply_rule /sbin/ip6tables -A OUTPUT -m state --state INVALID -j DROP
apply_rule /sbin/ip6tables -P FORWARD DROP
apply_rule /sbin/ip6tables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
apply_rule /sbin/ip6tables -A FORWARD -p tcp ! --syn -m state --state NEW -j REJECT --reject-with tcp-reset
apply_rule /sbin/ip6tables -A FORWARD -m state --state INVALID -j DROP

apply_rule /sbin/ip6tables -A INPUT -i lo -j ACCEPT
apply_rule /sbin/ip6tables -A OUTPUT -o lo -j ACCEPT
apply_rule /sbin/ip6tables -A FORWARD -i lo -o lo -j ACCEPT

apply_rule /sbin/ip6tables -t mangle -F
apply_rule /sbin/ip6tables -t mangle -Z
apply_rule /sbin/ip6tables -t mangle -P PREROUTING ACCEPT
apply_rule /sbin/ip6tables -t mangle -P OUTPUT ACCEPT
apply_rule /sbin/ip6tables -t mangle -P INPUT ACCEPT
apply_rule /sbin/ip6tables -t mangle -P FORWARD ACCEPT
apply_rule /sbin/ip6tables -t mangle -P POSTROUTING ACCEPT


apply_rule /sbin/iptables -t nat -F
apply_rule /sbin/iptables -t nat -Z
apply_rule /sbin/iptables -t nat -P PREROUTING ACCEPT
apply_rule /sbin/iptables -t nat -P OUTPUT ACCEPT
apply_rule /sbin/iptables -t nat -P POSTROUTING ACCEPT

apply_rule /sbin/iptables -A INPUT -p tcp --dport 12443 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 12443 -j ACCEPT

apply_rule /sbin/iptables -A INPUT -p tcp --dport 11443 -j ACCEPT
apply_rule /sbin/iptables -A INPUT -p tcp --dport 11444 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 11443 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 11444 -j ACCEPT

apply_rule /sbin/iptables -A INPUT -p tcp --dport 8447 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 8447 -j ACCEPT

apply_rule /sbin/iptables -A INPUT -p tcp --dport 8443 -j ACCEPT
apply_rule /sbin/iptables -A INPUT -p tcp --dport 8880 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 8443 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 8880 -j ACCEPT

apply_rule /sbin/iptables -A INPUT -p tcp --dport 80 -j ACCEPT
apply_rule /sbin/iptables -A INPUT -p tcp --dport 443 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 80 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 443 -j ACCEPT

apply_rule /sbin/iptables -A INPUT -p tcp --dport 21 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 21 -j ACCEPT

apply_rule /sbin/iptables -A INPUT -p tcp --dport 22 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 22 -j ACCEPT

apply_rule /sbin/iptables -A INPUT -p tcp --dport 587 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 587 -j DROP

apply_rule /sbin/iptables -A INPUT -p tcp --dport 25 -j DROP
apply_rule /sbin/iptables -A INPUT -p tcp --dport 465 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 25 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 465 -j DROP

apply_rule /sbin/iptables -A INPUT -p tcp --dport 110 -j DROP
apply_rule /sbin/iptables -A INPUT -p tcp --dport 995 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 110 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 995 -j DROP

apply_rule /sbin/iptables -A INPUT -p tcp --dport 143 -j DROP
apply_rule /sbin/iptables -A INPUT -p tcp --dport 993 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 143 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 993 -j DROP

apply_rule /sbin/iptables -A INPUT -p tcp --dport 106 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 106 -j DROP

apply_rule /sbin/iptables -A INPUT -p tcp --dport 3306 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 3306 -j DROP

apply_rule /sbin/iptables -A INPUT -p tcp --dport 5432 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 5432 -j DROP

apply_rule /sbin/iptables -A INPUT -p tcp --dport 9008 -j DROP
apply_rule /sbin/iptables -A INPUT -p tcp --dport 9080 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 9008 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 9080 -j DROP

apply_rule /sbin/iptables -A INPUT -p udp --dport 137 -j DROP
apply_rule /sbin/iptables -A INPUT -p udp --dport 138 -j DROP
apply_rule /sbin/iptables -A INPUT -p tcp --dport 139 -j DROP
apply_rule /sbin/iptables -A INPUT -p tcp --dport 445 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p udp --dport 137 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p udp --dport 138 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 139 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 445 -j DROP

apply_rule /sbin/iptables -A INPUT -p udp --dport 1194 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p udp --dport 1194 -j DROP

apply_rule /sbin/iptables -A INPUT -p udp --dport 53 -j DROP
apply_rule /sbin/iptables -A INPUT -p tcp --dport 53 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p udp --dport 53 -j DROP
apply_rule /sbin/ip6tables -A INPUT -p tcp --dport 53 -j DROP

apply_rule /sbin/ip6tables -A INPUT -p icmpv6 --icmpv6-type 134/0 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p icmpv6 --icmpv6-type 135/0 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p icmpv6 --icmpv6-type 136/0 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p icmpv6 --icmpv6-type 137/0 -j ACCEPT

apply_rule /sbin/iptables -A INPUT -p icmp --icmp-type 8/0 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p icmpv6 --icmpv6-type 128/0 -j ACCEPT
apply_rule /sbin/ip6tables -A INPUT -p icmpv6 --icmpv6-type 129/0 -j ACCEPT

apply_rule /sbin/iptables -A INPUT -j DROP
apply_rule /sbin/ip6tables -A INPUT -j DROP

apply_rule /sbin/iptables -A OUTPUT -j ACCEPT
apply_rule /sbin/ip6tables -A OUTPUT -j ACCEPT

apply_rule /sbin/iptables -A FORWARD -j DROP
apply_rule /sbin/ip6tables -A FORWARD -j DROP

echo 1 > /proc/sys/net/ipv4/ip_forward
#
# End of script
#
 
Hey there,

just installed Plesk Onyx on a fresh System

installation was running well and no problems so far, activation is also done and without any problems.

I did the Installation cause of my dependency on Ruby projects.

And in this case my Problem appears

Screenshot_3.png
If i try to install the Ruby Manager Extention over the Auto installer also over the manual installer i got this Error.

Screenshot_4.png
The Ruby Manager appers to be installed in the List

Screenshot_5.png
But inside The Ruby Manager ill dont see Any Ruby
Screenshot_6.png
Also no Ruby on the website Tab

Is this a Bug or do i do some thing wrong ?

EDIT:

Ok i fixed my Problem with following solution


Code:
RBENV_ROOT="/var/lib/rbenv"
git clone git://github.com/sstephenson/rbenv.git $RBENV_ROOT
echo 'export RBENV_ROOT=/var/lib/rbenv' >> /etc/profile.d/rbenv.sh
echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> /etc/profile.d/rbenv.sh
echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh
chmod +x /etc/profile.d/rbenv.sh
source /etc/profile.d/rbenv.sh
export PATH=$PATH:/usr/local/bin

RUBY=2.3.1
rbenv install -k $RUBY
rbenv global $RUBY
rbenv rehash



- rbenv version
- 2.3.1 (set by /var/lib/rbenv/version)

STILL NOT WORKING -.-

Screenshot_7.png
Also after pressing refresh.



regards
sirnoex
 
Last edited:
Can i use Docker locally?
can't find my localhost!
758fa1c64c9f497994e03b6ebe3d4125.png

Docker is running :/
Code:
[root@localhost ~]# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
ubuntu              14.04               0ccb13bf1954        7 days ago          187.9 MB
[root@localhost ~]# docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 1
Server Version: 1.12.0

EDIT:
Fixed. Just i add it manually and is working without any problem.
 
Last edited:
I´m not quite sure but if i upload a file into a folder, the file be moved into the last used folder.

For example:

Upload file xyz.php to:
--httpdocs/test/

xyz.php will be moved into:
--httpdocs/admin/

--------------
‪Debian 8.5‬
Product Plesk Onyx
Plesk 17.0.14
 
Hello sirneox,

To resolve your problem you should install Ruby Support component from Plesk installer: Go to in Tools & Settings -> Updates and Upgrades, then Add Component and Ruby support from Web hosting group (see attached screenshot).​

Hey there,

just installed Plesk Onyx on a fresh System

installation was running well and no problems so far, activation is also done and without any problems.

I did the Installation cause of my dependency on Ruby projects.

And in this case my Problem appears

View attachment 11316
If i try to install the Ruby Manager Extention over the Auto installer also over the manual installer i got this Error.

View attachment 11317
The Ruby Manager appers to be installed in the List

View attachment 11318
But inside The Ruby Manager ill dont see Any Ruby
View attachment 11319
Also no Ruby on the website Tab

Is this a Bug or do i do some thing wrong ?

EDIT:

Ok i fixed my Problem with following solution


Code:
RBENV_ROOT="/var/lib/rbenv"
git clone git://github.com/sstephenson/rbenv.git $RBENV_ROOT
echo 'export RBENV_ROOT=/var/lib/rbenv' >> /etc/profile.d/rbenv.sh
echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> /etc/profile.d/rbenv.sh
echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh
chmod +x /etc/profile.d/rbenv.sh
source /etc/profile.d/rbenv.sh
export PATH=$PATH:/usr/local/bin

RUBY=2.3.1
rbenv install -k $RUBY
rbenv global $RUBY
rbenv rehash





STILL NOT WORKING -.-

View attachment 11320
Also after pressing refresh.



regards
sirnoex
Hello,
Hey there,

just installed Plesk Onyx on a fresh System

installation was running well and no problems so far, activation is also done and without any problems.

I did the Installation cause of my dependency on Ruby projects.

And in this case my Problem appears

View attachment 11316
If i try to install the Ruby Manager Extention over the Auto installer also over the manual installer i got this Error.

View attachment 11317
The Ruby Manager appers to be installed in the List

View attachment 11318
But inside The Ruby Manager ill dont see Any Ruby
View attachment 11319
Also no Ruby on the website Tab

Is this a Bug or do i do some thing wrong ?

EDIT:

Ok i fixed my Problem with following solution


Code:
RBENV_ROOT="/var/lib/rbenv"
git clone git://github.com/sstephenson/rbenv.git $RBENV_ROOT
echo 'export RBENV_ROOT=/var/lib/rbenv' >> /etc/profile.d/rbenv.sh
echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> /etc/profile.d/rbenv.sh
echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh
chmod +x /etc/profile.d/rbenv.sh
source /etc/profile.d/rbenv.sh
export PATH=$PATH:/usr/local/bin

RUBY=2.3.1
rbenv install -k $RUBY
rbenv global $RUBY
rbenv rehash





STILL NOT WORKING -.-

View attachment 11320
Also after pressing refresh.



regards
sirnoex
 

Attachments

  • Screen Shot 2016-08-01 at 17.54.19.png
    Screen Shot 2016-08-01 at 17.54.19.png
    167 KB · Views: 11
Debian 8.5
Plesk 17.0.14

Backup Manager -> Creating Backup on local storage.

Following error occurs;

Not all the data was backed up into /var/lib/psa/dumps successfully. /bin/tar: *: Cannot stat: No such file or directory /bin/tar: Exiting with failure status due to previous errors
 
After updating to 17.0.8 to 17.0.14 webmail stopped working for all domains. Is there anyone having this situation like me?
 
I'm testing Plesk Onyx 17.0.14 for windows. I have found that the Presence Builder is not integrated. Will this remain so? Or is this just the case because Onyx is still in development?
 
I'm testing Plesk Onyx 17.0.14 for windows. I have found that the Presence Builder is not integrated. Will this remain so? Or is this just the case because Onyx is still in development?
WPB will be available again in 17.0.5 iteration.
 
Hello,
how does the new "System Resource Usage Limits" in Plesk Onyx compare/differ to CloudLinux similar features of isolation ?
is this a game changer on the part of Plesk as compared to CloudLinux ?
i think so :) hehe
any kind feedback here would be greatly appreciated !!!
kind regards.
 
Hello,
how does the new "System Resource Usage Limits" in Plesk Onyx compare/differ to CloudLinux similar features of isolation ?
is this a game changer on the part of Plesk as compared to CloudLinux ?
i think so :) hehe
any kind feedback here would be greatly appreciated !!!
kind regards.

"System Resource Usage Limits" is Plesk feature which uses Linux cgroups system to limit CPU/RAM/DiskIO usage. cgroups is about limits but is not about isolation (https://en.wikipedia.org/wiki/Cgroups)
 
wow thanks for such a speedy reply.
can this be explained in simple, logical terms please ?
i appreciated the wikipedia link but would much rather an explanation from Plesk in layman's terms.
so in other words then,
what are the main differences, pros/cons etc of limits vs isolation ?
kind regards.
 
I got the following error when i access Plesk:

apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on line 8 of /etc/apache2/conf-enabled/zz010_psa_httpd.conf: Could not open configuration file /etc/apache2/plesk.conf.d/forwarding/last_httpd.conf: No such file or directory

The Apache service can not be started.

Tried to reconfigure the files, got the following message:

Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all ) Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart ) Details: [2016-08-10 09:33:28] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1] [2016-08-10 09:33:29] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1] [2016-08-10 09:33:30] ERR [panel] Apache config (14708144080.35402700) generation failed: Template_Exception: apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on line 8 of /etc/apache2/conf-enabled/zz010_psa_httpd.conf: Could not open configuration file /etc/apache2/plesk.conf.d/forwarding/last_httpd.conf: No such file or directory file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0 apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on line 8 of /etc/apache2/conf-enabled/zz010_psa_httpd.conf: Could not open configuration file /etc/apache2/plesk.conf.d/forwarding/last_httpd.conf: No such file or directory

Can someone help me?

Plesk Onyx 17.0.14
Debian 8.5
 
Status
Not open for further replies.
Back
Top