Oxid Update 6.0.2 -> 6.2.0 kein Modul mehr einsehbar

Hey,
ich habe gerade ein update durchgeführt. Von version 6.02 -> 6.2.0
Und meine ~40 module sind in der Backend Modulsteuerung nicht mehr einsehbar, liegen aber noch im Modules ordner.
Ich sehe nur noch die standard module im backend,

[Amazon Pay & Login 4 OXID by BESTIT]
[GDPR Opt-in]
[Klarna Checkout and Klarna Payments]
[PAYONE Payment für OXID eShop]
[PayPal]
[PayPal Plus]
[Paymorrow Payments]
[Visual CMS]
[WYSIWYG Editor + Mediathek]

Hier sind aber auch alle Einstellungen verschwunden…

Kann mir einer erklären warum das ist und wie ich meine alten Module wieder einschalte bzw ob ich die einstellungen wieder herstellen kann?

Bitte auch eine kurze Erklärung wie ich am Besten zurückpatche sollte es keine Lösung geben?
vendor,source und DB backup sind vorhanden.

1 Like

Du hast die Update Anleitung für die Version v6.1 befolgt, versuch bitte die Anleitung für v6.2
https://docs.oxid-esales.com/eshop/de/6.2/installation/update/von-6.1.x-auf-6.2.0-aktualisieren.html

ok,
kann ich das einfach drüber ziehen oder muss ich erst 6.0.2 wieder herstellen?

1 Like

Ich würde erst einfach drüber ziehen

Ok, da wirft er mir nach

composer update --no-dev --no-interaction

folgenden fehler.

PHP Warning: Uncaught ErrorException: require(/data/www/live/www.domain.at/domain/vendor/composer/…/ralouphie/getallheaders/src/getallheaders.php): failed to open stream: No such file or directory in /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php:73
Stack trace:
#0 /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php(73): Composer\Util\ErrorHandler::handle(2, ‘require(/data/w…’, ‘/data/www/live/…’, 73, Array)
#1 /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php(73): require()
#2 /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php(63): composerRequire6f17799c71a6bec6e4432402510c72c8(‘7b11c4dc42b3b30…’, ‘/data/www/live/…’)
#3 /data/www/live/www.domain.at/domain/vendor/autoload.php(7): ComposerAutoloaderInit6f17799c71a6bec6e4432402510c72c8::getLoader()
#4 /data/www/live/www.domain.at/domain/vendor/oxid-esales/oxideshop-composer-plugin/src/Plugin.php(139): require_once(‘/data/www/live/…’)
#5 /data/www/live/www. in /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php on line 73

Warning: Uncaught ErrorException: require(/data/www/live/www.domain.at/domain/vendor/composer/…/ralouphie/getallheaders/src/getallheaders.php): failed to open stream: No such file or directory in /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php:73
Stack trace:
#0 /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php(73): Composer\Util\ErrorHandler::handle(2, ‘require(/data/w…’, ‘/data/www/live/…’, 73, Array)
#1 /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php(73): require()
#2 /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php(63): composerRequire6f17799c71a6bec6e4432402510c72c8(‘7b11c4dc42b3b30…’, ‘/data/www/live/…’)
#3 /data/www/live/www.domain.at/domain/vendor/autoload.php(7): ComposerAutoloaderInit6f17799c71a6bec6e4432402510c72c8::getLoader()
#4 /data/www/live/www.domain.at/domain/vendor/oxid-esales/oxideshop-composer-plugin/src/Plugin.php(139): require_once(‘/data/www/live/…’)
#5 /data/www/live/www. in /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php on line 73
PHP Fatal error: composerRequire6f17799c71a6bec6e4432402510c72c8(): Failed opening required ‘/data/www/live/www.domain.at/domain/vendor/composer/…/ralouphie/getallheaders/src/getallheaders.php’ (include_path=‘/data/www/live/www.domain.at/domain/vendor/symfony/yaml:.:/usr/share/php’) in /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php on line 73

