uploading video by studio always pending status

50 views
Skip to first unread message

Papa Amadou Baba NDIAYE

unread,
Jun 16, 2022, 7:12:14 AM6/16/22
to Opencast Users
opencastlog.JPG


Papa Amadou Baba NDIAYE

unread,
Jun 16, 2022, 8:58:22 AM6/16/22
to Opencast Users
i'm a nice user of opencast
i change this file  org.ops4j.pax.web.cfg
org.ops4j.pax.web.listening.addresses=0.0.0.0
org.osgi.service.http.secure.enabled=true
i also generate the keystore.jks
(i dont install java)


Le jeudi 16 juin 2022 à 11:12:14 UTC, Papa Amadou Baba NDIAYE a écrit :
opencastlog.JPG


Lars Kiesow

unread,
Jun 16, 2022, 2:54:18 PM6/16/22
to us...@opencast.org
Hi,
from the image you sent in you last mail you can determine that
Opencast seems to connect to https://localhost:8443 which fails. That
probably means that you did not follow the basic configuration guide
[1] and did not set your hostname.

The second thing you can partly see in that screenshot is an exception
related to TLS connections. You did configure internal TLS but my guess
would be that you did not provide a certificate which is valid for the
domain you configured (localhost) or which is not trusted.

We generally discourage people from using the internal TLS set-up and
encourage people to use a reverse proxy like Nginx instead since it
usually performs better and is arguably easier to set-up.

It may also help to take a look at the talk of installing Opencast will
all additional components in 30 minutes [2]. That was an RPM-based
install but it's very similar to the one based on the Debian packages.

Best regards,
Lars

[1] https://docs.opencast.org/r/11.x/admin/#configuration/basic/
[2] https://video.ethz.ch/events/opencast/2021/graz/8f1da869-8775-4811-bcf2-84843a780b20.html

Baba Ndiaye

unread,
Jun 16, 2022, 3:24:15 PM6/16/22
to us...@opencast.org
Thank you Lars 
I'm watching the tutorial video and after check my config


--
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.

Papa Amadou Baba NDIAYE

unread,
Jun 16, 2022, 6:16:44 PM6/16/22
to Opencast Users

Hello i watched the video and i follow step by step your instructions.
but i can't upload video always pending status
i'm using self-signed certificate (create by openssl it's just for testing).

