Dukecitysolutions / sentora-php7-upgrade

Sentora v1.0.3 PHP 7.x Upgrade
GNU General Public License v3.0
17 stars 11 forks source link

daemon.php broken by snuffleupagus #2

Closed VedranIteh closed 4 years ago

VedranIteh commented 4 years ago

PHP Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'escapeshellcmd' in /etc/sentora/panel/dryden/ctrl/system.class.php on line 27

Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'escapeshellcmd' in /etc/sentora/panel/dryden/ctrl/system.class.php on line 27

Dukecitysolutions commented 4 years ago

Vedranlteh, This issue has already been resolved in v1.0.3.1-Build-0.3.3 - BETA. Please run- bash <(curl -L -Ss http://zppy-repo.dukecitysolutions.com/repo/sentora-live/php7_upgrade/update.sh)

New way to run cron manually run- php -d "sp.configuration_file=/etc/sentora/configs/php/sp/sentora.rules" -q /etc/sentora/panel/bin/daemon.php

You can check your v1.0.3.1 version/build in control panel under ADMIN->UPDATES I try to update code daily for fixes when found. Please update and confirm issues are fixed. Thank you for your help

VedranIteh commented 4 years ago

it acctually broke after the latest update on 0.3.3 :\

Dukecitysolutions commented 4 years ago

it acctually broke after the latest update on 0.3.3 :\

What OS are you running this on? You can reach me directly on skype bombisallthat@yahoo.com for direct quick help.

VedranIteh commented 4 years ago

CentOS 6, Can't skype right now, it's not urgent at all.

What file, method, code was updated to repair this ? I can check if everything updated alright by the script.

Thank you, great work

Dukecitysolutions commented 4 years ago

Replace zdaemon - /etc/cron.d/zdaemon with attached file.

Then run - php -d "sp.configuration_file=/etc/sentora/configs/php/sp/sentora.rules" -q /etc/sentora/panel/bin/daemon.php

This is included in update.sh I sent earlier. Ive tested it on all support OS with no issues.

zdaemon.zip

Dukecitysolutions commented 4 years ago

Wait I see an issue. Please standby for a fix in installer/updater

VedranIteh commented 4 years ago

solved, thanks

VedranIteh commented 4 years ago

th error was in my cron.d/zdaemon line

Dukecitysolutions commented 4 years ago

th error was in my cron.d/zdaemon line

Please explain error...

VedranIteh commented 4 years ago

it wasn't updated to run with -d flag and snuffleupagus ruleset for some reason it was still as before.