Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't exe new ownership update option when mirror repository transferred ownership #1120

Closed
melochale opened this issue Mar 23, 2015 · 14 comments
Labels
💊 bug Something isn't working
Milestone

Comments

@melochale
Copy link

Now my gogs user is 'melo' , I got this message if we transferred ownership to the new user such as 'mirror-user', and 'mirror-user' can't update the mirror repository as well.

Fail to update mirror repository(/home/geil/gogs-server/repository/melo/xxx.git): chdir /home/geil/gogs-server/repository/melo/xxx.git: no such file or directory

The new version may exist this legacy issue, could be helpful to post it.
gogs version: Version: 0.5.13.0212 Beta

@melochale melochale changed the title Can't exe new ownership update option when mirror repository Transfered ownership Can't exe new ownership update option when mirror repository transferred ownership Mar 23, 2015
@unknwon
Copy link
Member

unknwon commented Mar 23, 2015

The new version may exist this legacy issue, could be helpful to post it.

Yes, I remember someone posted already, just cannot find now. But I'll keep this open until I found the previous one.

Thanks!

@unknwon unknwon added the 💊 bug Something isn't working label Mar 23, 2015
@unknwon unknwon added this to the 0.6.1 milestone Mar 23, 2015
@mrmierzejewski
Copy link

@unknwon When do you plan to release binary package with fix? Unfortunately I am not able to create any new organization repositories and it is critical.

@unknwon
Copy link
Member

unknwon commented Mar 24, 2015

Hi @zenzire , hmm...

Unfortunately I am not able to create any new organization repositories and it is critical.

Can you give more details on this?

@mrmierzejewski
Copy link

I use version 0.6.0 with SQLite and when I tried to create a new repository in organization, I got timeout error.

In database log there is something like this:

[xorm] [info]  2015/03/24 10:47:21.394460 [sql] UPDATE `repository` SET num_watches = num_watches + 1 WHERE id = ? [args] [35]
[xorm] [debug] 2015/03/24 10:47:21.395062 [time] UPDATE `repository` SET num_watches = num_watches + 1 WHERE id = ? - args [35] - execution took: 488569ns
[xorm] [info]  2015/03/24 10:47:21.395281 [sql] SELECT `id`, `user_id`, `repo_id` FROM `watch` WHERE `user_id` = ? AND `repo_id` = ? LIMIT 1 [args] [7 35]
[xorm] [info]  2015/03/24 10:48:18.087771 [sql] SELECT `id`, `uuid`, `type`, `url`, `payload_content`, `content_type`, `event_type`, `is_ssl`, `is_delivered`, `is_succeed` FROM `hook_task` WHERE is_delivered=? [args] [[false]]
[xorm] [info]  2015/03/24 10:48:21.787161 [sql] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `passwd`, `login_type`, `login_source`, `login_name`, `type`, `location`, `website`, `rands`, `salt`, `created`, `updated`, `is_active`, `is_admin`, `allow_git_hook`, `avatar`, `avatar_email`, `use_custom_avatar`, `num_followers`, `num_followings`, `num_stars`, `num_repos`, `description`, `num_teams`, `num_members` FROM `user` WHERE `id` = ? LIMIT 1 [args] [1]

@mrmierzejewski
Copy link

@unknwon I see that there is already created issue about problems with creating new repositories #1100.

@unknwon
Copy link
Member

unknwon commented Mar 24, 2015

@zenzire that one has been fixed with newly uploaded binary.

@mrmierzejewski
Copy link

@unknwon I downloaded and installed binary from https://github.com/gogits/gogs/releases and http://gogs.io/docs/installation/install_from_binary.html. And still creating a new repository for organization doesn't work.

Please let me know, where can I download the updated binaries for Linux?

@unknwon
Copy link
Member

unknwon commented Mar 24, 2015

@zenzire both places you go are having updated binaries for Linux, make sure you did not execute the old one again.

@unknwon
Copy link
Member

unknwon commented Mar 24, 2015

Also we should move discussion to more relevant issue #1100 👀

@unknwon
Copy link
Member

unknwon commented Mar 25, 2015

Hi @melote , I've pushed fix to master, please help test again!

@unknwon unknwon added the status: needs feedback Tell me more about it label Mar 25, 2015
@melochale
Copy link
Author

@unknwon, would be my pleasure, I will feedback ASAP.

@melochale
Copy link
Author

@unknwon, Test OK, the admin panel's monitoring shows below:

Update mirrors  @every 1h   2015-03-26 17:21:00 +0800 CST   2015-03-26 16:21:00 +0800 CST   6

and the System Notices includes no more error infos.

@unknwon
Copy link
Member

unknwon commented Mar 26, 2015

@melote looks good! Thanks for confirmation!

@unknwon unknwon removed the status: needs feedback Tell me more about it label Mar 26, 2015
@unknwon
Copy link
Member

unknwon commented Mar 26, 2015

I'm closing it with the release, feel free to reopen it if you want to continue discussion. 😃

@unknwon unknwon closed this as completed Mar 26, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
💊 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants