From beingthexemplarylists at gmail.com Mon Aug 6 14:29:52 2007 From: beingthexemplarylists at gmail.com (aaron smith) Date: Mon, 6 Aug 2007 14:29:52 -0400 Subject: [Instiki] instiki not running, blank page. Message-ID: Hey All, I am trying to get instiki running on a server of mine. It runs here: wiki.mydomain.com. I've got a proxy in the apache config file like so: ServerName wiki.mydomain.com ServerAdmin webmaster at mydomain.com ProxyPass / http://localhost:2500/ ProxyPassReverse / http://localhost:2500/ The proxy is working fine, but when I go to wiki.mydomain.org it is just a blank page. What's funny is that I ran into this before, but can't remember how I fixed it.. Anyone had this issue? I can even see the requests hitting webrick, but there is no content on the page.. Thanks Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20070806/dd7e38c1/attachment.html From beingthexemplarylists at gmail.com Mon Aug 6 14:42:20 2007 From: beingthexemplarylists at gmail.com (aaron smith) Date: Mon, 6 Aug 2007 14:42:20 -0400 Subject: [Instiki] CentOS Installation? In-Reply-To: <78ccd8360703040511t7e0f8b8em43f8866e69f68f66@mail.gmail.com> References: <78ccd8360703040511t7e0f8b8em43f8866e69f68f66@mail.gmail.com> Message-ID: Hey Again, I'm having this same issue again on another server. Can't figure out what is wrong.. I've tried running : rake migrate RAILS_ENV=production and I get this error: rake aborted! libsqlite3.so: cannot open shared object file: No such file or directory (See full trace by running task with --trace) Any ideas? On 3/4/07, Matthias Tarasiewicz wrote: > > can you try to run a "rake migrate RAILS_ENV=production" from the root > of your instiki install and report back if that solves your problems? > > On 3/4/07, aaron smith wrote: > > Hey Everyone, > > > > Quick question. I'm on a dedicated linux CentOS box at lunarpages. I am > > trying to get Instiki to run on it. I have everything installed needed. > > ruby, gems, rails, etc... For right now i'm just trying to get it > running > > without mod_proxy and apache.. I've changed the port to port 80 in > > script/server. > > > > I start it by running ./instiki > > everything starts successfully > > > > The the page is just blank when visited. I see the requests coming > through > > to WEBrick, but no visual output. You can see the output here: > > > > http://www.rubyamfdedicated.com > > > > I believe sqlite is installed correctly. As when I type sql[TAB] it > > completes with this: 'sqlite3 ' > > > > Any Ideas? > > > > -thanks > > > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20070806/ffdd4c60/attachment.html From johannes.vanderknyff at gmail.com Tue Aug 7 09:09:15 2007 From: johannes.vanderknyff at gmail.com (Johannes Vanderknyff) Date: Tue, 7 Aug 2007 09:09:15 -0400 Subject: [Instiki] CentOS Installation? In-Reply-To: References: <78ccd8360703040511t7e0f8b8em43f8866e69f68f66@mail.gmail.com> Message-ID: Aaron, Not sure if it is relevant, but I had the same problem getting instiki up and running on my Ubuntu installation.... I had to do a bit of a hack to get it working: http://rubyforge.org/tracker/?func=detail&aid=10828&group_id=186&atid=783 Johannes On 8/6/07, aaron smith wrote: > > Hey Again, I'm having this same issue again on another server. Can't > figure out what is wrong.. > > I've tried running : > rake migrate RAILS_ENV=production > > and I get this error: > rake aborted! > libsqlite3.so: cannot open shared object file: No such file or directory > > (See full trace by running task with --trace) > > Any ideas? > > > On 3/4/07, Matthias Tarasiewicz wrote: > > > > can you try to run a "rake migrate RAILS_ENV=production" from the root > > of your instiki install and report back if that solves your problems? > > > > On 3/4/07, aaron smith < beingthexemplarylists at gmail.com> wrote: > > > Hey Everyone, > > > > > > Quick question. I'm on a dedicated linux CentOS box at lunarpages. I > > am > > > trying to get Instiki to run on it. I have everything installed > > needed. > > > ruby, gems, rails, etc... For right now i'm just trying to get it > > running > > > without mod_proxy and apache.. I've changed the port to port 80 in > > > script/server. > > > > > > I start it by running ./instiki > > > everything starts successfully > > > > > > The the page is just blank when visited. I see the requests coming > > through > > > to WEBrick, but no visual output. You can see the output here: > > > > > > http://www.rubyamfdedicated.com > > > > > > I believe sqlite is installed correctly. As when I type sql[TAB] it > > > completes with this: 'sqlite3 ' > > > > > > Any Ideas? > > > > > > -thanks > > > > > > _______________________________________________ > > > Instiki-users mailing list > > > Instiki-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20070807/b7aacc78/attachment.html From beingthexemplarylists at gmail.com Tue Aug 7 10:26:53 2007 From: beingthexemplarylists at gmail.com (aaron smith) Date: Tue, 7 Aug 2007 10:26:53 -0400 Subject: [Instiki] CentOS Installation? In-Reply-To: References: <78ccd8360703040511t7e0f8b8em43f8866e69f68f66@mail.gmail.com> Message-ID: Hey Thanks for that info. I'm having problems getting that file open. It seems empty? On 8/7/07, Johannes Vanderknyff wrote: > > Aaron, > > Not sure if it is relevant, but I had the same problem getting instiki up > and running on my Ubuntu installation.... I had to do a bit of a hack to get > it working: > > http://rubyforge.org/tracker/?func=detail&aid=10828&group_id=186&atid=783 > > Johannes > > On 8/6/07, aaron smith < beingthexemplarylists at gmail.com> wrote: > > > > Hey Again, I'm having this same issue again on another server. Can't > > figure out what is wrong.. > > > > I've tried running : > > rake migrate RAILS_ENV=production > > > > and I get this error: > > rake aborted! > > libsqlite3.so: cannot open shared object file: No such file or directory > > > > (See full trace by running task with --trace) > > > > Any ideas? > > > > > > On 3/4/07, Matthias Tarasiewicz wrote: > > > > > > can you try to run a "rake migrate RAILS_ENV=production" from the root > > > of your instiki install and report back if that solves your problems? > > > > > > On 3/4/07, aaron smith < beingthexemplarylists at gmail.com> wrote: > > > > Hey Everyone, > > > > > > > > Quick question. I'm on a dedicated linux CentOS box at lunarpages. I > > > am > > > > trying to get Instiki to run on it. I have everything installed > > > needed. > > > > ruby, gems, rails, etc... For right now i'm just trying to get it > > > running > > > > without mod_proxy and apache.. I've changed the port to port 80 in > > > > script/server. > > > > > > > > I start it by running ./instiki > > > > everything starts successfully > > > > > > > > The the page is just blank when visited. I see the requests coming > > > through > > > > to WEBrick, but no visual output. You can see the output here: > > > > > > > > http://www.rubyamfdedicated.com > > > > > > > > I believe sqlite is installed correctly. As when I type sql[TAB] it > > > > completes with this: 'sqlite3 ' > > > > > > > > Any Ideas? > > > > > > > > -thanks > > > > > > > > _______________________________________________ > > > > Instiki-users mailing list > > > > Instiki-users at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > > > _______________________________________________ > > > Instiki-users mailing list > > > Instiki-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > > > > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20070807/3250b140/attachment-0001.html From laran at laranevans.com Tue Aug 14 10:31:51 2007 From: laran at laranevans.com (Laran Evans) Date: Tue, 14 Aug 2007 10:31:51 -0400 Subject: [Instiki] blank page after install on windows Message-ID: <30ec9fe20708140731sda891d7n2cda36d917e39aba@mail.gmail.com> I tried running after installing and changing my production adapter to mysql, I got the following output: C:\instiki-0.11.pl1>dir Volume in drive C has no label. Volume Serial Number is D0E6-0218 Directory of C:\instiki-0.11.pl1 08/14/2007 10:05 AM . 08/14/2007 10:05 AM .. 08/14/2007 09:58 AM app 02/27/2007 10:35 PM 14,044 CHANGELOG 08/14/2007 09:58 AM components 08/14/2007 09:58 AM config 08/14/2007 09:58 AM db 08/10/2005 10:46 PM 128 instiki 11/12/2005 10:24 PM 72 instiki.bat 11/12/2005 10:24 PM 72 instiki.cmd 11/12/2005 10:24 PM 67 instiki.rb 08/14/2007 09:58 AM lib 08/14/2007 09:58 AM log 08/14/2007 09:58 AM natives 08/14/2007 09:58 AM public 11/01/2005 10:34 PM 316 rakefile.rb 02/27/2007 09:51 PM 5,472 README 08/14/2007 09:58 AM script 08/14/2007 09:58 AM storage 08/14/2007 09:58 AM test 08/14/2007 09:58 AM vendor 7 File(s) 20,171 bytes 14 Dir(s) 41,424,052,224 bytes free C:\instiki-0.11.pl1>instiki.cmd C:\instiki-0.11.pl1>set PATH=.\lib\native\win32;.\lib\native\win32;.;C:\Ruby\bin ;C:\Java\libraries\maven-2.0.6\bin;C:\Oracle\product\10.2.0\db_1\bin;C:\WINDOWS\ system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Java\jdks\1.5.0_11\bin;C:\Java\l ibraries\apache-ant-1.7.0\bin;C:\Program Files\ATI Technologies\ATI.ACE\Core-Sta tic;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\PuTTY;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSystem\; C:\Program Files\MySQL\MySQL Server 5.0\bin C:\instiki-0.11.pl1>ruby.exe script\server -e production => Instiki started on http://0.0.0.0:2500 => Ctrl-C to shutdown; call with --help for options [2007-08-14 10:23:52] INFO WEBrick 1.3.1 [2007-08-14 10:23:52] INFO ruby 1.8.6 (2007-03-13) [i386-mswin32] [2007-08-14 10:23:52] INFO WEBrick::HTTPServer#start: pid=1792 port=2500 127.0.0.1 - - [14/Aug/2007:10:23:58 Eastern Daylight Time] "GET / HTTP/1.1" 500 0 - -> / [2007-08-14 10:24:22] INFO going to shutdown ... [2007-08-14 10:24:22] INFO WEBrick::HTTPServer#start done. Terminate batch job (Y/N)? y C:\instiki-0.11.pl1> -------------------------------- I then took a look at the notes on this page: http://www.instiki.org/show/Installation which suggested running the migrate script to setup the database. So, I followed the directions and ran the following script: C:\instiki-0.11.pl1>rake environment RAILS_ENV=production migrate (in C:/instiki-0.11.pl1) rake aborted! wrong number of arguments (1 for 0) (See full trace by running task with --trace) C:\instiki-0.11.pl1> -------------------------------- So I then ran with tracing enabled: C:\instiki-0.11.pl1>rake --trace environment RAILS_ENV=production migrate (in C:/instiki-0.11.pl1) ** Invoke environment (first_time) ** Execute environment ** Invoke migrate (first_time) ** Invoke environment ** Execute migrate rake aborted! wrong number of arguments (1 for 0) C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/vendor /mysql.rb:551:in `initialize' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/vendor /mysql.rb:551:in `new' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/vendor /mysql.rb:551:in `scramble41' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/vendor /mysql.rb:141:in `real_connect' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec tion_adapters/mysql_adapter.rb:316:in `connect' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec tion_adapters/mysql_adapter.rb:87:in `initialize' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec tion_adapters/mysql_adapter.rb:37:in `new' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec tion_adapters/mysql_adapter.rb:37:in `mysql_connection' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec tion_adapters/abstract/connection_specification.rb:145:in `send' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec tion_adapters/abstract/connection_specification.rb:145:in `connection_without_qu ery_cache=' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/query_ cache.rb:54:in `connection=' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec tion_adapters/abstract/connection_specification.rb:106:in `retrieve_connection' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec tion_adapters/abstract/connection_specification.rb:20:in `connection' C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/migrat ion.rb:178:in `migrate' C:/instiki-0.11.pl1/config/../vendor/rails/railties/lib/tasks/databases.rake:3 C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exceptio n_handling' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exceptio n_handling' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run' C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 C:/Ruby/bin/rake.bat:20:in `load' C:/Ruby/bin/rake.bat:20 C:\instiki-0.11.pl1> -------------------------------- Wrong number of arguments? What gives?!?!?! So, I'm still unable to run instiki on windows xp. If anyone has any suggestions I'd love to hear them. I double checked the username and password for the mysql adapter. They're all correct. I was able to connect to the database with mysql from the command line using those parameters. Thanks. From johannes.vanderknyff at gmail.com Tue Aug 14 11:42:35 2007 From: johannes.vanderknyff at gmail.com (Johannes Vanderknyff) Date: Tue, 14 Aug 2007 11:42:35 -0400 Subject: [Instiki] blank page after install on windows In-Reply-To: <30ec9fe20708140731sda891d7n2cda36d917e39aba@mail.gmail.com> References: <30ec9fe20708140731sda891d7n2cda36d917e39aba@mail.gmail.com> Message-ID: Laran, This could be caused by a couple of things..... from a past conversation (from parasew): "hello matthew, please try to remove the directory /vendor/rails from the instiki 0.11.pl1 directory in this case. this is a known bug in the current version and fixed in the upcoming release. please report back if that solves your issue!" Also, are you sure that your database has been set up? i.e. Have you run: "set RAILS_ENV=production" before running: "rake db:migrate"? (from http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations) Thanks, Johannes On 8/14/07, Laran Evans wrote: > > I tried running after installing and changing my production adapter to > mysql, I got the following output: > > C:\instiki-0.11.pl1>dir > Volume in drive C has no label. > Volume Serial Number is D0E6-0218 > > Directory of C:\instiki-0.11.pl1 > > 08/14/2007 10:05 AM . > 08/14/2007 10:05 AM .. > 08/14/2007 09:58 AM app > 02/27/2007 10:35 PM 14,044 CHANGELOG > 08/14/2007 09:58 AM components > 08/14/2007 09:58 AM config > 08/14/2007 09:58 AM db > 08/10/2005 10:46 PM 128 instiki > 11/12/2005 10:24 PM 72 instiki.bat > 11/12/2005 10:24 PM 72 instiki.cmd > 11/12/2005 10:24 PM 67 instiki.rb > 08/14/2007 09:58 AM lib > 08/14/2007 09:58 AM log > 08/14/2007 09:58 AM natives > 08/14/2007 09:58 AM public > 11/01/2005 10:34 PM 316 rakefile.rb > 02/27/2007 09:51 PM 5,472 README > 08/14/2007 09:58 AM script > 08/14/2007 09:58 AM storage > 08/14/2007 09:58 AM test > 08/14/2007 09:58 AM vendor > 7 File(s) 20,171 bytes > 14 Dir(s) 41,424,052,224 bytes free > > C:\instiki-0.11.pl1>instiki.cmd > > C:\instiki-0.11.pl1>set > PATH=.\lib\native\win32;.\lib\native\win32;.;C:\Ruby\bin > ;C:\Java\libraries\maven-2.0.6\bin > ;C:\Oracle\product\10.2.0\db_1\bin;C:\WINDOWS\ > > system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Java\jdks\1.5.0_11\bin;C:\Java\l > ibraries\apache-ant-1.7.0\bin;C:\Program Files\ATI > Technologies\ATI.ACE\Core-Sta > tic;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program > Files\PuTTY;c:\Program > Files\Microsoft SQL Server\90\Tools\binn\;C:\Program > Files\QuickTime\QTSystem\; > C:\Program Files\MySQL\MySQL Server 5.0\bin > > C:\instiki-0.11.pl1>ruby.exe script\server -e production > => Instiki started on http://0.0.0.0:2500 > => Ctrl-C to shutdown; call with --help for options > [2007-08-14 10:23:52] INFO WEBrick 1.3.1 > [2007-08-14 10:23:52] INFO ruby 1.8.6 (2007-03-13) [i386-mswin32] > [2007-08-14 10:23:52] INFO WEBrick::HTTPServer#start: pid=1792 port=2500 > 127.0.0.1 - - [14/Aug/2007:10:23:58 Eastern Daylight Time] "GET / > HTTP/1.1" 500 > 0 > - -> / > [2007-08-14 10:24:22] INFO going to shutdown ... > [2007-08-14 10:24:22] INFO WEBrick::HTTPServer#start done. > Terminate batch job (Y/N)? y > > C:\instiki-0.11.pl1> > > -------------------------------- > > I then took a look at the notes on this page: > http://www.instiki.org/show/Installation > > which suggested running the migrate script to setup the database. > > So, I followed the directions and ran the following script: > > C:\instiki-0.11.pl1>rake environment RAILS_ENV=production migrate > (in C:/instiki-0.11.pl1) > rake aborted! > wrong number of arguments (1 for 0) > > (See full trace by running task with --trace) > > C:\instiki-0.11.pl1> > > -------------------------------- > > So I then ran with tracing enabled: > > C:\instiki-0.11.pl1>rake --trace environment RAILS_ENV=production migrate > (in C:/instiki-0.11.pl1) > ** Invoke environment (first_time) > ** Execute environment > ** Invoke migrate (first_time) > ** Invoke environment > ** Execute migrate > rake aborted! > wrong number of arguments (1 for 0) > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/vendor > /mysql.rb:551:in `initialize' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/vendor > /mysql.rb:551:in `new' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/vendor > /mysql.rb:551:in `scramble41' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/vendor > /mysql.rb:141:in `real_connect' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/mysql_adapter.rb:316:in `connect' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/mysql_adapter.rb:87:in `initialize' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/mysql_adapter.rb:37:in `new' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/mysql_adapter.rb:37:in `mysql_connection' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/abstract/connection_specification.rb:145:in `send' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/abstract/connection_specification.rb:145:in > `connection_without_qu > ery_cache=' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/query_ > cache.rb:54:in `connection=' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/abstract/connection_specification.rb:106:in > `retrieve_connection' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/connec > tion_adapters/abstract/connection_specification.rb:20:in `connection' > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/migrat > ion.rb:178:in `migrate' > C:/instiki-0.11.pl1 > /config/../vendor/rails/railties/lib/tasks/databases.rake:3 > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exceptio > n_handling' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exceptio > n_handling' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > C:/Ruby/bin/rake.bat:20:in `load' > C:/Ruby/bin/rake.bat:20 > > C:\instiki-0.11.pl1> > > -------------------------------- > > Wrong number of arguments? What gives?!?!?! > > So, I'm still unable to run instiki on windows xp. If anyone has any > suggestions I'd love to hear them. > > I double checked the username and password for the mysql adapter. > They're all correct. I was able to connect to the database with mysql > from the command line using those parameters. > > Thanks. > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20070814/86dd3e30/attachment.html From laran at laranevans.com Tue Aug 14 11:48:04 2007 From: laran at laranevans.com (Laran Evans) Date: Tue, 14 Aug 2007 11:48:04 -0400 Subject: [Instiki] blank page after install on windows In-Reply-To: References: <30ec9fe20708140731sda891d7n2cda36d917e39aba@mail.gmail.com> Message-ID: <30ec9fe20708140848u3d34a095y43bcd6bd523691b6@mail.gmail.com> Thanks Johannes. I actually figured this one out on my own a few minutes ago. I emptied the vendor directory and then ran rake db:migrate. That got me past the first issue. Then I ran into a second issue. The version of mysql I'm running (5.0.45) doesn't like the default="" attribute for the text field in the versions table. I removed that attribute from both migration scripts and everything all of a sudden worked. So, I'd say there are two bugs in the current version. How active is development on instiki at this point? Thanks for the feedback. - laran On 8/14/07, Johannes Vanderknyff wrote: > Laran, > > This could be caused by a couple of things..... from a past conversation > (from parasew): > "hello matthew, please try to remove the directory > /vendor/rails > from the instiki 0.11.pl1 directory in this case. > this is a known bug in the current version and fixed in the upcoming > release. > > please report back if that solves your issue!" > > Also, are you sure that your database has been set up? i.e. Have you run: > "set RAILS_ENV=production" before running: "rake db:migrate"? (from > http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations > ) > > Thanks, > Johannes > > > > On 8/14/07, Laran Evans wrote: > > > > I tried running after installing and changing my production adapter to > > mysql, I got the following output: > > > > C:\instiki-0.11.pl1>dir > > Volume in drive C has no label. > > Volume Serial Number is D0E6-0218 > > > > Directory of C:\instiki-0.11.pl1 > > > > 08/14/2007 10:05 AM . > > 08/14/2007 10:05 AM .. > > 08/14/2007 09:58 AM app > > 02/27/2007 10:35 PM 14,044 CHANGELOG > > 08/14/2007 09:58 AM components > > 08/14/2007 09:58 AM config > > 08/14/2007 09:58 AM db > > 08/10/2005 10:46 PM 128 instiki > > 11/12/2005 10:24 PM 72 instiki.bat > > 11/12/2005 10:24 PM 72 instiki.cmd > > 11/12/2005 10:24 PM 67 instiki.rb > > 08/14/2007 09:58 AM lib > > 08/14/2007 09:58 AM log > > 08/14/2007 09:58 AM natives > > 08/14/2007 09:58 AM public > > 11/01/2005 10:34 PM 316 rakefile.rb > > 02/27/2007 09:51 PM 5,472 README > > 08/14/2007 09:58 AM script > > 08/14/2007 09:58 AM storage > > 08/14/2007 09:58 AM test > > 08/14/2007 09:58 AM vendor > > 7 File(s) 20,171 bytes > > 14 Dir(s) 41,424,052,224 bytes free > > > > C:\instiki-0.11.pl1>instiki.cmd > > > > C:\instiki-0.11.pl1 >set > PATH=.\lib\native\win32;.\lib\native\win32;.;C:\Ruby\bin > > > ;C:\Java\libraries\maven-2.0.6\bin;C:\Oracle\product\10.2.0\db_1\bin;C:\WINDOWS\ > > > system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Java\jdks\1.5.0_11\bin;C:\Java\l > > ibraries\apache-ant-1.7.0\bin;C:\Program Files\ATI > Technologies\ATI.ACE\Core-Sta > > > tic;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program > Files\PuTTY;c:\Program > > Files\Microsoft SQL Server\90\Tools\binn\;C:\Program > Files\QuickTime\QTSystem\; > > C:\Program Files\MySQL\MySQL Server 5.0\bin > > > > C:\instiki-0.11.pl1>ruby.exe script\server -e production > > => Instiki started on http://0.0.0.0:2500 > > => Ctrl-C to shutdown; call with --help for options > > [2007-08-14 10:23:52] INFO WEBrick 1.3.1 > > [2007-08-14 10:23:52] INFO ruby 1.8.6 (2007-03-13) [i386-mswin32] > > [2007-08-14 10:23:52] INFO WEBrick::HTTPServer#start: > pid=1792 port=2500 > > 127.0.0.1 - - [14/Aug/2007:10:23:58 Eastern Daylight Time] "GET / > HTTP/1.1" 500 > > 0 > > - -> / > > [2007-08-14 10:24:22] INFO going to shutdown ... > > [2007-08-14 10:24:22] INFO WEBrick::HTTPServer#start done. > > Terminate batch job (Y/N)? y > > > > C:\instiki-0.11.pl1> > > > > -------------------------------- > > > > I then took a look at the notes on this page: > > http://www.instiki.org/show/Installation > > > > which suggested running the migrate script to setup the database. > > > > So, I followed the directions and ran the following script: > > > > C:\instiki-0.11.pl1>rake environment RAILS_ENV=production migrate > > (in C:/instiki-0.11.pl1) > > rake aborted! > > wrong number of arguments (1 for 0) > > > > (See full trace by running task with --trace) > > > > C:\instiki-0.11.pl1> > > > > -------------------------------- > > > > So I then ran with tracing enabled: > > > > C:\instiki-0.11.pl1>rake --trace environment RAILS_ENV=production migrate > > (in C:/instiki-0.11.pl1) > > ** Invoke environment (first_time) > > ** Execute environment > > ** Invoke migrate (first_time) > > ** Invoke environment > > ** Execute migrate > > rake aborted! > > wrong number of arguments (1 for 0) > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/vendor > > /mysql.rb:551:in `initialize' > > C:/instiki-0.11.pl1 > /config/../vendor/rails/activerecord/lib/active_record/vendor > > /mysql.rb:551:in `new' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/vendor > > /mysql.rb:551:in `scramble41' > > C:/instiki- > 0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/vendor > > /mysql.rb:141:in `real_connect' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec > > tion_adapters/mysql_adapter.rb:316:in `connect' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec > > tion_adapters/mysql_adapter.rb:87:in `initialize' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec > > tion_adapters/mysql_adapter.rb:37:in `new' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec > > tion_adapters/mysql_adapter.rb:37:in `mysql_connection' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec > > tion_adapters/abstract/connection_specification.rb:145:in > `send' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec > > tion_adapters/abstract/connection_specification.rb:145:in > `connection_without_qu > > ery_cache=' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/query_ > > cache.rb:54:in `connection=' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec > > tion_adapters/abstract/connection_specification.rb:106:in > `retrieve_connection' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/connec > > tion_adapters/abstract/connection_specification.rb:20:in > `connection' > > > C:/instiki-0.11.pl1/config/../vendor/rails/activerecord/lib/active_record/migrat > > ion.rb:178:in `migrate' > > > C:/instiki-0.11.pl1/config/../vendor/rails/railties/lib/tasks/databases.rake:3 > > C:/Ruby/lib/ruby/gems/1.8/gems/rake- > 0.7.3/lib/rake.rb:392:in `call' > > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in > `execute' > > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in > `each' > > C:/Ruby/lib/ruby/gems/1.8/gems/rake- > 0.7.3/lib/rake.rb:392:in `execute' > > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in > `invoke' > > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in > `synchronize' > > C:/Ruby/lib/ruby/gems/1.8/gems/rake- > 0.7.3/lib/rake.rb:355:in `invoke' > > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level' > > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `each' > > C:/Ruby/lib/ruby/gems/1.8/gems/rake- > 0.7.3/lib/rake.rb:1739:in `top_level' > > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exceptio > > n_handling' > > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in > `top_level' > > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in > `run' > > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exceptio > > n_handling' > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3 > /lib/rake.rb:1708:in `run' > > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > > C:/Ruby/bin/rake.bat:20:in `load' > > C:/Ruby/bin/rake.bat:20 > > > > C:\instiki-0.11.pl1> > > > > -------------------------------- > > > > Wrong number of arguments? What gives?!?!?! > > > > So, I'm still unable to run instiki on windows xp. If anyone has any > > suggestions I'd love to hear them. > > > > I double checked the username and password for the mysql adapter. > > They're all correct. I was able to connect to the database with mysql > > from the command line using those parameters. > > > > Thanks. > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > From screwballl at gmail.com Wed Aug 29 13:36:00 2007 From: screwballl at gmail.com (Screwballl) Date: Wed, 29 Aug 2007 12:36:00 -0500 Subject: [Instiki] Instiki or Ubuntu problem? Message-ID: <3053312a0708291036t10c1d36bw363fc80832becd2e@mail.gmail.com> I recently did a fresh Ubuntu 7.04 installation with instiki and ensured Ruby, Instiki, gems and sql-lite are installed and running. When setting up the first page (named "To do pages"), after typing in the name, address and password, it returns a "Unknown web 'todopages'". The linux terminal shows: 192.168.2.105 - - create system message 192.168.2.105 - - [date] "GET /todopages/new/HomePage HTTP/1.1" 404 23 http://192.168.2.108:2500/create_system -> /todopages/new/HomePage I believe this is error 404 page not found... so why it it not creating the page? Instiki and related services are running under root name with root privileges. Why is this? I am fairly new to linux and instiki although I do have a successful page currently setup with instiki on a windows system with just a few clicks. The linux has been a pain though. Mike