bigbluebutton / greenlight

A really simple end-user interface for your BigBlueButton server.
GNU Lesser General Public License v3.0
794 stars 3.8k forks source link

There was an error retrieving 1 recording(s) #1876

Closed harika1258 closed 4 years ago

harika1258 commented 4 years ago

Hi every body.... I set auto recorded in the Bigbluebutton, but I've got an error on the "All Recordings" "There was an error retrieving 1 recording(s)" I just to your info, when I click "Server Recording" all of my recorded files at there. ;-) and there is not any problem.

harika1258 commented 4 years ago

The output of "cat /var/log/bigbluebutton/archive-c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029.log" : sent 20 bytes received 12 bytes 64.00 bytes/sec I, [2020-07-05T17:55:30.674566 #1575] INFO -- : total size is 0 speedup is 0.00 I, [2020-07-05T17:55:30.674619 #1575] INFO -- : rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1] I, [2020-07-05T17:55:30.674711 #1575] INFO -- : Exit status: 23 W, [2020-07-05T17:55:30.674775 #1575] WARN -- : Failed to archive contents of /usr/share/red5/webapps/screenshare/streams/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029 I, [2020-07-05T17:55:30.674840 #1575] INFO -- : Archiving contents of /usr/share/red5/webapps/video/streams/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029 I, [2020-07-05T17:55:30.675362 #1575] INFO -- : Executing: rsync -rstv /usr/share/red5/webapps/video/streams/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029/ /var/bigbluebutton/recording/raw/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029/video/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029/ I, [2020-07-05T17:55:30.680283 #1575] INFO -- : sending incremental file list I, [2020-07-05T17:55:30.680442 #1575] INFO -- : rsync: change_dir "/usr/share/red5/webapps/video/streams/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029" failed: No such file or directory (2) I, [2020-07-05T17:55:30.802861 #1575] INFO -- : I, [2020-07-05T17:55:30.802972 #1575] INFO -- : sent 20 bytes received 12 bytes 64.00 bytes/sec I, [2020-07-05T17:55:30.803035 #1575] INFO -- : total size is 0 speedup is 0.00 I, [2020-07-05T17:55:30.803128 #1575] INFO -- : rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1] I, [2020-07-05T17:55:30.803236 #1575] INFO -- : Exit status: 23 W, [2020-07-05T17:55:30.803303 #1575] WARN -- : Failed to archive contents of /usr/share/red5/webapps/video/streams/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029 I, [2020-07-05T17:55:30.803366 #1575] INFO -- : Archiving contents of /var/kurento/screenshare/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029 I, [2020-07-05T17:55:30.803599 #1575] INFO -- : Executing: rsync -rstv /var/kurento/screenshare/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029/ /var/bigbluebutton/recording/raw/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029/deskshare/ I, [2020-07-05T17:55:30.808427 #1575] INFO -- : sending incremental file list I, [2020-07-05T17:55:30.808584 #1575] INFO -- : rsync: change_dir "/var/kurento/screenshare/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029" failed: No such file or directory (2) I, [2020-07-05T17:55:30.951230 #1575] INFO -- : I, [2020-07-05T17:55:30.951380 #1575] INFO -- : sent 20 bytes received 12 bytes 64.00 bytes/sec I, [2020-07-05T17:55:30.951458 #1575] INFO -- : total size is 0 speedup is 0.00 I, [2020-07-05T17:55:30.951528 #1575] INFO -- : rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1] I, [2020-07-05T17:55:30.951673 #1575] INFO -- : Exit status: 23 W, [2020-07-05T17:55:30.951753 #1575] WARN -- : Failed to archive contents of /var/kurento/screenshare/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029 I, [2020-07-05T17:55:30.951871 #1575] INFO -- : Archiving contents of /var/kurento/recordings/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029 I, [2020-07-05T17:55:30.952056 #1575] INFO -- : Executing: rsync -rstv /var/kurento/recordings/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029/ /var/bigbluebutton/recording/raw/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029/video/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029/ I, [2020-07-05T17:55:30.955700 #1575] INFO -- : sending incremental file list I, [2020-07-05T17:55:30.955854 #1575] INFO -- : rsync: change_dir "/var/kurento/recordings/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029" failed: No such file or directory (2) I, [2020-07-05T17:55:31.097929 #1575] INFO -- : I, [2020-07-05T17:55:31.098042 #1575] INFO -- : sent 20 bytes received 12 bytes 64.00 bytes/sec I, [2020-07-05T17:55:31.098115 #1575] INFO -- : total size is 0 speedup is 0.00 I, [2020-07-05T17:55:31.098191 #1575] INFO -- : rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1] I, [2020-07-05T17:55:31.098310 #1575] INFO -- : Exit status: 23 W, [2020-07-05T17:55:31.098387 #1575] WARN -- : Failed to archive contents of /var/kurento/recordings/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029 I, [2020-07-05T17:55:31.098457 #1575] INFO -- : Deleting originals of archived media files. I, [2020-07-05T17:55:31.098531 #1575] INFO -- : Deleting audio /var/freeswitch/meetings/c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029-. I, [2020-07-05T17:55:31.099287 #1575] INFO -- : Fetching the recording marks for c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029. I, [2020-07-05T17:55:31.101928 #1575] INFO -- : Segment start: 25134309, end: 25156717 I, [2020-07-05T17:55:31.102022 #1575] INFO -- : Checking for recording marks for c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029 segment I, [2020-07-05T17:55:31.102096 #1575] INFO -- : Getting start and stop rec button events I, [2020-07-05T17:55:31.102166 #1575] INFO -- : Getting record status events I, [2020-07-05T17:55:31.102794 #1575] INFO -- : Matching record events I, [2020-07-05T17:55:31.102929 #1575] INFO -- : Recording marks found: true

harika1258 commented 4 years ago

the out put of : root@vc:~# ls -l /var/bigbluebutton/ total 60 drwxr-xr-x 3 bigbluebutton bigbluebutton 4096 Jul 5 18:32 4c22c30affde8c2fdbb02c02ae6072448f44d58d-1593957721944 drwxr-xr-x 2 bigbluebutton bigbluebutton 4096 Jun 23 08:43 basic_stats lrwxrwxrwx 1 bigbluebutton bigbluebutton 18 Jul 4 20:46 bigbluebutton -> /var/bigbluebutton drwxr-xr-x 2 bigbluebutton bigbluebutton 4096 Jun 23 08:34 blank drwxr-xr-x 3 bigbluebutton bigbluebutton 4096 Jul 5 17:54 c401921eda9fd0e7a0c6cb77a621d0ed614df1b9-1593955491029 drwxr-xr-x 3 bigbluebutton bigbluebutton 4096 Jul 5 18:44 caff0c6fc68a15771413fe0dcf7b89b604607fcf-1593958484751 drwxr-xr-x 6 bigbluebutton bigbluebutton 4096 Jul 5 18:45 captions drwxr-xr-x 2 bigbluebutton bigbluebutton 4096 Jun 2 18:56 configs drwxr-xr-x 3 bigbluebutton bigbluebutton 4096 Jun 24 10:57 deleted drwxr-xr-x 2 bigbluebutton bigbluebutton 4096 Jun 2 19:00 diagnostics drwxr-xr-x 2 bigbluebutton bigbluebutton 4096 Jun 23 08:43 events drwxr-xr-x 3 bigbluebutton bigbluebutton 4096 Jun 23 08:34 playback drwxr-xr-x 3 bigbluebutton bigbluebutton 4096 Jun 23 08:43 published drwxr-xr-x 6 bigbluebutton bigbluebutton 4096 Jun 23 08:43 recording drwxr-xr-x 2 red5 red5 4096 Jun 1 21:16 screenshare drwxr-xr-x 2 bigbluebutton bigbluebutton 4096 Jun 23 08:43 unpublished

harika1258 commented 4 years ago

For your information, I had done recordings path to a different partition with https://docs.bigbluebutton.org/2.2/customize#move-recordings-to-a-different-partition but something went wrong. And I made a decision to evoke my configuration. After that the above problem has been occurred.

harika1258 commented 4 years ago

the output of : service bbb-rap-process-worker status

bbb-rap-process-worker.service - BigBlueButton recording and playback process worker Loaded: loaded (/usr/lib/systemd/system/bbb-rap-process-worker.service; static; vendor preset: enabled) Active: inactive (dead) since Mon 2020-07-06 16:57:27 +0430; 4min 24s ago Condition: start condition failed at Mon 2020-07-06 17:01:46 +0430; 5s ago ConditionPathExistsGlob=/var/bigbluebutton/recording/status/sanity/.done was not met Process: 30187 ExecStart=/usr/local/bigbluebutton/core/scripts/rap-process-worker.rb (code=exited, status=0/SUCCESS) Main PID: 30187 (code=exited, status=0/SUCCESS) and : bbb-rap-archive-worker.service - BigBlueButton recording and playback archive worker Loaded: loaded (/usr/lib/systemd/system/bbb-rap-archive-worker.service; static; vendor preset: enabled) Active: inactive (dead) since Mon 2020-07-06 17:06:21 +0430; 8min ago Condition: start condition failed at Mon 2020-07-06 17:14:28 +0430; 3s ago ConditionPathExistsGlob=/var/bigbluebutton/recording/status/recorded/.done was not met Process: 31919 ExecStart=/usr/local/bigbluebutton/core/scripts/rap-archive-worker.rb (code=exited, status=0/SUCCESS) Main PID: 31919 (code=exited, status=0/SUCCESS) and : bbb-rap-publish-worker.service - BigBlueButton recording and playback publish worker Loaded: loaded (/usr/lib/systemd/system/bbb-rap-publish-worker.service; static; vendor preset: enabled) Active: inactive (dead) since Mon 2020-07-06 17:10:49 +0430; 3min 42s ago Condition: start condition failed at Mon 2020-07-06 17:14:28 +0430; 3s ago ConditionPathExistsGlob=/var/bigbluebutton/recording/status/processed/*.done was not met Process: 677 ExecStart=/usr/local/bigbluebutton/core/scripts/rap-publish-worker.rb (code=exited, status=0/SUCCESS) Main PID: 677 (code=exited, status=0/SUCCESS)

harika1258 commented 4 years ago

Output: gem list | grep redis

/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:29: warning: constant Gem::ConfigMap is deprecated /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:30: warning: constant Gem::ConfigMap is deprecated /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:29: warning: constant Gem::ConfigMap is deprecated /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:30: warning: constant Gem::ConfigMap is deprecated /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated

harika1258 commented 4 years ago

Fred and Farhad do you have any idea?

farhatahmad commented 4 years ago

Can you check ~/greenlight/log/production.log and paste the output after the error appears?

harika1258 commented 4 years ago

production.log

Thank you so much Farhat.... I attached production.log error

Latest lines of product.log :

ocation=https://vb.eavatalk.ir/b/mar-om4-ikx host=greenlight ERROR: [5158507b-d28d-4359-9465-a3bde011f9cf] Error retrieving recording fnxll4dyikzfpqnof4s5uppkznubrtqfunnfocvh: undefined method strip' for nil:NilClass -> /usr/src/app/app/views/shared/components/_recording_row.html.erb:37:inblock in _app_views_shared_componentsrecording_row_html_erb__1709647718235306314_47121383365360' INFO: [5158507b-d28d-4359-9465-a3bde011f9cf] method=GET path=/b/mar-om4-ikx format=html controller=RoomsController action=show status=200 duration=1273.74 view=160.89 db=15.49 host=greenlight ERROR: [543d9e92-c863-437e-927a-d4d550ce0779] Error retrieving recording z407e9nag9duvacf7n1ddb6oc7zcgij6r2pnpcyr: undefined method strip' for nil:NilClass -> /usr/src/app/app/views/shared/components/_recording_row.html.erb:37:inblock in _app_views_shared_componentsrecording_row_html_erb1709647718235306314_47121383365360' INFO: [543d9e92-c863-437e-927a-d4d550ce0779] method=GET path=/b/mar-7uk-w1g format=html controller=RoomsController action=show status=200 duration=920.76 view=80.36 db=13.21 host=greenlight INFO: [71a90549-4e93-4a2e-8a37-40feec826ff9] Support: marziehraei@eavatalk.ir is starting room mar-7uk-w1g INFO: [71a90549-4e93-4a2e-8a37-40feec826ff9] [ActiveJob] Enqueued NotifyUserWaitingJob (Job ID: 3bcf1cfc-d805-471c-997b-6b7734d8e5b2) to Async(default) at 2020-07-07 03:28:10 UTC with arguments: #<GlobalID:0x000055b69cb5d940 @uri=#<URI::GID gid://greenlight/Room/81>> INFO: [71a90549-4e93-4a2e-8a37-40feec826ff9] method=POST path=/b/mar-7uk-w1g/start format=html controller=RoomsController action=start status=302 duration=632.41 view=0.00 db=11.97 location=https://vb.eavatalk.ir/bigbluebutton/api/join host=greenlight INFO: [ActiveJob] [NotifyUserWaitingJob] [3bcf1cfc-d805-471c-997b-6b7734d8e5b2] Performing NotifyUserWaitingJob (Job ID: 3bcf1cfc-d805-471c-997b-6b7734d8e5b2) from Async(default) with arguments: #<GlobalID:0x000055b69cb29618 @uri=#<URI::GID gid://greenlight/Room/81>> INFO: [ActiveJob] [NotifyUserWaitingJob] [3bcf1cfc-d805-471c-997b-6b7734d8e5b2] Performed NotifyUserWaitingJob (Job ID: 3bcf1cfc-d805-471c-997b-6b7734d8e5b2) from Async(default) in 0.93ms ERROR: [401e1f19-902c-4c46-b48d-c70d0ec7818a] Error retrieving recording z407e9nag9duvacf7n1ddb6oc7zcgij6r2pnpcyr: undefined method strip' for nil:NilClass -> /usr/src/app/app/views/shared/components/_recording_row.html.erb:37:inblock in _app_views_shared_components__recording_row_html_erb1709647718235306314_47121383365360' INFO: [401e1f19-902c-4c46-b48d-c70d0ec7818a] method=GET path=/b/mar-7uk-w1g format=html controller=RoomsController action=show status=200 duration=788.50 view=81.33 db=8.07 host=greenlight INFO: [a1d50d7a-f9cb-4462-a1bd-3f5926bc94cd] Support: marziehraei@eavatalk.ir is joining room mar-7uk-w1g INFO: [a1d50d7a-f9cb-4462-a1bd-3f5926bc94cd] method=POST path=/b/mar-7uk-w1g format=html controller=RoomsController action=join status=302 duration=573.48 view=0.00 db=9.68 location=https://vb.eavatalk.ir/bigbluebutton/api/join host=greenlight INFO: [5f8af944-06a1-4227-857d-3c625529619f] method=GET path=/b/aza-rxw-dn2 format=html controller=RoomsController action=show status=200 duration=915.94 view=56.99 db=22.56 host=greenlight INFO: [9c78e518-822b-468e-be48-8146416dd2d7] Support: S..S''' is joining room aza-rxw-dn2 INFO: [9c78e518-822b-468e-be48-8146416dd2d7] method=POST path=/b/aza-rxw-dn2 format=html controller=RoomsController action=join status=200 duration=482.98 view=49.61 db=9.93 host=greenlight INFO: [bcd2fe16-7257-4f60-8fd7-638cc6dd914a] method=GET path=/b/mar-7uk-w1g format=html controller=RoomsController action=show status=200 duration=1286.35 view=86.99 db=37.85 host=greenlight INFO: [7fb8a337-00ab-406b-a403-13a45534444b] method=GET path=/b/signin format=html controller=SessionsController action=signin status=200 duration=116.24 view=90.79 db=3.67 host=greenlight INFO: [5d92c30c-389d-4239-a44d-521360b2f4be] Support: Mar ta is joining room mar-7uk-w1g INFO: [5d92c30c-389d-4239-a44d-521360b2f4be] method=POST path=/b/mar-7uk-w1g format=html controller=RoomsController action=join status=302 duration=1043.89 view=0.00 db=9.11 location=https://vb.eavatalk.ir/bigbluebutton/api/join host=greenlight INFO: [6a5b960f-3e8f-4dde-84da-e03beb62aad8] method=GET path=/b/mar-7uk-w1g format=html controller=RoomsController action=show status=200 duration=907.77 view=56.42 db=8.69 host=greenlight INFO: [e892ab9f-7dfb-4fb6-b23d-c4186654b581] method=GET path=/b/mar-dy8-nx9 format=html controller=RoomsController action=show status=200 duration=731.20 view=36.56 db=18.81 host=greenlight INFO: [4f6535ae-9e4f-4d0d-964a-2dfc59520a0b] method=GET path=/b/mar-dy8-nx9 format=html controller=RoomsController action=show status=200 duration=597.59 view=30.67 db=3.93 host=greenlight

farhatahmad commented 4 years ago

ERROR: [5158507b-d28d-4359-9465-a3bde011f9cf] Error retrieving recording fnxll4dyikzfpqnof4s5uppkznubrtqfunnfocvh: undefined method strip' for nil:NilClass -> /usr/src/app/app/views/shared/components/_recording_row.html.erb:37:in block in _app_views_shared_components__recording_row_html_erb__1709647718235306314_47121383365360'

There's something off about the structure of that specific recording. The presentation playback has thumbnails that could be used to display a preview, which you might need to turn off.

Try setting RECORDING_THUMBNAILS=false in your .env and restarting Greenlight

harika1258 commented 4 years ago

Thanks Farhat. this code wasn't in my .env file, I have to add it to my env file?

farhatahmad commented 4 years ago

Yes

harika1258 commented 4 years ago

Thanks