Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-07-14 Thread Maxim Solodovnik
On Fri, 14 Jul 2023 at 21:10, Online Use via user
 wrote:
>
> Can you tell me how to verify the user name who is running KMS? I installed 
> it from shell using root, just like all OM installation steps.

your KMS is running in docker

so you have to do the following:

run
`docker ps`

in terminal
You will get output like
```
docker ps
CONTAINER ID   IMAGECOMMAND
 CREATED STATUSPORTS NAMES
8d89d696012f   kurento/kurento-media-server:7.0.0   "/entrypoint.sh
bash"   6 seconds ago   Up 5 seconds (health: starting)
sad_gagarin
```
now you have to copy "CONTAINER ID"

and run following command
`docker exec -it 8d89d696012f bash`

in terminal (please use your own "CONTAINER ID")
please NOTE "CONTAINER ID" is unique and generated on every new run

now you are inside the docker

you can use `ps -ef|grep kurento`
for my machine the output is:
```
root   1   0  0 04:38 pts/000:00:00
/usr/bin/kurento-media-server bash
root  61  52  0 04:39 pts/100:00:00 grep --color=auto kurento
```

so the KMS is started as user with login `root` and uid `1`

*.webm files on my machine are being created as

```
-rw-r--r-- 1 rootroot 80134 Jul 15 11:45
TEST_SETUP_4a7fa3f6-e284-4d42-be2c-94309b753a2d.webm
```

BTW good option to test recordings would be test recording at following address:
https://localhost:5443/openmeetings/hash?app=settings

(please use your own server-name/IP+port :)))

>
>
> بتاريخ الجمعة، 14 تموز 2023 في 01:55:43 م غرينتش+3، Maxim Solodovnik 
>  كتب:
>
>
>
>
> from mobile (sorry for typos ;)
>
>
> On Fri, Jul 14, 2023, 14:29 Online Use  wrote:
>
> I definitely did that during installation on KMS on docker. I used my own 
> data_dir, the change is not needed.
>
> Still I'm having the recording creation error mentioned before.
>
>
> Maybe you can check with dockerized OM?
> Does it works for you?
>
> Usually recordings works as expected if there are no permission issues :(
>
> Additionally you can try to enter running KMS docker
> And try to write to data dir using same user who started KMS
> And check the result in real folder
>
>
> Could it be a bug in this version of OM?
>
>
> بتاريخ الجمعة، 14 تموز 2023 في 06:03:47 ص غرينتش+3، Maxim Solodovnik 
>  كتب:
>
>
> On Fri, 14 Jul 2023 at 02:54, Online Use  wrote:
> >
> > The hibernate folder path is:
> >
> > /home/website_home/data_dir/streams/hibernate/
>
> In such case docket should have parameter: `-v
> /home/website_home/data_dir:/home/website_home/data_dir`
> So both will write the same folder
>
> >
> > My comment regarding the installation guide before wasn't related to 
> > syntax, but was related to your recommendation to move the data_dir under 
> > docker, because this was not mentioned in the installation guide althought 
> > they used docker to install KMS.
> >
>
> @Alvaro maybe you can add data_dir mapping for the dockerized KMS to
> user guide? :)
>
> >
> > بتاريخ الثلاثاء، 11 تموز 2023 في 05:44:34 ص غرينتش+3، Maxim Solodovnik 
> >  كتب:
> >
> >
> > On Tue, 11 Jul 2023 at 02:23, Online Use  
> > wrote:
> > >
> > > Hello,
> > >
> > > You said that *.webm file is being written by KMS and being used as 
> > > source while creating recording file, but I see the recording .wav files 
> > > under the "streams/9/" folder are already created,
> >
> > If I remember correctly *.wav files are generated using silence.wav in
> > case of any problem 
> >
> > Could you share full path for the hibernate folder please?
> >
> > > meaning that the .webm files have been there is the "hibernate" folder 
> > > and have been consumed to create the final recording files and then 
> > > deleted afterwards. So the problem is neither with the data directory 
> > > location nor with permissions, the problem is with the recorded files 
> > > themselves, recording error, the .wav files are there with data, but only 
> > > blan screen. May be mal-formated?
> > >
> > > What do you think?
> > >
> > >
> > >
> > > بتاريخ الاثنين، 10 تموز 2023 في 05:25:34 م غرينتش+3، Maxim Solodovnik 
> > >  كتب:
> > >
> > >
> > > On Mon, 10 Jul 2023 at 19:33, Online Use  
> > > wrote:
> > > >
> > > > In the installation guide, Kurento is installed inside docker using 
> > > > this command:
> > > >
> > > > sudo docker run -d --name kms -p : --mount 
> > > > type=bind,source=/opt/om_data,target=/opt/om_data 
> > > > kurento/kurento-media-server
> > > >
> > >
> > > I have to mention:
> > >
> > > 1)
> > > `--mount type=bind,source=/opt/om_data,target=/opt/om_data`
> > > and
> > > `-v /opt/om_data:/opt/om_data`
> > > are the same option :) (I'm just using shorter syntax :)))
> > >
> > > 2) I read the installation guide long time ago, but never follow (The
> > > guide is super clear and saves lots of time to many many users :))
> > > I'm developing OM for ~10 years so I don't need guide ;)
> > >
> > > (my command contains local DATA_DIR I'm using during development)
> > >
> > > 3) In 

Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-07-14 Thread Online Use via user
 Can you tell me how to verify the user name who is running KMS? I installed it 
from shell using root, just like all OM installation steps.

بتاريخ الجمعة، 14 تموز 2023 في 01:55:43 م غرينتش+3، Maxim Solodovnik 
 كتب:  
 
 

from mobile (sorry for typos ;)
    
On Fri, Jul 14, 2023, 14:29 Online Use  wrote:

 I definitely did that during installation on KMS on docker. I used my own 
data_dir, the change is not needed.
Still I'm having the recording creation error mentioned before.

