Taskerror from daily task

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!
kranzfr3d
Posts: 12
Joined: 15 Nov 2018, 11:41

Taskerror from daily task

Post by kranzfr3d » 23 Nov 2018, 15:10

Hi,

after following this guide one task is failing with the following error:
Execution failed: 0, Required configuration for "controller/jobs/catalog/import/csv/location" is missing
errorcron.png
errorcron.png (8.48 KiB) Viewed 1495 times
The other tasks in scheduler are working well.
Kindly provide me the solution where/how to configure this to get rid of the failure


gr33tz

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

Re: Taskerror from daily task

Post by aimeos » 26 Nov 2018, 10:38

Either you have to configure a directory where the catalog CSV files for the import are located (using controller.jobs.catalog.import.csv.location = /path/to/directory/ in the TS-Config field) or you remove the job if you don't need it
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

kranzfr3d
Posts: 12
Joined: 15 Nov 2018, 11:41

Re: Taskerror from daily task

Post by kranzfr3d » 26 Nov 2018, 12:57

Hi,

thanks a lot to get started with jobs.
Had to create the following lines in TS of that job:

Code: Select all

controller.jobs.catalog.import.csv.location = /var/www/html/typo3conf/ext/aimeos/Configuration/catalog_import_csv
controller.jobs.product.export.sitemap.location = /var/www/html/typo3conf/ext/aimeos/Configuration/sitemap
controller.jobs.product.import.csv.location = /var/www/html/typo3conf/ext/aimeos/Configuration/product_import_csv
That paths / folders were first created to get the job working.
Could you please tell me where the folders are best kept in each case?

gr33tz

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

Re: Taskerror from daily task

Post by aimeos » 27 Nov 2018, 13:38

The sitemap.xml should be placed in the document root or your vhost or in the typo3temp directory if your document root shouldn't be writable.

The directories for the product/catalog CSV files should be placed OUTSIDE of the document root so nobody can download them if he knows their names. If that's not possible, they should be in ./fileadmin/.secure/ (or another directory starting with a dot in the name) because these directories are blocked by the default rewrite rules in the .htaccess file.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

kranzfr3d
Posts: 12
Joined: 15 Nov 2018, 11:41

Re: Taskerror from daily task

Post by kranzfr3d » 27 Nov 2018, 20:49

Hi,

ok, thank you very much for the locations.
My folders are here now:

Code: Select all

controller.jobs.catalog.import.csv.location = /var/www/aimeos_catalog_import_csv
controller.jobs.product.export.sitemap.location = /var/www/html
controller.jobs.product.import.csv.location = /var/www/aimeos_product_import_csv
Are they ok now?

gr33tz

Post Reply