I wanted to migrate from 0.9.1 to 0.11.0. Here are the problems I faced
(in order of occurance).
- Installed 0.11.0.. and followd the 2 steps to install. Got a blank page.
- reread the README. Realized I now have to install sqlite, sqlite driver
and rake. Did that.
- restarted instiki. Still blank page.
- reread the instructions. Forgot to run ''rake migrate''. Did
that. Now I
see a host of errors from the mysql.rb module. First /tmp/mysql.sock not
found. I fixed that. Then it aborted with message Access denied for user
''
root at localhost''.
So question : 1- Is running rake migrate an essential step ?
2- If so why
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/instiki-users/attachments/20060511/8e6eb5c5/attachment-0001.htm
Punit Rathore wrote:> I wanted to migrate from 0.9.1 to 0.11.0.Hi Punit, Sorry to hear about your difficulties. I gather that you followed the basic instructions at the top of the README? Did you check out the section down lower titled "Migrating Instiki 0.10.2 storage to Instiki 0.11.0 database"? If so, did that work for you? Also note that rake migrate must be run as "rake environment RAILS_ENV=production migrate" -- this is a documentation error in the 0.11.0 release that is fixed in source control... not that that''s any help to you! -- John
John, Thanks for y our reply. I am trying to do a fresh install first ( before I migrate). My goal is to get the default page up that lets you configure your hompage etc. I did try with "rake environment RAILS_ENV=production migrate" but to no avail. Is there any way to turn on the error logs ? Currently my log file is empty and I have no indication as to whats going wrong. Hi Punit, Sorry to hear about your difficulties. I gather that you followed the basic instructions at the top of the README? Did you check out the section down lower titled "Migrating Instiki 0.10.2 storage to Instiki 0.11.0 database"? If so, did that work for you? Also note that rake migrate must be run as "rake environment RAILS_ENV=production migrate" -- this is a documentation error in the 0.11.0 release that is fixed in source control... not that that''s any help to you! -- John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20060512/584276a3/attachment.htm
Hmm. Doing an install on a Mac OS X 10.4.6 system with the following
prequisites installled works just fine:
* ruby 1.8.4
* the sqlite3-ruby gem
* the sqlite3 libraries
* swig (http://www.swig.org/) swig is required for sqlite3 *nix and
Mac OS X systems,
otherwise the sqlite3-ruby gem reverts to a broken pure ruby
implementation. :-P
My sequence for setup with the above prerequisites installed:
0) tar xzf instiki-0.11.0.tgz
1) cd instiki-0.11.0
2) rake environment RAILS_ENV=production db_schema_import
3) For Mac OS X/*nix: script/server -e production -p 2500
For Windows: instiki.cmd
note that doing "rake ... db_schema_import" effectively does the same
thing as "rake ... migrate", except that it does it in one step from
schema.rb, and it creates/clears the sqlite3 db file as needed.
At that point, I can connect to http://localhost:2500/ and I get the
initial wiki page just fine.
If you''re still having trouble, please post what platform
you''re on
(w.g. Win2k, etc.) and the precise steps you follow. I''ll see if I
can repro on a similar system.
-- John
On May 12, 2006, at 10:23 AM, Punit Rathore wrote:
> John,
> Thanks for y our reply. I am trying to do a fresh install first
> ( before I migrate). My goal is to get the default page up that
> lets you configure your hompage etc.
> I did try with "rake environment RAILS_ENV=production migrate"
> but to no avail. Is there any way to turn on the error logs ?
> Currently my log file is empty and I have no indication as to whats
> going wrong.
> Hi Punit,
>
> Sorry to hear about your difficulties. I gather that you followed
> the basic instructions at the top of the README? Did you check out
> the section down lower titled "Migrating Instiki 0.10.2 storage to
> Instiki 0.11.0 database"? If so, did that work for you?
>
> Also note that rake migrate must be run as "rake environment
> RAILS_ENV=production migrate" -- this is a documentation error in the
> 0.11.0 release that is fixed in source control... not that that''s
any
> help to you!
>
> -- John
> _______________________________________________
> Instiki-users mailing list
> Instiki-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/instiki-users