Maybe you can check with dockerized OM?Does it works for you?
Usually recordings works as expected if there are no permission issues :(
Additionally you can try to enter running KMS dockerAnd try to write to data 
dir using same user who started KMSAnd check the result in real folder


Could it be a bug in this version of OM?

بتاريخ الجمعة، 14 تموز 2023 في 06:03:47 ص غرينتش+3، Maxim Solodovnik 
 كتب:  
 
 On Fri, 14 Jul 2023 at 02:54, Online Use  wrote:
>
> The hibernate folder path is:
>
> /home/website_home/data_dir/streams/hibernate/

In such case docket should have parameter: `-v
/home/website_home/data_dir:/home/website_home/data_dir`
So both will write the same folder

>
> My comment regarding the installation guide before wasn't related to syntax, 
> but was related to your recommendation to move the data_dir under docker, 
> because this was not mentioned in the installation guide althought they used 
> docker to install KMS.
>

@Alvaro maybe you can add data_dir mapping for the dockerized KMS to
user guide? :)

>
> بتاريخ الثلاثاء، 11 تموز 2023 في 05:44:34 ص غرينتش+3، Maxim Solodovnik 
>  كتب:
>
>
> On Tue, 11 Jul 2023 at 02:23, Online Use  wrote:
> >
> > Hello,
> >
> > You said that *.webm file is being written by KMS and being used as source 
> > while creating recording file, but I see the recording .wav files under the 
> > "streams/9/" folder are already created,
>
> If I remember correctly *.wav files are generated using silence.wav in
> case of any problem 
>
> Could you share full path for the hibernate folder please?
>
> > meaning that the .webm files have been there is the "hibernate" folder and 
> > have been consumed to create the final recording files and then deleted 
> > afterwards. So the problem is neither with the data directory location nor 
> > with permissions, the problem is with the recorded files themselves, 
> > recording error, the .wav files are there with data, but only blan screen. 
> > May be mal-formated?
> >
> > What do you think?
> >
> >
> >
> > بتاريخ الاثنين، 10 تموز 2023 في 05:25:34 م غرينتش+3، Maxim Solodovnik 
> >  كتب:
> >
> >
> > On Mon, 10 Jul 2023 at 19:33, Online Use  
> > wrote:
> > >
> > > In the installation guide, Kurento is installed inside docker using this 
> > > command:
> > >
> > > sudo docker run -d --name kms -p : --mount 
> > > type=bind,source=/opt/om_data,target=/opt/om_data 
> > > kurento/kurento-media-server
> > >
> >
> > I have to mention:
> >
> > 1)
> > `--mount type=bind,source=/opt/om_data,target=/opt/om_data`
> > and
> > `-v /opt/om_data:/opt/om_data`
> > are the same option :) (I'm just using shorter syntax :)))
> >
> > 2) I read the installation guide long time ago, but never follow (The
> > guide is super clear and saves lots of time to many many users :))
> > I'm developing OM for ~10 years so I don't need guide ;)
> >
> > (my command contains local DATA_DIR I'm using during development)
> >
> > 3) In your original email you cut the real paths:
> >    streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f_FINAL_WAVE.wav
> >    streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f.webm
> > .
> > So I can't guess what are your full paths :(
> >
> >
> >
> > > I just did the same during installation.
> > >
> > > It seems that you are trying to change the source and target directory 
> > > values after installation using the command that you mentioned in your 
> > > reply below, but I don't understand to where are the paths in your 
> > > command referring? are these supposed to be the old om_data directory 
> > > paths?
> > >
> >
> > By default OM uses DATA_DIR inside the folder it was extracted to
> > it is good idea to use **external** DATA_DIR in production, this way
> > you will NOT need to copy/paste lots of binary data during upgrades :)
> >
> > >
> > >
> > > بتاريخ الاثنين، 10 تموز 2023 في 02:09:41 م غرينتش+3، Maxim Solodovnik 
> > >  كتب:
> > >
> > >
> > > On Mon, 10 Jul 2023 at 18:06, Online Use  
> > > wrote:
> > > >
> > > > I set the permission of the data directory recursively as 777 so that 
> > > > it's writable by all users. I tested but got same errors.
> > >
> > > Another point: DATA_DIR should be mapped inside docker
> > >
> > > Here is the example:
> > > ```
> > > docker run -it -v
> > > /home/solomax/work/openmeetings/kms/etc-kurento:/etc/kurento -v
> > > /home/solomax/work/openmeetings/data:/home/solomax/work/openmeetings/data
> > > --network host kurento/kurento-media-server:7.0.0 bash
> > > ```
> > >
> > > this 

Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-07-14 Thread Maxim Solodovnik
from mobile (sorry for typos ;)


On Fri, Jul 14, 2023, 14:29 Online Use  wrote:

> I definitely did that during installation on KMS on docker. I used my own
> data_dir, the change is not needed.
>
> Still I'm having the recording creation error mentioned before.
>

Maybe you can check with dockerized OM?
Does it works for you?