root@server:/etc/nginx# tail -f /var/log/opencast/opencast.log
2022-06-16T22:04:49,981 | INFO  | (IngestServiceImpl:1064) - Successful added attachment 4f78de3e-0f86-4e2c-9534-ea534d3fad87 on mediapackage 257953d2-0c33-4526-a504-38a3e01052b4 at URL https://opencastdev.mylocal.com/files/mediapackage/257953d2-0c33-4526-a504-38a3e01052b4/4f78de3e-0f86-4e2c-9534-ea534d3fad87/acl.xml
2022-06-16T22:04:50,121 | INFO  | (IngestServiceImpl:745) - Start adding track 7e0129cf-2a98-49a6-915a-1c4f331983a2 from input stream on mediapackage 257953d2-0c33-4526-a504-38a3e01052b4
2022-06-16T22:04:51,585 | INFO  | (IngestServiceImpl:1671) - Adding element of type Track to mediapackage 257953d2-0c33-4526-a504-38a3e01052b4
2022-06-16T22:04:51,588 | INFO  | (IngestServiceImpl:763) - Successful added track 7e0129cf-2a98-49a6-915a-1c4f331983a2 on mediapackage 257953d2-0c33-4526-a504-38a3e01052b4 at URL https://opencastdev.mylocal.com/files/mediapackage/257953d2-0c33-4526-a504-38a3e01052b4/7e0129cf-2a98-49a6-915a-1c4f331983a2/2022_06_16_22_04___eeeee___baba_ndiaye__presentation__OC_Studio_.webm
2022-06-16T22:04:51,707 | INFO  | (IngestServiceImpl:1151) - Starting a new workflow with ingested mediapackage 257953d2-0c33-4526-a504-38a3e01052b4 based on workflow definition 'studio-upload'
2022-06-16T22:04:51,707 | INFO  | (IngestServiceImpl:1538) - Ingested mediapackage 257953d2-0c33-4526-a504-38a3e01052b4 is processed using workflow template 'studio-upload', specified during ingest
2022-06-16T22:04:51,741 | INFO  | (IngestServiceImpl:1328) - No capture event found for id 257953d2-0c33-4526-a504-38a3e01052b4
2022-06-16T22:04:51,868 | INFO  | (IngestServiceImpl:1174) - Starting new workflow with ingested mediapackage '257953d2-0c33-4526-a504-38a3e01052b4' using the specified template 'studio-upload'
2022-06-16T22:04:51,881 | INFO  | (AssetManagerImpl:1247) - Creating new version 0 of media package 257953d2-0c33-4526-a504-38a3e01052b4
2022-06-16T22:04:51,962 | INFO  | (AssetManagerImpl:404) - Send update message for snapshot 257953d2-0c33-4526-a504-38a3e01052b4, 0 to ActiveMQ
2022-06-16T22:13:07,006 | INFO  | (IngestServiceImpl:632) - Created mediapackage ede06078-356b-4de2-8ee7-e32ea936999f
2022-06-16T22:13:07,135 | INFO  | (IngestServiceImpl:954) - Start adding catalog 8a7b79a4-bd93-4bb3-9103-a7a9d366f4b7 from input stream on mediapackage ede06078-356b-4de2-8ee7-e32ea936999f
2022-06-16T22:13:07,138 | INFO  | (IngestServiceImpl:1671) - Adding element of type Catalog to mediapackage ede06078-356b-4de2-8ee7-e32ea936999f
2022-06-16T22:13:07,140 | INFO  | (IngestServiceImpl:993) - Successful added catalog 8a7b79a4-bd93-4bb3-9103-a7a9d366f4b7 on mediapackage ede06078-356b-4de2-8ee7-e32ea936999f at URL https://opencastdev.mylocal.com/files/mediapackage/ede06078-356b-4de2-8ee7-e32ea936999f/8a7b79a4-bd93-4bb3-9103-a7a9d366f4b7/dublincore.xml
2022-06-16T22:13:07,275 | INFO  | (IngestServiceImpl:1052) - Start adding attachment 0d83c0ab-e88b-47e5-a61c-81b1eb5d4369 from input stream on mediapackage ede06078-356b-4de2-8ee7-e32ea936999f
2022-06-16T22:13:07,276 | INFO  | (IngestServiceImpl:1671) - Adding element of type Attachment to mediapackage ede06078-356b-4de2-8ee7-e32ea936999f
2022-06-16T22:13:07,278 | INFO  | (IngestServiceImpl:1064) - Successful added attachment 0d83c0ab-e88b-47e5-a61c-81b1eb5d4369 on mediapackage ede06078-356b-4de2-8ee7-e32ea936999f at URL https://opencastdev.mylocal.com/files/mediapackage/ede06078-356b-4de2-8ee7-e32ea936999f/0d83c0ab-e88b-47e5-a61c-81b1eb5d4369/acl.xml
2022-06-16T22:13:07,422 | INFO  | (IngestServiceImpl:745) - Start adding track 99120e87-e2d6-4b2f-b015-a9e633ed7053 from input stream on mediapackage ede06078-356b-4de2-8ee7-e32ea936999f
2022-06-16T22:13:08,669 | INFO  | (IngestServiceImpl:1671) - Adding element of type Track to mediapackage ede06078-356b-4de2-8ee7-e32ea936999f
2022-06-16T22:13:08,676 | INFO  | (IngestServiceImpl:763) - Successful added track 99120e87-e2d6-4b2f-b015-a9e633ed7053 on mediapackage ede06078-356b-4de2-8ee7-e32ea936999f at URL https://opencastdev.mylocal.com/files/mediapackage/ede06078-356b-4de2-8ee7-e32ea936999f/99120e87-e2d6-4b2f-b015-a9e633ed7053/2022_06_16_22_13___aaaaaa___baba_ndiaye__presentation__OC_Studio_.webm
2022-06-16T22:13:08,818 | INFO  | (IngestServiceImpl:1151) - Starting a new workflow with ingested mediapackage ede06078-356b-4de2-8ee7-e32ea936999f based on workflow definition 'studio-upload'
2022-06-16T22:13:08,818 | INFO  | (IngestServiceImpl:1538) - Ingested mediapackage ede06078-356b-4de2-8ee7-e32ea936999f is processed using workflow template 'studio-upload', specified during ingest
2022-06-16T22:13:08,819 | INFO  | (IngestServiceImpl:1328) - No capture event found for id ede06078-356b-4de2-8ee7-e32ea936999f
2022-06-16T22:13:08,822 | INFO  | (IngestServiceImpl:1174) - Starting new workflow with ingested mediapackage 'ede06078-356b-4de2-8ee7-e32ea936999f' using the specified template 'studio-upload'
2022-06-16T22:13:08,828 | INFO  | (AssetManagerImpl:1247) - Creating new version 0 of media package ede06078-356b-4de2-8ee7-e32ea936999f
2022-06-16T22:13:08,862 | INFO  | (AssetManagerImpl:404) - Send update message for snapshot ede06078-356b-4de2-8ee7-e32ea936999f, 0 to ActiveMQ

Greg Logan

unread,
Jun 16, 2022, 6:29:51 PM6/16/22
to Opencast Users
Hi,

Check the admin UI, are there any services in an ERROR state?  Do you have any external workers, or is this an all-in-one?  From the log, it looks like things should be working, but the jobs clearly aren't happening, which means either you're missing workers, or there are services in ERROR.

G

Papa Amadou Baba NDIAYE

unread,
Jun 16, 2022, 6:40:17 PM6/16/22
to Opencast Users, Greg Logan
Hello Greg
i'm using Opencast 11.7.0 - 433a08e - built on 2022-06-16 all in one (installation from package) on Ubuntu 20.04 (i also try it on ubuntu 18.04 same result)

Normal
org.opencastproject.workflow https://opencastdev.mydomain.com AllInOne 0 0 1 00:00:00 00:00:00

Lars Kiesow

unread,
Jun 17, 2022, 6:42:28 AM6/17/22
to us...@opencast.org
Hi,
my guess is still the TLS certificate. If you used a self-signed
certificate, you must make Opencast (or rather Java) trust it in the
same way you would need to accept the exception in your browser,
explicitly stating that you want to accept this certificate.

I can only see parts of your log but my guess would be that prior to
the part you sent you will find Opencast's health check trying to reach
sub-components, being unable to reach them and then marking them as
temporarily unavailable. This would lead to Opencast not starting the
workflow operations since the modules which would do the work are
marked as unavailable, essentially never starting the processing.

My suggestion:
- Get a valid certificate e.g. from Let's Encrypt
- Try without TLS for now; Studio may not work with all browsers
- Import your self-signed certificate into the Java key store (don't
ask me how to do that :D)

Best regards,
Lars


On Thu, 16 Jun 2022 15:16:43 -0700 (PDT)

Baba Ndiaye

unread,
Jun 17, 2022, 6:47:40 AM6/17/22
to us...@opencast.org
Thank i'll try with trusted certificate and check the result

Dietmar Zenker

unread,
Jun 17, 2022, 7:03:43 AM6/17/22
to us...@opencast.org

Hi,

 

the problem with the self-signed certificates is, that it also must be added to the global JAVA keystore (cacerts). Pls. Refer to the docu:

https://docs.opencast.org/r/11.x/admin/#configuration/https/self-signed-certificates/

 

In my local test system, the following solved this issue:

openssl req -x509 -nodes -days 2048 -newkey rsa:2048 -keyout key.pem -out opencasttest.pem -config selfcert.req.conf -extensions 'v3_req'

cat opencasttest.pem key.pem >testcluster.pem

keytool -import -noprompt -trustcacerts -storepass changeit -alias testcluster.myopencast.de -file /root/ssl/testcluster.pem -cacerts

 

Greetings,

Dietmar

Reply all
Reply to author
Forward
0 new messages