cwilby / nextcloud-workflow-media-converter

An automated media conversion plugin for NextCloud
https://apps.nextcloud.com/apps/workflow_media_converter
GNU Affero General Public License v3.0
35 stars 15 forks source link

Stuck when converting flac files to mp3 in batches #396

Open geekidentity opened 10 months ago

geekidentity commented 10 months ago

Steps to reproduce

Create media conversion tasks and flow triggers normally, my nextcloud running in docker, and mount my NFS

music:
    driver: local
    driver_opts:
      type: nfs
      # The IP of your NAS:
      o: "addr=192.168.31.121,soft,ro"
      # Share path on your NAS:
      device: ":/Music/收藏"
image

Expected behaviour

I realize that all conversions should be done

Actual behaviour

stuck here, and always converting status, I recreate the task, and also stuck

image

Workflow Media Converter app

Workflow Media Converter app version: 1.8.4

Server configuration

Operating system: debain,

Web server:Nginx

Database: MySQL

Nextcloud Version: 27.1.2

Where did you install Nextcloud from: nextcloud:27.1.2 https://hub.docker.com/_/nextcloud

Signing status: logined

List of activated apps:

Enabled:

Nextcloud configuration:

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.xxlab.tech"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "27.1.2.1",
        "overwrite.cli.url": "http:\/\/nextcloud.xxlab.tech",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "has_rebuilt_cache": true,
        "overwriteprotocol": "https",
        "maintenance": false,
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/exiftool-bin\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/exiftool-bin\/go-vod-amd64",
        "app_install_overwrite": [
            "workflow_media_converter"
        ],
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "enabledPreviewProviders": [],
        "memories.gis_type": 1,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "loglevel": 1,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "mail_smtpauth": 1,
        "theme": "",
        "allow_local_remote_servers": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using external storage, if yes which one: nfs by docker volume

Are you using encryption: no

Server log (data/nextcloud.log)

