DaWiki Upgrade Is Live

created: 30 Dec 2008 05:20
After literally months of trying to upgrade my server at work to the latest revision of Wikidot 1 Open Source, I finally went live tonight! I spent the last 2 days doing my conversion on a VirtualBox VM and after some final testing and tweaking late this afternoon, I was confident enough to port the VM image over to my live server.

Now I hope to devote more time to documenting and developing my installable ISO so that others can get up and running with the open source version quickly and easily. (more...)

davanniswiki Server Upgrade

created: 27 Dec 2008 03:27
I've spent most of the day working on upgrading my server at work from Ubuntu 7.10 / Apache / PostgreSQL 8.2 / Wikidot rev 195 to Ubuntu 8.04 / Lighttpd / PostgreSQL 8.3 / Wikidot rev 393.

I made an image of the hard drive from my server at work and loaded it on a virtually identical backup server so I wouldn't break my live install. I then did a pg_dumpall > dumpfile of my PostgreSQL 8.2 database. I had a clean Wikidot install running the current version of everything on a Virtualbox VM so I used that to test my upgrade. I dumped the Wikidot database and used my dumpall file to restore it in the VM using psql -d template1 -f dumpfile. I was pleasantly surprised that it seems to load everything just fine (I've had a lot of problems trying to do this before with pgAdmin3).

Next, I had to run the update php file to get the new login pages added to my database. I ran the configure and generate_om scripts, reconfigured my hostname, hosts file, wikidot.ini and lighttpd-wikidot.conf files. Finally, I manually copied my files—sites folder, restarted lighttpd and postgresql and launched my site. It worked!

I was happier than a tornado in a trailer park! After a bit of testing, I'm still happy, but do have a few issues to resolve:

Files and /or MIME types are screwed up for some reason. I noticed that image files were not displaying on pages. The files show up in the files list on the page, but with an improper MIMI type:

Lotus123_App_Error_Fix.jpg        HTML document text        272 Bytes       info | options

Clicking on the filename causes it to open a page that says:
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">


<p>The file does not exist.</p>

Deleting the file and re-uploading it doesn't work.

Searches do not work - both all sites and individual sites. It seems that the new Lucene search is enabled, but it's not working after I loaded my old database. I suspect there is a table or field missing that's causing this. The weird thing is that it looks like search highlighting is working. For example, I searched for the word health knowing that I have several pages that should be returned. But, I got this:


But clicking the "Benefits" link in my menu, showed this page with the word health highlighted.


I'm going to revert my VM back to a state prior to loading my dumpfile just to confirm this is not a problem with rev 393.

If you have any ideas on what I can do to fix these issues, please help! Thanks! (more...)

Update to rev 384

created: 21 Dec 2008 13:29
I just installed the new search features that Gabrys documented on his blog (Wikidot Search Ready To Test) on my virtual machine this morning. After fixing one typo in Gabrys instructions, everything seemed to work perfect.

Currently, my test VM has little content and only a couple of sites, so I wasn't able to give the new search features much of a real-world test. I'll report back after I've had a chance to drive it a little harder.

Steps I used to update

From a terminal window:

sudo su -
cd /var/www/wikidot
svn update
cd tests
sudo -u www-data php lucene_bootstrap.php
cd ..
chown www-data:www-data -R .
apt-get install openjdk-6-jre
/etc/init.d/lighttpd force-reload
/etc/init.d/postgresql-8.3 restart

I appended the following to /etc/crontab:

* * * * *      www-data /var/www/wikidot/bin/job.sh UpdateLuceneIndexJob

I added the following to my conf/wikidot.ini file:

; enables highlighting of search phrase in the resulting documents
highlight = true
; enables the use of Java for searching
use_java = true

Ubuntu 8.04 and Lighttpd

created: 06 Dec 2008 18:00
I can finally say that I have a 100% working guide for installing Wikidot 1 Open Source as of rev 317. Piotr Gabryjeluk (GabrysGabrys - one of the primary developers) has quietly been making a bunch of updates to the SVN repository and fixed some issues with variable substitution in the configuration script.

While I was able to get working installs with prior revisions, the latest changes make it easier for anyone to follow my guide and do a copy/paste job to get most of the work done without knowing a lot about Linux.

The updated guide is here:
Ubuntu 8.04 with Lighttpd Install (more...)

Kubuntu 8.10

created: 03 Dec 2008 05:31
In an effort to assist DoerDoer (see this discussion), I installed Kubuntu 8.10 on a VirtualBox VM. It took a couple of hours to get everything loaded and configured, but in the end I have a working Wikidot install.

The KDE environment in Kubuntu took some getting used to. Frankly, I found the Gnome interface in Ubuntu much easier to navigate the first time I used it. I'm sure it's because it feels more like Windows than Kubuntu's interface does.

The Wikidot SVN repositiry is currently at revision 284 and it's missing a config file that I reported on the dev-list. Once I play with this VM a bit more, I'll see if I can clean it up and make it available for download soon. (more...)

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License