Code Monkey home page Code Monkey logo

Comments (4)

daronco avatar daronco commented on May 25, 2024

Are you using PostgreSQL? Are your migrations all running without errors?
There's a table named "bigbluebutton_server_configs" that apparently doesn't exist in your setup, but it should. Take a look at your migration files and see if they create this table. If you installed the gem correctly, it should be in a migration file that includes "bigbluebutton_rails" in its name.

It might be some specific of PostgreSQL, but it's hard to know since we recommend MySQL instead.

from bigbluebutton_rails.

pandu-49-zz avatar pandu-49-zz commented on May 25, 2024

I already checked in migration file but it does not contain any code to create a table "bigbluebutton_server_configs" and as well as migration are executed with out any errors.

from bigbluebutton_rails.

4itosik avatar 4itosik commented on May 25, 2024

@pandugreycampus, I have this error, when I use gem 'bigbluebutton_rails'.

In bigbluebutton_rails migration I don't have bigbluebutton_server_configs table.

I remove all (rollback db too).

Add gem 'bigbluebutton_rails', github: 'mconf/bigbluebutton_rails' to Gemfile.
bundle
and when I use rails generate bigbluebutton_rails:install, in migration I have table

    create_table :bigbluebutton_server_configs do |t|
      t.integer :server_id
      t.text :available_layouts
      t.timestamps
    end

And now I can create server on PG database.

from bigbluebutton_rails.

daronco avatar daronco commented on May 25, 2024

Whenever you update the gem, you should also consider that there might be new migrations that you have to add to your application. And usually there are. The wiki has information on how to migrate to an specific version of the gem, check Migrate to 1.4.0.

You have to run commands such as the one below to create the migration file:

bundle exec rails generate bigbluebutton_rails:install 1.4.0 --migration-only

All migrations are in this folder. You'll see that there is one for each version. Make sure you have them all (you might have only one migration including the content from them all, that's ok).

If you are running the latest version from master, you will not find a wiki page with instructions, so you'll have to copy the migration and check for other possible updates yourself.

Maybe the update process should be clearer in the README file, I'll review it.

from bigbluebutton_rails.

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.