Bug error Matomo 3.8.1 to 4.15.1 update time

Error -: PHP Fatal error: Uncaught Piwik\Exception\MissingFilePermissionException: Please check that the web server has enough permission to write to these files/directories:
On Windows, check that the folder is not read only and is writable. You can try to execute: cacls C:\inetpub\matomo/tmp/logs/matomo.log /t /g iis apppool\matomo:f
in C:\inetpub\matomo\plugins\Monolog\Handler\FileHandler.php:27 Stack trace: #0 C:\inetpub\matomo\vendor\monolog\monolog\src\Monolog\Handler\AbstractProcessingHandler.php(39): Piwik\Plugins\Monolog\Handler\FileHandler->write(Array) #1 C:\inetpub\matomo\vendor\monolog\monolog\src\Monolog\Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array) #2 C:\inetpub\matomo\vendor\monolog\monolog\src\Monolog\Logger.php(712): Monolog\Logger->addRecord(400, ‘Uncaught except…’, Array) #3 C:\inetpub\matomo\core\ExceptionHandler.php(209): Monolog\Logger->error(‘Uncaught except…’, Array) #4 C:\inetpub\matomo\core\ExceptionHandler.php(96): Piwik\ExceptionHandler:: in C:\inetpub\matomo\plugins\Monolog\Handler\FileHandler.php on line 27 PHP Fatal error: Uncaught Piwik\Exception\MissingFilePermissionException: Please check that the web server has enough permission to write to these files/directories:
On Windows, check that the folder is not read only and is writable. You can try to execute: cacls C:\inetpub\matomo/tmp/logs/matomo.log /t /g iis apppool\matomo:f
in C:\inetpub\matomo\plugins\Monolog\Handler\FileHandler.php:27 Stack trace: #0 C:\inetpub\matomo\vendor\monolog\monolog\src\Monolog\Handler\AbstractProcessingHandler.php(39): Piwik\Plugins\Monolog\Handler\FileHandler->write(Array) #1 C:\inetpub\matomo\vendor\monolog\monolog\src\Monolog\Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array) #2 C:\inetpub\matomo\vendor\monolog\monolog\src\Monolog\Logger.php(712): Monolog\Logger->addRecord(400, ‘Fatal error enc…’, Array) #3 C:\inetpub\matomo\core\FrontController.php(277): Monolog\Logger->error(‘Fatal error enc…’, Array) #4 [internal function]: Piwik\FrontController::triggerSafeModeWhenError() #5 in C:\inetpub\matomo\plugins\Monolog\Handler\FileHandler.php on line 27

Hi @Nitin,
Give more write permissions on all Matomo folders. This should solve your issue.