The error that you're getting is from the ferret expecting a background
server process to be running.
In that particular step, the admin is being added to the database and
requires ferret to update its search index. If you take a look at
config/ferret_server.yml, you'll see that the production config is set for a
process running on port 9010.
What you'll need to do is
1. Reset/drop the database (easiest thing to do since you're currently just
getting it set up and there's no data to retain)
2. Start the ferret server process
script/ferret_server -e production start
3. Re-run the install
rake install
Hopefully this gets you up and running. Let me know if you run into a more
issues
FYI, you'll need to stop and start the ferret server at the appropriate
points when installing/updating code. Here's the typical flow:
1. Stop Insoshi server processes (Dreamhost uses a FastCGI setup)
2. Stop ferret server
script/ferret_server -e production stop
3. Install updated code
4. Start ferret server
script/ferret_server -e production start
5. Run migration
6. Restart Insoshi server processes
Long
On Tue, Jul 22, 2008 at 8:06 AM, eric <[EMAIL PROTECTED]> wrote:
>
> So I got a Private Server on Dreamhost,
>
> did a clean upload of the latest Tar
> sent through the motions and when I ran:
>
>
> rake db:migrate RAILS_ENV=production
>
>
> this was the garbage I got.
>
>
>
> == 12 CreateLocalKeys: migrated (0.0685s)
> =====================================
>
> == 13 AddAdmin: migrating
> =====================================================
> -- add_column(:people, :admin, :boolean,
> {:default=>false, :null=>false})
> -> 0.0107s
> -- add_column(:people, :deactivated, :boolean,
> {:default=>false, :null=>false})
> -> 0.0118s
> rake aborted!
> druby://localhost:9010 - #<Errno::ECONNREFUSED: Connection refused -
> connect(2)>
> >
>
--
Long Nguyen
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/
You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---