#255 ✓resolved

Ruby on Rails application could not be started

Reported by supermeg | February 11th, 2010 @ 10:02 PM

Dear Sir/Madam

I'm trying install the Kete.
I use Ubuntu Server 9.
I passed all of installation steps but i could not start Kete

On last step, I've created Site (apache) for Kete and i get attaching error page when i connect to kete site.

May you help me?

Best Regards

Comments and changes to this ticket

  • Kieran P

    Kieran P February 12th, 2010 @ 02:31 PM

    • State changed from “new” to “open”


    It looks like you might not have memcached installed, or if it is, it may not be running.

    Install memcache with something like

    sudo aptitude install memcache

    Then start:

    memcached -d -u[the_account_kete_is_on] -m128

    Then restart apache:

    /etc/init.d/apache2 restart

    And see how that goes.

  • supermeg

    supermeg February 15th, 2010 @ 09:53 PM

    Dear Kieran

    I tried to install memcahce but it couldn't installed.
    I saw a memcache line in kete/config/environment.rb and i've changed config.action.controller.session.store = :active_record_store

    I've passed this error page but i have new problem related Database.

    I've wrote "rake db:bootstrap" on console
    It creates some database tables but an error occured

    MYSQL::Error: Table "kete_production.zoom_dbs" doesn't exist:DELETE FROM 'zoom_dbs'

    Is there a sample database creation SQL script?
    I think rake db:bootstrap will not be successfully on my system..

    Thanks for your Support.

    Best Regards

  • Kieran P

    Kieran P February 15th, 2010 @ 10:28 PM


    Switching to :active_record_store isn't something we support.

    Memcache is also needed for various other things, so is a dependency.

    I found this article. Have a look and see if you can get memcached installed.


    As for the error with db:bootstrap, try dropping and recreating the database.

    Also make sure that the user in config/database.yml has access to it.

    I just ran that command 2 hours ago on a new Kete installation without issue.

    Please also make sure you are using the latest Kete source from Github too (do a 'git pull' from the kete folder)


  • Walter McGinnis

    Walter McGinnis February 15th, 2010 @ 10:32 PM


    > I tried to install memcahce but it couldn't installed. > I saw a memcache line in kete/config/environment.rb and i've changed config.action.controller.session.store = :active_record_store

    Unfortunately you can't simply switch to active_record_store. You have to get memcached installed and use memcache for the session store. That is your key issue.

    You may wish to seek advice on a memcache specific mailinglist to see if they can help.

    After you resolve the memcache dependency, try the rake db:bootstrap again (it will clear out the old corrupted database stuff).


  • supermeg

    supermeg February 16th, 2010 @ 12:18 AM

    Dear Kieran and Walter

    I know, I ask manything but Kete (also Rubby) are a new world for me.. I'm foreign to manythings :)

    I've passed Memcache and DB Errors.

    New problem is :

    Error message:

    Mysql::Error: Table 'kete_production.baskets' doesn't exist: SHOW FIELDS FROM `baskets` (ActiveRecord::StatementInvalid)

    Exception class:


    Application root:


    (Error Page is attached)

    May you help me :$

    Best Regards

  • supermeg

    supermeg February 16th, 2010 @ 12:20 AM

    Oh I'm so sorry,

    I've paste old error message,
    Updated error message in attachment..

    Error message:
        uninitialized constant AudioRecording::AUDIO_CONTENT_TYPES
    Exception class:
    Application root:
  • Kieran P

    Kieran P February 16th, 2010 @ 08:42 AM

    Did you rerun rake db:bootstrap ?

    Wouldn't hurt to restart the Apache server too. sudo /etc/init.d/apache2 restart

  • supermeg

    supermeg February 16th, 2010 @ 07:43 PM

    Dear Kieran

    I've passed Database operations.
    My new problem is related AudioRecording. :(

    So, i'm asking so many questions but this installation is important for our foundation. Please excuse me appear.

  • Kieran P

    Kieran P February 16th, 2010 @ 08:26 PM


    The fact that the constant AUDIO_CONTENT_TYPES is missing usually means that the rake db:bootstrap command did not work properly, and did not populate the database with all system settings.

    When you run rake db:bootstrap, what is the last few lines you see in the console.

    Also, once you run rake db:bootstrap again, please also post the output of the following MySQL query.

    SELECT * FROM system_settings WHERE name LIKE 'Audio Content Types';


  • Walter McGinnis

    Walter McGinnis February 16th, 2010 @ 08:40 PM

    I recommend rerunning the rake db:bootstrap command twice in a row if you encounter this. I've had the same thing happen and that usually cleared things up.


  • Walter McGinnis

    Walter McGinnis January 6th, 2012 @ 11:49 AM

    • State changed from “open” to “resolved”
    • Milestone order changed from “0” to “0”

    No more follow up received on this and the installation issues seemed to be specific to installation failures on the person's host rather than a Kete issue.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.