Skip to content

Long-running commands dies early and unexpectedly  #160

@NiklasBr

Description

@NiklasBr

For example presta:sitemaps:dump keeps dying even though we have configured a long timeout:

www-data@610465edab50:~/pimcore$ bin/console debug:config ElementsProcessManagerBundle

Current configuration for "ElementsProcessManagerBundle"
========================================================

elements_process_manager:
    processTimeoutMinutes: 120
    archiveThresholdLogs: 7
    disableShortcutMenu: false
    reportingEmailAddresses: {  }
    additionalScriptExecutionUsers: {  }
    restApiUsers: {  }

image

image

Running this command directly on the server as the web user works:

www-data@610465edab50:~/pimcore$ bin/console presta:sitemaps:dump --section site_5 --base-url https://example.com/ public/var/tmp/sitemaps
Dumping sitemaps section site_5 into public/var/tmp/sitemaps directory
Created/Updated the following sitemap files:
    sitemap.site_5.xml
    sitemap.xml

What are we doing incorrectly here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions