Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released
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 needed to change > > > > > the port number in Kurento conf file. > > > > > > > > > > Now I tested recording and it shows some error. The data directory > > > > > path is correct, folders exist and their permission is 750. I found a > > > > > recording file but blank screen, with size exceeding 3MB.
Re: [ANNOUNCE] Apache OpenMeetings 7.1.0 is released
The hibernate folder path is: /home/website_home/data_dir/streams/hibernate/ 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. بتاريخ الثلاثاء، 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 needed to change > > > > the port number in Kurento conf file. > > > > > > > > Now I tested recording and it shows some error. The data directory path > > > > is correct, folders exist and their permission is 750. I found a > > > > recording file but blank screen, with size exceeding 3MB. > > > > > > > > I checeked the error trace, and I see the following notices: > > > > > > > > process: generate MP4 > > > > - hibernate folder is empty > > > > - The recording file name is: > > > > streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f_FINAL_WAVE.wav, > > > > but the error trace refers to file which doesn't exist: > > > > streams/9/rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f.webm: No such file > > > > or directory > > > > > > > > > > I believe the issue is in > > > "rec_6_962a4647-ae73-4fc7-afda-3c5897b5925f.webm: No