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

500 Error when opening Collaboration pane #193

Closed
mondele opened this issue Jun 6, 2017 · 8 comments
Closed

500 Error when opening Collaboration pane #193

mondele opened this issue Jun 6, 2017 · 8 comments
Assignees

Comments

@mondele
Copy link

mondele commented Jun 6, 2017

I get a 500 error when opening the collaboration pane for my repository. https://git.door43.org/Door43/en_uhg/settings/collaboration

It may be that this is related to the deleted groups bug.

@ethantkoenig
Copy link
Contributor

Could someone provide a log?

@richmahn
Copy link
Member

richmahn commented Jun 7, 2017

The log shows this when going to that page:

2017/06/07 01:36:15 [...ters/repo/setting.go:400 Collaboration()] [E] GetCollaborators: user does not exist [uid: 5667, name: , keyid: 0]

@richmahn
Copy link
Member

richmahn commented Jun 7, 2017

So right, there is no user 5667.

mysql> select * from collaboration where user_id =  5667;
+----+---------+---------+------+
| id | repo_id | user_id | mode |
+----+---------+---------+------+
| 84 |    4430 |    5667 |    2 |
+----+---------+---------+------+
1 row in set (0.00 sec)

So looks like we are not deleting the user from collaboration somewhere. @mondele Was this user maybe deleted through the old DW door43.org? We then need to delete from this table too I guess when deleted.

@richmahn
Copy link
Member

richmahn commented Jun 7, 2017

@mondele You can open that page now. I deleted the bad user from the collaboration table. I'll put a fix into the DW delete user SQL to make sure they are deleted here too.

@richmahn richmahn self-assigned this Jun 7, 2017
@richmahn richmahn added this to the WST Sprint #27 milestone Jun 7, 2017
@richmahn
Copy link
Member

richmahn commented Jun 7, 2017

Added DELETE FROM collaboration WHERE user_id = %{uid}; to the DW code that deletes users from the DB.

@mondele
Copy link
Author

mondele commented Jun 7, 2017

I don't know if this information is still needed, but the user is Chapel Presson.

@richmahn
Copy link
Member

richmahn commented Jun 7, 2017

@mondele Do you know how he got deleted?

@mondele
Copy link
Author

mondele commented Jun 7, 2017 via email

@jag3773 jag3773 closed this as completed Jun 15, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants