Scheduled aimeos tasks are failing when executed via Cronjob

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
gizmo
Posts: 24
Joined: 18 Jan 2021, 20:42

Scheduled aimeos tasks are failing when executed via Cronjob

Post by gizmo » 29 Feb 2024, 12:55

Hi there,

In TYPO3 Scheduler, I created 3 "Aimeos Shop advanced scheduler (aimeos)" tasks. One thats running every minute, every hour and every day. When I execute them manually, the tasks work just fine. As soon as they are executed via cronjob, the execution fails and I receive the following error (from typo3 log):

Code: Select all

Thu, 29 Feb 2024 13:33:02 +0100 [ERROR] request="922ae2969710a" component="TYPO3.CMS.Scheduler.Scheduler": Task failed to execute successfully. Class: Aimeos\Aimeos\Scheduler\Task\Email6, UID: 5- RuntimeException: Unable to call method "getQueryParams" of non-object "request"., in file /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/symfony/expression-language/Node/GetAttrNode.php:110 - {"class":"Aimeos\\Aimeos\\Scheduler\\Task\\Email6","uid":5,"exception":"RuntimeException: Unable to call method \"getQueryParams\" of non-object \"request\". in /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/symfony/expression-language/Node/GetAttrNode.php:110\nStack trace:\n#0 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/symfony/expression-language/Node/FunctionNode.php(47): Symfony\\Component\\ExpressionLanguage\\Node\\GetAttrNode->evaluate(Array, Array)\n#1 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/symfony/expression-language/Node/BinaryNode.php(98): Symfony\\Component\\ExpressionLanguage\\Node\\FunctionNode->evaluate(Array, Array)\n#2 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/symfony/expression-language/ExpressionLanguage.php(59): Symfony\\Component\\ExpressionLanguage\\Node\\BinaryNode->evaluate(Array, Array)\n#3 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-core/Classes/ExpressionLanguage/Resolver.php(73): Symfony\\Component\\ExpressionLanguage\\ExpressionLanguage->evaluate('traverse(reques...', Array)\n#4 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-core/Classes/TypoScript/IncludeTree/Visitor/IncludeTreeConditionMatcherVisitor.php(162): TYPO3\\CMS\\Core\\ExpressionLanguage\\Resolver->evaluate('traverse(reques...')\n#5 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-core/Classes/TypoScript/IncludeTree/Traverser/ConditionVerdictAwareIncludeTreeTraverser.php(55): TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Visitor\\IncludeTreeConditionMatcherVisitor->visitBeforeChildren(Object(TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\IncludeNode\\ConditionInclude), 4)\n#6 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-core/Classes/TypoScript/IncludeTree/Traverser/ConditionVerdictAwareIncludeTreeTraverser.php(62): TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Traverser\\ConditionVerdictAwareIncludeTreeTraverser->traverseRecursive(Object(TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\IncludeNode\\ConditionInclude), Array, 4)\n#7 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-core/Classes/TypoScript/IncludeTree/Traverser/ConditionVerdictAwareIncludeTreeTraverser.php(62): TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Traverser\\ConditionVerdictAwareIncludeTreeTraverser->traverseRecursive(Object(TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\IncludeNode\\FileInclude), Array, 3)\n#8 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-core/Classes/TypoScript/IncludeTree/Traverser/ConditionVerdictAwareIncludeTreeTraverser.php(62): TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Traverser\\ConditionVerdictAwareIncludeTreeTraverser->traverseRecursive(Object(TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\IncludeNode\\IncludeStaticFileDatabaseInclude), Array, 2)\n#9 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-core/Classes/TypoScript/IncludeTree/Traverser/ConditionVerdictAwareIncludeTreeTraverser.php(62): TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Traverser\\ConditionVerdictAwareIncludeTreeTraverser->traverseRecursive(Object(TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\IncludeNode\\SysTemplateInclude), Array, 1)\n#10 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-core/Classes/TypoScript/IncludeTree/Traverser/ConditionVerdictAwareIncludeTreeTraverser.php(49): TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Traverser\\ConditionVerdictAwareIncludeTreeTraverser->traverseRecursive(Object(TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\IncludeNode\\RootInclude), Array, 0)\n#11 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-extbase/Classes/Configuration/BackendConfigurationManager.php(287): TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Traverser\\ConditionVerdictAwareIncludeTreeTraverser->traverse(Object(TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\IncludeNode\\RootInclude), Array)\n#12 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-extbase/Classes/Configuration/BackendConfigurationManager.php(302): TYPO3\\CMS\\Extbase\\Configuration\\BackendConfigurationManager->getTypoScriptSetup()\n#13 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-extbase/Classes/Configuration/BackendConfigurationManager.php(166): TYPO3\\CMS\\Extbase\\Configuration\\BackendConfigurationManager->getExtbaseConfiguration()\n#14 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-extbase/Classes/Configuration/ConfigurationManager.php(143): TYPO3\\CMS\\Extbase\\Configuration\\BackendConfigurationManager->getConfiguration(NULL, NULL)\n#15 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/aimeos/aimeos-typo3/Classes/Base/View.php(37): TYPO3\\CMS\\Extbase\\Configuration\\ConfigurationManager->getConfiguration('Framework')\n#16 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/aimeos/aimeos-typo3/Classes/Base.php(219): Aimeos\\Aimeos\\Base\\View::get(Object(Aimeos\\MShop\\Context\\Item\\Typo3), Object(TYPO3\\CMS\\Core\\Routing\\PageRouter), Array, NULL, NULL)\n#17 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/aimeos/aimeos-typo3/Classes/Scheduler/Base.php(100): Aimeos\\Aimeos\\Base::view(Object(Aimeos\\MShop\\Context\\Item\\Typo3), Object(TYPO3\\CMS\\Core\\Routing\\PageRouter), Array)\n#18 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/aimeos/aimeos-typo3/Classes/Scheduler/Base.php(39): Aimeos\\Aimeos\\Scheduler\\Base::context(Array, Array, '27')\n#19 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/aimeos/aimeos-typo3/Classes/Scheduler/Task/Email6.php(85): Aimeos\\Aimeos\\Scheduler\\Base::execute(Array, Array, Array, Array, '27')\n#20 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-scheduler/Classes/Scheduler.php(175): Aimeos\\Aimeos\\Scheduler\\Task\\Email6->execute()\n#21 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-scheduler/Classes/Command/SchedulerCommand.php(241): TYPO3\\CMS\\Scheduler\\Scheduler->executeTask(Object(Aimeos\\Aimeos\\Scheduler\\Task\\Email6))\n#22 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-scheduler/Classes/Command/SchedulerCommand.php(182): TYPO3\\CMS\\Scheduler\\Command\\SchedulerCommand->executeOrStopTask(Object(Aimeos\\Aimeos\\Scheduler\\Task\\Email6))\n#23 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-scheduler/Classes/Command/SchedulerCommand.php(116): TYPO3\\CMS\\Scheduler\\Command\\SchedulerCommand->loopTasks()\n#24 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/symfony/console/Command/Command.php(326): TYPO3\\CMS\\Scheduler\\Command\\SchedulerCommand->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#25 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/symfony/console/Application.php(1096): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#26 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/symfony/console/Application.php(324): Symfony\\Component\\Console\\Application->doRunCommand(Object(TYPO3\\CMS\\Scheduler\\Command\\SchedulerCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#27 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/symfony/console/Application.php(175): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#28 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-core/Classes/Console/CommandApplication.php(112): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#29 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-cli/typo3(23): TYPO3\\CMS\\Core\\Console\\CommandApplication->run()\n#30 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/typo3/cms-cli/typo3(24): {closure}()\n#31 /home/httpd/vhosts/Mydomain.com/www/Mydomain.com/dev.Mydomain.com/vendor/bin/typo3(119): include('/home/httpd/vho...')\n#32 {main}"}
For testing purposes, I create another scheduled task (linkvalidator), to see if only aimeos tasks are affected. And this worked. So the cronjob seems to be able to execute scheduled tasks in general, but no aimeos tasks.

Infrastructure:
  • Composer-based installation
  • TYPO3 Version: 12.4.10
  • PHP Version: 8.2.15
  • Aimeos Version: 2023.10.4
  • MySQL 10.6.15-MariaDB
  • Apache Webserver

User avatar
aimeos
Administrator
Posts: 7879
Joined: 01 Jan 1970, 00:00

Re: Scheduled aimeos tasks are failing when executed via Cronjob

Post by aimeos » 29 Feb 2024, 12:58

Can you post the output of "composer show", please?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

gizmo
Posts: 24
Joined: 18 Jan 2021, 20:42

Re: Scheduled aimeos tasks are failing when executed via Cronjob

Post by gizmo » 29 Feb 2024, 15:25

Code: Select all

academe/omnipay-datatrans          3.1.0              Datatrans Gateway for the Omnipay payment processing library
aimeos/ai-admin-graphql            2023.10.4          Aimeos Admin GraphQL API extension
aimeos/ai-admin-jqadm              2023.10.10         Aimeos VueJS+Bootstrap admin backend
aimeos/ai-admin-jsonadm            2023.10.2          Aimeos JSON admin API for backend
aimeos/ai-client-html              2023.10.11         Aimeos standard HTML frontend
aimeos/ai-client-jsonapi           2023.10.3          Aimeos frontend JSON REST API
aimeos/ai-controller-frontend      2023.10.7          Aimeos business controller logic for frontend
aimeos/ai-controller-jobs          2023.10.4          Aimeos job controllers for long running tasks
aimeos/ai-payments                 2023.10.1          Payment extension for Aimeos e-commerce solutions
aimeos/ai-typo3                    2023.10.2          TYPO3 adapter for Aimeos e-commerce integration
aimeos/aimeos-base                 2023.10.3          Aimeos base layer for abstracting from host environments
aimeos/aimeos-core                 2023.10.13         Full-featured e-commerce components for high performance online shops
aimeos/aimeos-typo3                2023.10.4          Professional, full-featured and high performance TYPO3 e-commerce extension for online shops and complex B2B projects
aimeos/macro                       1.0.0              Dynamically extend objects by custom methods
aimeos/map                         3.7.0              Easy and elegant handling of PHP arrays as array-like collection objects similar to jQuery and Laravel Collections
aimeos/upscheme                    0.8.9              Database schema upgrades made easy
bacon/bacon-qr-code                2.0.8              BaconQrCode is a QR code generator for PHP.
brainworxx/includekrexx            v5.0.1             Fluid and PHP debugger with backend access to logfiles, code generation to reach the displayed values and much more. We added some special stuff for Aimeos.
brotkrueml/schema                  v2.11.0            API and view helpers for schema.org markup
brotkrueml/schema-pending          v1.7.0             Extend the schema extension with pending terms
christian-riesen/base32            1.6.0              Base32 encoder/decoder according to RFC 4648
clue/stream-filter                 v1.7.0             A simple and modern approach to stream filtering in PHP
dasprid/enum                       1.0.5              PHP 7.1 enum implementation
digitalgizmo/category              12.1.0             Offers a view that can filter by category.
digitalgizmo/client-template       v12.0.0            This is the TYPO3 Client Template
digitalgizmo/framework             dev-master 1b364c1 The gizmo framework provides the structure for a basic website with various content elements
digitalgizmo/webshop               12.0.0            
doctrine/annotations               2.0.1              Docblock Annotations Parser
doctrine/cache                     2.2.0              PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.
doctrine/dbal                      3.8.2              Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/deprecations              1.1.3              A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.
doctrine/event-manager             2.0.0              The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.
doctrine/instantiator              2.0.0              A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                     3.0.1              PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
egulias/email-validator            4.0.2              A library for validating emails against several RFCs
enshrined/svg-sanitize             0.15.4             An SVG sanitizer for PHP
evoweb/recaptcha                   12.0.1             Easy on Humans, Hard on Bots
firebase/php-jwt                   v6.10.0            A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.
guzzlehttp/guzzle                  7.8.1              Guzzle is a PHP HTTP client library
guzzlehttp/promises                2.0.2              Guzzle promises library
guzzlehttp/psr7                    2.6.2              PSR-7 message implementation that also provides common utility methods
league/omnipay                     v3.2.1             Omnipay payment processing library
lolli42/finediff                   1.0.3              PHP implementation of a Fine granularity Diff engine
masterminds/html5                  2.8.1              An HTML5 parser and serializer.
moneyphp/money                     v4.5.0             PHP implementation of Fowler's Money pattern
nikic/php-parser                   v4.18.0            A PHP parser written in PHP
nyholm/psr7                        1.8.1              A fast PHP7 implementation of PSR-7
nyholm/psr7-server                 1.1.0              Helper classes to handle PSR-7 server requests
omnipay/common                     v3.2.1             Common components for Omnipay payment processing library
php-http/discovery                 1.19.2             Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations
php-http/guzzle7-adapter           1.0.0              Guzzle 7 HTTP Adapter
php-http/httplug                   2.4.0              HTTPlug, the HTTP client abstraction for PHP
php-http/message                   1.16.0             HTTP Message related tools
php-http/message-factory           1.1.0              Factory interfaces for PSR-7 HTTP Message
php-http/promise                   1.3.0              Promise used for asynchronous HTTP requests
phpdocumentor/reflection-common    2.2.0              Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock  5.3.0              With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.
phpdocumentor/type-resolver        1.8.2              A PSR-5 based resolver of Class names, Types and Structural Element Names
phpstan/phpdoc-parser              1.26.0             PHPDoc parser with support for nullable, intersection and generic types
psr/cache                          3.0.0              Common interface for caching libraries
psr/clock                          1.0.0              Common interface for reading the clock.
psr/container                      2.0.2              Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher               1.0.0              Standard interfaces for event handling.
psr/http-client                    1.0.3              Common interface for HTTP clients
psr/http-factory                   1.0.2              Common interfaces for PSR-7 HTTP message factories
psr/http-message                   1.1                Common interface for HTTP messages
psr/http-server-handler            1.0.2              Common interface for HTTP server-side request handler
psr/http-server-middleware         1.0.2              Common interface for HTTP server-side middleware
psr/log                            3.0.0              Common interface for logging libraries
ralouphie/getallheaders            3.0.3              A polyfill for getallheaders.
scssphp/scssphp                    v1.12.1            scssphp is a compiler for SCSS written in PHP.
symfony/cache                      v6.4.4             Provides extended PSR-6, PSR-16 (and tags) implementations
symfony/cache-contracts            v3.4.0             Generic abstractions related to caching
symfony/clock                      v6.4.3             Decouples applications from the system clock
symfony/config                     v6.4.4             Helps you find, load, combine, autofill and validate configuration values of any kind
symfony/console                    v6.4.4             Eases the creation of beautiful and testable command line interfaces
symfony/dependency-injection       v6.4.4             Allows you to standardize and centralize the way objects are constructed in your application
symfony/deprecation-contracts      v3.4.0             A generic function and convention to trigger deprecation notices
symfony/doctrine-messenger         v6.4.4             Symfony Doctrine Messenger Bridge
symfony/event-dispatcher           v6.4.3             Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
symfony/event-dispatcher-contracts v3.4.0             Generic abstractions related to dispatching event
symfony/expression-language        v6.4.3             Provides an engine that can compile and evaluate expressions
symfony/filesystem                 v6.4.3             Provides basic utilities for the filesystem
symfony/finder                     v6.4.0             Finds files and directories via an intuitive fluent interface
symfony/http-foundation            v6.4.4             Defines an object-oriented layer for the HTTP specification
symfony/mailer                     v6.4.4             Helps sending emails
symfony/messenger                  v6.4.4             Helps applications send and receive messages to/from other applications or via message queues
symfony/mime                       v6.4.3             Allows manipulating MIME messages
symfony/options-resolver           v6.4.0             Provides an improved replacement for the array_replace PHP function
symfony/polyfill-ctype             v1.29.0            Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme     v1.29.0            Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-idn          v1.29.0            Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer   v1.29.0            Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring          v1.29.0            Symfony polyfill for the Mbstring extension
symfony/polyfill-php72             v1.29.0            Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php80             v1.29.0            Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions
symfony/polyfill-php83             v1.29.0            Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions
symfony/polyfill-uuid              v1.29.0            Symfony polyfill for uuid functions
symfony/property-access            v6.4.4             Provides functions to read and write from/to an object or array using a simple string notation
symfony/property-info              v6.4.3             Extracts information about PHP class' properties using metadata of popular sources
symfony/rate-limiter               v6.4.3             Provides a Token Bucket implementation to rate limit input and output in your application
symfony/routing                    v6.4.3             Maps an HTTP request to a set of configuration variables
symfony/service-contracts          v3.4.1             Generic abstractions related to writing services
symfony/string                     v6.4.4             Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way
symfony/uid                        v6.4.3             Provides an object-oriented API to generate and represent UIDs
symfony/var-dumper                 v6.4.3             Provides mechanisms for walking through any arbitrary PHP variable
symfony/var-exporter               v6.4.4             Allows exporting any serializable PHP data structure to plain PHP code
symfony/yaml                       v6.4.3             Loads and dumps YAML files
tecnickcom/tcpdf                   6.6.5              TCPDF is a PHP class for generating PDF documents and barcodes.
typo3/class-alias-loader           v1.1.4             Amends the composer class loader to support class aliases to provide backwards compatibility for packages
typo3/cms-adminpanel               v12.4.10           TYPO3 CMS Admin Panel - The Admin Panel displays information about your site in the frontend and contains a range of metrics including debug and caching information.
typo3/cms-backend                  v12.4.10           TYPO3 CMS backend
typo3/cms-belog                    v12.4.10           TYPO3 CMS Log - View logs from the sys_log table in the TYPO3 backend modules System>Log
typo3/cms-beuser                   v12.4.10           TYPO3 CMS Backend User - TYPO3 backend module System>Backend Users for managing backend users and groups.
typo3/cms-cli                      3.1.1              TYPO3 command line binary
typo3/cms-composer-installers      v5.0.0             TYPO3 CMS Installers
typo3/cms-core                     v12.4.10           TYPO3 CMS Core
typo3/cms-dashboard                v12.4.10           TYPO3 CMS Dashboard - TYPO3 backend module used to configure and create backend widgets.
typo3/cms-extbase                  v12.4.10           TYPO3 CMS Extbase - Extension framework to create TYPO3 frontend plugins and TYPO3 backend modules.
typo3/cms-extensionmanager         v12.4.10           TYPO3 CMS Extension Manager - Backend module (Admin Tools>Extensions) for viewing and managing extensions.
typo3/cms-felogin                  v12.4.10           TYPO3 CMS Frontend Login - A template-based plugin to log in website users in the TYPO3 frontend.
typo3/cms-filelist                 v12.4.10           TYPO3 CMS Filelist - TYPO3 backend module (File>Filelist) used for managing files.
typo3/cms-fluid                    v12.4.10           TYPO3 CMS Fluid Integration - Integration of the Fluid templating engine into TYPO3.
typo3/cms-fluid-styled-content     v12.4.10           TYPO3 CMS Fluid Styled Content - Fluid templates for TYPO3 content elements.
typo3/cms-form                     v12.4.10           TYPO3 CMS Form - Flexible TYPO3 frontend form framework that comes with a backend editor interface.
typo3/cms-frontend                 v12.4.10           TYPO3 CMS Frontend
typo3/cms-impexp                   v12.4.10           TYPO3 CMS Import/Export - Tool for importing and exporting records using XML or the custom T3D format.
typo3/cms-info                     v12.4.10           TYPO3 CMS Info - TYPO3 backend module for displaying information, such as a pagetree overview and localization information.
typo3/cms-install                  v12.4.10           TYPO3 CMS Install Tool - The Install Tool is used for installation, upgrade, system administration and setup tasks.
typo3/cms-linkvalidator            v12.4.10           TYPO3 CMS LinkValidator - Checks for broken links and displays results in the (Info>LinkValidator) backend module.
typo3/cms-lowlevel                 v12.4.10           TYPO3 CMS Lowlevel - Technical analysis of the system. This includes raw database search, checking relations, counting pages and records etc.
typo3/cms-opendocs                 v12.4.10           TYPO3 CMS Open Docs - Shows opened documents for the TYPO3 backend user.
typo3/cms-recycler                 v12.4.10           TYPO3 CMS Recycler - Restore deleted records or remove them from the database permanently.
typo3/cms-redirects                v12.4.10           TYPO3 CMS Redirects - Create manual redirects, list existing redirects and automatically createredirects on slug changes.
typo3/cms-reports                  v12.4.10           TYPO3 CMS Reports - Show status reports and installed services in the (System>Reports) backend module.
typo3/cms-rte-ckeditor             v12.4.10           TYPO3 CMS RTE CKEditor - Integration of CKEditor as a Rich Text Editor for the TYPO3 backend.
typo3/cms-scheduler                v12.4.10           TYPO3 CMS Scheduler - Schedule tasks to run once or periodically at a specific time.
typo3/cms-seo                      v12.4.10           TYPO3 CMS SEO - SEO features including specific fields for SEO purposes, rendering of HTML meta tags and sitemaps.
typo3/cms-setup                    v12.4.10           TYPO3 CMS Setup - Allows users to edit a limited set of options for their user profile, including preferred language, their name and email address.
typo3/cms-sys-note                 v12.4.10           TYPO3 CMS System Notes - Records with messages which can be placed on any page and contain instructions or other information related to a page or section.
typo3/cms-t3editor                 v12.4.10           TYPO3 CMS T3Editor - JavaScript-driven editor with syntax highlighting and code completion. Based on CodeMirror.
typo3/cms-tstemplate               v12.4.10           TYPO3 CMS TypoScript - TYPO3 backend module for the management of TypoScript records for the CMS frontend.
typo3/cms-viewpage                 v12.4.10           TYPO3 CMS Viewpage - Use the (Web>View) backend module to view a frontend page inside the TYPO3 backend.
typo3/html-sanitizer               v2.1.4             HTML sanitizer aiming to provide XSS-safe markup based on explicitly allowed tags, attributes and values.
typo3fluid/fluid                   2.10.1             The TYPO3 Fluid template rendering engine
voku/portable-ascii                2.0.1              Portable ASCII library - performance optimized (ascii) string functions for php.
wapplersystems/ws-scss             12.0.3             SASS compiler for TYPO3
webmozart/assert                   1.11.0             Assertions to validate method input/output with nice error messages.
webonyx/graphql-php                v15.9.1            A PHP port of GraphQL reference implementation

User avatar
aimeos
Administrator
Posts: 7879
Joined: 01 Jan 1970, 00:00

Re: Scheduled aimeos tasks are failing when executed via Cronjob

Post by aimeos » 01 Mar 2024, 13:24

Looks like the TypoScript configuration couldn't be parsed for some reason
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

gizmo
Posts: 24
Joined: 18 Jan 2021, 20:42

Re: Scheduled aimeos tasks are failing when executed via Cronjob

Post by gizmo » 07 Mar 2024, 12:54

Thanks for your input. We figured out that the following code from our typoscript config lead to the error:

Code: Select all

[traverse(request.getQueryParams(), 'debug') == 1]
    page.10.settings.debug = 1
[GLOBAL]
After removing these lines, everything worked fine.

Post Reply