Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
44b41fd2
Commit
44b41fd2
authored
Jan 27, 2022
by
Ben Prescott @bprescott_↙ ☺
Committed by
Marcin Sedlak-Jakubowski
Jan 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
null constraint issue when deleting users
parent
f251f699
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
doc/user/profile/account/delete_account.md
doc/user/profile/account/delete_account.md
+16
-9
No files found.
doc/user/profile/account/delete_account.md
View file @
44b41fd2
...
@@ -82,14 +82,21 @@ is a sole owner of. Administrators can also request this behavior when
...
@@ -82,14 +82,21 @@ is a sole owner of. Administrators can also request this behavior when
deleting users from the
[
API
](
../../../api/users.md#user-deletion
)
or the
deleting users from the
[
API
](
../../../api/users.md#user-deletion
)
or the
Admin Area.
Admin Area.
<!--
## Troubleshooting
## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
### Deleting a user results in a PostgreSQL null value error
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
Each scenario can be a third-level heading, e.g.
`### Getting error message X`
.
There is
[
a known issue
](
https://gitlab.com/gitlab-org/gitlab/-/issues/349411
)
that results
If you have none to add when creating a doc, leave this section in place
in users not being deleted, and the following error generated:
but commented out to help encourage others to add to it in the future. -->
```
plaintext
ERROR: null value in column "user_id" violates not-null constraint
```
The error can be found in the
[
PostgreSQL log
](
../../../administration/logs.md#postgresql-logs
)
and
in the
**Retries**
section of the
[
background jobs view
](
../../admin_area/index.md#background-jobs
)
in the Admin Area.
If the user being deleted used the
[
iterations
](
../../group/iterations/index.md
)
feature, such
as adding an issue to an iteration, you must use
[
the workaround documented in the issue
](
https://gitlab.com/gitlab-org/gitlab/-/issues/349411#workaround
)
to delete the user.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment