Page 1 of 2

Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Thu 2. Nov 2023, 11:11
by xeppel
hi,

ich habe eben das Upgradescript durchgeführt. Am Ender erschient der Screen mit KeyHelp Upgrade von Debian 11 auf 12 und dass ich neu starten muss. Das habe ich dann getan, wenn ich jetzt wie nach Anleitung das Script erneut ausführe kommt: "cannot be decoded by this version of the ionCube Loader"

Was habe ich denn falsch gemacht ? Wie ich hier im Forum Beiträge lese habe ich das Upgrade scheinbar falsch durchgeführt...

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Thu 2. Nov 2023, 11:19
by Florian
Hallo,


bitte mal die Ausgabe von

Code: Select all

php -v

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Thu 2. Nov 2023, 11:42
by xeppel
habe inzwischen das Backup eingespielt, im 2. Anlauf lief es dann :D

danach kam zwar ein Apache Fehler:

Code: Select all

> Update PHP...
> Update PHP mods...
> Update PHP-FPM...
> Update Apache...
hJob for apache2.service failed because a timeout was exceeded.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
> Install new email protection system...
> Configure new email protection system...
Nach dem nächsten gewünschten Neustart zum Abschluss lief der Dienst dann aber. Bei "service apache2 status" steht unten jedoch noch:

Code: Select all

Nov 02 11:39:21 keyhelp.XXX.de apachectl[970]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using keyhelp.XXX.de. Set the 'ServerName' directive globally to suppress this message
Das wird wahrscheinlich jetzt nicht am Upgrade liegen, aber ist das relevant ? Sollte ich das noch tun ? Wenn ja, wo ? in der "/etc/apache2/apache2.conf" gibt es "ServerName" gar nicht.

Was mir zu dem Thema noch einfällt: in meiner "/etc/hostname" steht lediglich "keyhelp". auf meinem Testsystem steht hier "keyhelp.domain.tld". Was ist nun richtig ? komisch ist ja dass ich beides selbst nicht geändert habe, das hat ja Keyhelp eingerichtet.

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Mon 8. Jan 2024, 16:58
by SDS1234
Habe das selbe Problem auch nach 2. Anlauf:

Code: Select all

[...]
> Enable ioncube...
> Enable sourceguardian...
PHP Warning:  Module 'newrelic' already loaded in Unknown on line 0
PHP Fatal error:  The file /root/keyhelp_debian_upgrade_11_to_12.php encoded as type [1/82] cannot be decoded by this version of the ionCube Loader.
 in Unknown on line 0
root@keyhelp:~# php --version
PHP Warning:  Module 'newrelic' already loaded in Unknown on line 0
PHP 7.4.33 (cli) (built: Sep  4 2023 08:11:54) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with the ionCube PHP Loader + ionCube24 v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd.
    with SourceGuardian v14.0.2, Copyright (c) 2000-2023, by SourceGuardian Ltd.
    with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Thu 11. Jan 2024, 09:52
by Alexander
An diesem Punkt sollte auf dem System bereits Debian 12 laufen und damit auch PHP 8.2.

Bei dir ist das nicht der Fall und es läuft noch PHP 7.4.

Welche Änderungen (insbesondere an der Systemeigenen PHP Version) wurden vorgenommen.
Welche Fehlermeldungen wurden durch das Dist-Upgrade seitens Debian geworfen.
Sprich alles was nach dem Schritt kommt:
Perform upgrade (hand over to dist-upgrade)...

If your system seems to freeze for more than 1 minute.
hit [CRTL] + [C] and call "dist-upgrade" yourself

Script execution will continue in:

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Thu 25. Jan 2024, 19:00
by OsmanAYT
Ich hatte eben das gleiche problem.

Bei mir hat Folgendes geholfen:

Code: Select all

keyhelp toolbox
Dann die 2

Code: Select all

2) Rewrite KeyHelp configuration files (Apache, Bind9, PHP-FPM)
und mit C bestätigen.

Danach lief mein System wieder einwandfrei. Vielleicht hilft es bei dir auch.

LG

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Fri 12. Apr 2024, 17:56
by SDS1234
Funktioniert leider immer noch nicht...

Code: Select all

Errors were encountered while processing:
 /tmp/apt-dpkg-install-MdXw1G/128-php-composer-pcre_3.1.0-1_all.deb
Updating coolwsd systemplate
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 composer : Depends: php-composer-pcre (> 2.1) but it is not installed
 php-composer-class-map-generator : Depends: php-composer-pcre but it is not installed
 php-composer-xdebug-handler : Depends: php-composer-pcre but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
> Enable ioncube...
> Enable sourceguardian...
PHP Warning:  Module 'newrelic' already loaded in Unknown on line 0
PHP Fatal error:  The file /root/keyhelp_debian_upgrade_11_to_12.php encoded as type [1/82] cannot be decoded by this version of the ionCube Loader.
 in Unknown on line 0

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Fri 12. Apr 2024, 18:49
by Jolinar