Usually recordings works as expected if there are no permission issues :(

Additionally you can try to enter running KMS docker
And try to write to data dir using same user who started KMS
And check the result in real folder


> Could it be a bug in this version of OM?
>
>
> بتاريخ الجمعة، 14 تموز 2023 في 06:03:47 ص غرينتش+3، Maxim Solodovnik <
> solomax...@gmail.com> كتب:
>
>
> On Fri, 14 Jul 2023 at 02:54, Online Use 
> wrote:
> >
> > The hibernate folder path is:
> >
> > /home/website_home/data_dir/streams/hibernate/
>
> In such case docket should have parameter: `-v
> /home/website_home/data_dir:/home/website_home/data_dir`
> So both will write the same folder
>
> >
> > My comment regarding the installation guide before wasn't related to
> syntax, but was related to your recommendation to move the data_dir under
> docker, because this was not mentioned in the installation guide althought
> they used docker to install KMS.
> >
>
> @Alvaro maybe you can add data_dir mapping for the dockerized KMS to
> user guide? :)
>
> >
> > بتاريخ الثلاثاء، 11 تموز 2023 في 05:44:34 ص غرينتش+3، Maxim Solodovnik <
> solomax...@gmail.com> كتب:
> >
> >
> > On Tue, 11 Jul 2023 at 02:23, Online Use 
> wrote:
> > >
> > > Hello,
> > >
> > > You said that *.webm file is being written by KMS and being used as
> source while creating recording file, but I see the recording .wav files
> under the "streams/9/" folder are already created,
> >
> > If I remember correctly *.wav files are generated using silence.wav in
> > case of any problem 
> >
> > Could you share full path for the hibernate folder please?
> >
> > > meaning that the .webm files have been there is the "hibernate" folder
> and have been consumed to create the final recording files and then deleted
> afterwards. So the problem is neither with the data directory location nor
> with permissions, the problem is with the recorded files themselves,
> recording error, the .wav files are there with data, but only blan screen.
> May be mal-formated?
> > >
> > > What do you think?
> > >
> > >
> > >
> > > بتاريخ الاثنين، 10 تموز 2023 في 05:25:34 م غرينتش+3، Maxim Solodovnik <
> solomax...@gmail.com> كتب:
> > >
> > >
> > > On Mon, 10 Jul 2023 at 19:33, Online Use 
> wrote:
> > > >
> > > > In the installation guide, Kurento is installed inside docker using
> this command:
> > > >
> > > > sudo docker run -d --name kms -p : --mount
> type=bind,source=/opt/om_data,target=/opt/om_data
> kurento/kurento-media-server
> > > >
> > >
> > > I have to mention:
> > >
> > > 1)
> > > `--mount type=bind,source=/opt/om_data,target=/opt/om_data`
> > > and
> > > `-v /opt/om_data:/opt/om_data`
> > > are the same option :) (I'm just using shorter syntax :)))
> > >
> > > 2) I read the installation guide long time ago, but never follow (The
> > > guide is super clear and saves lots of time to many many users :))
> > > I'm developing OM for ~10 years so I don't need guide ;)
> > >
> > > (my command contains local DATA_DIR I'm using during development)
> > >
> > > 3) In your original email you cut the real paths:
> > >streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f_FINAL_WAVE.wav
> > >streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f.webm
> > > .
> > > So I can't guess what are your full paths :(
> > >
> > >
> > >
> > > > I just did the same during installation.
> > > >
> > > > It seems that you are trying to change the source and target
> directory values after installation using the command that you mentioned in
> your reply below, but I don't understand to where are the paths in your
> command referring? are these supposed to be the old om_data directory paths?
> > > >
> > >
> > > By default OM uses DATA_DIR inside the folder it was extracted to
> > > it is good idea to use **external** DATA_DIR in production, this way
> > > you will NOT need to copy/paste lots of binary data during upgrades :)
> > >
> > > >
> > > >
> > > > بتاريخ الاثنين، 10 تموز 2023 في 02:09:41 م غرينتش+3، Maxim
> Solodovnik  كتب:
> > > >
> > > >
> > > > On Mon, 10 Jul 2023 at 18:06, Online Use <
> foronlineuseem...@yahoo.com> wrote:
> > > > >
> > > > > I set the permission of the data directory recursively as 777 so
> that it's writable by all users. I tested but got same errors.
> > > >
> > > > Another point: DATA_DIR should be mapped inside docker
> > > >
> > > > Here is the example:
> > > > ```
> > > > docker run -it -v
> > > > /home/solomax/work/openmeetings/kms/etc-kurento:/etc/kurento -v
> > > >
> /home/solomax/work/openmeetings/data:/home/solomax/work/openmeetings/data
> > > > --network host kurento/kurento-media-server:7.0.0 bash
> > > > ```
> > > >
> > > > this way 

Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-07-14 Thread Maxim Solodovnik
from mobile (sorry for typos ;)


On Fri, Jul 14, 2023, 14:24 Alvaro  wrote:

> Ok. Could you please add to the attached script
> it you say?
>

No changes are required :)
All paths are correct in the installation guide :)


> Thanks
>
> Alvaro
>
>
> --
>
>
>
>
> On Fri, 14 Jul 2023 13:36:45 +0700
> Maxim Solodovnik  wrote:
>
> > On Fri, 14 Jul 2023 at 13:23, Alvaro  wrote:
> > >
> > > ...Maxim, in the tutorials is:
> > >
> > > ...and now we Ì ll install kurento-media-server. But first we Ì ll
> create the folder where will be the video recorder files we should make in
> rooms, as well as the uploaded files and documents:
> > >
> > > mkdir -p /opt/om_data
> > >
> > > ...and install kurento 6.18.0:
> > >
> > > (Only one line, with space between both)
> > >
> > > docker run -d --name kms -p : --mount
> type=bind,source=/opt/om_data,target=/opt/om_data
> kurento/kurento-media-server:6.18.0
> > >
> > > ...for axample. That what you mean?
> >
> > It seems everything is OK from docker perspective of view
> > The only additional part is "-DDATA_DIR=/opt/om_data" somewhere in the
> > script starting OM
> >
> > I can see it in your script:
> >
> > export JAVA_OPTS="-Djava.awt.headless=true -DDATA_DIR=/opt/om_data"
> >
> > Not sure what else can be done :)
> >
> > Thanks for double-checking!
> >
> > >
> > >
> > > Alvaro
> > >
> > >
> > >
> > >
> > >
> > > On Fri, 14 Jul 2023 10:03:34 +0700
> > > Maxim Solodovnik  wrote:
> > >
> > > > On Fri, 14 Jul 2023 at 02:54, Online Use <
> foronlineuseem...@yahoo.com> wrote:
> > > > >
> > > > > The hibernate folder path is:
> > > > >
> > > > > /home/website_home/data_dir/streams/hibernate/
> > > >
> > > > In such case docket should have parameter: `-v
> > > > /home/website_home/data_dir:/home/website_home/data_dir`
> > > > So both will write the same folder
> > > >
> > > > >
> > > > > My comment regarding the installation guide before wasn't related
> to syntax, but was related to your recommendation to move the data_dir
> under docker, because this was not mentioned in the installation guide
> althought they used docker to install KMS.
> > > > >
> > > >
> > > > @Alvaro maybe you can add data_dir mapping for the dockerized KMS to
> > > > user guide? :)
> > > >
> > > > >
> > > > > بتاريخ الثلاثاء، 11 تموز 2023 في 05:44:34 ص غرينتش+3، Maxim
> Solodovnik  كتب:
> > > > >
> > > > >
> > > > > On Tue, 11 Jul 2023 at 02:23, Online Use <
> foronlineuseem...@yahoo.com> wrote:
> > > > > >
> > > > > > Hello,
> > > > > >
> > > > > > You said that *.webm file is being written by KMS and being used
> as source while creating recording file, but I see the recording .wav files
> under the "streams/9/" folder are already created,
> > > > >
> > > > > If I remember correctly *.wav files are generated using
> silence.wav in
> > > > > case of any problem 
> > > > >
> > > > > Could you share full path for the hibernate folder please?
> > > > >
> > > > > > meaning that the .webm files have been there is the "hibernate"
> folder and have been consumed to create the final recording files and then
> deleted afterwards. So the problem is neither with the data directory
> location nor with permissions, the problem is with the recorded files
> themselves, recording error, the .wav files are there with data, but only
> blan screen. May be mal-formated?
> > > > > >
> > > > > > What do you think?
> > > > > >
> > > > > >
> > > > > >
> > > > > > بتاريخ الاثنين، 10 تموز 2023 في 05:25:34 م غرينتش+3، Maxim
> Solodovnik  كتب:
> > > > > >
> > > > > >
> > > > > > On Mon, 10 Jul 2023 at 19:33, Online Use <
> foronlineuseem...@yahoo.com> wrote:
> > > > > > >
> > > > > > > In the installation guide, Kurento is installed inside docker
> using this command:
> > > > > > >
> > > > > > > sudo docker run -d --name kms -p : --mount
> type=bind,source=/opt/om_data,target=/opt/om_data
> kurento/kurento-media-server
> > > > > > >
> > > > > >
> > > > > > I have to mention:
> > > > > >
> > > > > > 1)
> > > > > > `--mount type=bind,source=/opt/om_data,target=/opt/om_data`
> > > > > > and
> > > > > > `-v /opt/om_data:/opt/om_data`
> > > > > > are the same option :) (I'm just using shorter syntax :)))
> > > > > >
> > > > > > 2) I read the installation guide long time ago, but never follow
> (The
> > > > > > guide is super clear and saves lots of time to many many users
> :))
> > > > > > I'm developing OM for ~10 years so I don't need guide ;)
> > > > > >
> > > > > > (my command contains local DATA_DIR I'm using during development)
> > > > > >
> > > > > > 3) In your original email you cut the real paths:
> > > > > >
> streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f_FINAL_WAVE.wav
> > > > > >streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f.webm
> > > > > > .
> > > > > > So I can't guess what are your full paths :(
> > > > > >
> > > > > >
> > > > > >
> > > > > > > I just did the same during installation.
> > > > > > >
> > > > > > > It seems that you are trying to change the source and 

Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-07-14 Thread Alvaro
...or you refer to advise like:

If you made the installation in any other
different path to /opt/open710,
please edit the script and modify the line:

CATALINA_HOME =/opt/open710
...to
CATALINA_HOME =/your-path-installation

...then to say modify also:

export JAVA_OPTS="-Djava.awt.headless=true -DDATA_DIR=/opt/om_data"
...to
export JAVA_OPTS="-Djava.awt.headless=true 
-DDATA_DIR=path_to_your_om_data_installation"

...it is so?





On Fri, 14 Jul 2023 09:24:21 +0200
Alvaro  wrote:

> Ok. Could you please add to the attached script
> it you say?
> 
> Thanks
> 
> Alvaro
> 
> 
> --
> 
> 
> 
> 
> On Fri, 14 Jul 2023 13:36:45 +0700
> Maxim Solodovnik  wrote:
> 
> > On Fri, 14 Jul 2023 at 13:23, Alvaro  wrote:
> > >
> > > ...Maxim, in the tutorials is:
> > >
> > > ...and now we Ì ll install kurento-media-server. But first we Ì ll create 
> > > the folder where will be the video recorder files we should make in 
> > > rooms, as well as the uploaded files and documents:
> > >
> > > mkdir -p /opt/om_data
> > >
> > > ...and install kurento 6.18.0:
> > >
> > > (Only one line, with space between both)
> > >
> > > docker run -d --name kms -p : --mount 
> > > type=bind,source=/opt/om_data,target=/opt/om_data 
> > > kurento/kurento-media-server:6.18.0
> > >
> > > ...for axample. That what you mean?
> > 
> > It seems everything is OK from docker perspective of view
> > The only additional part is "-DDATA_DIR=/opt/om_data" somewhere in the
> > script starting OM
> > 
> > I can see it in your script:
> > 
> > export JAVA_OPTS="-Djava.awt.headless=true -DDATA_DIR=/opt/om_data"
> > 
> > Not sure what else can be done :)
> > 
> > Thanks for double-checking!
> > 
> > >
> > >
> > > Alvaro
> > >
> > >
> > >
> > >
> > >
> > > On Fri, 14 Jul 2023 10:03:34 +0700
> > > Maxim Solodovnik  wrote:
> > >
> > > > On Fri, 14 Jul 2023 at 02:54, Online Use  
> > > > wrote:
> > > > >
> > > > > The hibernate folder path is:
> > > > >
> > > > > /home/website_home/data_dir/streams/hibernate/
> > > >
> > > > In such case docket should have parameter: `-v
> > > > /home/website_home/data_dir:/home/website_home/data_dir`
> > > > So both will write the same folder
> > > >
> > > > >
> > > > > My comment regarding the installation guide before wasn't related to 
> > > > > syntax, but was related to your recommendation to move the data_dir 
> > > > > under docker, because this was not mentioned in the installation 
> > > > > guide althought they used docker to install KMS.
> > > > >
> > > >
> > > > @Alvaro maybe you can add data_dir mapping for the dockerized KMS to
> > > > user guide? :)
> > > >
> > > > >
> > > > > بتاريخ الثلاثاء، 11 تموز 2023 في 05:44:34 ص غرينتش+3، Maxim 
> > > > > Solodovnik  كتب:
> > > > >
> > > > >
> > > > > On Tue, 11 Jul 2023 at 02:23, Online Use 
> > > > >  wrote:
> > > > > >
> > > > > > Hello,
> > > > > >
> > > > > > You said that *.webm file is being written by KMS and being used as 
> > > > > > source while creating recording file, but I see the recording .wav 
> > > > > > files under the "streams/9/" folder are already created,
> > > > >
> > > > > If I remember correctly *.wav files are generated using silence.wav in
> > > > > case of any problem 
> > > > >
> > > > > Could you share full path for the hibernate folder please?
> > > > >
> > > > > > meaning that the .webm files have been there is the "hibernate" 
> > > > > > folder and have been consumed to create the final recording files 
> > > > > > and then deleted afterwards. So the problem is neither with the 
> > > > > > data directory location nor with permissions, the problem is with 
> > > > > > the recorded files themselves, recording error, the .wav files are 
> > > > > > there with data, but only blan screen. May be mal-formated?
> > > > > >
> > > > > > What do you think?
> > > > > >
> > > > > >
> > > > > >
> > > > > > بتاريخ الاثنين، 10 تموز 2023 في 05:25:34 م غرينتش+3، Maxim 
> > > > > > Solodovnik  كتب:
> > > > > >
> > > > > >
> > > > > > On Mon, 10 Jul 2023 at 19:33, Online Use 
> > > > > >  wrote:
> > > > > > >
> > > > > > > In the installation guide, Kurento is installed inside docker 
> > > > > > > using this command:
> > > > > > >
> > > > > > > sudo docker run -d --name kms -p : --mount 
> > > > > > > type=bind,source=/opt/om_data,target=/opt/om_data 
> > > > > > > kurento/kurento-media-server
> > > > > > >
> > > > > >
> > > > > > I have to mention:
> > > > > >
> > > > > > 1)
> > > > > > `--mount type=bind,source=/opt/om_data,target=/opt/om_data`
> > > > > > and
> > > > > > `-v /opt/om_data:/opt/om_data`
> > > > > > are the same option :) (I'm just using shorter syntax :)))
> > > > > >
> > > > > > 2) I read the installation guide long time ago, but never follow 
> > > > > > (The
> > > > > > guide is super clear and saves lots of time to many many users :))
> > > > > > I'm developing OM for ~10 years so I don't need guide ;)
> > > > > >
> > > > > > (my command contains local DATA_DIR I'm using during 

Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-07-14 Thread Online Use via user
 I definitely did that during installation on KMS on docker. I used my own 
data_dir, the change is not needed.
Still I'm having the recording creation error mentioned before.
Could it be a bug in this version of OM?

بتاريخ الجمعة، 14 تموز 2023 في 06:03:47 ص غرينتش+3، Maxim Solodovnik 
 كتب:  
 
 On Fri, 14 Jul 2023 at 02:54, Online Use  wrote:
>
> The hibernate folder path is:
>
> /home/website_home/data_dir/streams/hibernate/

In such case docket should have parameter: `-v
/home/website_home/data_dir:/home/website_home/data_dir`
So both will write the same folder

>
> My comment regarding the installation guide before wasn't related to syntax, 
> but was related to your recommendation to move the data_dir under docker, 
> because this was not mentioned in the installation guide althought they used 
> docker to install KMS.
>

@Alvaro maybe you can add data_dir mapping for the dockerized KMS to
user guide? :)

>
> بتاريخ الثلاثاء، 11 تموز 2023 في 05:44:34 ص غرينتش+3، Maxim Solodovnik 
>  كتب:
>
>
> On Tue, 11 Jul 2023 at 02:23, Online Use  wrote:
> >
> > Hello,
> >
> > You said that *.webm file is being written by KMS and being used as source 
> > while creating recording file, but I see the recording .wav files under the 
> > "streams/9/" folder are already created,
>
> If I remember correctly *.wav files are generated using silence.wav in
> case of any problem 
>
> Could you share full path for the hibernate folder please?
>
> > meaning that the .webm files have been there is the "hibernate" folder and 
> > have been consumed to create the final recording files and then deleted 
> > afterwards. So the problem is neither with the data directory location nor 
> > with permissions, the problem is with the recorded files themselves, 
> > recording error, the .wav files are there with data, but only blan screen. 
> > May be mal-formated?
> >
> > What do you think?
> >
> >
> >
> > بتاريخ الاثنين، 10 تموز 2023 في 05:25:34 م غرينتش+3، Maxim Solodovnik 
> >  كتب:
> >
> >
> > On Mon, 10 Jul 2023 at 19:33, Online Use  
> > wrote:
> > >
> > > In the installation guide, Kurento is installed inside docker using this 
> > > command:
> > >
> > > sudo docker run -d --name kms -p : --mount 
> > > type=bind,source=/opt/om_data,target=/opt/om_data 
> > > kurento/kurento-media-server
> > >
> >
> > I have to mention:
> >
> > 1)
> > `--mount type=bind,source=/opt/om_data,target=/opt/om_data`
> > and
> > `-v /opt/om_data:/opt/om_data`
> > are the same option :) (I'm just using shorter syntax :)))
> >
> > 2) I read the installation guide long time ago, but never follow (The
> > guide is super clear and saves lots of time to many many users :))
> > I'm developing OM for ~10 years so I don't need guide ;)
> >
> > (my command contains local DATA_DIR I'm using during development)
> >
> > 3) In your original email you cut the real paths:
> >    streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f_FINAL_WAVE.wav
> >    streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f.webm
> > .
> > So I can't guess what are your full paths :(
> >
> >
> >
> > > I just did the same during installation.
> > >
> > > It seems that you are trying to change the source and target directory 
> > > values after installation using the command that you mentioned in your 
> > > reply below, but I don't understand to where are the paths in your 
> > > command referring? are these supposed to be the old om_data directory 
> > > paths?
> > >
> >
> > By default OM uses DATA_DIR inside the folder it was extracted to
> > it is good idea to use **external** DATA_DIR in production, this way
> > you will NOT need to copy/paste lots of binary data during upgrades :)
> >
> > >
> > >
> > > بتاريخ الاثنين، 10 تموز 2023 في 02:09:41 م غرينتش+3، Maxim Solodovnik 
> > >  كتب:
> > >
> > >
> > > On Mon, 10 Jul 2023 at 18:06, Online Use  
> > > wrote:
> > > >
> > > > I set the permission of the data directory recursively as 777 so that 
> > > > it's writable by all users. I tested but got same errors.
> > >
> > > Another point: DATA_DIR should be mapped inside docker
> > >
> > > Here is the example:
> > > ```
> > > docker run -it -v
> > > /home/solomax/work/openmeetings/kms/etc-kurento:/etc/kurento -v
> > > /home/solomax/work/openmeetings/data:/home/solomax/work/openmeetings/data
> > > --network host kurento/kurento-media-server:7.0.0 bash
> > > ```
> > >
> > > this way KMS will write to the correct folder :)
> > >
> > >
> > > >
> > > > Different users affect anything other than directory access permissions?
> > > >
> > > > How can I check and change the users? I installed everything using root 
> > > > already.
> > > >
> > >
> > > running as root not very wise from security perspective of view 
> > >
> > > >
> > > > بتاريخ الاثنين، 10 تموز 2023 في 01:58:11 م غرينتش+3، Maxim Solodovnik 
> > > >  كتب:
> > > >
> > > >
> > > > On Mon, 10 Jul 2023 at 17:17, Online Use  
> > > > wrote:
> > > > >
> > > > > Thank you so much Maxim, it worked perfectly, I just 

Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-07-14 Thread Alvaro
Ok. Could you please add to the attached script
it you say?

Thanks

Alvaro


--




On Fri, 14 Jul 2023 13:36:45 +0700
Maxim Solodovnik  wrote:

> On Fri, 14 Jul 2023 at 13:23, Alvaro  wrote:
> >
> > ...Maxim, in the tutorials is:
> >
> > ...and now we Ì ll install kurento-media-server. But first we Ì ll create 
> > the folder where will be the video recorder files we should make in rooms, 
> > as well as the uploaded files and documents:
> >
> > mkdir -p /opt/om_data
> >
> > ...and install kurento 6.18.0:
> >
> > (Only one line, with space between both)
> >
> > docker run -d --name kms -p : --mount 
> > type=bind,source=/opt/om_data,target=/opt/om_data 
> > kurento/kurento-media-server:6.18.0
> >
> > ...for axample. That what you mean?
> 
> It seems everything is OK from docker perspective of view
> The only additional part is "-DDATA_DIR=/opt/om_data" somewhere in the
> script starting OM
> 
> I can see it in your script:
> 
> export JAVA_OPTS="-Djava.awt.headless=true -DDATA_DIR=/opt/om_data"
> 
> Not sure what else can be done :)
> 
> Thanks for double-checking!
> 
> >
> >
> > Alvaro
> >
> >
> >
> >
> >
> > On Fri, 14 Jul 2023 10:03:34 +0700
> > Maxim Solodovnik  wrote:
> >
> > > On Fri, 14 Jul 2023 at 02:54, Online Use  
> > > wrote:
> > > >
> > > > The hibernate folder path is:
> > > >
> > > > /home/website_home/data_dir/streams/hibernate/
> > >
> > > In such case docket should have parameter: `-v
> > > /home/website_home/data_dir:/home/website_home/data_dir`
> > > So both will write the same folder
> > >
> > > >
> > > > My comment regarding the installation guide before wasn't related to 
> > > > syntax, but was related to your recommendation to move the data_dir 
> > > > under docker, because this was not mentioned in the installation guide 
> > > > althought they used docker to install KMS.
> > > >
> > >
> > > @Alvaro maybe you can add data_dir mapping for the dockerized KMS to
> > > user guide? :)
> > >
> > > >
> > > > بتاريخ الثلاثاء، 11 تموز 2023 في 05:44:34 ص غرينتش+3، Maxim Solodovnik 
> > > >  كتب:
> > > >
> > > >
> > > > On Tue, 11 Jul 2023 at 02:23, Online Use  
> > > > wrote:
> > > > >
> > > > > Hello,
> > > > >
> > > > > You said that *.webm file is being written by KMS and being used as 
> > > > > source while creating recording file, but I see the recording .wav 
> > > > > files under the "streams/9/" folder are already created,
> > > >
> > > > If I remember correctly *.wav files are generated using silence.wav in
> > > > case of any problem 
> > > >
> > > > Could you share full path for the hibernate folder please?
> > > >
> > > > > meaning that the .webm files have been there is the "hibernate" 
> > > > > folder and have been consumed to create the final recording files and 
> > > > > then deleted afterwards. So the problem is neither with the data 
> > > > > directory location nor with permissions, the problem is with the 
> > > > > recorded files themselves, recording error, the .wav files are there 
> > > > > with data, but only blan screen. May be mal-formated?
> > > > >
> > > > > What do you think?
> > > > >
> > > > >
> > > > >
> > > > > بتاريخ الاثنين، 10 تموز 2023 في 05:25:34 م غرينتش+3، Maxim Solodovnik 
> > > > >  كتب:
> > > > >
> > > > >
> > > > > On Mon, 10 Jul 2023 at 19:33, Online Use 
> > > > >  wrote:
> > > > > >
> > > > > > In the installation guide, Kurento is installed inside docker using 
> > > > > > this command:
> > > > > >
> > > > > > sudo docker run -d --name kms -p : --mount 
> > > > > > type=bind,source=/opt/om_data,target=/opt/om_data 
> > > > > > kurento/kurento-media-server
> > > > > >
> > > > >
> > > > > I have to mention:
> > > > >
> > > > > 1)
> > > > > `--mount type=bind,source=/opt/om_data,target=/opt/om_data`
> > > > > and
> > > > > `-v /opt/om_data:/opt/om_data`
> > > > > are the same option :) (I'm just using shorter syntax :)))
> > > > >
> > > > > 2) I read the installation guide long time ago, but never follow (The
> > > > > guide is super clear and saves lots of time to many many users :))
> > > > > I'm developing OM for ~10 years so I don't need guide ;)
> > > > >
> > > > > (my command contains local DATA_DIR I'm using during development)
> > > > >
> > > > > 3) In your original email you cut the real paths:
> > > > >streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f_FINAL_WAVE.wav
> > > > >streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f.webm
> > > > > .
> > > > > So I can't guess what are your full paths :(
> > > > >
> > > > >
> > > > >
> > > > > > I just did the same during installation.
> > > > > >
> > > > > > It seems that you are trying to change the source and target 
> > > > > > directory values after installation using the command that you 
> > > > > > mentioned in your reply below, but I don't understand to where are 
> > > > > > the paths in your command referring? are these supposed to be the 
> > > > > > old om_data directory paths?
> > > > > >
> > > > >
> > > > > By default OM 

Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-07-14 Thread Maxim Solodovnik
On Fri, 14 Jul 2023 at 13:23, Alvaro  wrote:
>
> ...Maxim, in the tutorials is:
>
> ...and now we Ì ll install kurento-media-server. But first we Ì ll create the 
> folder where will be the video recorder files we should make in rooms, as 
> well as the uploaded files and documents:
>
> mkdir -p /opt/om_data
>
> ...and install kurento 6.18.0:
>
> (Only one line, with space between both)
>
> docker run -d --name kms -p : --mount 
> type=bind,source=/opt/om_data,target=/opt/om_data 
> kurento/kurento-media-server:6.18.0
>
> ...for axample. That what you mean?

It seems everything is OK from docker perspective of view
The only additional part is "-DDATA_DIR=/opt/om_data" somewhere in the
script starting OM

I can see it in your script:

export JAVA_OPTS="-Djava.awt.headless=true -DDATA_DIR=/opt/om_data"

Not sure what else can be done :)

Thanks for double-checking!

>
>
> Alvaro
>
>
>
>
>
> On Fri, 14 Jul 2023 10:03:34 +0700
> Maxim Solodovnik  wrote:
>
> > On Fri, 14 Jul 2023 at 02:54, Online Use  
> > wrote:
> > >
> > > The hibernate folder path is:
> > >
> > > /home/website_home/data_dir/streams/hibernate/
> >
> > In such case docket should have parameter: `-v
> > /home/website_home/data_dir:/home/website_home/data_dir`
> > So both will write the same folder
> >
> > >
> > > My comment regarding the installation guide before wasn't related to 
> > > syntax, but was related to your recommendation to move the data_dir under 
> > > docker, because this was not mentioned in the installation guide 
> > > althought they used docker to install KMS.
> > >
> >
> > @Alvaro maybe you can add data_dir mapping for the dockerized KMS to
> > user guide? :)
> >
> > >
> > > بتاريخ الثلاثاء، 11 تموز 2023 في 05:44:34 ص غرينتش+3، Maxim Solodovnik 
> > >  كتب:
> > >
> > >
> > > On Tue, 11 Jul 2023 at 02:23, Online Use  
> > > wrote:
> > > >
> > > > Hello,
> > > >
> > > > You said that *.webm file is being written by KMS and being used as 
> > > > source while creating recording file, but I see the recording .wav 
> > > > files under the "streams/9/" folder are already created,
> > >
> > > If I remember correctly *.wav files are generated using silence.wav in
> > > case of any problem 
> > >
> > > Could you share full path for the hibernate folder please?
> > >
> > > > meaning that the .webm files have been there is the "hibernate" folder 
> > > > and have been consumed to create the final recording files and then 
> > > > deleted afterwards. So the problem is neither with the data directory 
> > > > location nor with permissions, the problem is with the recorded files 
> > > > themselves, recording error, the .wav files are there with data, but 
> > > > only blan screen. May be mal-formated?
> > > >
> > > > What do you think?
> > > >
> > > >
> > > >
> > > > بتاريخ الاثنين، 10 تموز 2023 في 05:25:34 م غرينتش+3، Maxim Solodovnik 
> > > >  كتب:
> > > >
> > > >
> > > > On Mon, 10 Jul 2023 at 19:33, Online Use  
> > > > wrote:
> > > > >
> > > > > In the installation guide, Kurento is installed inside docker using 
> > > > > this command:
> > > > >
> > > > > sudo docker run -d --name kms -p : --mount 
> > > > > type=bind,source=/opt/om_data,target=/opt/om_data 
> > > > > kurento/kurento-media-server
> > > > >
> > > >
> > > > I have to mention:
> > > >
> > > > 1)
> > > > `--mount type=bind,source=/opt/om_data,target=/opt/om_data`
> > > > and
> > > > `-v /opt/om_data:/opt/om_data`
> > > > are the same option :) (I'm just using shorter syntax :)))
> > > >
> > > > 2) I read the installation guide long time ago, but never follow (The
> > > > guide is super clear and saves lots of time to many many users :))
> > > > I'm developing OM for ~10 years so I don't need guide ;)
> > > >
> > > > (my command contains local DATA_DIR I'm using during development)
> > > >
> > > > 3) In your original email you cut the real paths:
> > > >streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f_FINAL_WAVE.wav
> > > >streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f.webm
> > > > .
> > > > So I can't guess what are your full paths :(
> > > >
> > > >
> > > >
> > > > > I just did the same during installation.
> > > > >
> > > > > It seems that you are trying to change the source and target 
> > > > > directory values after installation using the command that you 
> > > > > mentioned in your reply below, but I don't understand to where are 
> > > > > the paths in your command referring? are these supposed to be the old 
> > > > > om_data directory paths?
> > > > >
> > > >
> > > > By default OM uses DATA_DIR inside the folder it was extracted to
> > > > it is good idea to use **external** DATA_DIR in production, this way
> > > > you will NOT need to copy/paste lots of binary data during upgrades :)
> > > >
> > > > >
> > > > >
> > > > > بتاريخ الاثنين، 10 تموز 2023 في 02:09:41 م غرينتش+3، Maxim Solodovnik 
> > > > >  كتب:
> > > > >
> > > > >
> > > > > On Mon, 10 Jul 2023 at 18:06, Online Use 
> > > > >  wrote:
> > > > > >
> > > > 

Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released

