AnsweredAssumed Answered

An error has occurred during deploy process, your package may not have installed correctly

Question asked by Sundar Kumar on Jun 11, 2017
Latest reply on Jun 12, 2017 by André Lopes

I am using SugarPro7.8.2.0. While deploying modules from module builder, i am getting error message: An error has occurred during deploy process, your package may not have installed correctly and i am receiving the following error in the log file,
Mon Jun 12 10:15:16 2017 [20827][1][FATAL] Exception in Controller: exception 'RuntimeException' with message 'File name violation: file outside basedir' in /var/www/html/staging/crm/src/Util/Files/FileLoader.php:64
Stack trace:
#0 /var/www/html/staging/crm/ModuleInstall/ModuleInstaller.php(3446): Sugarcrm\Sugarcrm\Util\Files\FileLoader::validateFilePath('/home/sugardocs...')
#1 /var/www/html/staging/crm/ModuleInstall/ModuleInstaller.php(157): ModuleInstaller->readManifest()
#2 /var/www/html/staging/crm/ModuleInstall/PackageManager/PackageManager.php(554): ModuleInstaller->install('/home/sugardocs...')
#3 /var/www/html/staging/crm/modules/ModuleBuilder/controller.php(293): PackageManager->performInstall('/home/sugardocs...', true)
#4 /var/www/html/staging/crm/include/MVC/Controller/SugarController.php(450): ModuleBuilderController->action_DeployPackage()
#5 /var/www/html/staging/crm/include/MVC/Controller/SugarController.php(423): SugarController->do_action()
#6 /var/www/html/staging/crm/include/MVC/Controller/SugarController.php(398): SugarController->handle_action()
#7 /var/www/html/staging/crm/modules/ModuleBuilder/controller.php(148): SugarController->process()
#8 /var/www/html/staging/crm/include/MVC/Controller/SugarController.php(306): ModuleBuilderController->process()
#9 /var/www/html/staging/crm/include/MVC/SugarApplication.php(200): SugarController->execute()
#10 /var/www/html/staging/crm/index.php(27): SugarApplication->execute()
#11 {main}

 

Sundar K

Outcomes