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

Diskussionen zur Installation von KeyHelp.
xeppel
Posts: 234
Joined: Fri 6. Jan 2023, 22:13

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

Post 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...
User avatar
Florian
Keyweb AG
Posts: 1682
Joined: Wed 20. Jan 2016, 02:28

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

Post by Florian »

Hallo,


bitte mal die Ausgabe von

Code: Select all

php -v
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
xeppel
Posts: 234
Joined: Fri 6. Jan 2023, 22:13

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

Post 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.
User avatar
SDS1234
Posts: 10
Joined: Sat 7. Aug 2021, 14:09

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

Post 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
Mit freundlichen Grüßen
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

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

Post 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:
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
OsmanAYT
Posts: 40
Joined: Mon 22. Jan 2024, 13:34
Location: Antalya, Türkei

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

Post 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
User avatar
SDS1234
Posts: 10
Joined: Sat 7. Aug 2021, 14:09

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

Post 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
Mit freundlichen Grüßen
User avatar
Jolinar
Community Moderator
Posts: 4003
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

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

Post 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?
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
User avatar
SDS1234
Posts: 10
Joined: Sat 7. Aug 2021, 14:09

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

Post by SDS1234 »

Ja, hat leider die Probleme nicht gelöst
Mit freundlichen Grüßen
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

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

Post 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.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
[headcrash]
Posts: 27
Joined: Wed 18. Jul 2018, 17:09

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

Post by [headcrash] »

Newrelic rauswerfen sollte das Problem beheben.
Ben_
Posts: 3
Joined: Wed 18. Sep 2024, 11:28

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

Post 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.
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

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

Post 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
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Ben_
Posts: 3
Joined: Wed 18. Sep 2024, 11:28

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

Post 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 :?
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

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

Post by Alexander »

Dienste Neu gestartet bzw- Reboot hast du durchgeführt?
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply