[jira] [Updated] (OPENMEETINGS-2192) Access denied. You have no rights to enter this room.
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Solodovnik updated OPENMEETINGS-2192: --- Component/s: (was: Room) SOAP/REST API External issue URL: https://github.com/openmeetings/openmeetings-moodle-plugin/issues/41 Fix Version/s: (was: 5.0.0-M3) 5.0.0-M4 Priority: Blocker (was: Major) > Access denied. You have no rights to enter this room. > - > > Key: OPENMEETINGS-2192 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2192 > Project: Openmeetings > Issue Type: Bug > Components: SOAP/REST API >Affects Versions: 5.0.0-M3 >Reporter: LUIZ AUGUSTO MACHADO >Assignee: Maxim Solodovnik >Priority: Blocker > Labels: moodle > Fix For: 5.0.0-M4 > > > When someone try to access the room from moodle it gets this erro: Access > denied. You have no rights to enter this room. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2191) Recording file is not found
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17066363#comment-17066363 ] LUIZ AUGUSTO MACHADO commented on OPENMEETINGS-2191: This is the result of the PS: PID TTY TIME CMD 1 ? 00:00:06 systemd 2 ? 00:00:00 kthreadd 4 ? 00:00:00 kworker/0:0H 6 ? 00:00:00 ksoftirqd/0 7 ? 00:00:00 migration/0 8 ? 00:00:00 rcu_bh 9 ? 00:00:15 rcu_sched 10 ? 00:00:00 lru-add-drain 11 ? 00:00:00 watchdog/0 12 ? 00:00:00 watchdog/1 13 ? 00:00:00 migration/1 14 ? 00:00:00 ksoftirqd/1 16 ? 00:00:00 kworker/1:0H 17 ? 00:00:00 watchdog/2 18 ? 00:00:00 migration/2 19 ? 00:00:00 ksoftirqd/2 21 ? 00:00:00 kworker/2:0H 22 ? 00:00:00 watchdog/3 23 ? 00:00:00 migration/3 24 ? 00:00:00 ksoftirqd/3 26 ? 00:00:00 kworker/3:0H 28 ? 00:00:00 kdevtmpfs 29 ? 00:00:00 netns 30 ? 00:00:00 khungtaskd 31 ? 00:00:00 writeback 32 ? 00:00:00 kintegrityd 33 ? 00:00:00 bioset 34 ? 00:00:00 bioset 35 ? 00:00:00 bioset 36 ? 00:00:00 kblockd 37 ? 00:00:00 md 38 ? 00:00:00 edac-poller 39 ? 00:00:00 watchdogd 45 ? 00:00:00 kswapd0 46 ? 00:00:00 ksmd 47 ? 00:00:00 khugepaged 48 ? 00:00:00 crypto 56 ? 00:00:00 kthrotld 57 ? 00:00:00 kworker/u8:1 58 ? 00:00:00 kmpath_rdacd 59 ? 00:00:00 kaluad 61 ? 00:00:00 kpsmoused 62 ? 00:00:00 ipv6_addrconf 75 ? 00:00:00 deferwq 112 ? 00:00:00 kauditd 256 ? 00:00:00 ata_sff 357 ? 00:00:00 scsi_eh_0 364 ? 00:00:00 scsi_tmf_0 368 ? 00:00:00 scsi_eh_1 371 ? 00:00:00 scsi_tmf_1 519 ? 00:00:00 kworker/0:1H 537 ? 00:00:00 bioset 538 ? 00:00:00 xfsalloc 539 ? 00:00:00 xfs_mru_cache 540 ? 00:00:00 xfs-buf/vda1 541 ? 00:00:00 xfs-data/vda1 542 ? 00:00:00 xfs-conv/vda1 543 ? 00:00:00 xfs-cil/vda1 544 ? 00:00:00 xfs-reclaim/vda 545 ? 00:00:00 xfs-log/vda1 546 ? 00:00:00 xfs-eofblocks/v 547 ? 00:00:05 xfsaild/vda1 548 ? 00:00:00 kworker/2:1H 628 ? 00:00:01 systemd-journal 656 ? 00:00:00 lvmetad 658 ? 00:00:00 systemd-udevd 886 ? 00:00:00 kworker/3:1H 1006 ? 00:00:00 nfit 1012 ? 00:00:00 auditd 1016 ? 00:00:00 kworker/1:1H 1052 ? 00:00:00 irqbalance 1057 ? 00:00:00 smartd 1058 ? 00:00:00 pure-authd 1060 ? 00:00:01 dbus-daemon 1062 ? 00:00:00 chronyd 1074 ? 00:00:00 polkitd 1075 ? 00:00:00 systemd-logind 1085 ? 00:00:00 rpcbind 1103 ? 00:00:00 exim 1192 ? 00:00:00 queueprocd - wa 1215 ? 00:00:00 loop0 1220 ? 00:00:00 jbd2/loop0-8 1221 ? 00:00:00 ext4-rsv-conver 1374 ? 00:00:34 nydus-ex-api 1375 ? 00:00:00 dovecot 1376 ? 00:00:03 nydus-ex 1378 ? 00:00:01 tuned 1379 ? 00:00:00 pure-ftpd 1399 ? 00:00:00 pop3-login 1400 ? 00:00:00 imap-login 1401 ? 00:00:00 anvil 1402 ? 00:00:00 log 1403 ? 00:00:00 pop3-login 1405 ? 00:00:00 imap-login 1406 ? 00:00:00 config 1408 ? 00:00:00 stats 1601 ? 00:00:00 sshd 1605 ? 00:00:01 rsyslogd 1614 ? 00:00:00 crond 1617 ? 00:00:00 atd 1637 ttyS0 00:00:00 agetty 1638 tty1 00:00:00 agetty 1688 ? 00:00:05 spamd 1736 ? 00:00:00 named 1860 ? 00:00:00 python3.5 1861 ? 00:00:00 python3.5 1862 ? 00:00:00 python3.5 1863 ? 00:00:00 python3.5 1865 ? 00:00:03 cpsrvd (SSL) - 1876 ? 00:00:00 cpanellogd - sl 1893 ? 00:00:00 dnsadmin - dorm 1902 ? 00:00:00 cPhulkd - proce 1912 ? 00:00:00 tailwatchd 1931 ? 00:00:00 httpd 1934 ? 00:00:00 splitlogs 1935 ? 00:00:00 splitlogs 1936 ? 00:00:00 leechprotect 2017 ? 00:00:00 cpdavd - accept 2028 ? 00:03:01 mysqld 2104 ? 00:00:00 httpd 2114 ? 00:00:00 cPhulkd - dbpro 2212 ? 00:00:18 containerd 2213 ? 00:00:05 dockerd 2445 ? 00:00:00 docker-proxy 2452 ? 00:00:02 containerd-shim 2469 ? 00:00:00 kurento-media-s 2546 ? 00:03:13 java 3098 ? 00:00:03 spamd child 3099 ? 00:00:00 spamd child 3116 ? 00:00:01 nscd 6655 ? 00:00:00 httpd 13030 ? 00:00:00 httpd 15926 ? 00:00:00 httpd 16446 ? 00:00:00 httpd 16451 ? 00:00:00 httpd 20743 ? 00:00:00 kworker/2:0 20808 ? 00:00:00 kworker/3:0 21525 ? 00:00:00 httpd 21738 ? 00:00:00 kworker/1:2 22516 ? 00:00:00 kworker/0:0 22734 ? 00:00:00 kworker/u8:0 22776 ? 00:00:00 sshd 22809 ? 00:00:00 sshd 22812 pts/0 00:00:00 bash 22848 pts/0 00:00:00 sudo 22849 pts/0 00:00:00 su 22850 pts/0 00:00:00 bash 22915 ? 00:00:00 httpd 22919 ? 00:00:00 kworker/2:2 22966 ? 00:00:00 kworker/1:0 23109 ? 00:00:00 kworker/3:1 23226 ? 00:00:00 kworker/0:1 23262 ? 00:00:00 kworker/2:1 23521 ? 00:00:00 httpd 23538 ? 00:00:00 httpd 23567 ? 00:00:00 kworker/2:3 23599 ? 00:00:00 kworker/1:1 23660 ? 00:00:00 auth 23750 ? 00:00:00 kworker/0:2 23814 pts/0 00:00:00 ps [root@s72-167-224-172 iuhost]# ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 16:39 ? 00:00:06 /usr/lib/systemd/systemd --switched-root --system --deserialize 22 root 2 0 0 16:39 ? 00:00:00 [kthreadd] root 4 2 0 16:39 ? 00:00:00 [kworker/0:0H] root 6 2 0 16:39 ? 00:00:00 [ksoftirqd/0] root 7 2 0 16:39 ? 00:00:00 [migration/0] root 8 2 0 16:39 ? 00:00:00 [rcu_bh] root 9 2 0 16:39 ? 00:00:15 [rcu_sched] root 10 2 0 16:39 ? 00:00:00 [lru-add-drain]
[jira] [Comment Edited] (OPENMEETINGS-2191) Recording file is not found
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17066358#comment-17066358 ] LUIZ AUGUSTO MACHADO edited comment on OPENMEETINGS-2191 at 3/25/20, 3:44 AM: -- Hi, 1) Yes KMS is running and the port is open. look: !image-2020-03-25-00-40-58-725.png! !image-2020-03-25-00-42-53-189.png! 2) can you explain me more about some user? and the 'ps'? was (Author: machadovar): Hi, 1) Yes KMS is running and the port is open. look: !image-2020-03-25-00-40-58-725.png! 2) can you explain me more about some user? and the 'ps'? > Recording file is not found > --- > > Key: OPENMEETINGS-2191 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191 > Project: Openmeetings > Issue Type: Bug > Components: Audio/Video >Affects Versions: 5.0.0-M3 > Environment: Centos 7 VPS >Reporter: LUIZ AUGUSTO MACHADO >Assignee: Maxim Solodovnik >Priority: Critical > Labels: recording > Attachments: image-2020-03-24-10-37-20-468.png, > image-2020-03-24-10-38-07-290.png, image-2020-03-25-00-40-58-725.png, > image-2020-03-25-00-42-53-189.png > > > After I finished recording and I go to my records it shows a file with an > exclamation and I click on the script exclamation it opens a new windows that > is supposed to show me some log to resolve it. but there is nothing just a > message saying Recording file is not found. > And also the recording test in webcam configuration is not working. > > > !image-2020-03-24-10-37-20-468.png! !image-2020-03-24-10-38-07-290.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Comment Edited] (OPENMEETINGS-2191) Recording file is not found
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17066358#comment-17066358 ] LUIZ AUGUSTO MACHADO edited comment on OPENMEETINGS-2191 at 3/25/20, 3:42 AM: -- Hi, 1) Yes KMS is running and the port is open. look: !image-2020-03-25-00-40-58-725.png! 2) can you explain me more about some user? and the 'ps'? was (Author: machadovar): Hi, 1) Yes KMS is running and the port is open. look: !image-2020-03-25-00-38-16-293.png! !image-2020-03-25-00-39-21-453.png! 2) can you explain me more about some user? and the 'ps'? > Recording file is not found > --- > > Key: OPENMEETINGS-2191 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191 > Project: Openmeetings > Issue Type: Bug > Components: Audio/Video >Affects Versions: 5.0.0-M3 > Environment: Centos 7 VPS >Reporter: LUIZ AUGUSTO MACHADO >Assignee: Maxim Solodovnik >Priority: Critical > Labels: recording > Attachments: image-2020-03-24-10-37-20-468.png, > image-2020-03-24-10-38-07-290.png, image-2020-03-25-00-40-58-725.png > > > After I finished recording and I go to my records it shows a file with an > exclamation and I click on the script exclamation it opens a new windows that > is supposed to show me some log to resolve it. but there is nothing just a > message saying Recording file is not found. > And also the recording test in webcam configuration is not working. > > > !image-2020-03-24-10-37-20-468.png! !image-2020-03-24-10-38-07-290.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2191) Recording file is not found
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17066358#comment-17066358 ] LUIZ AUGUSTO MACHADO commented on OPENMEETINGS-2191: Hi, 1) Yes KMS is running and the port is open. look: !image-2020-03-25-00-38-16-293.png! !image-2020-03-25-00-39-21-453.png! 2) can you explain me more about some user? and the 'ps'? > Recording file is not found > --- > > Key: OPENMEETINGS-2191 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191 > Project: Openmeetings > Issue Type: Bug > Components: Audio/Video >Affects Versions: 5.0.0-M3 > Environment: Centos 7 VPS >Reporter: LUIZ AUGUSTO MACHADO >Assignee: Maxim Solodovnik >Priority: Critical > Labels: recording > Attachments: image-2020-03-24-10-37-20-468.png, > image-2020-03-24-10-38-07-290.png > > > After I finished recording and I go to my records it shows a file with an > exclamation and I click on the script exclamation it opens a new windows that > is supposed to show me some log to resolve it. but there is nothing just a > message saying Recording file is not found. > And also the recording test in webcam configuration is not working. > > > !image-2020-03-24-10-37-20-468.png! !image-2020-03-24-10-38-07-290.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2193) The video is not recorded...install Kurento Media Server in an Amazon EC2 instance
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17066357#comment-17066357 ] Maxim Solodovnik commented on OPENMEETINGS-2193: No sure I got the question But here is the *_latest_* docs for KMS at AWS https://doc-kurento.readthedocs.io/en/stable/user/installation.html#amazon-web-services > The video is not recorded...install Kurento Media Server in an Amazon EC2 > instance > -- > > Key: OPENMEETINGS-2193 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2193 > Project: Openmeetings > Issue Type: Test > Components: Audio/Video, Recordings >Affects Versions: 5.0.0-M2, 5.0.0-M3 > Environment: AWS Lightsail instance, Ubuntu 18.04 >Reporter: Jorge Alberto Londoño Giraldo >Assignee: Maxim Solodovnik >Priority: Major > > The video is not recorded, but it does not show problems. > I could solve this problem with the following documentation, basically it is > necessary to install and configure coturn according to this Kurento guide: > [https://doc-kurento.readthedocs.io/en/6.6.2/faq.html] > How do I… > …install Kurento Media Server in an Amazon EC2 instance? > > On Ubuntu 16.04 (Xenial), this TURN server can be installed directly from the > package repositories: > sudo apt-get install coturn > However, Ubuntu 14.04 (Trusty) lacks this package, but it can be downloaded > and installed manually from the Debian repositories: > # Download the file {{coturn_<...>_amd64.deb}} from any of the mirrors > listed here: > [https://packages.debian.org/jessie-backports/amd64/coturn/download] > # Install it, together with all dependencies. > sudo apt-get update sudo apt-get install gdebi-core sudo gdebi coturn*.deb > # Edit the file {{/etc/turnserver.conf}} and configure the TURN server. > ** For Amazon EC2 or similar, the Local and External IPs should be > configured via the {{relay-ip}} and {{external-ip}} parameters, respectively. > ** Enable the options needed for WebRTC: > *** {{fingerprint}} > *** {{lt-cred-mech}} > *** {{realm=kurento.org}} > ** Create a user and a password in the system, which will be used by the > long-term credentials mechanism. As an example, the user “kurento” and > password “kurentopw” are used. Add them in the configuration file: > {{user=kurento:kurentopw}}. > ** Optionally, debug log messages can be prevented to be printed on the > standard output, enabling the option {{no-stdout-log}}. > ** Other parameters can be tuned as needed. For more information, check the > coturn help pages: > *** [https://github.com/coturn/coturn/wiki/turnserver] > *** [https://github.com/coturn/coturn/wiki/CoturnConfig] > # Edit the file {{/etc/default/coturn}} and uncomment > {{TURNSERVER_ENABLED=1}}, so the TURN server run automatically as a system > service daemon. > # Configure KMS and point it to where the TURN server is listening for > connections. Edit the file > {{/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini}} and set the > {{turnURL}} parameter: > turnURL=kurento:kurentopw@:3478 > The following ports should be open in the firewall: > * 3478 TCP & UDP > * 49152 - 65535 UDP: As per [*RFC > 5766*|https://tools.ietf.org/html/rfc5766.html], these are the ports that the > TURN server will use to exchange media. These ports can be changed using the > {{min-port}} and {{max-port}} parameters on the TURN server. > Note > While the RFC specifies the ports used by TURN, if you are using STUN you > will need to open all UDP ports, as those ports are not constrained. > 6. The last thing to do, is to start the {{coturn}} server and the media > server: > sudo service coturn start \ && sudo service kurento-media-server-6.0 restart -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2191) Recording file is not found
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17066355#comment-17066355 ] Maxim Solodovnik commented on OPENMEETINGS-2191: Hello [~machadovar], It seems your KMS is not installed mis-configured Can you check 1) KMS is running (by default will listen at port ) 2) both OM and KMS are started using same user (usually `ps ` can help here) > Recording file is not found > --- > > Key: OPENMEETINGS-2191 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191 > Project: Openmeetings > Issue Type: Bug > Components: Audio/Video >Affects Versions: 5.0.0-M3 > Environment: Centos 7 VPS >Reporter: LUIZ AUGUSTO MACHADO >Assignee: Maxim Solodovnik >Priority: Critical > Labels: recording > Attachments: image-2020-03-24-10-37-20-468.png, > image-2020-03-24-10-38-07-290.png > > > After I finished recording and I go to my records it shows a file with an > exclamation and I click on the script exclamation it opens a new windows that > is supposed to show me some log to resolve it. but there is nothing just a > message saying Recording file is not found. > And also the recording test in webcam configuration is not working. > > > !image-2020-03-24-10-37-20-468.png! !image-2020-03-24-10-38-07-290.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OPENMEETINGS-2191) Recording file is not found
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Solodovnik updated OPENMEETINGS-2191: --- Fix Version/s: (was: 5.0.0-M3) > Recording file is not found > --- > > Key: OPENMEETINGS-2191 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191 > Project: Openmeetings > Issue Type: Bug > Components: Audio/Video >Affects Versions: 5.0.0-M3 > Environment: Centos 7 VPS >Reporter: LUIZ AUGUSTO MACHADO >Assignee: Maxim Solodovnik >Priority: Critical > Labels: recording > Attachments: image-2020-03-24-10-37-20-468.png, > image-2020-03-24-10-38-07-290.png > > > After I finished recording and I go to my records it shows a file with an > exclamation and I click on the script exclamation it opens a new windows that > is supposed to show me some log to resolve it. but there is nothing just a > message saying Recording file is not found. > And also the recording test in webcam configuration is not working. > > > !image-2020-03-24-10-37-20-468.png! !image-2020-03-24-10-38-07-290.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2186) Clustering does nothing in version 5.0-M3
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17066335#comment-17066335 ] ASF subversion and git services commented on OPENMEETINGS-2186: --- Commit e2d19a8a6a336660a18530daa3467d3e775dbf90 in openmeetings's branch refs/heads/master from Maxim Solodovnik [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=e2d19a8 ] [OPENMEETINGS-2186] documentation update > Clustering does nothing in version 5.0-M3 > - > > Key: OPENMEETINGS-2186 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2186 > Project: Openmeetings > Issue Type: Bug > Components: Cluster >Affects Versions: 5.0.0-M3 > Environment: Ubuntu 18.04 LTS >Reporter: Aleix Dorca >Assignee: Maxim Solodovnik >Priority: Blocker > Fix For: 5.0.0-M4 > > > I can not, for the life of me, to get Clustering to work. I have followed the > latest guide: [https://openmeetings.apache.org/Clustering.html]. My setup is > 100% local, no NAT or any kind of routing between networks. > Here is a summary of the steps I have followed: > * Two OM servers, both installed using the Ubuntu Bionic 18.04 LTS guide. > Local IPs: 192.168.0.100/24 and 192.168.0.101/24. > * One (the primary if you will) has the MySQL server and shares the > stream/upload folders using NFS. No problems with this. > * When I log into any OM server and access rooms, all (video, audio, > recording/sharing screen, files...) works as expected. > I have, then, followed the Clustering guide to: > * Enable Multicast. Works without any problems. > * Share database and folders > * Enable multicast on OM, on both nodes. > * Restart OM. > * I see pings and cluster goes online. > I can see that all starts fine. The cluster is up with both instances > detected: > {noformat} > Members {size:2, ver:2} [ > Member [192.168.0.100]:5701 - d8a5272a-cc80-42cf-98bd-80b04a2b5c7f this > Member [192.168.0.101]:5701 - a7746996-cc40-46e6-9a4a-75be0b28e7f7 > ] > {noformat} > From this moment I try to ensure everything works as expected: > * Login with two users and go to the same room: Both users have logged in on > the server 192.168.0.100. On the Connections tab I see both are in > "server-1". So far so good. > * Enter a room, both users end up in the same room, in the same server, > still "server-1". Ok... I guess. > * Login with two users from different servers and then go to the same room: > Yes, they see each other, but chat does not work, video and audio do not work > as well. It looks like the clustering configuration does no re-route the > second user to the first server. > * Login with four users and access two different rooms: The problems above > are seen again, there is never any re-routing of users so they end up always > in rooms in the server they have initially logged in. > Thanks for any tips that can enlighten me. > Aleix. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch master updated: [OPENMEETINGS-2186] documentation update
This is an automated email from the ASF dual-hosted git repository. solomax pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings.git The following commit(s) were added to refs/heads/master by this push: new e2d19a8 [OPENMEETINGS-2186] documentation update e2d19a8 is described below commit e2d19a8a6a336660a18530daa3467d3e775dbf90 Author: Maxim Solodovnik AuthorDate: Wed Mar 25 09:45:06 2020 +0700 [OPENMEETINGS-2186] documentation update --- openmeetings-server/src/site/xdoc/Clustering.xml | 36 ++-- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/openmeetings-server/src/site/xdoc/Clustering.xml b/openmeetings-server/src/site/xdoc/Clustering.xml index 3002e99..71619d4 100644 --- a/openmeetings-server/src/site/xdoc/Clustering.xml +++ b/openmeetings-server/src/site/xdoc/Clustering.xml @@ -48,7 +48,7 @@ Check your network interface supports multicast by running the following command in a terminal window: ifconfig -a When you see MULTICAST against your network interface, it means your - kernel is complied with Multicast option and your network interface supports it. + kernel is compiled with Multicast option and your network interface supports it. Check if multicast routing is configured: netstat -nr @@ -89,10 +89,12 @@ If files and recordings using the same physical folders the files and recordings will be available for each node. You can do this using Samba or NFS, for example. For using NFS do the following: + + To ease upgrade process set OM data dir to some external folder: for ex. /opt/omdata + Install NFS to the data server. In the file /etc/exports add the following lines: -/opt/om/webapps/openmeetings/upload 10.1.1.2(rw,sync,no_subtree_check,no_root_squash) -/opt/om/webapps/openmeetings/streams 10.1.1.2(rw,sync,no_subtree_check,no_root_squash) +/opt/omdata 10.1.1.2(rw,sync,no_subtree_check,no_root_squash) Here 10.1.1.2 - is node ip for NFS remote access. Add these lines for all nodes except node with folders. @@ -100,10 +102,7 @@ Install NFS common tools to other nodes. In the file /etc/fstab do the following: -10.1.1.1:/opt/om/webapps/openmeetings/upload/ -/opt/om/webapps/openmeetings/upload nfs timeo=50,hard,intr -10.1.1.1:/opt/om/webapps/openmeetings/streams/ -/opt/om/webapps/openmeetings/streams nfs timeo=50,hard,intr +10.1.1.1:/opt/omdata /opt/omdata nfs timeo=50,hard,intr Here 10.1.1.1 – data server ip. And run the command: mount -a @@ -116,6 +115,7 @@ In the file /opt/om/webapps/openmeetings/WEB-INF/classes/hazelcast.xml: Set instance-name for each server to unique value + Set server.url for each server to full public URL of this server (please NOTE using of numeric IP address might broke HTTPS)) Comment out/delete following block: + Un-comment following block (ensure it contains valip parameters): + + + In case there are more than one network interface with multicast support and/or additional hazelcast configuration is required - Based on the
[jira] [Updated] (OPENMEETINGS-2193) The video is not recorded...install Kurento Media Server in an Amazon EC2 instance
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jorge Alberto Londoño Giraldo updated OPENMEETINGS-2193: Description: The video is not recorded, but it does not show problems. I could solve this problem with the following documentation, basically it is necessary to install and configure coturn according to this Kurento guide: [https://doc-kurento.readthedocs.io/en/6.6.2/faq.html] How do I… …install Kurento Media Server in an Amazon EC2 instance? On Ubuntu 16.04 (Xenial), this TURN server can be installed directly from the package repositories: sudo apt-get install coturn However, Ubuntu 14.04 (Trusty) lacks this package, but it can be downloaded and installed manually from the Debian repositories: # Download the file {{coturn_<...>_amd64.deb}} from any of the mirrors listed here: [https://packages.debian.org/jessie-backports/amd64/coturn/download] # Install it, together with all dependencies. sudo apt-get update sudo apt-get install gdebi-core sudo gdebi coturn*.deb # Edit the file {{/etc/turnserver.conf}} and configure the TURN server. ** For Amazon EC2 or similar, the Local and External IPs should be configured via the {{relay-ip}} and {{external-ip}} parameters, respectively. ** Enable the options needed for WebRTC: *** {{fingerprint}} *** {{lt-cred-mech}} *** {{realm=kurento.org}} ** Create a user and a password in the system, which will be used by the long-term credentials mechanism. As an example, the user “kurento” and password “kurentopw” are used. Add them in the configuration file: {{user=kurento:kurentopw}}. ** Optionally, debug log messages can be prevented to be printed on the standard output, enabling the option {{no-stdout-log}}. ** Other parameters can be tuned as needed. For more information, check the coturn help pages: *** [https://github.com/coturn/coturn/wiki/turnserver] *** [https://github.com/coturn/coturn/wiki/CoturnConfig] # Edit the file {{/etc/default/coturn}} and uncomment {{TURNSERVER_ENABLED=1}}, so the TURN server run automatically as a system service daemon. # Configure KMS and point it to where the TURN server is listening for connections. Edit the file {{/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini}} and set the {{turnURL}} parameter: turnURL=kurento:kurentopw@:3478 The following ports should be open in the firewall: * 3478 TCP & UDP * 49152 - 65535 UDP: As per [*RFC 5766*|https://tools.ietf.org/html/rfc5766.html], these are the ports that the TURN server will use to exchange media. These ports can be changed using the {{min-port}} and {{max-port}} parameters on the TURN server. Note While the RFC specifies the ports used by TURN, if you are using STUN you will need to open all UDP ports, as those ports are not constrained. 6. The last thing to do, is to start the {{coturn}} server and the media server: sudo service coturn start \ && sudo service kurento-media-server-6.0 restart was: The video is not recorded, but it does not show problems. I could solve this problem with the following documentation, basically it is necessary to install and configure coturn according to this Kurento guide: [https://doc-kurento.readthedocs.io/en/6.6.2/faq.html] How do I… …install Kurento Media Server in an Amazon EC2 instance? > The video is not recorded...install Kurento Media Server in an Amazon EC2 > instance > -- > > Key: OPENMEETINGS-2193 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2193 > Project: Openmeetings > Issue Type: Test > Components: Audio/Video, Recordings >Affects Versions: 5.0.0-M2, 5.0.0-M3 > Environment: AWS Lightsail instance, Ubuntu 18.04 >Reporter: Jorge Alberto Londoño Giraldo >Assignee: Maxim Solodovnik >Priority: Major > > The video is not recorded, but it does not show problems. > I could solve this problem with the following documentation, basically it is > necessary to install and configure coturn according to this Kurento guide: > [https://doc-kurento.readthedocs.io/en/6.6.2/faq.html] > How do I… > …install Kurento Media Server in an Amazon EC2 instance? > > On Ubuntu 16.04 (Xenial), this TURN server can be installed directly from the > package repositories: > sudo apt-get install coturn > However, Ubuntu 14.04 (Trusty) lacks this package, but it can be downloaded > and installed manually from the Debian repositories: > # Download the file {{coturn_<...>_amd64.deb}} from any of the mirrors > listed here: > [https://packages.debian.org/jessie-backports/amd64/coturn/download] > # Install it, together with all dependencies. > sudo apt-get update sudo apt-get install gdebi-core sudo gdebi coturn*.deb > # Edit the file
[jira] [Created] (OPENMEETINGS-2193) The video is not recorded...install Kurento Media Server in an Amazon EC2 instance
Jorge Alberto Londoño Giraldo created OPENMEETINGS-2193: --- Summary: The video is not recorded...install Kurento Media Server in an Amazon EC2 instance Key: OPENMEETINGS-2193 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2193 Project: Openmeetings Issue Type: Test Components: Audio/Video, Recordings Affects Versions: 5.0.0-M3, 5.0.0-M2 Environment: AWS Lightsail instance, Ubuntu 18.04 Reporter: Jorge Alberto Londoño Giraldo Assignee: Maxim Solodovnik The video is not recorded, but it does not show problems. I could solve this problem with the following documentation, basically it is necessary to install and configure coturn according to this Kurento guide: [https://doc-kurento.readthedocs.io/en/6.6.2/faq.html] How do I… …install Kurento Media Server in an Amazon EC2 instance? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (OPENMEETINGS-2192) Access denied. You have no rights to enter this room.
LUIZ AUGUSTO MACHADO created OPENMEETINGS-2192: -- Summary: Access denied. You have no rights to enter this room. Key: OPENMEETINGS-2192 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2192 Project: Openmeetings Issue Type: Bug Components: Room Affects Versions: 5.0.0-M3 Reporter: LUIZ AUGUSTO MACHADO Assignee: Maxim Solodovnik Fix For: 5.0.0-M3 When someone try to access the room from moodle it gets this erro: Access denied. You have no rights to enter this room. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2186) Clustering does nothing in version 5.0-M3
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17065956#comment-17065956 ] Maxim Solodovnik commented on OPENMEETINGS-2186: Hello [~aleixdorca], my local tests works for om internal users (have to do some more work on hashes) Could you check latest SNAPSHOT? (#3061+ from https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/) Please NOTE hazelcast.xml was changed documentation is outdated ... > Clustering does nothing in version 5.0-M3 > - > > Key: OPENMEETINGS-2186 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2186 > Project: Openmeetings > Issue Type: Bug > Components: Cluster >Affects Versions: 5.0.0-M3 > Environment: Ubuntu 18.04 LTS >Reporter: Aleix Dorca >Assignee: Maxim Solodovnik >Priority: Blocker > Fix For: 5.0.0-M4 > > > I can not, for the life of me, to get Clustering to work. I have followed the > latest guide: [https://openmeetings.apache.org/Clustering.html]. My setup is > 100% local, no NAT or any kind of routing between networks. > Here is a summary of the steps I have followed: > * Two OM servers, both installed using the Ubuntu Bionic 18.04 LTS guide. > Local IPs: 192.168.0.100/24 and 192.168.0.101/24. > * One (the primary if you will) has the MySQL server and shares the > stream/upload folders using NFS. No problems with this. > * When I log into any OM server and access rooms, all (video, audio, > recording/sharing screen, files...) works as expected. > I have, then, followed the Clustering guide to: > * Enable Multicast. Works without any problems. > * Share database and folders > * Enable multicast on OM, on both nodes. > * Restart OM. > * I see pings and cluster goes online. > I can see that all starts fine. The cluster is up with both instances > detected: > {noformat} > Members {size:2, ver:2} [ > Member [192.168.0.100]:5701 - d8a5272a-cc80-42cf-98bd-80b04a2b5c7f this > Member [192.168.0.101]:5701 - a7746996-cc40-46e6-9a4a-75be0b28e7f7 > ] > {noformat} > From this moment I try to ensure everything works as expected: > * Login with two users and go to the same room: Both users have logged in on > the server 192.168.0.100. On the Connections tab I see both are in > "server-1". So far so good. > * Enter a room, both users end up in the same room, in the same server, > still "server-1". Ok... I guess. > * Login with two users from different servers and then go to the same room: > Yes, they see each other, but chat does not work, video and audio do not work > as well. It looks like the clustering configuration does no re-route the > second user to the first server. > * Login with four users and access two different rooms: The problems above > are seen again, there is never any re-routing of users so they end up always > in rooms in the server they have initially logged in. > Thanks for any tips that can enlighten me. > Aleix. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2186) Clustering does nothing in version 5.0-M3
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17065926#comment-17065926 ] ASF subversion and git services commented on OPENMEETINGS-2186: --- Commit 8f880174688ffe99d92d4a87ca5a77111005d7af in openmeetings's branch refs/heads/master from Maxim Solodovnik [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=8f88017 ] [OPENMEETINGS-2186] token final test > Clustering does nothing in version 5.0-M3 > - > > Key: OPENMEETINGS-2186 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2186 > Project: Openmeetings > Issue Type: Bug > Components: Cluster >Affects Versions: 5.0.0-M3 > Environment: Ubuntu 18.04 LTS >Reporter: Aleix Dorca >Assignee: Maxim Solodovnik >Priority: Blocker > Fix For: 5.0.0-M4 > > > I can not, for the life of me, to get Clustering to work. I have followed the > latest guide: [https://openmeetings.apache.org/Clustering.html]. My setup is > 100% local, no NAT or any kind of routing between networks. > Here is a summary of the steps I have followed: > * Two OM servers, both installed using the Ubuntu Bionic 18.04 LTS guide. > Local IPs: 192.168.0.100/24 and 192.168.0.101/24. > * One (the primary if you will) has the MySQL server and shares the > stream/upload folders using NFS. No problems with this. > * When I log into any OM server and access rooms, all (video, audio, > recording/sharing screen, files...) works as expected. > I have, then, followed the Clustering guide to: > * Enable Multicast. Works without any problems. > * Share database and folders > * Enable multicast on OM, on both nodes. > * Restart OM. > * I see pings and cluster goes online. > I can see that all starts fine. The cluster is up with both instances > detected: > {noformat} > Members {size:2, ver:2} [ > Member [192.168.0.100]:5701 - d8a5272a-cc80-42cf-98bd-80b04a2b5c7f this > Member [192.168.0.101]:5701 - a7746996-cc40-46e6-9a4a-75be0b28e7f7 > ] > {noformat} > From this moment I try to ensure everything works as expected: > * Login with two users and go to the same room: Both users have logged in on > the server 192.168.0.100. On the Connections tab I see both are in > "server-1". So far so good. > * Enter a room, both users end up in the same room, in the same server, > still "server-1". Ok... I guess. > * Login with two users from different servers and then go to the same room: > Yes, they see each other, but chat does not work, video and audio do not work > as well. It looks like the clustering configuration does no re-route the > second user to the first server. > * Login with four users and access two different rooms: The problems above > are seen again, there is never any re-routing of users so they end up always > in rooms in the server they have initially logged in. > Thanks for any tips that can enlighten me. > Aleix. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch master updated: [OPENMEETINGS-2186] token final test
This is an automated email from the ASF dual-hosted git repository. solomax pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings.git The following commit(s) were added to refs/heads/master by this push: new 8f88017 [OPENMEETINGS-2186] token final test 8f88017 is described below commit 8f880174688ffe99d92d4a87ca5a77111005d7af Author: Maxim Solodovnik AuthorDate: Tue Mar 24 23:18:27 2020 +0700 [OPENMEETINGS-2186] token final test --- .../apache/openmeetings/web/app/ClientManager.java | 25 -- .../src/main/webapp/WEB-INF/classes/hazelcast.xml | 7 ++ 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java index 26f2442..598ead2 100644 --- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java +++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java @@ -358,28 +358,31 @@ public class ClientManager implements IClientManager { } } + private String getServerUrl(Map.Entry e, Room r) { + final String curServerId = app.getServerId(); + String serverId = e.getKey(); + if (!curServerId.equals(serverId)) { + addRoomToServer(serverId, r); + String uuid = UUID.randomUUID().toString(); + tokens().put(uuid, new InstantToken(getUserId(), r.getId())); + return e.getValue().getUrl() + "?token=" + uuid; + } + return null; + } + public String getServerUrl(Room r) { if (onlineServers.size() == 1) { return null; } - final String curServerId = app.getServerId(); Optional> existing = onlineServers.entrySet().stream() .filter(e -> e.getValue().getRooms().contains(r.getId())) .findFirst(); if (existing.isPresent()) { - String serverId = existing.get().getKey(); - return curServerId.equals(serverId) ? null : existing.get().getValue().getUrl(); + return getServerUrl(existing.get(), r); } Optional> min = onlineServers.entrySet().stream() .min((e1, e2) -> e1.getValue().getCapacity() - e2.getValue().getCapacity()); - String serverId = min.get().getKey(); - if (!curServerId.equals(serverId)) { - addRoomToServer(serverId, r); - String uuid = UUID.randomUUID().toString(); - tokens().put(uuid, new InstantToken(getUserId(), r.getId())); - return min.get().getValue().getUrl() + "?token=" + uuid; - } - return null; + return getServerUrl(min.get(), r); } Optional getToken(StringValue uuid) { diff --git a/openmeetings-web/src/main/webapp/WEB-INF/classes/hazelcast.xml b/openmeetings-web/src/main/webapp/WEB-INF/classes/hazelcast.xml index dc847e1..4103181 100644 --- a/openmeetings-web/src/main/webapp/WEB-INF/classes/hazelcast.xml +++ b/openmeetings-web/src/main/webapp/WEB-INF/classes/hazelcast.xml @@ -65,6 +65,13 @@ true + + + + OBJECT + true + + server-1 https://127.0.0.1:5443/openmeetings
[jira] [Commented] (OPENMEETINGS-2186) Clustering does nothing in version 5.0-M3
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17065897#comment-17065897 ] ASF subversion and git services commented on OPENMEETINGS-2186: --- Commit 95bd6a00c2f75870b4cc7fedaa108e225b2c8c14 in openmeetings's branch refs/heads/master from Maxim Solodovnik [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=95bd6a0 ] [OPENMEETINGS-2186] initial commit on token > Clustering does nothing in version 5.0-M3 > - > > Key: OPENMEETINGS-2186 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2186 > Project: Openmeetings > Issue Type: Bug > Components: Cluster >Affects Versions: 5.0.0-M3 > Environment: Ubuntu 18.04 LTS >Reporter: Aleix Dorca >Assignee: Maxim Solodovnik >Priority: Blocker > Fix For: 5.0.0-M4 > > > I can not, for the life of me, to get Clustering to work. I have followed the > latest guide: [https://openmeetings.apache.org/Clustering.html]. My setup is > 100% local, no NAT or any kind of routing between networks. > Here is a summary of the steps I have followed: > * Two OM servers, both installed using the Ubuntu Bionic 18.04 LTS guide. > Local IPs: 192.168.0.100/24 and 192.168.0.101/24. > * One (the primary if you will) has the MySQL server and shares the > stream/upload folders using NFS. No problems with this. > * When I log into any OM server and access rooms, all (video, audio, > recording/sharing screen, files...) works as expected. > I have, then, followed the Clustering guide to: > * Enable Multicast. Works without any problems. > * Share database and folders > * Enable multicast on OM, on both nodes. > * Restart OM. > * I see pings and cluster goes online. > I can see that all starts fine. The cluster is up with both instances > detected: > {noformat} > Members {size:2, ver:2} [ > Member [192.168.0.100]:5701 - d8a5272a-cc80-42cf-98bd-80b04a2b5c7f this > Member [192.168.0.101]:5701 - a7746996-cc40-46e6-9a4a-75be0b28e7f7 > ] > {noformat} > From this moment I try to ensure everything works as expected: > * Login with two users and go to the same room: Both users have logged in on > the server 192.168.0.100. On the Connections tab I see both are in > "server-1". So far so good. > * Enter a room, both users end up in the same room, in the same server, > still "server-1". Ok... I guess. > * Login with two users from different servers and then go to the same room: > Yes, they see each other, but chat does not work, video and audio do not work > as well. It looks like the clustering configuration does no re-route the > second user to the first server. > * Login with four users and access two different rooms: The problems above > are seen again, there is never any re-routing of users so they end up always > in rooms in the server they have initially logged in. > Thanks for any tips that can enlighten me. > Aleix. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch master updated: [OPENMEETINGS-2186] initial commit on token
This is an automated email from the ASF dual-hosted git repository. solomax pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings.git The following commit(s) were added to refs/heads/master by this push: new 95bd6a0 [OPENMEETINGS-2186] initial commit on token 95bd6a0 is described below commit 95bd6a00c2f75870b4cc7fedaa108e225b2c8c14 Author: Maxim Solodovnik AuthorDate: Tue Mar 24 22:35:08 2020 +0700 [OPENMEETINGS-2186] initial commit on token --- .../db/dao/basic/ConfigurationDao.java | 10 .../openmeetings/util/OpenmeetingsVariables.java | 9 .../apache/openmeetings/web/app/ClientManager.java | 57 +++--- .../apache/openmeetings/web/app/WebSession.java| 13 - .../apache/openmeetings/web/common/MainPanel.java | 4 +- .../openmeetings/web/user/MessageDialog.java | 4 +- .../web/user/calendar/AppointmentDialog.java | 4 +- .../openmeetings/web/util/OmUrlFragment.java | 13 ++--- 8 files changed, 91 insertions(+), 23 deletions(-) diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java index f912111..70f11e1 100644 --- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java +++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java @@ -50,6 +50,7 @@ import static org.apache.openmeetings.util.OpenmeetingsVariables.CONFIG_MIC_RATE import static org.apache.openmeetings.util.OpenmeetingsVariables.CONFIG_MP4_AUDIO_BITRATE; import static org.apache.openmeetings.util.OpenmeetingsVariables.CONFIG_MP4_AUDIO_RATE; import static org.apache.openmeetings.util.OpenmeetingsVariables.CONFIG_MP4_VIDEO_PRESET; +import static org.apache.openmeetings.util.OpenmeetingsVariables.CONFIG_MYROOMS_ENABLED; import static org.apache.openmeetings.util.OpenmeetingsVariables.CONFIG_PASS_MIN_LENGTH; import static org.apache.openmeetings.util.OpenmeetingsVariables.CONFIG_REGISTER_FRONTEND; import static org.apache.openmeetings.util.OpenmeetingsVariables.CONFIG_REGISTER_OAUTH; @@ -87,6 +88,7 @@ import static org.apache.openmeetings.util.OpenmeetingsVariables.setMinFnameLeng import static org.apache.openmeetings.util.OpenmeetingsVariables.setMinLnameLength; import static org.apache.openmeetings.util.OpenmeetingsVariables.setMinLoginLength; import static org.apache.openmeetings.util.OpenmeetingsVariables.setMinPasswdLength; +import static org.apache.openmeetings.util.OpenmeetingsVariables.setMyRoomsEnabled; import static org.apache.openmeetings.util.OpenmeetingsVariables.setRestAllowOrigin; import static org.apache.openmeetings.util.OpenmeetingsVariables.setRoomSettings; import static org.apache.openmeetings.util.OpenmeetingsVariables.setSendRegisterEmail; @@ -393,6 +395,9 @@ public class ConfigurationDao implements IDataProviderDao { case CONFIG_DISPLAY_NAME_EDITABLE: reloadDisplayNameEditable(); break; + case CONFIG_MYROOMS_ENABLED: + reloadMyRoomsEnabled(); + break; } return entity; } @@ -528,6 +533,10 @@ public class ConfigurationDao implements IDataProviderDao { setDisplayNameEditable(getBool(CONFIG_DISPLAY_NAME_EDITABLE, false)); } + private void reloadMyRoomsEnabled() { + setMyRoomsEnabled(getBool(CONFIG_MYROOMS_ENABLED, true)); + } + public void reinit() { reloadMaxUpload(); reloadCrypt(); @@ -557,6 +566,7 @@ public class ConfigurationDao implements IDataProviderDao { reloadXFrameOptions(); reloadContentSecurityPolicy(); reloadDisplayNameEditable(); + reloadMyRoomsEnabled(); } private static JSONObject getHotkey(String value) { diff --git a/openmeetings-util/src/main/java/org/apache/openmeetings/util/OpenmeetingsVariables.java b/openmeetings-util/src/main/java/org/apache/openmeetings/util/OpenmeetingsVariables.java index d9005ab..2c7f647 100644 --- a/openmeetings-util/src/main/java/org/apache/openmeetings/util/OpenmeetingsVariables.java +++ b/openmeetings-util/src/main/java/org/apache/openmeetings/util/OpenmeetingsVariables.java @@ -142,6 +142,7 @@ public class OpenmeetingsVariables { private static String contentSecurityPolicy = HEADER_CSP_SELF; private static String xFrameOptions = HEADER_XFRAME_SELF; private static boolean displayNameEditable = false; + private static boolean myRoomsEnabled = true; private OpenmeetingsVariables() {} @@ -404,4 +405,12 @@ public class OpenmeetingsVariables { public static void
[jira] [Commented] (OPENMEETINGS-2186) Clustering does nothing in version 5.0-M3
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17065805#comment-17065805 ] ASF subversion and git services commented on OPENMEETINGS-2186: --- Commit 99ad05ae18120f322bfb9998bf666a75ea12592b in openmeetings's branch refs/heads/master from Maxim Solodovnik [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=99ad05a ] [OPENMEETINGS-2186] first step to working cluster > Clustering does nothing in version 5.0-M3 > - > > Key: OPENMEETINGS-2186 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2186 > Project: Openmeetings > Issue Type: Bug > Components: Cluster >Affects Versions: 5.0.0-M3 > Environment: Ubuntu 18.04 LTS >Reporter: Aleix Dorca >Assignee: Maxim Solodovnik >Priority: Blocker > Fix For: 5.0.0-M4 > > > I can not, for the life of me, to get Clustering to work. I have followed the > latest guide: [https://openmeetings.apache.org/Clustering.html]. My setup is > 100% local, no NAT or any kind of routing between networks. > Here is a summary of the steps I have followed: > * Two OM servers, both installed using the Ubuntu Bionic 18.04 LTS guide. > Local IPs: 192.168.0.100/24 and 192.168.0.101/24. > * One (the primary if you will) has the MySQL server and shares the > stream/upload folders using NFS. No problems with this. > * When I log into any OM server and access rooms, all (video, audio, > recording/sharing screen, files...) works as expected. > I have, then, followed the Clustering guide to: > * Enable Multicast. Works without any problems. > * Share database and folders > * Enable multicast on OM, on both nodes. > * Restart OM. > * I see pings and cluster goes online. > I can see that all starts fine. The cluster is up with both instances > detected: > {noformat} > Members {size:2, ver:2} [ > Member [192.168.0.100]:5701 - d8a5272a-cc80-42cf-98bd-80b04a2b5c7f this > Member [192.168.0.101]:5701 - a7746996-cc40-46e6-9a4a-75be0b28e7f7 > ] > {noformat} > From this moment I try to ensure everything works as expected: > * Login with two users and go to the same room: Both users have logged in on > the server 192.168.0.100. On the Connections tab I see both are in > "server-1". So far so good. > * Enter a room, both users end up in the same room, in the same server, > still "server-1". Ok... I guess. > * Login with two users from different servers and then go to the same room: > Yes, they see each other, but chat does not work, video and audio do not work > as well. It looks like the clustering configuration does no re-route the > second user to the first server. > * Login with four users and access two different rooms: The problems above > are seen again, there is never any re-routing of users so they end up always > in rooms in the server they have initially logged in. > Thanks for any tips that can enlighten me. > Aleix. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch master updated: [OPENMEETINGS-2186] first step to working cluster
This is an automated email from the ASF dual-hosted git repository. solomax pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings.git The following commit(s) were added to refs/heads/master by this push: new 99ad05a [OPENMEETINGS-2186] first step to working cluster 99ad05a is described below commit 99ad05ae18120f322bfb9998bf666a75ea12592b Author: Maxim Solodovnik AuthorDate: Tue Mar 24 21:14:43 2020 +0700 [OPENMEETINGS-2186] first step to working cluster --- .../apache/openmeetings/db/dao/room/RoomDao.java | 6 -- .../apache/openmeetings/db/entity/room/Room.java | 1 - .../openmeetings/db/manager/IClientManager.java| 9 -- .../apache/openmeetings/web/app/Application.java | 39 .../apache/openmeetings/web/app/ClientManager.java | 109 +++-- .../openmeetings/web/util/OmUrlFragment.java | 13 +++ .../src/main/webapp/WEB-INF/classes/hazelcast.xml | 11 ++- 7 files changed, 145 insertions(+), 43 deletions(-) diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/room/RoomDao.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/room/RoomDao.java index e5fc73b..f8cdf7d 100644 --- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/room/RoomDao.java +++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/room/RoomDao.java @@ -29,7 +29,6 @@ import static org.apache.openmeetings.util.OpenmeetingsVariables.isSipEnabled; import java.util.ArrayList; import java.util.Calendar; -import java.util.Collection; import java.util.Date; import java.util.HashSet; import java.util.List; @@ -178,11 +177,6 @@ public class RoomDao implements IGroupAdminDataProviderDao { .getResultList(); } - public long getRoomsCapacityByIds(Collection ids) { - return ids == null || ids.isEmpty() ? 0L - : em.createNamedQuery("getRoomsCapacityByIds", Long.class).setParameter("ids", ids).getSingleResult(); - } - private String getSipNumber(long roomId) { if (isSipEnabled()) { return cfgDao.getString(CONFIG_SIP_ROOM_PREFIX, "400") + roomId; diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/room/Room.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/room/Room.java index 694facb..83ffcfb 100644 --- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/room/Room.java +++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/room/Room.java @@ -84,7 +84,6 @@ import org.apache.openmeetings.db.entity.user.Group; @NamedQuery(name = "getSipRoomIdsByIds", query = "SELECT r.id FROM Room r WHERE r.deleted = false AND r.sipEnabled = true AND r.id IN :ids") @NamedQuery(name = "countRooms", query = "SELECT COUNT(r) FROM Room r WHERE r.deleted = false") @NamedQuery(name = "getBackupRooms", query = "SELECT r FROM Room r ORDER BY r.id") -@NamedQuery(name = "getRoomsCapacityByIds", query = "SELECT SUM(r.capacity) FROM Room r WHERE r.deleted = false AND r.id IN :ids") @NamedQuery(name = "getGroupRooms", query = "SELECT DISTINCT rg.room FROM RoomGroup rg LEFT JOIN FETCH rg.room " + "WHERE rg.group.id = :groupId AND rg.room.deleted = false AND rg.room.appointment = false " + "ORDER BY rg.room.name ASC") diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/manager/IClientManager.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/manager/IClientManager.java index 274f1d5..24a1498 100644 --- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/manager/IClientManager.java +++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/manager/IClientManager.java @@ -20,7 +20,6 @@ package org.apache.openmeetings.db.manager; import java.util.Collection; import java.util.List; -import java.util.Set; import org.apache.openmeetings.db.entity.basic.Client; @@ -33,12 +32,4 @@ public interface IClientManager { Collection listByUser(Long userId); Client update(Client c); void exit(Client c); - - - /** -* Get a list of all rooms with users in the system. -* -* @return a set, a roomId can be only one time in this list -*/ - Set getActiveRoomIds(); } diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java index 9feace7..9253c2e 100644 --- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java +++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java @@ -35,7 +35,6 @@ import static org.wicketstuff.dashboard.DashboardContextInitializer.DASHBOARD_CO import java.io.File; import java.net.UnknownHostException; import java.text.MessageFormat; -import
[jira] [Updated] (OPENMEETINGS-2191) Recording file is not found
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] LUIZ AUGUSTO MACHADO updated OPENMEETINGS-2191: --- Description: After I finished recording and I go to my records it shows a file with an exclamation and I click on the script exclamation it opens a new windows that is supposed to show me some log to resolve it. but there is nothing just a message saying Recording file is not found. And also the recording test in webcam configuration is not working. !image-2020-03-24-10-37-20-468.png! !image-2020-03-24-10-38-07-290.png! was:After I finished recording and I go to my records it shows a file with an exclamation and I click on the script exclamation it opens a new windows that is supposed to show me some log to resolve it. but there is nothing just a message saying Recording file is not found !image-2020-03-24-10-37-20-468.png! !image-2020-03-24-10-38-07-290.png! > Recording file is not found > --- > > Key: OPENMEETINGS-2191 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191 > Project: Openmeetings > Issue Type: Bug > Components: Audio/Video >Affects Versions: 5.0.0-M3 > Environment: Centos 7 VPS >Reporter: LUIZ AUGUSTO MACHADO >Assignee: Maxim Solodovnik >Priority: Critical > Labels: recording > Fix For: 5.0.0-M3 > > Attachments: image-2020-03-24-10-37-20-468.png, > image-2020-03-24-10-38-07-290.png > > > After I finished recording and I go to my records it shows a file with an > exclamation and I click on the script exclamation it opens a new windows that > is supposed to show me some log to resolve it. but there is nothing just a > message saying Recording file is not found. > And also the recording test in webcam configuration is not working. > > > !image-2020-03-24-10-37-20-468.png! !image-2020-03-24-10-38-07-290.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (OPENMEETINGS-2191) Recording file is not found
LUIZ AUGUSTO MACHADO created OPENMEETINGS-2191: -- Summary: Recording file is not found Key: OPENMEETINGS-2191 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2191 Project: Openmeetings Issue Type: Bug Components: Audio/Video Affects Versions: 5.0.0-M3 Environment: Centos 7 VPS Reporter: LUIZ AUGUSTO MACHADO Assignee: Maxim Solodovnik Fix For: 5.0.0-M3 Attachments: image-2020-03-24-10-37-20-468.png, image-2020-03-24-10-38-07-290.png After I finished recording and I go to my records it shows a file with an exclamation and I click on the script exclamation it opens a new windows that is supposed to show me some log to resolve it. but there is nothing just a message saying Recording file is not found !image-2020-03-24-10-37-20-468.png! !image-2020-03-24-10-38-07-290.png! -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (OPENMEETINGS-2190) Room notifications
Juan Antonio Moreno created OPENMEETINGS-2190: - Summary: Room notifications Key: OPENMEETINGS-2190 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2190 Project: Openmeetings Issue Type: Improvement Components: Room Affects Versions: 5.0.0-M3 Reporter: Juan Antonio Moreno Assignee: Maxim Solodovnik Attachments: image-2020-03-24-12-46-36-340.png When in a room a user requests permissions to moderate or to draw on the whiteboard or any other permission, a notification appears in the activities and actions tab, but if this tab is folded, it is difficult to notice that any user is requesting these permissions. Would any sound notification be possible when this happens? I mean that the room moderator receives that notification to decide whether to grant that permission or not. Perhaps another possibility is that the activities and actions tab will be automatically unfolded or get notifications in the browser through the browser api. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2189) Audio/Video is broken in Safari
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17065395#comment-17065395 ] ASF subversion and git services commented on OPENMEETINGS-2189: --- Commit e2dac2810855a639191432b8ce4ce07d2034bdd5 in openmeetings's branch refs/heads/master from Maxim Solodovnik [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=e2dac28 ] [OPENMEETINGS-2189] adapter.js is added to shim AV issues with Safari > Audio/Video is broken in Safari > --- > > Key: OPENMEETINGS-2189 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2189 > Project: Openmeetings > Issue Type: Bug > Components: Audio/Video >Affects Versions: 5.0.0-M3 >Reporter: Maxim Solodovnik >Assignee: Maxim Solodovnik >Priority: Major > Fix For: 5.0.0-M4 > > > Audio/Video is broken in Safari > tested at MacOS Sierra 10.12.5 > {{Error in the log: can't find variable RtcPeerConnection}} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (OPENMEETINGS-2189) Audio/Video is broken in Safari
Maxim Solodovnik created OPENMEETINGS-2189: -- Summary: Audio/Video is broken in Safari Key: OPENMEETINGS-2189 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2189 Project: Openmeetings Issue Type: Bug Components: Audio/Video Affects Versions: 5.0.0-M3 Reporter: Maxim Solodovnik Assignee: Maxim Solodovnik Fix For: 5.0.0-M4 Audio/Video is broken in Safari tested at MacOS Sierra 10.12.5 {{Error in the log: can't find variable RtcPeerConnection}} -- This message was sent by Atlassian Jira (v8.3.4#803005)