Create flow for converting uploaded files with .avi extension
Added additional output flags
Upload media and check conversion status
Expected behaviour
Automated media converter would convert the .avi into the specified output
Actual behaviour
No conversion but error messages in the logs
[PHP] Error: Undefined variable $node at /var/www/html/custom_apps/workflow_media_converter/lib/Operation/ConvertMediaOperation.php#78
GET /core/preview?fileId=1422&x=250&y=250
from 192.168.107.1 by admin at 3 Apr 2024, 11:02:44
[workflow_media_converter] Error: (0) :: Call to a member function getPath() on null
GET /core/preview?fileId=1422&x=250&y=250
from 192.168.107.1 by admin at 3 Apr 2024, 11:02:44
The event type being dispatched in nextcloud is \OCP\EventDispatcher\GenericEvent and the event doesn't have any arguments leading to the undefined variable $node error.
I also notice that with the v1.10.3 update, media conversions are triggered immediately upon file upload whereas previously they would be scheduled as a cron job.
Workflow Media Converter app
Workflow Media Converter app version: (see apps admin page: /index.php/settings/apps)
v1.10.3
Server configuration
Operating system: Docker via Orbstack on Mac Mini M1
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
No errors have been found.
Steps to reproduce
.avi
extensionExpected behaviour
Automated media converter would convert the
.avi
into the specified outputActual behaviour
No conversion but error messages in the logs
The event type being dispatched in nextcloud is
\OCP\EventDispatcher\GenericEvent
and the event doesn't have any arguments leading to theundefined variable $node
error.I also notice that with the v1.10.3 update, media conversions are triggered immediately upon file upload whereas previously they would be scheduled as a
cron
job.Workflow Media Converter app
Workflow Media Converter app version: (see apps admin page:
/index.php/settings/apps
) v1.10.3Server configuration
Operating system: Docker via Orbstack on Mac Mini M1
Web server: Apache
Database: MySQL
PHP version: 8.2.17
Nextcloud Version: (see admin page) 28.0.4
Where did you install Nextcloud from: https://hub.docker.com/_/nextcloud
Signing status:
List of activated apps:
Nextcloud configuration:
Are you using external storage, if yes which one: local
Are you using encryption: no
Server log (data/nextcloud.log)