{"reqId":"qPCVLGZ5Uf38SLu3ixQd","level":1,"time":"2023-10-20T01:45:59+00:00","remoteAddr":"223.70.235.4","user":"houfachao","app":"no app in context","method":"GET","url":"/settings/admin/overview","message":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","version":"27.1.2.1","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":171,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin",true]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":65,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin"]},{"file":"/var/www/html/lib/private/Settings/Manager.php","line":205,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin"]},{"file":"/var/www/html/lib/private/Settings/Manager.php","line":350,"function":"getSettings","class":"OC\\Settings\\Manager","type":"->","args":["admin","cfg_share_links"]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":86,"function":"getAllowedAdminSettings","class":"OC\\Settings\\Manager","type":"->","args":["cfg_share_links",["OC\\User\\User"]]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":117,"function":"formatSections","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":[[[["OCA\\Settings\\Sections\\Admin\\Overview"]],[["OCA\\Support\\Settings\\Section"],["OCA\\Settings\\Sections\\Admin\\Server"]],[["OCA\\Settings\\Sections\\Admin\\Sharing"],["OCA\\SocialLogin\\Settings\\AdminSection"]],[["OCA\\Settings\\Sections\\Admin\\Security"],["OCA\\FaceRecognition\\Settings\\AdminSection"],["OCA\\Files_External\\Settings\\Section"],["OCA\\News\\Settings\\AdminSection"]],[["OCA\\User_LDAP\\Settings\\Section"]],"And 13 more entries, set log level to debug to see all entries"],"overview","admin","admin"]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":66,"function":"formatAdminSections","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","overview"]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":148,"function":"getNavigationParameters","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","overview"]},{"file":"/var/www/html/apps/settings/lib/Controller/AdminSettingsController.php","line":68,"function":"getIndexResponse","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","overview"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"index","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["overview"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Settings\\Controller\\AdminSettingsController"],"index"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Settings\\Controller\\AdminSettingsController"],"index"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AdminSettingsController","index",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["overview","settings.AdminSettings.index"]]},{"file":"/var/www/html/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/admin/overview"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","Line":131,"message":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist"}}
{"reqId":"qPCVLGZ5Uf38SLu3ixQd","level":1,"time":"2023-10-20T01:45:59+00:00","remoteAddr":"223.70.235.4","user":"houfachao","app":"no app in context","method":"GET","url":"/settings/admin/overview","message":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","version":"27.1.2.1","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":171,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin",true]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":65,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin"]},{"file":"/var/www/html/lib/private/Settings/Manager.php","line":205,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin"]},{"file":"/var/www/html/lib/private/Settings/Manager.php","line":350,"function":"getSettings","class":"OC\\Settings\\Manager","type":"->","args":["admin","integration_homeassistant"]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":86,"function":"getAllowedAdminSettings","class":"OC\\Settings\\Manager","type":"->","args":["integration_homeassistant",["OC\\User\\User"]]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":117,"function":"formatSections","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":[[[["OCA\\Settings\\Sections\\Admin\\Overview"]],[["OCA\\Support\\Settings\\Section"],["OCA\\Settings\\Sections\\Admin\\Server"]],[["OCA\\Settings\\Sections\\Admin\\Sharing"],["OCA\\SocialLogin\\Settings\\AdminSection"]],[["OCA\\Settings\\Sections\\Admin\\Security"],["OCA\\FaceRecognition\\Settings\\AdminSection"],["OCA\\Files_External\\Settings\\Section"],["OCA\\News\\Settings\\AdminSection"]],[["OCA\\User_LDAP\\Settings\\Section"]],"And 13 more entries, set log level to debug to see all entries"],"overview","admin","admin"]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":66,"function":"formatAdminSections","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","overview"]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":148,"function":"getNavigationParameters","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","overview"]},{"file":"/var/www/html/apps/settings/lib/Controller/AdminSettingsController.php","line":68,"function":"getIndexResponse","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","overview"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"index","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["overview"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Settings\\Controller\\AdminSettingsController"],"index"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Settings\\Controller\\AdminSettingsController"],"index"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AdminSettingsController","index",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["overview","settings.AdminSettings.index"]]},{"file":"/var/www/html/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/admin/overview"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","Line":131,"message":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist"}}
{"reqId":"qPCVLGZ5Uf38SLu3ixQd","level":1,"time":"2023-10-20T01:45:59+00:00","remoteAddr":"223.70.235.4","user":"houfachao","app":"no app in context","method":"GET","url":"/settings/admin/overview","message":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","version":"27.1.2.1","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":171,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin",true]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":65,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin"]},{"file":"/var/www/html/lib/private/Settings/Manager.php","line":205,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\SkyPrint\\Settings\\SkyPrintAdmin"]},{"file":"/var/www/html/lib/private/Settings/Manager.php","line":350,"function":"getSettings","class":"OC\\Settings\\Manager","type":"->","args":["admin","overview"]},{"file":"/var/www/html/apps/settings/lib/Controller/AdminSettingsController.php","line":79,"function":"getAllowedAdminSettings","class":"OC\\Settings\\Manager","type":"->","args":["overview",["OC\\User\\User"]]},{"file":"/var/www/html/apps/settings/lib/Controller/CommonSettingsTrait.php","line":149,"function":"getSettings","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["overview"]},{"file":"/var/www/html/apps/settings/lib/Controller/AdminSettingsController.php","line":68,"function":"getIndexResponse","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","overview"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"index","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["overview"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Settings\\Controller\\AdminSettingsController"],"index"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Settings\\Controller\\AdminSettingsController"],"index"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AdminSettingsController","index",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["overview","settings.AdminSettings.index"]]},{"file":"/var/www/html/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/admin/overview"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","Line":131,"message":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\SkyPrint\\Settings\\SkyPrintAdmin! Class \"OCA\\SkyPrint\\Settings\\SkyPrintAdmin\" does not exist"}}
cwilby commented 5 months ago

Hey @geekidentity,

If possible, please retry this conversion batch with loglevel set to 1 in config/config.php.

I will recreate a similar scenario in my environment, but having more information from your environment will help.

It is likely a timeout issue.

Thanks