Fatal error: composerRequire6f17799c71a6bec6e4432402510c72c8(): Failed opening required ‘/data/www/live/www.domain.at/domain/vendor/composer/…/ralouphie/getallheaders/src/getallheaders.php’ (include_path=‘/data/www/live/www.domain.at/domain/vendor/symfony/yaml:.:/usr/share/php’) in /data/www/live/www.domain.at/domain/vendor/composer/autoload_real.php on line 73

Da sind wohl schon einmal die Dev-Requirements installiert worden, und dann kann man nicht mehr --no-dev verwenden: https://bugs.oxid-esales.com/view.php?id=7123

Die einfachste Möglichkeit ist ab jetzt das “–no-dev” einfach wegzulassen.

ok, das bringt mich bis hin zum punkt 5

vendor/bin/oe-console oe:module:apply-configuration

www-data@mgmt01:~/live/www.domain.at/domain$ vendor/bin/oe-console oe:module:apply-configuration
Applying modules configuration for the shop with id 1:
Applying configuration for module with id bestitamazonpay4oxid
Applying configuration for module with id ddoevisualcms
Applying configuration for module with id ddoewysiwyg
Applying configuration for module with id oegdproptin
Applying configuration for module with id oxpspaymorrow
Applying configuration for module with id oepaypal
Applying configuration for module with id payppaypalplus
Applying configuration for module with id fcpayone
Applying configuration for module with id tcklarna
Applying configuration for module with id gg_allyouneed
Applying configuration for module with id gg_custom
Applying configuration for module with id gg_ebay
Applying configuration for module with id gg_tyre24
Applying configuration for module with id gg_testberichte
Applying configuration for module with id gg_orderprocessing
PHP Fatal error: Uncaught TypeError: call_user_func() expects parameter 1 to be a valid callback, class ‘gg_orderprocessing’ does not have a method ‘on_activate’ in /data/www/live/www.domain.at/domain/vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Module/Setup/EventSubscriber/DispatchLegacyEventsSubscriber.php:83
Stack trace:
#0 /data/www/live/www.domain.at/domain/vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Module/Setup/EventSubscriber/DispatchLegacyEventsSubscriber.php(50): OxidEsales\EshopCommunity\Internal\Framework\Module\Setup\EventSubscriber\DispatchLegacyEventsSubscriber->executeMetadataEvent(‘onActivate’, ‘gg_orderprocess…’, 1)
#1 [internal function]: OxidEsales\EshopCommunity\Internal\Framework\Module\Setup\EventSubscriber\DispatchLegacyEventsSubscriber->executeMetadataOnActivationEvent(Object(OxidEsales\EshopCommunity\Internal\Framework\Module\Setup\Event\FinalizingModuleActivationEvent), ‘OxidEsales\Esho…’, Object(OxidEsales\EshopCommunity\Internal\Framework\Event\ShopAwareEven in /data/www/live/www.domain.at/domain/vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Module/Setup/EventSubscriber/DispatchLegacyEventsSubscriber.php on line 83
www-data@mgmt01:~/live/www.domain.at/domain$

Ich vermute aktuell das hier wohl ein Fehler in dem events Verweis in der Metadata von diesem Module steckt.(komischerweise gab es nie Probleme, aber der Verweis ging zur falschen Klasse) Nachdem ich das inder der metadata abgeändert habe, ruft er allerdings immernoch das auf, was sich in der Alten Datei befand. Hat er das in die *.yaml Datei mit reingeschrieben und ruft das von dort aus auf? Kann ich das noch einmal neu generieren nachdem ich den punkt 4 schon ausgeführt habe oder muss ich die manuell in der *.yaml abändern. Wo liegt diese?

Beides sollte möglich sein, die yaml-Datei liegt in /var/configuration/shops. /tmp leeren ist auch nicht verkehrt nach der Änderung.

1 Like

Da hilft nur noch den gesamten vendor Ordner zu löschen und dann den Befehl noch einmal ausführen.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.