I *think* I solved this.

Since I have not yet moved my production site from version 5.4 I have a 
slight advantage in this issue.

I went through the database and cleaned up the projects that were owned by 
deleted users and set the user_id to my accounts id.

Now I show as the owner of all these projects. 

That should fix things when I do the upgrade on my test server and we'll 
see if that takes care of it.
 

On Thursday, February 6, 2014 1:00:41 PM UTC-5, James Bernardi wrote:
>
> I have been running gitlab for a few years now and have some projects that 
> were created by users that were deleted.
>
> Now, when I try to move to the newer version I get errors with those 
> projects.  I can not remove them or change the owner.  They were also not 
> migrated to the new namespaces since the owners were deleted.
>
> I should be able to do this with the rails console or the mysql console 
> but I have no idea how to do this.
>
> Could anyone point me in the right direction on how to clean up these 
> projects?
>
> This is the error I get
>
>  Try fixing it:
>   Migrate global projects
>   For more information see:
>   doc/update/5.4-to-6.0.md in section "#global-projects"
>   Please fix the error above and rerun the checks.
>
>
> Running 
>
> Project.all.select { |project| project.owner.blank? }
>
>  in the rails console shows me the projects without owners
>
> Now how do I set the owner?
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to