Code:
root@schmidt-mg:~# /opt/open-xchange/sbin/deleteuser -A oxadmin -P "mypass" -i 3 Server response: java.sql.SQLException: Cannot delete or update a parent row: a foreign key constraint fails (`open-xchange-db/oxfolder_tree`, CONSTRAINT `oxfolder_tree_ibfk_1` FOREIGN KEY (`cid`, `created_from`) REFERENCES `user` (`cid`, `id`))
Code:
root@schmidt-mg:~# /opt/open-xchange/sbin/createuser -A oxadmin -P "mypass" --username d.bongatz --displayname "Dorothe Bongartz" --password userpass --email d.bongartz@schmidt-mg.de --givenname Dorothe --surname Bongartz --language de_DE --timezone Europe/Berlin --department EDV --company "Heinrich Schmidt GmbH & Co. KG" 6 root@schmidt-mg:~# /opt/open-xchange/sbin/deleteuser -A oxadmin -P "mypass" -i 6 Server response: java.sql.SQLException: Cannot delete or update a parent row: a foreign key constraint fails (`open-xchange-db/oxfolder_tree`, CONSTRAINT `oxfolder_tree_ibfk_1` FOREIGN KEY (`cid`, `created_from`) REFERENCES `user` (`cid`, `id`)) root@schmidt-mg:~#
Leave a comment: