SOLVED: Cannot delete user

Get help from the community here.

Moderator: Developers

gijsg03
Posts: 20
Joined: Thu Dec 23, 2010 9:13 pm

SOLVED: Cannot delete user

Postby gijsg03 » Tue Sep 17, 2019 9:13 am

Version GO: 6.4.55-php-71

I'm trying to delete a user, but I get the error message:

Code: Select all

An error occured on the server. The console shows details
After confirming the message, the screen in hanging with the message "Deleting". In debug modus I get this error in the logging: "

Code: Select all

PDOException in /usr/share/groupoffice/go/core/db/Statement.php at line 75: SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`groupoffice`.`addressbook_contact`, CONSTRAINT `addressbook_contact_ibfk_3` FOREIGN KEY (`modifiedBy`) REFERENCES `core_user` (`id`)), referer: https://mail.mydomain.nl/
I did a clean install a few months ago. Everything was working fine until I was trying to delete a user.

When I try to modify the user, I get the message 'item not found' -> "Het opgevraagde item kan niet worden gevonden".


P.s: I got another issue, that relaying for a new domain is not allowed when create a new e-mail domain. I think something is wrong with the MySQL database, but I don't know what.

Allready done:
- System check -> OK
- Database check -> OK
- Checked my modules
- Running upgrade.php -> OK
gijsg03
Posts: 20
Joined: Thu Dec 23, 2010 9:13 pm

Re: SOLVED: Cannot delete user

Postby gijsg03 » Tue Sep 17, 2019 1:18 pm

I finally removed the domain directory /var/mail/vhosts/<domain>. After that the user also dissappeared.

--> I probably forgot to say that I removed the domain of this user. But that should not make a difference I think, because I should be able to connect that user to another domain.

Who is online

Users browsing this forum: No registered users and 6 guests