[gitorious] Migrating gitorious to another machine

2012-08-27 Thread luist
Hello, I'm having many problems configuring a new machine to run gitorious and migrating the data from the old one. Can anyone point me what should i backup and what should i re-do from scratch? Where are the user/login information stored? -- To post to this group, send email to

[gitorious] Unable to login with new user

2012-08-27 Thread bhargav desai
Hi, I have added new user in gitorious, i.e. created a new user. Also gave privileges to the new user. Add the user as a site administrator and performed user.activate , user.accept_terms , user.save . But i am unable to login with credentials of the new user . Kindly suggest me the

Re: [gitorious] Migrating gitorious to another machine

2012-08-27 Thread Thomas Kjeldahl Nilsson
Hi Luist, I recently added a pair of Rake tasks to make snapshotting/restoring Gitorious state simpler. Pull from mainline, and check out /lib/tasks/backup.rake (documentation included in the source code of the rake tasks.) best regards, Thomas On 08/24/2012 11:17 PM, luist wrote:

Re: [gitorious] Unable to login with new user

2012-08-27 Thread Thomas Kjeldahl Nilsson
Hi Bhargav, 1: anything in the logs? 2: are you using standard db authentication or some ldap variant? cheers, Thomas On 08/27/2012 12:44 PM, bhargav desai wrote: Hi, I have added new user in gitorious, i.e. created a new user. Also gave privileges to the new user. Add the user as a

Re: [gitorious] Migrating gitorious to another machine

2012-08-27 Thread Thomas Kjeldahl Nilsson
Hello again, Running bundle install straight up only installs the dependency gems in a path specific to your current user, not the gitorious git user. So you probably just need to run it for the gitorious user as well, if you have not already done so: sudo su git -c bundle install cheers,

Re: [gitorious] Migrating gitorious to another machine

2012-08-27 Thread luist
Hello. This seems to be very useful, but the old machine has some problems and I can only access it read-only to backup the data manually. I checked the new resource to diagnose the new instalation. I tried to use it but got this: http://pastie.org/4597818 What am i missing? Em segunda-feira,

Re: [gitorious] Migrating gitorious to another machine

2012-08-27 Thread luist
That worked... now i got this: $ sudo su git -c RAILS_ENV=production bundle exec rake diagnostics:summary (in /var/www/git.metasys.com.br/gitorious) rake aborted! Don't know how to build task 'diagnostics:summary' (See full trace by running task with --trace) Em segunda-feira, 27 de agosto de

Re: [gitorious] Migrating gitorious to another machine

2012-08-27 Thread Thomas Kjeldahl Nilsson
First off, doublecheck that you're running the rake task from the root dir of your gitorious installation ie. where you find Rakefile, /config, /log, etc. If so, then try running this to see which rake tasks are actually available on your installation: sudo su git -c RAILS_ENV=production

Re: [gitorious] Migrating gitorious to another machine

2012-08-27 Thread luist
Well.. looks like it doesn't have diagnostics: http://pastie.org/4598245 What exactly should i update? Em segunda-feira, 27 de agosto de 2012 13h50min36s UTC-3, Thomas Kjeldahl Nilsson escreveu: First off, doublecheck that you're running the rake task from the root dir of your gitorious

Re: [gitorious] Migrating gitorious to another machine

2012-08-27 Thread Thomas Kjeldahl Nilsson
The CLI diagnostics rake task was added just a week or two ago, so it's fairly recent: if the installation isn't constrained by having to run on a stable tag/version, then you can just git pull the latest changes from gitorious mainline. If you have to sit on a stable tag you'll have to wait

Re: [gitorious] Migrating gitorious to another machine

2012-08-27 Thread luist
Ok the diagnostics worked! Can i have some instructions on how to backup and restore my gitorious manually? Em segunda-feira, 27 de agosto de 2012 14h05min32s UTC-3, Thomas Kjeldahl Nilsson escreveu: The CLI diagnostics rake task was added just a week or two ago, so it's fairly recent: if

Re: [gitorious] Re: Access denied or bad repository path for admin

2012-08-27 Thread Kal
I've checked using https://gitorious.domain.net/test/test/*writable_by?username=admin *for the repo I'm working with and it returns a blank file in the browser. Cheers, K On Thursday, August 23, 2012 10:10:50 PM UTC+8, Thomas Kjeldahl Nilsson wrote: Ah. Just checking: * git owns the