Update: Here’s a related post.

If you are trying to install iFolder Server 3.8.0.3 on Ubuntu or Fedora, you might run into problems.

I followed this manual:

http://www.chimos.de/stuff/ifolder-ubuntu.txt

Everything went fine, until I wanted to login into the admin interface. I just couldn’t get logged in. The apache server log said:

Error: Exception Object reference not set to an instance of an object. Could not initialize collection store.

Over and over again.

In /var/simias/data/simias is a file called Simias.log4net. This controls the logging output. I opened it and changed the two lines containing INFO to say DEBUG instead and lo and behold. I got proper error messages after that in /var/simias/data/simias/log.

As it turns out, Simias tries to store something to /var/www/.config and hadn’t any permission to do so. The manual I mentioned at the beginning of this article actually contains the fix, but I skipped this step due to a typo. The manual says:
If /root/.config/mono exists again (just to be sure), perform the following operation:

rm -r /var/www/.config/mono
mkdir /var/www/.config
mv /root/.config/mono /var/www/.config/mono
chown -R www-data.www-data /var/www/.config

Well, it didn’t exist. But /root/.config/.mono existed. So I skipped this step. But after seeing the error in the log and executing

rm -r /var/www/.config/.mono
mkdir /var/www/.config
mv /root/.config/.mono /var/www/.config/
chown -R www-data www-data /var/www/.config

and restarting apache, it finally worked.

Yay!

© 2011 Jörg Rüppel | Impressum Suffusion theme by Sayontan Sinha