Code: Select all

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Schon den Anweisungen in den Meldungen gefolgt?

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Sat 13. Apr 2024, 17:01
by SDS1234
Ja, hat leider die Probleme nicht gelöst

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Mon 15. Apr 2024, 10:06
by Alexander
Du bist leider nicht auf die Fragen von mir vom Do 11. Jan 2024 eingegangen. So kann man natürlich nicht wirklich helfen.

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Wed 24. Apr 2024, 14:53
by [headcrash]
Newrelic rauswerfen sollte das Problem beheben.

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Wed 18. Sep 2024, 12:06
by Ben_
Ich hänge mich hier an diesen alten Thread nochmal dran, da mein Problem sehr eng verwandt zu sein scheint. Ich hoffe, das ist ok.

Beim Update von Debian 11 auf 12 ist apt abgestürzt und ich musste es manuell neustarten. (PHP hat zu diesem Zeitpunkt nicht funktioniert, weshalb ich das PHP-Scipt nicht neustarten koonte.)

Der Stand jetzt ist:

Code: Select all

$ apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Code: Select all

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm

Code: Select all

$ php -v
PHP 8.2.20 (cli) (built: Jun 17 2024 13:33:14) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.20, Copyright (c) Zend Technologies
    with the ionCube PHP Loader v13.3.0, Copyright (c) 2002-2024, by ionCube Ltd.
    with Zend OPcache v8.2.20, Copyright (c), by Zend Technologies

Aktuell gibt es aber noch Probleme mit manchen Webseiten, ich vermute das hängt an PHP.
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache läuft, Keyhelp zeigt keine Fehler an. keyhelp-toolbox => rewrite conf files habe ich ausgeführt.

Ich würde gerne das Update-Script nochmal starten, aber das geht mit PHP 8 nicht:

Code: Select all

$ php keyhelp_debian_upgrade_11_to_12.php
PHP Fatal error:  The file /root/keyhelp_debian_upgrade_11_to_12.php encoded as type [1/71] cannot be decoded by this version of the ionCube Loader.
mit php 7 kommt aber leider auch ein Fehler:

Code: Select all

 /opt/keyhelp/php/7.3/bin/php keyhelp_debian_upgrade_11_to_12.php
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/gd.so' (tried: /opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/gd.so (libwebp.so.6: cannot open shared object file: No such file or directory), /opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731//opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/gd.so.so (/opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731//opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/intl.so' (tried: /opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/intl.so (libicuio.so.67: cannot open shared object file: No such file or directory), /opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731//opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/intl.so.so (/opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731//opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/ldap.so' (tried: /opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/ldap.so (libldap_r-2.4.so.2: cannot open shared object file: No such file or directory), /opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731//opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/ldap.so.so (/opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731//opt/keyhelp/php/7.3/lib/php/extensions/no-debug-non-zts-20180731/ldap.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Fatal error:
The encoded file /home/keyhelp/www/keyhelp/init/init_cli.php has been included by the unauthorised file /root/keyhelp_debian_upgrade_11_to_12.php
 in Unknown on line 0
Fällt noch jemanden etwas ein, was ich tun kann, um das Script nochmal zu starten? Ich gehe davon aus, dass nach dem dist update noch weitere Anpassungen durch das Script gemacht werden sollten.

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Wed 18. Sep 2024, 12:12
by Alexander
Hallo,

führe einmal diesen Befehl aus:

Code: Select all

wget --no-check-certificate https://install.keyhelp.de/scripts/keyhelp_debian_upgrade_11_to_12_php82 -O keyhelp_debian_upgrade_11_to_12.php && php keyhelp_debian_upgrade_11_to_12.php

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Wed 18. Sep 2024, 12:32
by Ben_
Perfekt, hat funktioniert!

Es wäre vielleicht hilfreich, wenn das Script für 82 (bzw jeweils die neue PHP Version) gleich auch in der Update Anleitung verlinkt ist.

Nur leider sind manche Webseiten immer noch down...

Code: Select all

2024-09-18 10:39:02 	AH01079: failed to make connection to backend: keyhelp_<keyhelp.socket, referer: https://www....
2024-09-18 10:39:02 	(2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/keyhelp_<keyhelp-username>.socket (keyhelp_<kehelp-username>.socket:8000) failed 
existieren tut aber nur /run/php/keyhelp_keyhelp.socket :?

Re: Upgrade auf Debian 12: "cannot be decoded by this version of the ionCube Loader"

Posted: Wed 18. Sep 2024, 12:49
by Alexander
Dienste Neu gestartet bzw- Reboot hast du durchgeführt?