Code Monkey home page Code Monkey logo

Comments (38)

agustinmono avatar agustinmono commented on August 12, 2024 2

Thanks! is there a way to track the state of the records? scalelite side

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024 1

Change

( cd "$scripts_dir" && sudo -n -u bigbluebutton ./post_publish/scalelite_post_publish.rb -m "$record_id" )

to

( cd "$scripts_dir" && sudo -n -u bigbluebutton ruby ./post_publish/scalelite_post_publish.rb -m "$record_id" )

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024 1

@IamLuksha I solved with this

#90

but now the recordings are not listing in the greenligh, know why?

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

Done!
now i get
Permission denied, how can I change that? thanks
http://prntscr.com/rwvrbe

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

Change

( cd "$scripts_dir" && sudo -n -u bigbluebutton ./post_publish/scalelite_post_publish.rb -m "$record_id" )

to

( cd "$scripts_dir" && sudo -n -u bigbluebutton ruby ./post_publish/scalelite_post_publish.rb -m "$record_id" )

@kepstin Can you take a look? the main script here has that mistake. Thanks
https://github.com/blindsidenetworks/scalelite/blob/master/bigbluebutton/scalelite_batch_import.sh

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

@agustinmono Have you done everything here?
https://github.com/blindsidenetworks/scalelite/blob/master/sharedvolume-README.md

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

Yes @IamLuksha
All permissions set
http://prntscr.com/rwwd76

, I have 2 concerns .

1- I Followed this instuctive to create the NFS, configuring the Scalelite Server as NFS Server, and each BBB Server as NFS Client Machine, its that ok?

2- here https://github.com/blindsidenetworks/scalelite/blob/master/bigbluebutton/README.md#shared-filesystem-eg-nfs-mount says

" Ensure that the bigbluebutton user has permission to enter and write to the spool directory."

How can I test that? in case that bigbluebutton doesnt has permission, how can I give permissions to him.

Thanks a lot

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

@agustinmono
There is an example setup via ssh.
If you need to configure the nfs server not via ssh, here is an example
https://www.tecmint.com/how-to-setup-nfs-server-in-linux/

All permissions are here.
https://github.com/blindsidenetworks/scalelite/blob/master/sharedvolume-README.md

You can check the permission by writing a file from the user bigbluebutton

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

I did all of that, but when I try to create a file here it says permission denied

nano /mnt/scalelite-recordings/var/bigbluebutton/spool/test.txt
http://prntscr.com/rwwq92

Permissions :

http://prntscr.com/rwwqhq

http://prntscr.com/rwwu15

I did all that documentation says.. what im missing ?? i dont understand

If i do:
cat /etc/passwd

i get
[...]
bigbluebutton:x:998:998:bigbluebutton:/home/bigbluebutton:/bin/false
[...]

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

@agustinmono

If you do:
getent group

You should receive
scalelite-spool:x:2000:bigbluebutton

and your permissions are correct
I have the same and everything works

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

So why i cant write a file?

how can i write a file as bigbluebutton ? currently Im as root user, maybe is that?

maybe my /etc/exports/ are wrong

/mnt/scalelite-recordings MY.CLIENT.IP(rw,sync,no_subtree_check)

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

for instance

It was

root@bbb-sl-pool1:/# ll /mnt/scalelite-recordings/var/bigbluebutton/spool/    
total 8
drwxrwxr-x 2 bbb-server scalelite-spool 4096 Apr 10 21:10 ./
drwxr-xr-x 6 root       root            4096 Apr  8 22:40 ../

I created a file from root user

root@bbb-sl-pool1:/# touch /mnt/scalelite-recordings/var/bigbluebutton/spool/111                         
root@bbb-sl-pool1:/# ll /mnt/scalelite-recordings/var/bigbluebutton/spool/      
total 8
drwxrwxr-x 2 bbb-server scalelite-spool 4096 Apr 10 21:11 ./
drwxr-xr-x 6 root       root            4096 Apr  8 22:40 ../
-rw-r--r-- 1 root       root               0 Apr 10 21:11 111

I created a file from BBB user

root@bbb-sl-pool1:/# sudo -n -u bigbluebutton touch /mnt/scalelite-recordings/var/bigbluebutton/spool/222
root@bbb-sl-pool1:/# ll /mnt/scalelite-recordings/var/bigbluebutton/spool/                               
total 8
drwxrwxr-x 2 bbb-server    scalelite-spool 4096 Apr 10 21:11 ./
drwxr-xr-x 6 root          root            4096 Apr  8 22:40 ../
-rw-r--r-- 1 root          root               0 Apr 10 21:11 111
-rw-r--r-- 1 bigbluebutton bigbluebutton      0 Apr 10 21:11 222

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

