Hello, Here the link to the existing Moodle plugin for om: https://moodle.org/plugins/mod_openmeetings Sources: https://github.com/openmeetings/openmeetings-moodle-plugin You can fork/extend it :)
According to your errors: it seems you don't have open/libreoffice installed on your om server Please follow one of the guides WBR, Maxim (from mobile, sorry for the typos) On Sun, Aug 5, 2018, 09:03 Hyong HyoMing <[email protected]> wrote: > > Hi. > How are you? > I am moodle developer. > Now i want the intergration Moodle and OM. > Also I want the file upload to OM on my moodle plugin. > So I write the PHP code and call SOAP API ( FileWebService/add) > But I getting the error : Internal 500. > Also file uploaded to OM server ( red5401/webapps/uploads/………………) > So I checked the red5.log. > It’s the detail log: > > Caused by: org.apache.openmeetings.webservice.error.ServiceException: > key: doJodConvert > > process: doJodConvert > > command: null > > exception: org.artofsolving.jodconverter.office.OfficeException: failed to > start and connect > > error: failed to start and connect > > exitValue: -1 > > optional: false > > out: null > > key: convert PDF to images > > process: convert PDF to images > > command: convert -density 150 > /opt/red5401/webapps/openmeetings/upload/files/6ef1c449-fb1c-4f7e-8122-62961ba226b5/6ef1c449-fb1c-4f7e-8122-62961ba226b > > 5.pdf -quality 90 > /opt/red5401/webapps/openmeetings/upload/files/6ef1c449-fb1c-4f7e-8122-62961ba226b5/page-%04d.png > > exception: null > > error: convert: unable to open image > `/opt/red5401/webapps/openmeetings/upload/files/6ef1c449-fb1c-4f7e-8122-62961ba226b5/6ef1c449-fb1c-4f7e-8122-629 > > 61ba226b5.pdf': No such file or directory @ error/blob.c/OpenBlob/2712. > > convert: no images defined > `/opt/red5401/webapps/openmeetings/upload/files/6ef1c449-fb1c-4f7e-8122-62961ba226b5/page-%04d.png' > @ error/convert.c/Conv > > ertImageCommand/3210. > > > > exitValue: 1 > > optional: false > > out: > > > > at > org.apache.openmeetings.webservice.FileWebService.lambda$add$3(FileWebService.java:166) > > at > org.apache.openmeetings.webservice.BaseWebService.performCall(BaseWebService.java:113) > > at > org.apache.openmeetings.webservice.BaseWebService.performCall(BaseWebService.java:106) > > at > org.apache.openmeetings.webservice.FileWebService.add(FileWebService.java:153) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:498) > > at > org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179) > > at > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) > > > > NOW I don’t know the issue. > Can you help me? > I will hope the good news . > Thanks > >
