Remote participant microphone controls (mute / unmute)

Actually error is not getting selected so that/s why sharing the screnshot of console

when i clicked on mute button then this error is coming

You are getting an internal server error. This means code error. While make you can see that you are making a code error somewhere.

ok, I am getting this below error

./node_modules/.bin/webpack -p
Error: EACCES: permission denied, open ‘/usr/share/jitsi-meet/build/close3.min.js’
Browserslist: caniuse-lite is outdated. Please run next command npm update
Makefile:20: recipe for target ‘compile’ failed
make: *** [compile] Error 1

Yes sir, I am getting this below errors while make so, how can I resolved it.
rm -fr libs
rm: cannot remove ‘libs/video-blur-effect.min.map’: Permission denied
rm: cannot remove ‘libs/alwaysontop.min.js’: Permission denied
rm: cannot remove ‘libs/close3.min.map’: Permission denied
rm: cannot remove ‘libs/analytics-ga.js’: Permission denied
rm: cannot remove ‘libs/do_external_connect.min.js’: Permission denied
rm: cannot remove ‘libs/app.bundle.min.js’: Permission denied
rm: cannot remove ‘libs/lib-jitsi-meet.min.js’: Permission denied
rm: cannot remove ‘libs/rnnoise.wasm’: Permission denied
rm: cannot remove ‘libs/alwaysontop.min.map’: Permission denied
rm: cannot remove ‘libs/do_external_connect.min.map’: Permission denied
rm: cannot remove ‘libs/capabilities.json’: Permission denied
rm: cannot remove ‘libs/flacEncodeWorker.min.js’: Permission denied
rm: cannot remove ‘libs/rnnoise-processor.min.map’: Permission denied
rm: cannot remove ‘libs/external_connect.js’: Permission denied
rm: cannot remove ‘libs/device_selection_popup_bundle.min.js’: Permission denied
rm: cannot remove ‘libs/app.bundle.min.map’: Permission denied
rm: cannot remove ‘libs/analytics-ga.min.js’: Permission denied
rm: cannot remove ‘libs/external_api.min.map’: Permission denied
rm: cannot remove ‘libs/flacEncodeWorker.min.map’: Permission denied
rm: cannot remove ‘libs/rnnoise-processor.min.js’: Permission denied
rm: cannot remove ‘libs/dial_in_info_bundle.min.map’: Permission denied
rm: cannot remove ‘libs/dial_in_info_bundle.min.js’: Permission denied
rm: cannot remove ‘libs/lib-jitsi-meet.min.map’: Permission denied
rm: cannot remove ‘libs/close3.min.js’: Permission denied
rm: cannot remove ‘libs/external_api.min.js’: Permission denied
rm: cannot remove ‘libs/analytics-ga.min.map’: Permission denied
rm: cannot remove ‘libs/video-blur-effect.min.js’: Permission denied
rm: cannot remove ‘libs/device_selection_popup_bundle.min.map’: Permission denied
Makefile:29: recipe for target ‘deploy-init’ failed
make: *** [deploy-init] Error 1

The error you encounter here is actually similar to the error I encountered while setting up the system in the first place. My solution for him was as follows:

Other than that, we didn’t make any changes to the “/usr/share/jitsi-meet/build/close3.min.js” file. As for the error; here you also get authorization error.

Hello Sir, do I need to make changed inside node_modules/lib-jitsi-meet or need to clone separate directory inside my project because If I will clone separate directory then lib-jitsi-meet will get available in two places one would be inside jitsi-meet and another would be inside node_modules.

please reply sir

When I clicked on Unmute button then I am getting below error