I executed the same commands and I get permission denied, can you share with me your
/etc/exports/ file config?

touch: setting times of '/mnt/scalelite-recordings/var/bigbluebutton/spool/': Permission denied

of course without the IP, just to check if this its OK:

/mnt/scalelite-recordings MY_IP(rw,sync,no_subtree_check)

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

No problem

But you see the folders, so this config is right for you

with no_subtree_check thinks for a long time and nothing happens

/mnt/scalelite-recordings IP_ScaleLite (rw,sync,no_root_squash)
/mnt/scalelite-recordings IP_BBB_server_1 (rw,sync,no_root_squash)
.........
/mnt/scalelite-recordings  IP_BBB_server_2 (rw,sync,no_root_squash)

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

exportfs: /etc/exports [6]: Neither 'subtree_check' or 'no_subtree_check' specified for export "IP:/mnt/scalelite-recordings". Assuming default behaviour ('no_subtree_check'). NOTE: this default has changed since nfs-utils version 1.0.x

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

what have you done
Is there a space between IP and ()? If yes. Take it away

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

No i dont have any space

/mnt/scalelite-recordings 217.79.240.42(rw,sync,no_root_squash)

After that i did

exportfs -r

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

touch: setting times of '/mnt/scalelite-recordings/var/bigbluebutton/spool/': Permission denied

Still getting that, i really dont know whats wrong, just a quick question

Your nfs server... is the BigblueButton or the Scalelite?

I have the Scalelite ad NFS Server and each Bigbluebutton is a client

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

I am using a standalone server under NFS on the local network.
SL and BBB are client

But this should not affect

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

Any idea? really dont know whats wrong

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

@agustinmono
I have no ideas either
If I come up with something I will write

from scalelite.

agustinmono avatar agustinmono commented on August 12, 2024

Thanks so much for your time, really appreciate the help

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

@agustinmono
I am very glad that you have solved the problem.

I do not use Greenlight. I use Moodle to authorize users. To monitor the rallies on the servers I wrote a simple site

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

@agustinmono
Yes
You can use the BBB API
https://docs.bigbluebutton.org/dev/api.html#getrecordings

from scalelite.

rexon07 avatar rexon07 commented on August 12, 2024

Change

( cd "$scripts_dir" && sudo -n -u bigbluebutton ./post_publish/scalelite_post_publish.rb -m "$record_id" )

to

( cd "$scripts_dir" && sudo -n -u bigbluebutton ruby ./post_publish/scalelite_post_publish.rb -m "$record_id" )

@IamLuksha @farhatahmad

after suggested changes as above iam getting the following error https://prnt.sc/tivr2r
Please help

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

maybe because ?

/mnt/scalelite-recordings/var/bigbluebutton/ failed: no such file or directory (2)

from scalelite.

rexon07 avatar rexon07 commented on August 12, 2024

has per the the docs i have created that directory on the scalelite server. Can you please let me know what iam missing here?

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

have you mounted this directory on bbb server?
check if this directory exists on bbb server

from scalelite.

rexon07 avatar rexon07 commented on August 12, 2024

Firstly thanks for your help. i created a directory as per your suggestion. but ran into a different error
https://prnt.sc/tiwldc

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

permission denied...

did you do on the BBB server?

#Create a new group with GID 2000
groupadd -g 2000 scalelite-spool
#Add the bigbluebutton user to the group
usermod -a -G scalelite-spool bigbluebutton

from scalelite.

rexon07 avatar rexon07 commented on August 12, 2024

@IamLuksha yes i did i also had gone through this thread as well .
i ran command getent group
https://prnt.sc/tixl2g

from scalelite.

rexon07 avatar rexon07 commented on August 12, 2024

Hi @IamLuksha
Finally i managed to solve it. iam getting the following result. I hope its the desired one.
https://prnt.sc/tj31c2

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

@rexon07 what was wrong?

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

scalelite-recording-importer works?
Did you create it?

from scalelite.

rexon07 avatar rexon07 commented on August 12, 2024

@IamLuksha i have not yet created it. I went through it . I guess what i have done is right.

from scalelite.

rexon07 avatar rexon07 commented on August 12, 2024

i just changed the owner to bigbluebutton for this directory /mnt/scalelite-recordings/var/bigbluebutton/spool

from scalelite.

IamLuksha avatar IamLuksha commented on August 12, 2024

@rexon07 read this readme

from scalelite.

