Coder Social home page Coder Social logo

Comments (15)

rohitcoder avatar rohitcoder commented on June 11, 2024

Hi @MirzaAreebBaig ,

Before proceeding further, i would like to get more details here.

  1. First, check if recordings and files are getting transferred to S3 bucket or not.
  2. You need to verify S3 bucket URL is not wrong which you typed under writing.js file.

Few days back i noticed one of the user typed "meetingid" instead of "meetingId" (See capital I here)

Can you please post a screenshot of your writing.js file like this one

Editing writing.js

Alternatively, please check if any uploaded files are accessible by URL without passing any auth-token in URL

For testing this just upload, an image like a.jpg in your bucket and then access it like https://bucketname.s3.amazonaws.com/a.jpg

from bbb-aws-s3.

MirzaAreebBaig avatar MirzaAreebBaig commented on June 11, 2024

Yes sure here is the screenshot of S3 & writing.js file
Here is our S3 Screenshot files are not getting transferred to S3
Capture2

& here is the screenshot of writing.js
Capture

Here is the testing url for an image
https://mimberclassesrecording.s3.ap-south-1.amazonaws.com/Capture.JPG

from bbb-aws-s3.

rohitcoder avatar rohitcoder commented on June 11, 2024

@MirzaAreebBaig

  1. First add "/" after amazonaws.com in URL const. It should be like "https://mimber...........amazonaws.com/"+meetingId;

  2. And it seems, you downloaded bbb-s3.py folder in root directory, this file "bbb-s3.py" should be under /var/bigbluebutton/published/presentation

from bbb-aws-s3.

MirzaAreebBaig avatar MirzaAreebBaig commented on June 11, 2024
  1. Added "/" to the url
    Capture

  2. the bbb-s3.py file is in /var/bigbluebutton/published/presentation folder
    Capture

Still the recordings are not getting transferred in S3 & still all recordings point "Recording not found"

from bbb-aws-s3.

rohitcoder avatar rohitcoder commented on June 11, 2024

Now, everything seems good, if you also configured aws configure then now it should work.

you can check it by running this file manually for first time type these commands in terminal

sudo su
/usr/bin/python /var/bigbluebutton/published/presentation/bbb-s3.py

And post screenshot of the output

from bbb-aws-s3.

MirzaAreebBaig avatar MirzaAreebBaig commented on June 11, 2024

Sure please check

Capture

from bbb-aws-s3.

rohitcoder avatar rohitcoder commented on June 11, 2024

@MirzaAreebBaig

Now, this should work because bbb-s3.py is trying to transfer files to your s3 bucket.

Record a meeting and finish it, and wait for 5 to 7 minutes (BBB takes some time to process raw meetings to finalize it) after 5 to 7 minutes of ending meeting. Run this same command.

/usr/bin/python /var/bigbluebutton/published/presentation/bbb-s3.py

and when it finishes check your s3 bucket, is there any new folder with meeting ID as folder's name.

If it's not there, then you need to check if aws configure is done properly and you have write access keys and id in aws configure variables.

from bbb-aws-s3.

MirzaAreebBaig avatar MirzaAreebBaig commented on June 11, 2024

Done with recording & waited till it get published & have run the command
/usr/bin/python /var/bigbluebutton/published/presentation/bbb-s3.py
still the recordings have not been transferred in s3
& rechecked aws configure variables that seems to be correct

from bbb-aws-s3.

rohitcoder avatar rohitcoder commented on June 11, 2024

@MirzaAreebBaig ,

You need to provide more details here, this works for most of the guys here, and i tested it again, it's working for me.

I'll recommend you to check again your aws credentials, or i can take a look via teamviewer if you are comfortable, else you have to figure it out yourself.

from bbb-aws-s3.

MirzaAreebBaig avatar MirzaAreebBaig commented on June 11, 2024

sure please let me know your availability then you can have a look over teamviewer

from bbb-aws-s3.

MirzaAreebBaig avatar MirzaAreebBaig commented on June 11, 2024

Hi Rohit,

Now everything seems to be okay in the bbb server

Last time it was showing "Recording not found"

Now the page goes completely blank & title of the page remains loading.

from bbb-aws-s3.

rohitcoder avatar rohitcoder commented on June 11, 2024

Now the page goes completely blank & title of the page remains loading.

Which page you are talking about? can you send me a screenshot, and also attach screenshot from your browser console logs.

from bbb-aws-s3.

rohitcoder avatar rohitcoder commented on June 11, 2024

@MirzaAreebBaig other user also faced this same problem.

We solved it by changing our crontab command please add this in your crontab and let me know if it works for you

* * * * * cd /var/bigbluebutton/published/presentation/ && python bbb-s3.py

This will execute after every 1 minute (You can changed timings)

Let me know if this works for you

from bbb-aws-s3.

MirzaAreebBaig avatar MirzaAreebBaig commented on June 11, 2024

Hey @rohitcoder Thanks for this

Now everything is working.

from bbb-aws-s3.

rohitcoder avatar rohitcoder commented on June 11, 2024

Closing this thread as resolved

Feel free to create or reopen any new issues if needed :)

from bbb-aws-s3.

Related Issues (6)

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.