Recent Posts

Subscribe to Recent Posts 326 posts found

posted about 1 year ago
distler 77 posts

Forum: Instiki – Topic: Bugs

I put 2.9.1 in the Gemfile but I don’t know if that’s the minimum value.

Might as well assume that 2.9.1 is the minimum (since we know that it works). I updated the instructions accordingly.

Interestingly, bundle won’t update to the latest version unless you specify such a minimum.

Correct. If you don’t specify a version, then any version is supposed to suffice.

 
posted about 1 year ago
Andrew Stacey 118 posts

Forum: Instiki – Topic: Bugs

I put 2.9.1 in the Gemfile but I don’t know if that’s the minimum value. Interestingly, bundle won’t update to the latest version unless you specify such a minimum.

Comparing the logs, then it would appear that something in the mysql module was returning the updated page name when instiki was expecting the old page name, so when instiki swept the cache using what it thought was the old page name, it was actually using the new one and thus the old cache page wasn’t being deleted.

 
posted about 1 year ago
distler 77 posts

Forum: Instiki – Topic: Bugs

Poking around, I discovered that my fresh install was using version 2.9.1 of the mysql gem but the live installs were using 2.8.1.

If there’s a minimum version number for the gem that we should be using (no version number is currently specified), then that would be good to know, so that the Gemfile can be updated, accordingly.

Curious, though, that this “cache bug” of yours would seem to have nothing to do with … caching.

 
posted about 1 year ago
Andrew Stacey 118 posts

Forum: Instiki – Topic: Bugs

I think I’ve killed the cache bug!

I did a fresh install of Instiki+MySQL on a debian virtual machine and … no cache bug. So I went back to my live installs and … cache bug.

Poking around, I discovered that my fresh install was using version 2.9.1 of the mysql gem but the live installs were using 2.8.1. So, on a hunch, I updated to 2.9.1 and tried reproducing the cache bug … and it had gone.

I don’t know if I’ve well and truly killed it, but the steps I put above were reliably showing it for me on the nlab and on mathsnotes and now that I’ve updated the mysql gem then those steps no longer exhibit it so I figure that’s enough for a small celebration.

 
posted over 1 year ago
distler 77 posts

Forum: Instiki – Topic: Windows installation not working

So any tips on migrating an already running wiki on a different server?

The advantage of SQLite3 is that the entire database is in a single file, db/production.db.sqlite3 … which makes it easy to transfer.


   bundle exec rake upgrade_instiki

will, among other things, perform the necessary database migrations (assuming the previous one is not too old).

 
posted over 1 year ago
nkay 6 posts

Forum: Instiki – Topic: Windows installation not working

I got it working! YIPPIE! I had to do a complete reinstall with a different version of ruby and devkit.

So any tips on migrating an already running wiki on a different server? I see Instiki created a “WEBS” folder which includes a folder with the name of the wiki. Does everything belong in the folder where the name of the file is ie. “ACES” or does it stay in the “WEBS” folder.

 
posted over 1 year ago
nkay 6 posts

edited over 1 year ago

Forum: Instiki – Topic: Windows installation not working

Well im writing up simple documentation as i figure things out one at a time. I can send it too you if you want once everything is up and running.

Yes, if i run the command “bundle install –path vendor/bundle” when it gets to the Fetching source index for Rubygems etc on where it reads the gemfile it will always stop on a gem name saying it cannot find the gem gemname <>=version in any of the gem sources listed in your Gemfile.
If i manually type in Gem install gem name it will work. I have a feeling its the syntax or something inside the gemfile. I had to do the same for Rake and itextomml. Which brings me up to another issue i ran into.

Im getting an error when trying to install itextomml… Im wondering if its maybe the version of ruby i have installed or something. Something with the timezone.


(Building native extensions. This could take a while… ERROR: Error installing itextomml: ERROR: Failed to build gem native extension. C:/Ruby187/bin/ruby.exe extconf.rb creating Makefile

make gcc -I. -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -g -O2 -DFD_SETSIZE=256 -Ditex2MML_CAPTURE -c itex2MML ruby.c In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:755:0, from itex2MML_ruby.c:832: c:/Ruby187/lib/ruby/1.8/i386-mingw32/missing.h:29:8: error: redefinition of ‘struct timezone’ In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:57:0, from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186, from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37, from itex2MML_ruby.c:832: c:\rubydevkit\mingw\bin../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/time.h:260:8: note: originally defined here make: *** [itex2MML_ruby.o] Error 1)

 
posted over 1 year ago
distler 77 posts

Forum: Instiki – Topic: Windows installation not working

Never had so much trouble for something that is supposed to be so simple.. ugh..

Hopefully, you pain will be someone else’s gain, if the Windows installation instructions can be improved, based on your experience.

However looks like every gem listed on the gem file i have to install manually…

I don’t understand.


bundle install –path vendor/bundle

doesn’t install the gems in in the vendor/bundle/ruby/* ?

Or it does install them, but then Instiki can’t find them?

 
posted over 1 year ago
nkay 6 posts

edited over 1 year ago

Forum: Instiki – Topic: Windows installation not working

Thanks for the response.. I have installed sqlite3 per your direction and looks like it has passed the sqlite3 portion of the install.. However looks like every gem listed on the gem file i have to install manually including “rake, nokogiri, and itextomml” however im getting errors now with itextomml so that would be a bit to troubleshoot.

Never had so much trouble for something that is supposed to be so simple.. ugh..

 
posted over 1 year ago
distler 77 posts

Forum: Instiki – Topic: Windows installation not working

The sqlite3 rubygem won’t compile without thelibsqlite3 C-library. (Unlike many rubygems, which are pure Ruby, this one contains a C extension that links to the aforementioned library.)

Windows (unlike other operating systems) doesn’t come with that library installed. Some Ruby installers, for Windows, install it; evidently, some don’t. For those, you’ll have to install it yourself.

If you google around, you’ll find plenty of useful advice on this topic. Unfortunately (since i don’t have any familiarity with Windows), I’m not a useful source for such advice. But, yes, as far as I can tell, installing the Windows SQLite3 package is a prerequisite for getting the sqlite3 rubygem installed.

How does this installation work? What i gather you use “GIT” to download all the packages or i think bundles is the term and then ruby installs them on the system?

Bundler lets you manage/install rubygems, without installing them on the system. Instead, they are installed in your application’s vendor/bundle directory.

But that’s not where (as far as I can tell) your problem lies.

 
posted over 1 year ago
nkay 6 posts

edited over 1 year ago

Forum: Instiki – Topic: Windows installation not working

thanks for the reply. I currently have Ruby 1.8.7-p371 installed with the dev kit.

So are you saying i need to download and install that package then attempt to run “ruby bundle install –path vendor/bundle” again?

Im completly new to everything here.. I have aquired this outdated windows server that i had to upgrade to 2008r2. A week ago i just learned what ruby is so you really have to bear with me.

How does this installation work? What i gather you use “GIT” to download all the packages or i think bundles is the term and then ruby installs them on the system? If thats the case, then my problem is when ruby is tries downloading the package from rubygems.org repository as it cant locate sqlite3. Even though i could manually go to the rubygems website and locate sqlite3.

Could i download this manually from rubygems.org and maybe install it?

 
posted over 1 year ago
distler 77 posts

Forum: Instiki – Topic: Windows installation not working

I don’t know what Ruby installation you have for Windows, but presumably, you are missing the SQLite3 precompiled binaries for Windows.

Presumably, the Windows Installation Instructions could be improved.

 
posted over 1 year ago
nkay 6 posts

edited over 1 year ago

Forum: Instiki – Topic: Windows installation not working

I have figured out the above error.. however, now i recieve an error from the gemfile when trying to download the bundles:

D:\instiki-0.19.6>ruby bundle install –path vendor/bundle Updating http://github.com/distler/file_signature.git Updating http://github.com/distler/maruku.git Fetching source index for http://rubygems.org/ Could not reach rubygems repository http://rubygems.org/ Could not find gem ‘sqlite3 (>= 0)’ in any of the gem sources listed in your Gemfi

It cant find sqlite3 in the repository however if i try to modify the gemfile in anyway and give sqlite3 a version number or somthing i receive an syntax error. How should I contruct the gemfile and maybe force it to find the specific version thats in rubygems.org

This is the sqlite portion of the gemfile now:

“source “http://rubygems.org”gem “sqlite3”, :require => “sqlite3”

If i follow the syntax from the other bundles ie.. :require => “sqlite3” , “~> 1.3.7”

 
posted over 1 year ago
antonio66 3 posts

Forum: Instiki – Topic: instiki without database?

Maybe You’re right, I’m not a programmer or linux specialist. But I’ve minimum to install the sqlite libraries and perhaps other dependent packages, too. And because of older packages, maybe the need of compiling…

Keep it simple :)

antonio

 
posted over 1 year ago
distler 77 posts

Forum: Instiki – Topic: instiki without database?

I’m not sure why you think the Madeleine Persistence Layer (which, I believe, is what 0.9.2 uses) is lighter-weight than Sqlite3.

You do need to store the data somewhere. And, with Sqlite3,

  • there’s no separate database process
  • the data is stored in a single file, db/production.db.sqlite3.
 
posted over 1 year ago
Andrew Stacey 118 posts

Forum: Instiki – Topic: Feature Requests

Thanks.

 
posted over 1 year ago
antonio66 3 posts

Forum: Instiki – Topic: instiki without database?

what a pity; well, version 0.9.2 works ok for my usage.

I’m using a small and older linux installation (puppylinux 4.1.2) on a thin client with CF-Card. I tried some perl-wikis without database and QuickiWiki (the original from Ward Cunningham) but it’s a bit outdated :) . Newer perl-wikis have problems with hiawatha (webserver security) and/or maybe perl 5.8.8. So I give ruby-wikis a try and instiki works nice

antonio

 
posted over 1 year ago
distler 77 posts

Forum: Instiki – Topic: instiki without database?

No.

You need some database. But the default sqlite3 is as lightweight as humanly possible.

 
posted over 1 year ago
antonio66 3 posts

Forum: Instiki – Topic: instiki without database?

Dear,

is there a possibility to run the latest release without database? like 0.9.2?

I’m running version 0.9.2 on a small thin client and don’t want to bloat the system.

Thx antonio

 
posted over 1 year ago
distler 77 posts

Forum: Instiki – Topic: Feature Requests

Great idea.

 
posted over 1 year ago
Andrew Stacey 118 posts

Forum: Instiki – Topic: Feature Requests

Okay, so that was a pretty dubious feature request!

How about this one: if a page exists (meaning, really exists - not just a redirect) then a request to <web>/new/page should redirect either to <web>/edit/page or to <web>/show/page. If the page does exist then the effect of going to <web>/new/page and submitting stuff is the same as submitting an edit except that you don’t get the previous edit in the text box so there’s nothing to show that you’re replacing something already there. The argument for <web>/show/page being that if a page exists and you didn’t know it then you should probably have a good look at what’s already there before writing something new.

(This came up most recently because a Google search for a page led to the /new/ link even though the page exists - Google had clearly found the link somewhere and added it to its list, it does this even if a robots.txt file exists since the link exists on a page that it can read.)

 
posted over 1 year ago
nkay 6 posts

Forum: Instiki – Topic: Windows installation not working

Im trying to migrate an existing wiki running on a old outdated server onto a new 2008 r2 x64 server. I have installed Ruby 1.9.3 onto the new computer and ran the Ruby bundle install –path vendor/bundle command as stated on the website however it looks like im getting a no such file or directory. I have verified that the source.rb file is located in the correct location.


D:\instiki-0.19.6\instiki-0.19.6>ruby bundle install –path vendor/bundle Fetching http://github.com/distler/file_signature.git D:/instiki-0.19.6/instiki-0.19.6/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/source.rb:57 8:in “’: No such file or directory - git clone “http://github.com/distler/file_signature.git” “D:/i nstiki-0.19.6/instiki-0.19.6/vendor/bundle/ruby/1.9.1/cache/bundler/git/file_signature-9e3f3d6fbf544 b2242ffca379f5f61bb2971e94e” –bare –no-hardlinks (Errno::ENOENT)


Also If there is any documentation or help on migrating the old wiki to the new server would be great.

 
posted over 1 year ago
distler 77 posts

Forum: Instiki – Topic: problem running instiki after installation

Probably, those instructions are out-of-date. (Help updating them would be appreciated.)

It would be best to ensure that you have a fully-functioning Ruby (1.9.3 is preferable) installation before proceeding with getting Instiki running. Perhaps these instructions might help.

 
posted over 1 year ago
yoyoma 2 posts

Forum: Instiki – Topic: problem running instiki after installation

http://golem.ph.utexas.edu/wiki/instiki/show/Installation, the part that talked about ubuntu

 
posted over 1 year ago
distler 77 posts

Forum: Instiki – Topic: problem running instiki after installation

I followed all the instructions on your installation page for ubuntu.

What page are you talking about?

 
posted over 1 year ago
yoyoma 2 posts

edited over 1 year ago

Forum: Instiki – Topic: problem running instiki after installation

Hi all, first time poster. Sorry if this has been discussed before, but I didn’t find anything on a quick search. I am running ubuntu 10.04, I followed all the instructions on your installation page for ubuntu. Everything seemed to install ok, I did all the apt-get and bundle install, but when I tried to run “./instiki –daemon” I get the following errors, fyi, my version of ruby is 1.8.7, patchlevel 249).

Thanks for your help, Ron


/usr/lib/ruby/1.8/rubygems/dependency.rb:52:in `initialize': Valid types are [:development, :runtime], not nil (ArgumentError) from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:352:in `new' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:352:in `search' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:346:in `gems_size' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:179:in `resolve' from /usr/lib/ruby/1.8/rubygems/source_index.rb:95:in `sort_by' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:175:in `each' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:175:in `sort_by' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:175:in `resolve' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:160:in `start' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:128:in `resolve' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:127:in `catch' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:127:in `resolve' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/definition.rb:151:in `resolve' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/definition.rb:90:in `specs' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/definition.rb:135:in `specs_for' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/definition.rb:124:in `requested_specs' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/environment.rb:23:in `requested_specs' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/runtime.rb:11:in `setup' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler.rb:107:in `setup' from ./config/../config/preinitializer.rb:18 from ./config/boot.rb:28:in `load' from ./config/boot.rb:28:in `preinitialize' from ./config/boot.rb:10:in `boot!' from ./config/boot.rb:124 from ./script/server:3:in `require' from ./script/server:3 from ./instiki:6:in `load' from ./instiki:6
 
posted over 1 year ago
dzonekl 5 posts

edited over 1 year ago

Forum: Instiki – Topic: migration to Rails3.

Here are the steps to follow:

 
posted over 1 year ago
distler 77 posts

Forum: Instiki – Topic: Feature Requests

It’s been suggested that this is because that is in a div with class name byline.

That seems a pretty thin reed on which to base a request for changing the class names we use.

Google is pretty cagey about what algorithms they use. I’m kinda dubious about this one.

 
posted over 1 year ago
distler 77 posts

edited over 1 year ago

Forum: Instiki – Topic: Bugs

I am fairly certain that none of my recent updates would affect this scenario..

But I’m happy to hear that it fixed itself.

 
posted over 1 year ago
Andrew Stacey 118 posts

Forum: Instiki – Topic: Bugs

… and in the time since you asked for clarification, it would appear that you’ve fixed it anyway as it no longer appears having just updated instiki.

Thanks.