rexon07 avatar rexon07 commented on August 12, 2024

@IamLuksha @farhatahmad Hi,
i continued the process of deploying scalelite docker containers. after fixing most of the issues. i got service running But still there is an error :

● scalelite-api.service - Scalelite API
Loaded: loaded (/etc/systemd/system/scalelite-api.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-07-20 11:07:51 CEST; 1s ago
Process: 3267 ExecStart=/usr/bin/docker run --name scalelite-api --env-file /etc/default/scalelite --network scalelite --mount type=bind,source=${SCALELITE_RECORDING_
Process: 3240 ExecStartPre=/usr/bin/docker pull blindsidenetwks/scalelite:${SCALELITE_TAG}-api (code=exited, status=0/SUCCESS)
Process: 3219 ExecStartPre=/usr/bin/docker rm scalelite-api (code=exited, status=0/SUCCESS)
Process: 3193 ExecStartPre=/usr/bin/docker kill scalelite-api (code=exited, status=1/FAILURE)
Main PID: 3267 (code=exited, status=1/FAILURE)

Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3267]: /srv/scalelite/vendor/bundle/ruby/2.6.0/gems/puma-4.3.5/lib/puma/configuration.rb:246:in app' Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3267]: /srv/scalelite/vendor/bundle/ruby/2.6.0/gems/puma-4.3.5/lib/puma/runner.rb:155:in load_and_bind'
Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3267]: /srv/scalelite/vendor/bundle/ruby/2.6.0/gems/puma-4.3.5/lib/puma/single.rb:98:in run' Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3267]: /srv/scalelite/vendor/bundle/ruby/2.6.0/gems/puma-4.3.5/lib/puma/launcher.rb:172:in run'
Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3267]: /srv/scalelite/vendor/bundle/ruby/2.6.0/gems/puma-4.3.5/lib/puma/cli.rb:80:in run' Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3267]: /srv/scalelite/vendor/bundle/ruby/2.6.0/gems/puma-4.3.5/bin/puma:10:in <top (required)>'
Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3267]: /srv/scalelite/vendor/bundle/ruby/2.6.0/bin/puma:23:in load' Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3267]: /srv/scalelite/vendor/bundle/ruby/2.6.0/bin/puma:23:in <top (required)>'
Jul 20 11:07:51 Ubuntu-1804-bionic-64-minimal systemd[1]: scalelite-api.service: Main process exited, code=exited, status=1/FAILURE
Jul 20 11:07:51 Ubuntu-1804-bionic-64-minimal systemd[1]: scalelite-api.service: Failed with result 'exit-code'.

● scalelite-nginx.service - Scalelite Nginx
Loaded: loaded (/etc/systemd/system/scalelite-nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-07-20 11:07:48 CEST; 4s ago
Process: 3319 ExecStartPre=/usr/bin/docker pull blindsidenetwks/scalelite:${SCALELITE_TAG}-nginx (code=exited, status=0/SUCCESS)
Process: 3306 ExecStartPre=/usr/bin/docker rm scalelite-nginx (code=exited, status=0/SUCCESS)
Process: 3268 ExecStartPre=/usr/bin/docker kill scalelite-nginx (code=exited, status=1/FAILURE)
Main PID: 3428 (docker)
Tasks: 13 (limit: 4915)
CGroup: /system.slice/scalelite-nginx.service
└─3428 /usr/bin/docker run --name scalelite-nginx --env-file /etc/default/scalelite --network scalelite --publish 80:80 --publish 443:443 --mount type=bind,s

Jul 20 11:07:48 Ubuntu-1804-bionic-64-minimal docker[3319]: v1-nginx: Pulling from blindsidenetwks/scalelite
Jul 20 11:07:48 Ubuntu-1804-bionic-64-minimal docker[3319]: Digest: sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxx
Jul 20 11:07:48 Ubuntu-1804-bionic-64-minimal docker[3319]: Status: Image is up to date for blindsidenetwks/scalelite:v1-nginx
Jul 20 11:07:48 Ubuntu-1804-bionic-64-minimal docker[3319]: docker.io/blindsidenetwks/scalelite:v1-nginx
Jul 20 11:07:48 Ubuntu-1804-bionic-64-minimal systemd[1]: Started Scalelite Nginx.
Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3428]: Startup script was run as init, re-execing using tini.
Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3428]: Generating templated nginx configuration...
Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3428]: Using SSL configuration template.
Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3428]: Starting nginx periodic reload process...
Jul 20 11:07:50 Ubuntu-1804-bionic-64-minimal docker[3428]: Starting nginx...

from scalelite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.