> I was cleaning up some random logins, and I seem to have suspended my > admin user.
> I've got a significant amount of work under that username, and it > would be nice to unsuspend it without losing my repositories and whatnot.
> Is there any way i can dot his with SSH access to the server running > gitorious?
> A quick modification of the suspend-user script to call > user.unsuspend, didn't seem to do anything.
> -- > To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscribe@googlegroups.com
Hello Rohit,
this should work: log in via ssh, go to the root of your gitorious installation, run something like this:
RAILS_ENV=production script/runner 'u=User.find_by_email("ADMIN_EMAIL_ADDRESS");u.suspended_at=nil;u.save!'
-- best regards,
Thomas Kjeldahl Nilsson
Partner & programmer, Gitorious AS
http://gitorious.com
> On 11/13/2012 04:07 AM, Rohit Ramesh wrote: > > I was cleaning up some random logins, and I seem to have suspended my > > admin user.
> > I've got a significant amount of work under that username, and it > > would be nice to unsuspend it without losing my repositories and > whatnot.
> > Is there any way i can dot his with SSH access to the server running > > gitorious?
> > A quick modification of the suspend-user script to call > > user.unsuspend, didn't seem to do anything. > > -- > > To post to this group, send email to gito...@googlegroups.com<javascript:> > > To unsubscribe from this group, send email to > > gitorious+...@googlegroups.com <javascript:> > Hello Rohit,
> this should work: log in via ssh, go to the root of your gitorious > installation, run something like this: > RAILS_ENV=production script/runner > 'u=User.find_by_email("ADMIN_EMAIL_ADDRESS");u.suspended_at=nil;u.save!'
> -- > best regards, > Thomas Kjeldahl Nilsson > Partner & programmer, Gitorious AS > http://gitorious.com