Proper Permissions for suitecrm directory and files

Can anyone please tell me the correct permissions for suitecrm directory and files. I am following official documentation for permissions but its giving an error in Ubuntu. Please guide me.

This might help you

Thank You so much . I have another question i am editing the layout of contact sub panel documents list view but its getting reset after every time when i drag and drop any field and save and deploy. Its get reset why ?

Because you have errors in your logs, and you’re ignoring them. I’ve told you this in other threads. Set your log level to WARN or more, and if you don’t have anything there, tell me so, and I can try to give other suggestions.

But this code works, at least most of the time, for most people. If you need to understand why it doesn’t work for you, you need to do some diagnosis work and share it here.

Thank you for reply . Ok let me check i will share you my log file with you.

Mon Dec 9 07:06:46 2019 [19673][1][FATAL] IP Address mismatch: SESSION IP: 49.207.90.112 CLIENT IP: 49.207.105.130
Mon Dec 9 09:33:30 2019 [502445][1][FATAL] Email address save error
Mon Dec 9 09:37:20 2019 [516652][1][FATAL] Email address save error
Mon Dec 9 09:38:14 2019 [519719][1][FATAL] Exception handling in /home/k0j8ug9stvck/public_html/namit/suitecrm/include/MVC/Controller/SugarController.php:400
Mon Dec 9 09:38:14 2019 [519719][1][FATAL] Exception in Controller: Error retrieving record. This record may be deleted or you may not be authorized to view it.
Mon Dec 9 09:38:14 2019 [519719][1][FATAL] backtrace:
#0 /home/k0j8ug9stvck/public_html/namit/suitecrm/include/MVC/View/views/view.detail.php(102): sugar_die(‘Error retrievin…’)
#1 /home/k0j8ug9stvck/public_html/namit/suitecrm/include/MVC/View/SugarView.php(226): ViewDetail->display()
#2 /home/k0j8ug9stvck/public_html/namit/suitecrm/include/MVC/Controller/SugarController.php(435): SugarView->process()
#3 /home/k0j8ug9stvck/public_html/namit/suitecrm/include/MVC/Controller/SugarController.php(375): SugarController->processView()
#4 /home/k0j8ug9stvck/public_html/namit/suitecrm/include/MVC/SugarApplication.php(113): SugarController->execute()
#5 /home/k0j8ug9stvck/public_html/namit/suitecrm/index.php(52): SugarApplication->execute()
#6 {main}
Mon Dec 9 10:11:49 2019 [635149][1][FATAL] ERROR: There was an error during your upload, please contact an administrator for help.
Mon Dec 9 10:13:33 2019 [640468][1][FATAL] ERROR: There was an error during your upload, please contact an administrator for help.
Mon Dec 9 10:16:56 2019 [653015][1][FATAL] Email address save error
Mon Dec 9 11:42:21 2019 [887286][1][FATAL] Email address save error

This is the code i my suitecrm .log file

Please can you give me another solution so that this problem get solved. I am working on c panel and i am getting undefined error (in popups) only in studio section and one thing more if there is some error then is should get reflected in suitecrm.log file but my suitecrm log file is empy.

Not necessarily, if your logs are still set to “Fatal” (As seen in your other topics) most errors will not be logged unless there where causing functions to fail completely, white-screening, etc

There is a high chance this issue is related to one of the others you are currently experiencing or still incorrect permissions.

Could you give an example or screenshot of what error Ubuntu was giving?