I have SuiteCRM v8 hosted locally on my machine and it’s working fine. However, when I try to edit a contact, account, or any other entity and click save, the page loads correctly, but the changes are not saved (after refreshing, it returns to the original state).
Creating a new entity works fine, and the data is saved.
The user and group name (in the above example www-data ) needs to be replaced by the actual system user and group that your webserver runs under. This varies depending on your operating system. Common web server users are as follows:
www-data (Ubuntu Linux/Apache)
apache (Linux/Apache)
Session/CSRF Token Issue. Run from the CRM root directory!
No, it’s not a custom field.
I opened Contacts and created a new one with only the first and last name, which was saved correctly. Then I tried to edit it and change the name, but when I clicked Save, it showed an error. And after refreshing, it still shows the original content.
app.ERROR: Database failure. Please refer to suitecrm.log for details. {“exception”:“[object] (Exception(code: 1): Database failure. Please refer to suitecrm.log for details. at C:\xampp\htdocs\suitecrm\public\legacy\include\utils.php:2123)”}
I tried the suggested solution: ‘Admin > Studio > Contacts > Reset Default’, but it didn’t work. Also, this issue happens only with Contacts, not with other entities.
Please install a Linux system and try it again.
I’m using VirtualBox for a long time (Linux and Linux - but it should work with Windows Host and Linux Guest as well).
Alternatively, just use an old computer that you’ve still got laying around somewhere with a fresh Ubuntu Server 24 (or similar) installation.
This can be a permission issue
Using the following commands, you can update the permission. Remember to use your own user and group in the commands.
find . -type d -not -perm 2755 -exec chmod 2755 {} ;
chmod +x bin/console
Additionally, it can also be a problem with the system’s compatibility. For example, SuiteCRM is no longer compatible with Windows from V8 onwards.
I think if saving a record is allowed them updating should not have any issues. Can you please check in the browser console if any error related to angular or api is present. You can debug the issues using the browser’s debugger tool. But you will require all the components core, common,shell and/or extension be built in dev mode.