Hi Marius,

thanks for your comments!

Actually, I installed rake 0.8.5 yesterday, but I had rake 0.8.1 installed as debian-package too. I removed the package and now the migrate works fine. Deactivating SSL & memcached both works fine too, but I still can't create new sessions, i.e. using login or register pages.

Any advices?

Greets, Thomas

Am 14.05.2009 um 08:53 schrieb Marius Mårnes Mathiesen:


Thomas,
Thanks for a great writeup, this will probably be useful for other
folks upgrading/installing Gitorious on their own systems. I've added
a few comments below.

On 13. mai. 2009, at 22.51, Thomas wrote:
- You need memcached installed (aptitude install memcached)

If you  don't want to use memcached, you may use another session
store. In the relevant environment file (probably config/environments/
production.rb), change the line

        config.cache_store = :mem_cache_store, "localhost"
        
to for instance

        config.cache_store = :memory_store

to use the memory store instead. There's an article covering the cache
stores in Rails at 
http://thewebfellas.com/blog/2008/6/9/rails-2-1-now-with-better-integrated-caching
. Installing memcached is probably a good idea for a production
environment, though.

- As the login & register page needs ssl, you have to setup a
gitorious-ssl site in apache

Actually, you can skip the SSL requirement. If you add the line

        SslRequirement.disable_ssl_check = true

into (for instance) <gitorious_root>/config/environments/
production.rb, the SSL requirement will be skipped.

The problems i couldn't solve yet:
- db-migration aborted (see below [1])

From your stack trace below it seems you need to update Rake on your
system. If you've installed Rake through rubygems, use `[sudo] gem
install rake`, of course replace sudo with whatever fits your system
best.

Good luck!

- Marius

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to