I got the extension to install (it seems) by running:

#rake db:boostrap

instead of:

#rake production db:bootstrap (this is the command I found on the
radiant wiki: http://wiki.radiantcms.org/Create_your_first_Radiant_project)

then I run #ruby script/server -e production and I get the site home
page but the /admin page gives me:

Application error

Change this error message for exceptions thrown outside of an action
(like in Dispatcher setups or broken Ruby code) in public/500.html

Chaim


Chaim Kirby wrote:
> Nate Turnage wrote:
>> On Thu, Jan 29, 2009 at 1:50 PM, Sean Cribbs <seancri...@gmail.com> wrote:
>>
>>> Did your Radiant bootstrap ok?
>>>
>>
>> I am guessing that is the problem, too.
>>
>>
>> ~Nate
> 
> Here is the output from the bootstrapping step (it is a lot):
> 
> # rake production db:bootstrap
> (in /opt/radiant)
> This task will destroy any data in the database. Are you sure you want to
> continue? [yn] y
> == 1 CreateRadiantTables: migrating
> ===========================================
> -- create_table("config", {:force=>true})
> NOTICE:  CREATE TABLE will create implicit sequence "config_id_seq" for
> serial column "config.id"
> NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
> "config_pkey" for table "config"
>    -> 0.0434s
> -- add_index("config", ["key"], {:name=>"key", :unique=>true})
>    -> 0.0325s
> -- create_table("pages", {:force=>true})
> NOTICE:  CREATE TABLE will create implicit sequence "pages_id_seq" for
> serial column "pages.id"
> NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
> "pages_pkey" for table "pages"
>    -> 0.0531s
> -- create_table("page_parts", {:force=>true})
> NOTICE:  CREATE TABLE will create implicit sequence "page_parts_id_seq"
> for serial column "page_parts.id"
> NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
> "page_parts_pkey" for table "page_parts"
>    -> 0.0681s
> -- create_table("snippets", {:force=>true})
> NOTICE:  CREATE TABLE will create implicit sequence "snippets_id_seq"
> for serial column "snippets.id"
> NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
> "snippets_pkey" for table "snippets"
>    -> 0.0695s
> -- add_index("snippets", ["name"], {:name=>"name", :unique=>true})
>    -> 0.0222s
> -- create_table("layouts", {:force=>true})
> NOTICE:  CREATE TABLE will create implicit sequence "layouts_id_seq" for
> serial column "layouts.id"
> NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
> "layouts_pkey" for table "layouts"
>    -> 0.0396s
> -- create_table("users", {:force=>true})
> NOTICE:  CREATE TABLE will create implicit sequence "users_id_seq" for
> serial column "users.id"
> NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
> "users_pkey" for table "users"
>    -> 0.0511s
> -- add_index("users", ["login"], {:name=>"login", :unique=>true})
>    -> 0.0286s
> == 1 CreateRadiantTables: migrated (0.4126s)
> ==================================
> 
> == 2 InsertInitialData: migrating
> =============================================
> == 2 InsertInitialData: migrated (0.0000s)
> ====================================
> 
> == 3 RenameBehaviorColumn: migrating
> ==========================================
> -- rename_column(:pages, :behavior, :behavior_id)
>    -> 0.0029s
> == 3 RenameBehaviorColumn: migrated (0.0031s)
> =================================
> 
> == 4 RenameFilterColumn: migrating
> ============================================
> -- rename_column(:page_parts, :filter, :filter_id)
>    -> 0.0041s
> -- rename_column(:snippets, :filter, :filter_id)
>    -> 0.0031s
> == 4 RenameFilterColumn: migrated (0.0075s)
> ===================================
> 
> == 5 AddVirtualColumnToPage: migrating
> ========================================
> -- add_column("pages", "virtual", :boolean, {:default=>false, :null=>false})
>    -> 0.0083s
> == 5 AddVirtualColumnToPage: migrated (0.0085s)
> ===============================
> 
> == 6 IntegerColumnsToBoolean: migrating
> =======================================
> == 6 IntegerColumnsToBoolean: saving User data
> ================================
> -- remove_column("users", "admin")
>    -> 0.0035s
> -- add_column("users", "admin", :boolean, {:default=>false, :null=>false})
>    -> 0.0084s
> == 6 IntegerColumnsToBoolean: restoring User data
> =============================
> == 6 IntegerColumnsToBoolean: saving User data
> ================================
> -- remove_column("users", "developer")
>    -> 0.0027s
> -- add_column("users", "developer", :boolean, {:default=>false,
> :null=>false})
>    -> 0.0081s
> == 6 IntegerColumnsToBoolean: restoring User data
> =============================
> == 6 IntegerColumnsToBoolean: migrated (0.0258s)
> ==============================
> 
> == 7 RemoveVirtualColumnFromPage: migrating
> ===================================
> -- remove_column("pages", "virtual")
>    -> 0.0028s
> == 7 RemoveVirtualColumnFromPage: migrated (0.0029s)
> ==========================
> 
> == 8 AddVirtualColumnToPageAgain: migrating
> ===================================
> -- add_column("pages", "virtual", :boolean, {:default=>false, :null=>false})
>    -> 0.0084s
> == 8 AddVirtualColumnToPageAgain: migrated (0.0086s)
> ==========================
> 
> == 9 AddContentTypeFieldToLayout: migrating
> ===================================
> -- add_column("layouts", "content_type", :string, {:limit=>40})
>    -> 0.0028s
> == 9 AddContentTypeFieldToLayout: migrated (0.0029s)
> ==========================
> 
> == 10 MergeBehaviorsAndPages: migrating
> =======================================
> == 10 MergeBehaviorsAndPages: converting behavior names to class names
> ========
> -- rename_column(:pages, :behavior_id, :type)
>    -> 0.0025s
> == 10 MergeBehaviorsAndPages: migrated (0.0032s)
> ==============================
> 
> == 11 RenameTypeColumnOnPageToClassName: migrating
> ============================
> -- rename_column("pages", "type", "class_name")
>    -> 0.0025s
> == 11 RenameTypeColumnOnPageToClassName: migrated (0.0027s)
> ===================
> 
> == 12 CreateExtensionMeta: migrating
> ==========================================
> -- create_table("extension_meta", {:force=>true})
> NOTICE:  CREATE TABLE will create implicit sequence
> "extension_meta_id_seq" for serial column "extension_meta.id"
> NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
> "extension_meta_pkey" for table "extension_meta"
>    -> 0.0295s
> == 12 CreateExtensionMeta: migrated (0.0296s)
> =================================
> 
> == 13 AddNotesFieldToUser: migrating
> ==========================================
> -- add_column("users", "notes", :text)
>    -> 0.0253s
> == 13 AddNotesFieldToUser: migrated (0.0255s)
> =================================
> 
> == 14 RenameConfigDefaultPartsKey: migrating
> ==================================
> == 14 RenameConfigDefaultPartsKey: migrated (0.0045s)
> =========================
> 
> == 15 AddOptimisticLocking: migrating
> =========================================
> -- add_column(:pages, :lock_version, :integer, {:default=>0})
>    -> 0.0052s
> -- add_column(:layouts, :lock_version, :integer, {:default=>0})
>    -> 0.0050s
> -- add_column(:snippets, :lock_version, :integer, {:default=>0})
>    -> 0.0052s
> -- add_column(:users, :lock_version, :integer, {:default=>0})
>    -> 0.0051s
> == 15 AddOptimisticLocking: migrated (0.0210s)
> ================================
> 
> == 16 AddSessions: migrating
> ==================================================
> -- create_table(:sessions)
> NOTICE:  CREATE TABLE will create implicit sequence "sessions_id_seq"
> for serial column "sessions.id"
> NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index
> "sessions_pkey" for table "sessions"
>    -> 0.0431s
> -- add_index(:sessions, :session_id)
>    -> 0.0310s
> -- add_index(:sessions, :updated_at)
>    -> 0.0113s
> == 16 AddSessions: migrated (0.0857s)
> =========================================
> 
> == 17 RenameCreatedByUpdatedByColumns: migrating
> ==============================
> -- rename_column("pages", :created_by, :created_by_id)
>    -> 0.0025s
> -- rename_column("pages", :updated_by, :updated_by_id)
>    -> 0.0024s
> -- rename_column("snippets", :created_by, :created_by_id)
>    -> 0.0025s
> -- rename_column("snippets", :updated_by, :updated_by_id)
>    -> 0.0041s
> -- rename_column("layouts", :created_by, :created_by_id)
>    -> 0.0041s
> -- rename_column("layouts", :updated_by, :updated_by_id)
>    -> 0.0036s
> -- rename_column("users", :created_by, :created_by_id)
>    -> 0.0035s
> -- rename_column("users", :updated_by, :updated_by_id)
>    -> 0.0035s
> == 17 RenameCreatedByUpdatedByColumns: migrated (0.0273s)
> =====================
> 
> == 18 AddDescriptionAndKeywordsToPages: migrating
> =============================
> -- add_column(:pages, :description, :string)
>    -> 0.0032s
> -- add_column(:pages, :keywords, :string)
>    -> 0.0035s
> == 18 AddDescriptionAndKeywordsToPages: migrated (0.0069s)
> ====================
> 
> == 19 AddSaltToUsers: migrating
> ===============================================
> -- add_column(:users, :salt, :string)
>    -> 0.0042s
> == 19 AddSaltToUsers: migrated (0.0049s)
> ======================================
> 
> == 20 AddSessionInfoToUsers: migrating
> ========================================
> -- add_column(:users, :session_token, :string)
>    -> 0.0032s
> -- add_column(:users, :session_expire, :datetime)
>    -> 0.0030s
> == 20 AddSessionInfoToUsers: migrated (0.0065s)
> ===============================
> 
> == 21 RemoveSessionExpireFromUsers: migrating
> =================================
> -- remove_column(:users, :session_expire)
>    -> 0.0038s
> == 21 RemoveSessionExpireFromUsers: migrated (0.0040s)
> ========================
> 
> 
> Create the admin user (press enter for defaults).
> Name (Administrator):
> Username (admin):
> Password (radiant):
> 
> Initializing configuration.........OK
> 
> Select a database template:
> 1. Empty
> 2. Simple Blog
> 3. Styled Blog
> [1-3]: 3
> 
> Creating Snippets....OK
> Creating Pages....OK
> Creating Layouts....OK
> Creating Page parts....OK
> 
> Finished.
> 
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
> 


_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to