Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Maxim Solodovnik
sure, Thanks for the testing :)) On Tue, 31 Mar 2020 at 18:59, Mikhail Zhmurin wrote: > And once again thank you for your patience and your help! As soon as all > the conferences will end tonight I will try to install the snapshot you > shared and I will get back to you with that chrome hash pr

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Mikhail Zhmurin
And once again thank you for your patience and your help! As soon as all the conferences will end tonight I will try to install the snapshot you shared and I will get back to you with that chrome hash problem. вт, 31 мар. 2020 г. в 17:56, Maxim Solodovnik : > NP :) > we all humans > > I personall

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Maxim Solodovnik
NP :) we all humans I personally prefer the new way of starting Om under Ubuntu it is `openmeetings.service` bundled with OM and instructions are inside :) On Tue, 31 Mar 2020 at 18:51, Mikhail Zhmurin wrote: > Well I guess i'm just really dumb then. Sorry for waisting your time. To > start it

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Mikhail Zhmurin
Well I guess i'm just really dumb then. Sorry for waisting your time. To start it properly I should use /etc/init.d/tomcat3 where user "nobody" specified instead of service tomcat3 start that runs under root? Once again sorry for this rookie mistakes it never crossed my mind that this could be the

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Maxim Solodovnik
Well This line: root 2092 1 0 Mar29 ? Actually means: Process with ID `2092` was started as user `root` ... On Tue, 31 Mar 2020 at 18:35, Mikhail Zhmurin wrote: > root 2092 1 0 Mar29 ?00:10:15 /usr/bin/java > -Djava.util.logging.config.file=/opt/open503/

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Mikhail Zhmurin
root 2092 1 0 Mar29 ?00:10:15 /usr/bin/java -Djava.util.logging.config.file=/opt/open503/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Mikhail Zhmurin
drwxr-x--- 2 root root 4096 Mar 31 01:23 426 Here's that room number 426 drwxr-x--- 2 nobody root 4096 Mar 30 17:02 30 Here's room number 30 вт, 31 мар. 2020 г. в 17:32, Mikhail Zhmurin : > Hmm I think you were right. For some reasons root creates new folders for > rooms from mood

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Maxim Solodovnik
This is usually means OM is run using user `root` `ps -ef|grep java` ?? On Tue, 31 Mar 2020 at 18:32, Mikhail Zhmurin wrote: > Hmm I think you were right. For some reasons root creates new folders for > rooms from moodle. What should I do? > drwxr-x--- 2 nobody root 4096 Feb 14 16:04 2 >

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Mikhail Zhmurin
Hmm I think you were right. For some reasons root creates new folders for rooms from moodle. What should I do? drwxr-x--- 2 nobody root 4096 Feb 14 16:04 2 drwxr-x--- 2 nobody root 4096 Mar 29 18:22 22 drwxr-x--- 2 nobody root 4096 Feb 14 16:04 3 drwxr-x--- 2 nobody root 409

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Maxim Solodovnik
Sounds like folder permissions Do "ls -la" and check owners On Tue, Mar 31, 2020, 18:23 Mikhail Zhmurin wrote: > .webm should be created in the room folder or in the stream folder? By > that I mean when I start the recording in the room for the first time OM > creates a folder inside STREAM fol

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Mikhail Zhmurin
.webm should be created in the room folder or in the stream folder? By that I mean when I start the recording in the room for the first time OM creates a folder inside STREAM folder and names it using ID of the room. Ok so I checked and TEST_SETUP webms are definitely being created and I'm able to

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Maxim Solodovnik
well, stream doesn't exist and recording stopped are different issues :) the latter was reported as https://issues.apache.org/jira/browse/OPENMEETINGS-2206 (with no clear steps) coturn user shouldn't be an issue, BUT i run it as user `nobody` (just in case) please check if when you start recordin

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Mikhail Zhmurin
I will try to use this snapshot and get back to you with results. About recording: it says "recording file is not found". Stream folder of the room is empty. KMS and OM are running under user "nobody" BUT since I'm behind NAT I'm using coturn which uses "kurento" as a coturn user. Could this be the

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Maxim Solodovnik
Databases are not compatible Usually for testing I'm starting new OM with internal H2 DB, this way original db remain unchanged :)) Your recording issues can be caused by 1) the fact OM and KMS were started using different accounts 2) missing converters click exclamation icon to see dialog with r

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Mikhail Zhmurin
Is it possible to somehow use existing db with this snapshot? Because I'm pretty sure clear snapshot will do me no good. Also I'm facing problems with recordings they show up with yellow exclamation mark in om after I stop the recording and the stream folder of the room is just empty. Should I crea

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Maxim Solodovnik
Well, I would prefer if you can set up M4-SNAPSHOT and check if Moodle user can login This will require modified Moodle plugin (available in sources only https://github.com/openmeetings/openmeetings-moodle-plugin) Or if the issue is reproducible for you Maybe you can share your steps? Everything w

Re: Acces denied when redirecting to room from moodle

2020-03-31 Thread Mikhail Zhmurin
Ok that definetely worked! That's one problem solved! Thank you very much. Still the problem with chrome stays. You mentioned earlier about this fix https://issues.apache.org/jira/browse/OPENMEETINGS-2202 . Does this address incorrect hash problem for chrome? If yes what should I do with this? Sorr

Re: Acces denied when redirecting to room from moodle

2020-03-30 Thread Maxim Solodovnik
yep I was right: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy#Directives `display-capture ` should be added can you try to add it locally (into `renderer.php`) and tell me if it wi

Re: Acces denied when redirecting to room from moodle

2020-03-30 Thread Maxim Solodovnik
Screen-sharing might be some additional restriction for `iframe-based-paged` https://github.com/openmeetings/openmeetings-moodle-plugin/blob/master/renderer.php#L138 And this might be FF limitation only (I'll check) Have you tried latest SNAPSHOT? On Tue, 31 Mar 2020 at 13:15, Mikhail Zhmurin w

Re: Acces denied when redirecting to room from moodle

2020-03-30 Thread Mikhail Zhmurin
Unfortunately I was not able to solve it using links you provided. To answer your questions: 1. We are using let'encrypt for ssl certificates 2. "Modulekey" is unique for every moodle instance Another thing I noticed about firefox: when I'm authorizing through moodle (when logging through moodle do

Re: Acces denied when redirecting to room from moodle

2020-03-30 Thread Maxim Solodovnik
This one I have already answered :))) https://markmail.org/message/a7quq4clhxoojrc5 send some links ask questions can you answer those? Additionally one NPE was fixed https://issues.apache.org/jira/browse/OPENMEETINGS-2202 Can you check if latest SNAPSHOT works better? ( https://builds.apache.org

Acces denied when redirecting to room from moodle

2020-03-30 Thread Mikhail Zhmurin
Hello, I’m having a weird issue. When I’m trying to acces the room in OM from moodle I’m getting invalid hash error. What’s weird it’s that it works just fine in firefox but I’m getting “acces denied. You have no rights to enter this room ” in chrome. I’ve read here that it might happen if you have