no problem during the update process but after this my suitecrm application is not working
After login the home page is almost blank
On apache log I found this error
PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /var/www/html/suitecrm/public/legacy/modules/SugarFeed/SugarFeed.php:203\nStack trace:\n#0 /var/www/html/suitecrm/public/legacy/modules/SugarFeed/SugarFeed.php(203): fwrite()\n#1 /var/www/html/suitecrm/public/legacy/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php(82): SugarFeed::getActiveFeedModules()\n#2 /var/www/html/suitecrm/public/legacy/modules/Home/index.php(226): SugarFeedDashlet->__construct()\n#3 /var/www/html/suitecrm/public/legacy/modules/Home/views/view.list.php(55): include(‘…’)\n#4 /var/www/html/suitecrm/public/legacy/include/MVC/View/SugarView.php(210): HomeViewList->display()\n#5 /var/www/html/suitecrm/public/legacy/include/MVC/Controller/SugarController.php(432): SugarView->process()\n#6 /var/www/html/suitecrm/public/legacy/include/MVC/Controller/SugarController.php(363): SugarController->processView()\n#7 /var/www/html/suitecrm/public/legacy/include/MVC/SugarApplication.php(101): SugarController->execute()\n#8 /var/www/html/suitecrm/public/legacy/index.php(52): SugarApplication->execute()\n#9 {main}\n thrown in /var/www/html/suitecrm/public/legacy/modules/SugarFeed/SugarFeed.php on line 203
I am using php 8.1
I just reset file permission using sudo chmod -R 755 on my SuiteCRM instance
Can anyone suggests me how can I fix the problem ?
Some are owned by www-data some are owned by root:root i see
It is definitely root folder/file ownership that’s knackering it as the www-data user does not have authority to modify files which are owned by root:root