I think i may have found the solution

https://forums.fogproject.org/topic/13891/cant-create-user-setting-up-fogproject-user-failed