# No 'system' user. Is this bad?

**URL:** https://meta.discourse.org/t/no-system-user-is-this-bad/70910
**Category:** Development
**Created:** [28.Сентябрь.2017 01:39:50 UTC](https://meta.discourse.org/t/no-system-user-is-this-bad/70910 "2017-09-28T01:39:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![iamphi](https://avatars.discourse-cdn.com/v4/letter/i/ba9def/32.png) [@iamphi](https://meta.discourse.org/u/iamphi)
#### Post date: [28.Сентябрь.2017 01:39:50 UTC](https://meta.discourse.org/t/no-system-user-is-this-bad/70910/1 "2017-09-28T01:39:50Z")

</div>

I am having trouble with importing like this case ([Trouble creating category in import script](https://meta.discourse.org/t/trouble-creating-category-in-import-script/64000))  
I noticed that the user table does not have a record for a ‘system’ user with id -1. Does this user need to exist in the db? I had dropped the database and did a ‘rake db:migrate’.  
‘git log’ tells me that I am using (right? I am new to git):

```plaintext
commit 25683124752a504007d5bf1673ac9dcb615c7041
Author: Guo Xiang Tan <tgx_world@hotmail.com>
Date: Wed Sep 27 11:55:06 2017 +0800

    FIX: Use exact patht to ensure we always redirect with the right format.

```

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [28.Сентябрь.2017 02:31:00 UTC](https://meta.discourse.org/t/no-system-user-is-this-bad/70910/2 "2017-09-28T02:31:00Z")

</div>

You will need the “system” user and I’m almost 100% certain that its id will need to be -1

Sorry that I don’t have a clue as to what happened or how to fix it, but I would prepare yourself to start over again.