2023-07-14 Thread Alvaro
...Maxim, in the tutorials is:

...and now we ́ll install kurento-media-server. But first we ́ll create the 
folder where will be the video recorder files we should make in rooms, as well 
as the uploaded files and documents:

mkdir -p /opt/om_data

...and install kurento 6.18.0:

(Only one line, with space between both)

docker run -d --name kms -p : --mount 
type=bind,source=/opt/om_data,target=/opt/om_data 
kurento/kurento-media-server:6.18.0

...for axample. That what you mean?


Alvaro





On Fri, 14 Jul 2023 10:03:34 +0700
Maxim Solodovnik  wrote:

> On Fri, 14 Jul 2023 at 02:54, Online Use  wrote:
> >
> > The hibernate folder path is:
> >
> > /home/website_home/data_dir/streams/hibernate/
> 
> In such case docket should have parameter: `-v
> /home/website_home/data_dir:/home/website_home/data_dir`
> So both will write the same folder
> 
> >
> > My comment regarding the installation guide before wasn't related to 
> > syntax, but was related to your recommendation to move the data_dir under 
> > docker, because this was not mentioned in the installation guide althought 
> > they used docker to install KMS.
> >
> 
> @Alvaro maybe you can add data_dir mapping for the dockerized KMS to
> user guide? :)
> 
> >
> > بتاريخ الثلاثاء، 11 تموز 2023 في 05:44:34 ص غرينتش+3، Maxim Solodovnik 
> >  كتب:
> >
> >
> > On Tue, 11 Jul 2023 at 02:23, Online Use  
> > wrote:
> > >
> > > Hello,
> > >
> > > You said that *.webm file is being written by KMS and being used as 
> > > source while creating recording file, but I see the recording .wav files 
> > > under the "streams/9/" folder are already created,
> >
> > If I remember correctly *.wav files are generated using silence.wav in
> > case of any problem 
> >
> > Could you share full path for the hibernate folder please?
> >
> > > meaning that the .webm files have been there is the "hibernate" folder 
> > > and have been consumed to create the final recording files and then 
> > > deleted afterwards. So the problem is neither with the data directory 
> > > location nor with permissions, the problem is with the recorded files 
> > > themselves, recording error, the .wav files are there with data, but only 
> > > blan screen. May be mal-formated?
> > >
> > > What do you think?
> > >
> > >
> > >
> > > بتاريخ الاثنين، 10 تموز 2023 في 05:25:34 م غرينتش+3، Maxim Solodovnik 
> > >  كتب:
> > >
> > >
> > > On Mon, 10 Jul 2023 at 19:33, Online Use  
> > > wrote:
> > > >
> > > > In the installation guide, Kurento is installed inside docker using 
> > > > this command:
> > > >
> > > > sudo docker run -d --name kms -p : --mount 
> > > > type=bind,source=/opt/om_data,target=/opt/om_data 
> > > > kurento/kurento-media-server
> > > >
> > >
> > > I have to mention:
> > >
> > > 1)
> > > `--mount type=bind,source=/opt/om_data,target=/opt/om_data`
> > > and
> > > `-v /opt/om_data:/opt/om_data`
> > > are the same option :) (I'm just using shorter syntax :)))
> > >
> > > 2) I read the installation guide long time ago, but never follow (The
> > > guide is super clear and saves lots of time to many many users :))
> > > I'm developing OM for ~10 years so I don't need guide ;)
> > >
> > > (my command contains local DATA_DIR I'm using during development)
> > >
> > > 3) In your original email you cut the real paths:
> > >streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f_FINAL_WAVE.wav
> > >streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f.webm
> > > .
> > > So I can't guess what are your full paths :(
> > >
> > >
> > >
> > > > I just did the same during installation.
> > > >
> > > > It seems that you are trying to change the source and target directory 
> > > > values after installation using the command that you mentioned in your 
> > > > reply below, but I don't understand to where are the paths in your 
> > > > command referring? are these supposed to be the old om_data directory 
> > > > paths?
> > > >
> > >
> > > By default OM uses DATA_DIR inside the folder it was extracted to
> > > it is good idea to use **external** DATA_DIR in production, this way
> > > you will NOT need to copy/paste lots of binary data during upgrades :)
> > >
> > > >
> > > >
> > > > بتاريخ الاثنين، 10 تموز 2023 في 02:09:41 م غرينتش+3، Maxim Solodovnik 
> > > >  كتب:
> > > >
> > > >
> > > > On Mon, 10 Jul 2023 at 18:06, Online Use  
> > > > wrote:
> > > > >
> > > > > I set the permission of the data directory recursively as 777 so that 
> > > > > it's writable by all users. I tested but got same errors.
> > > >
> > > > Another point: DATA_DIR should be mapped inside docker
> > > >
> > > > Here is the example:
> > > > ```
> > > > docker run -it -v
> > > > /home/solomax/work/openmeetings/kms/etc-kurento:/etc/kurento -v
> > > > /home/solomax/work/openmeetings/data:/home/solomax/work/openmeetings/data
> > > > --network host kurento/kurento-media-server:7.0.0 bash
> > > > ```
> > > >
> > > > this way KMS will write to the correct folder :)
> > > >
> > > >
> > > > >
> > > > >