> I reached quite far.
Congratulations!
> I can create users and project and log in but it works in Konqueror
> but not in Firefox. I can add ssh keys.
>
> When I log in using Firefox I get returned to the front page. In
> Konqueror it works.
I would suspect this to be a session/cookie issue. In config/
gitorious.yml there's a setting gitorious_host which specifies the
site you should use when going to your install in the browser.
Gitorious will send a session cookie to this host/domain, ie. if you
have "gitorious.domain.com", the cookies will be valid in
".gitorious.domain.com" - and your browser may require the URL to be
within this domain.
It could be another problem, but the fact that it works in one browser
and not another points in this direction.
> When I push I get
> Permission denied (publickey).
> fatal: The remote end hung up unexpectedly
> Nothing in the auth log...
>
> When I added the ssh key I expected the ready filed to be set but it
> is 0 so I set it to 1...
> The ssh_key_index in the used table is NULL so I set it to the index
> of the key I added which was 1
> Still it doesn't work...
Did you start the script/poller script? This will consume the messages
sent to your message queue, and it sounds like these aren't being
picked up. And do make sure your server and the script/poller script
runs in the same Rails environment. There should be some other posts
on this issue on the list.
Good luck!
- Marius
On 10. juni. 2009, at 17.52, Martin Pettersson wrote:
> Dear All
> it' getting closer... :)
> but...
> I still cannot log in using firefox...it works with konqueror but
> when I try to look at my profile I get "This user profile is not
> public"
Ah, okay, this means the user account hasn't been activated. When
signing up, an email is sent to the user requiring him to activate his
account by visiting a URL.
Unless mailing is enabled (which it isn't in the development
environment), you probably didn't receive this email.
To activate the user account manually, you can use the script/console
command and enter something like
me = User.find_by_login("<your_login>")
me.activate
The user account not being activated probably explains your not being
able to log in too.
> search doesn't work either. Ultrasphinx is installed.
There are a few rake tasks that need to be run in order for the index
to be created and the daemon to be started. The README has a section
on this:
for RAILS_ENV in development test production ; do
RAILS_ENV=$RAILS_ENV rake ultrasphinx:configure
RAILS_ENV=$RAILS_ENV rake ultrasphinx:index
done
RAILS_ENV=production rake ultrasphinx:daemon:start &
> Here is a sample:
> /var/www/gitorious/vendor/plugins/activemessaging/lib/
> activemessaging/gateway.rb:34:in `block (2 levels) in start'
> ActiveMessaging: thread[default]: Exception from connection.receive:
> can't convert TypeError into String
> /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> 170:in `+'
> /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> 170:in `rescue in __old_receive'
> /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> 164:in `__old_receive'
> /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> 176:in `receive'
> /var/www/gitorious/vendor/plugins/activemessaging/lib/
> activemessaging/gateway.rb:34:in `block (2 levels) in start'
> ActiveMessaging: thread[default]: Exception from connection.receive:
> can't convert TypeError into String
> /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> 170:in `+'
> /home/git/.gem/ruby/1.9.1/gems/stomp-1.1/lib/stomp/connection.rb:
> 170:in `rescue in __old_receive'
This looks like an issue in the Stomp gem, which message queueing
system do you use?
Regards,
- Marius
> I'm trying to use smtp...
> I get a message "A password confirmation link has been sent to your
> email address" but nothing arrives... Can I log the dialog between
> the smtp and the actionmailer?
Setting action_mailer.raise_delivery_errors=true should raise an error
if Rails is unable to deliver the message to the SMTP server, so I the
message is probably "successfully" delivered to your SMTP server. If
you have access to the SMTP server, its mail logs could give some
hints as to what's happening. Or you could increase the logging level
in Gitorious (ie. config.log_level = :debug in config/production.rb)
while debugging should provide some more information about the
communication with the SMTP server. Just remember to set it back when
you're done debugging, or the log would grow rapidly…
Regards,
- Marius
Hi
I have installed Gitorious on two computers and I have the same problem on both.
http clones doesn't work:
http://localhost/test3/mine.git/info/refs not found: did you run git update-server-info on the server
cloning over the git protocol didn't work on one computer, I tried everything... When I came home I tried on my Laptop and in the beginning it didn't work at all, the all of a sudden it did work.
I stopped and restarted the script/poller and the script/git-daemon and it stopped working. I continued starting and stopping the daemon and now it works...
It seems if I start the daemon then somtimes it simply refuses to work. Restart and sometimes it works. Once it is working it seems stable though.
Thanks
Sorry I should have mentioned that I did read the
http://groups.google.com/group/gitorious/browse_thread/thread/a77ae4c391a5c61c/1e5b56d1fa613ab6
and I did install the x-sendfile module on Apache2
Is there anything I shall do than to load the module to Apache?