Uncaught (in promise) TypeError: t.unMuteParticipant is not a function
at middleware.js:117
at middleware.js:21
at middleware.js:60
at middleware.js:43
at middleware.js:49
at middleware.js:28
at middleware.js:12
at middleware.js:42
at middleware.js:31
at middleware.js:104
at middleware.js:106
at middleware.js:19
at middleware.js:29
at middleware.js:101
at middleware.js:24
at middleware.js:20
at middleware.js:15
at middleware.js:23
at middleware.js:20
at middleware.js:25
at middleware.js:74
at middleware.js:40
at middleware.js:158
at dispatch (redux.js:636)
at actions.js:68
at index.js:11
at middleware.js:29
at middleware.js:32
at middleware.js:24
at middleware.web.js:33
at middleware.any.js:22
at middleware.js:67
at middleware.js:43
at middleware.js:61
at middleware.js:78
at middleware.js:71
at middleware.js:77
at middleware.js:39
at middleware.js:106
at middleware.js:37
at middleware.js:31
at middleware.web.js:24
at middleware.any.js:93
at middleware.js:77
at middleware.web.js:21
at middleware.js:44
at middleware.js:25
at middleware.js:16
at middleware.js:21
at middleware.js:23
at middleware.js:21
at middleware.js:111
at middleware.js:16
at middleware.js:30
at middleware.js:33
at middleware.js:178
at middleware.js:24
at middleware.js:24
at middleware.js:24
at middleware.web.js:20
at middleware.js:42
at middleware.js:149
at middleware.js:21
at middleware.js:60
at middleware.js:43
at middleware.js:49
at middleware.js:28
at middleware.js:12
at middleware.js:42
at middleware.js:31
at middleware.js:104
at middleware.js:106
at middleware.js:19
at middleware.js:29
at middleware.js:101
at middleware.js:24
at middleware.js:20
at middleware.js:15
at middleware.js:23
at middleware.js:20
at middleware.js:25
at middleware.js:74
at middleware.js:40
at middleware.js:158
at Object._onSubmit (AbstractUnMuteRemoteParticipantDialog.js:60)
at Object._onSubmit (AbstractDialog.js:117)
at To._onSubmit (StatelessDialog.js:227)
at withAnalyticsEvents.js:77
at Object.f (react-dom.production.min.js:15)
at _ (react-dom.production.min.js:15)
at react-dom.production.min.js:16
at j (react-dom.production.min.js:16)
at A (react-dom.production.min.js:17)
at C (react-dom.production.min.js:17)
at D (react-dom.production.min.js:17)
at Nn (react-dom.production.min.js:85)
at Rn (react-dom.production.min.js:87)
at t.unstable_runWithPriority (scheduler.production.min.js:20)
at pa (react-dom.production.min.js:113)
at bs (react-dom.production.min.js:207)
at zn (react-dom.production.min.js:86)

Looks like unMuteParticipant function in lib-jitsi-meet/JitsiConference.js is missing.

ok I will check

No sir, unMuteParticipant is available in JitsiConference.js, it’s already present

Please check below error message, please give me some suggestions

[JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>: UnhandledError: null Script: null Line: null Column: null StackTrace: TypeError: t.unMuteParticipant is not a function

I got it, but it’s as if your code hasn’t been updated. You may be working with code remaining in the cache. Or it may be that lib-jitsi-meet has not been reloaded.

We created the bash script. If you are working on linux; you can run it and test it.

Or you can proceed as in these steps;

cd lib-jitsi-meet
rm -rf node_modules package-lock.json
# webpack
npm uninstall webpack
npm i -D webpack
npm update && npm install
cd ..
cd jitsi-meet/
npm update && npm install
npm install lib-jitsi-meet --force && make
1 Like

Ok, let me try this

When I started the JIcofo then below error coming , I have installed JIcofo from your repository
● jicofo.service - LSB: Jitsi conference Focus
Loaded: loaded (/etc/init.d/jicofo; generated)
Active: failed (Result: exit-code) since Wed 2020-10-07 12:47:18 UTC; 21s ago
Docs: man:systemd-sysv-generator(8)
Process: 23109 ExecStop=/etc/init.d/jicofo stop (code=exited, status=1/FAILURE)
Process: 11961 ExecStart=/etc/init.d/jicofo start (code=exited, status=1/FAILURE)
Tasks: 273 (limit: 4915)
CGroup: /system.slice/jicofo.service
└─21721 java -Xmx3072m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=jicofo -Dne

Oct 07 12:47:18 ip-172-31-47-13 systemd[1]: Starting LSB: Jitsi conference Focus…
Oct 07 12:47:18 ip-172-31-47-13 jicofo[11961]: Daemon not executable: /usr/share/jicofo/jicofo.sh
Oct 07 12:47:18 ip-172-31-47-13 systemd[1]: jicofo.service: Control process exited, code=exited status=1
Oct 07 12:47:18 ip-172-31-47-13 systemd[1]: jicofo.service: Failed with result ‘exit-code’.
Oct 07 12:47:18 ip-172-31-47-13 systemd[1]: Failed to start LSB: Jitsi conference Focus.

Hello sir, still I am getting the below error message

Logger.js:154 2020-10-07T13:04:44.590Z [JitsiMeetJS.js] <Object.getGlobalOnErrorHandler>: UnhandledError: null Script: null Line: null Column: null StackTrace: TypeError: t.unMuteParticipant is not a function
at middleware.js:116
at middleware.js:21
at middleware.js:60
at middleware.js:43
at middleware.js:49
at middleware.js:28
at middleware.js:12
at middleware.js:42
at middleware.js:31
at middleware.js:104
at middleware.js:106
at middleware.js:19
at middleware.js:29
at middleware.js:101
at middleware.js:24
at middleware.js:20
at middleware.js:15
at middleware.js:23
at middleware.js:20
at middleware.js:25
at middleware.js:74
at middleware.js:40
at middleware.js:158
at dispatch (redux.js:636)
at actions.js:68
at index.js:11
at middleware.js:29
at middleware.js:32
at middleware.js:24
at middleware.web.js:33
at middleware.any.js:22
at middleware.js:67
at middleware.js:43
at middleware.js:61
at middleware.js:78
at middleware.js:71
at middleware.js:77
at middleware.js:39
at middleware.js:106
at middleware.js:37
at middleware.js:31
at middleware.web.js:24
at middleware.any.js:93
at middleware.js:77
at middleware.web.js:21
at middleware.js:44
at middleware.js:25
at middleware.js:16
at middleware.js:21
at middleware.js:23
at middleware.js:21
at middleware.js:111
at middleware.js:16
at middleware.js:30
at middleware.js:33
at middleware.js:178
at middleware.js:24
at middleware.js:24
at middleware.js:24
at middleware.web.js:20
at middleware.js:42
at middleware.js:149
at middleware.js:21
at middleware.js:60
at middleware.js:43
at middleware.js:49
at middleware.js:28
at middleware.js:12
at middleware.js:42
at middleware.js:31
at middleware.js:104
at middleware.js:106
at middleware.js:19
at middleware.js:29
at middleware.js:101
at middleware.js:24
at middleware.js:20
at middleware.js:15
at middleware.js:23
at middleware.js:20
at middleware.js:25
at middleware.js:74
at middleware.js:40
at middleware.js:158
at Object._onSubmit (AbstractUnMuteRemoteParticipantDialog.js:60)
at Object._onSubmit (AbstractDialog.js:117)
at To._onSubmit (StatelessDialog.js:227)
at withAnalyticsEvents.js:77
at Object.f (react-dom.production.min.js:15)
at _ (react-dom.production.min.js:15)
at react-dom.production.min.js:16
at j (react-dom.production.min.js:16)
at A (react-dom.production.min.js:17)
at C (react-dom.production.min.js:17)
at D (react-dom.production.min.js:17)
at Nn (react-dom.production.min.js:85)
at Rn (react-dom.production.min.js:87)
at t.unstable_runWithPriority (scheduler.production.min.js:20)
at pa (react-dom.production.min.js:113)
at bs (react-dom.production.min.js:207)
at zn (react-dom.production.min.js:86)
o @ Logger.js:154
getGlobalOnErrorHandler @ JitsiMeetJS.js:611
window.onunhandledrejection @ middleware.js:118
middleware.js:116 Uncaught (in promise) TypeError: t.unMuteParticipant is not a function
at middleware.js:116
at middleware.js:21
at middleware.js:60
at middleware.js:43
at middleware.js:49
at middleware.js:28
at middleware.js:12
at middleware.js:42
at middleware.js:31
at middleware.js:104
at middleware.js:106
at middleware.js:19
at middleware.js:29
at middleware.js:101
at middleware.js:24
at middleware.js:20
at middleware.js:15
at middleware.js:23
at middleware.js:20
at middleware.js:25
at middleware.js:74
at middleware.js:40
at middleware.js:158
at dispatch (redux.js:636)
at actions.js:68
at index.js:11
at middleware.js:29
at middleware.js:32
at middleware.js:24
at middleware.web.js:33
at middleware.any.js:22
at middleware.js:67
at middleware.js:43
at middleware.js:61
at middleware.js:78
at middleware.js:71
at middleware.js:77
at middleware.js:39
at middleware.js:106
at middleware.js:37
at middleware.js:31
at middleware.web.js:24
at middleware.any.js:93
at middleware.js:77
at middleware.web.js:21
at middleware.js:44
at middleware.js:25
at middleware.js:16
at middleware.js:21
at middleware.js:23
at middleware.js:21
at middleware.js:111
at middleware.js:16
at middleware.js:30
at middleware.js:33
at middleware.js:178
at middleware.js:24
at middleware.js:24
at middleware.js:24
at middleware.web.js:20
at middleware.js:42
at middleware.js:149
at middleware.js:21
at middleware.js:60
at middleware.js:43
at middleware.js:49
at middleware.js:28
at middleware.js:12
at middleware.js:42
at middleware.js:31
at middleware.js:104
at middleware.js:106
at middleware.js:19
at middleware.js:29
at middleware.js:101
at middleware.js:24
at middleware.js:20
at middleware.js:15
at middleware.js:23
at middleware.js:20
at middleware.js:25
at middleware.js:74
at middleware.js:40
at middleware.js:158
at Object._onSubmit (AbstractUnMuteRemoteParticipantDialog.js:60)
at Object._onSubmit (AbstractDialog.js:117)
at To._onSubmit (StatelessDialog.js:227)
at withAnalyticsEvents.js:77
at Object.f (react-dom.production.min.js:15)
at _ (react-dom.production.min.js:15)
at react-dom.production.min.js:16
at j (react-dom.production.min.js:16)
at A (react-dom.production.min.js:17)
at C (react-dom.production.min.js:17)
at D (react-dom.production.min.js:17)
at Nn (react-dom.production.min.js:85)
at Rn (react-dom.production.min.js:87)
at t.unstable_runWithPriority (scheduler.production.min.js:20)
at pa (react-dom.production.min.js:113)
at bs (react-dom.production.min.js:207)
at zn (react-dom.production.min.js:86)
(anonymous) @ middleware.js:116
(anonymous) @ middleware.js:21
(anonymous) @ middleware.js:60
(anonymous) @ middleware.js:43
(anonymous) @ middleware.js:49
(anonymous) @ middleware.js:28
(anonymous) @ middleware.js:12
(anonymous) @ middleware.js:42
(anonymous) @ middleware.js:31
(anonymous) @ middleware.js:104
(anonymous) @ middleware.js:106
(anonymous) @ middleware.js:19
(anonymous) @ middleware.js:29
(anonymous) @ middleware.js:101
(anonymous) @ middleware.js:24
(anonymous) @ middleware.js:20
(anonymous) @ middleware.js:15
(anonymous) @ middleware.js:23
(anonymous) @ middleware.js:20
(anonymous) @ middleware.js:25
(anonymous) @ middleware.js:74
(anonymous) @ middleware.js:40
(anonymous) @ middleware.js:158
dispatch @ redux.js:636
(anonymous) @ actions.js:68
(anonymous) @ index.js:11
(anonymous) @ middleware.js:29
(anonymous) @ middleware.js:32
(anonymous) @ middleware.js:24
(anonymous) @ middleware.web.js:33
(anonymous) @ middleware.any.js:22
(anonymous) @ middleware.js:67
(anonymous) @ middleware.js:43
(anonymous) @ middleware.js:61
(anonymous) @ middleware.js:78
(anonymous) @ middleware.js:71
(anonymous) @ middleware.js:77
(anonymous) @ middleware.js:39
(anonymous) @ middleware.js:106
(anonymous) @ middleware.js:37
(anonymous) @ middleware.js:31
(anonymous) @ middleware.web.js:24
(anonymous) @ middleware.any.js:93
(anonymous) @ middleware.js:77
(anonymous) @ middleware.web.js:21
(anonymous) @ middleware.js:44
(anonymous) @ middleware.js:25
(anonymous) @ middleware.js:16
(anonymous) @ middleware.js:21
(anonymous) @ middleware.js:23
(anonymous) @ middleware.js:21
(anonymous) @ middleware.js:111
(anonymous) @ middleware.js:16
(anonymous) @ middleware.js:30
(anonymous) @ middleware.js:33
(anonymous) @ middleware.js:178
(anonymous) @ middleware.js:24
(anonymous) @ middleware.js:24
(anonymous) @ middleware.js:24
(anonymous) @ middleware.web.js:20
(anonymous) @ middleware.js:42
(anonymous) @ middleware.js:149
(anonymous) @ middleware.js:21
(anonymous) @ middleware.js:60
(anonymous) @ middleware.js:43
(anonymous) @ middleware.js:49
(anonymous) @ middleware.js:28
(anonymous) @ middleware.js:12
(anonymous) @ middleware.js:42
(anonymous) @ middleware.js:31
(anonymous) @ middleware.js:104
(anonymous) @ middleware.js:106
(anonymous) @ middleware.js:19
(anonymous) @ middleware.js:29
(anonymous) @ middleware.js:101
(anonymous) @ middleware.js:24
(anonymous) @ middleware.js:20
(anonymous) @ middleware.js:15
(anonymous) @ middleware.js:23
(anonymous) @ middleware.js:20
(anonymous) @ middleware.js:25
(anonymous) @ middleware.js:74
(anonymous) @ middleware.js:40
(anonymous) @ middleware.js:158
_onSubmit @ AbstractUnMuteRemoteParticipantDialog.js:60
_onSubmit @ AbstractDialog.js:117
_onSubmit @ StatelessDialog.js:227
(anonymous) @ withAnalyticsEvents.js:77
f @ react-dom.production.min.js:15
_ @ react-dom.production.min.js:15
(anonymous) @ react-dom.production.min.js:16
j @ react-dom.production.min.js:16
A @ react-dom.production.min.js:17
C @ react-dom.production.min.js:17
D @ react-dom.production.min.js:17
Nn @ react-dom.production.min.js:85
Rn @ react-dom.production.min.js:87
t.unstable_runWithPriority @ scheduler.production.min.js:20
pa @ react-dom.production.min.js:113
bs @ react-dom.production.min.js:207
zn @ react-dom.production.min.js:86
Show 71 more frames

Are you working on ubuntu? A similar error mentioned before. You’ll continue to get the other error unless you go through this step correctly.

Uninstall the system by following the removal instructions. Then I’ll recommend you try to install again

When I run below command then
npm install lib-jitsi-meet --force && make

output

npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /usr/share/jitsi-meet/node_modules/.staging/lib-jitsi-meet-fd276b15/node_modules/@babel/code-frame
npm ERR! dest /usr/share/jitsi-meet/node_modules/.staging/@babel/code-frame-69b5c1bf
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/share/jitsi-meet/node_modules/.staging/lib-jitsi-meet-fd276b15/node_modules/@babel/code-frame' -> '/usr/share/jitsi-meet/node_modules/.staging/@babel/code-frame-69b5c1bf'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2020-10-07T13_10_32_735Z-debug.log

hi thanks for sharing you mod bayraktarulku.I am trying to install it but anytime i get
this error even running your script.I have tried on a ubuntu 20.04 with a working jisti meet setup.i have tried anything even remove and reinstall jitsi and still nothing.
Any suggestions?

  • lib-jitsi-meet@0.0.0
    added 1 package from 1 contributor and updated 1 package in 26.876s

47 packages are looking for funding
run npm fund for details

./node_modules/.bin/webpack -p
make: ./node_modules/.bin/webpack: Command not found
make: *** [Makefile:19: compile] Error 127

Yes, there is a problem with the version of the webpack package.

You can overcome this in 2 different ways;

  • webpack uninstall && install
cd lib-jitsi-meet
rm -rf node_modules package-lock.json
# webpack
npm uninstall webpack
npm i -D webpack
npm update && npm install
cd ..
cd jitsi-meet/
npm update && npm install
npm install lib-jitsi-meet --force && make

Or

  • Changing the versions of the package.json webpack version to 4.
    (of course this is not a very good way)