Admin/Studio changes not taking effect

Issue
SuiteCRM Version 7.11.2 Sugar Version 6.5.25 (Build 344)

Any changes done from Admin/Studio is being reset. I have created few drop-downs from Dropdown editor but when trying to select them for a field, they are nowhere to be seen.
Revisiting Dropdown Editor then doesn’t show those lists at all
I have created a custom field under Contacts module and saved changes but going away from the page and coming back to it makes the label revert to “System Label” and my display label is nowhere to be seen.
Similarly, adding fields to layouts followed by Save & Deploy doesn’t actually show the field int the layout.

I have performed Quick Repair & Rebuild followed by logging in/out and clearing my cache.
The cache folder has got drwxr-x–x with correct owner. Nothing shows in the logs as well.

Expected Behavior
Dropdowns created from Dropdown editor should still show in the list and when selecting a dropdown for a field.
The custom field’s display label should stay as is without reverting to System Label
Fields added to layouts should show up on Save and Deploy

Actual Behavior
Drop-downs created vanish when you navigate away from the page and come back to Dropdown editor or Studio > Contacts > Fields when selecting the dropdown for a field

Fields have System label shown for Display label

Fields added in layouts don’t show even on Save & Deploy

Quick Repair & Rebuild doesn’t help and not sure if it should be used to fix this problem. Nothing in suitecrm.log

======================
One thing to mention is sometimes not sure how the field starts to display the label correctly with correct dropdown and that field shows in the layout too. So, completely clueless why changes don’t reflect straightaway and some times do reflect.

Environment
SuiteCRM Version 7.11.2 Sugar Version 6.5.25 (Build 344)
Chrome Version 74.0.3729.169 (Official Build) (64-bit)
Environment name and version (PHP 7.2.18)

Many thanks in advance!

That does look a lot like permissions issue.

Let’s just check one thing: if you go in Admin / Schedulers, the crontab instructions on the bottom tell you your actual web server user (like apache, or www-data).

Does that match the ownership of files and directories in your SuiteCRM installation? Not just “cache” dir, but all of it?

Yes, I can confirm that all of the files and directories within SuiteCRM structure has the same ownership (nobody in our case as looked at from Admin / Schedulers section).

So can you please set the recommended permissions?


  sudo chown -R nobody:nobody .
  sudo chmod -R 755 .
  sudo chmod -R 775 cache custom modules themes data upload
  sudo chmod 775 config_override.php 2>/dev/null

I am not sure about that nobody:nobody, maybe it should be nobody:nogroup instead.

If you go in Admin / Upgraade wizard and run the first step in the wizard (you can cancel later) it should tell you if the necessary files are writeable.

Thanks for your reply!

I can confirm that the main installation folder has 755 and cache folder with it’s subdirectories has 775. I did go in Admin > Upgrade Wizard and it says “A;; Files writable”.

Another thing that keeps resetting is the logo. One of the reasons could be the symlink I had created of the upload folder to our EFS storage’s path which just creates a dead-lock of symlinks so not sure if that symlink should be completely removed and just set the ownership and permissions on upload folder?

Have you been checking your web server log to see if there are any access errors there?

It might be called php_errors.log or errors.log, it’s defined in your php.ini.

These should help us understand exactly which parts are running into problems…

Please check following paths/files for their Ownership and read/write permissions

custom/modules/Contacts/language/en_us.lang.php

and

custom/include/language/en_us.lang.php

Hello, did you ever solve this? I have similar issues.