
Originally Posted by
vdhyani Looking at the thread I think the problem is in Instance name
/home/myusername/mysite.com/crm/
This should be the path to the folder where instance files are located.
home/myusername/Sugar451CE
/usr/local/php5/bin/php silentUpgrade.php SugarCE-Upgrade-4.5.1-to-5.0.0b.zip
/home/myusername/mysite.com/crm/upgradelogs/451_50.log
/home/myusername/mysite.com/crm/ admin
Thanks but my SugarCRM is installed at /home/myusername/mysite.com/crm/ crm folder is the renamed folder that does contain the modules and files"
Code:
. log4php.properties include
.. log_file_restricted.html install
files.md5 maintenance.php jscalendar
.htaccess metagen.php log4php
acceptDecline.php PATCH.txt metadata
campaign_tracker.php pdf.php ModuleInstall
campaign_trackerv2.php phprint.php modules
config.php README.txt soap
cron.php removeme.php themes
dictionary.php robots.txt XTemplate
download.php soap.php sugarcrm.log
emailmandelivery.php sugar_version.php config_override.php
export.php SugarSecurity.php manifest.php
HandleAjaxCall.php TreeData.php scripts
image.php UPGRADE.TXT SugarCE-Upgrade-4.5.1-to-5.0.0
index.php vcal_server.php upgradeWizard.log
install.php vCard.php backups
INSTALLATION.txt WebToLeadCapture.php SugarCE-Upgrade-4.5.1-to-5.0.0b.zip
json.php cache silentUpgrade.php
json_server.php custom SILENTUPGRADE.txt
leadCapture.php data upgradelogs
LICENSE.txt examples home
I should add that after the FAILURE result, the log file wasnt generated in the /home/myusername/mysite.com/crm/upgradelogs/ directory.
I added more debugging to silentUpgrade.php and found that it was failing on:
PHP Code:
$unzip_dir = clean_path("{$cwd}/{$sugar_config['upload_dir']}upgrades/temp/su_temp");
$install_file = clean_path("{$cwd}/{$sugar_config['upload_dir']}upgrades/patch/".basename($argv[1]));
mkdir_recursive($unzip_dir);
if(!is_dir($unzip_dir)) {
die("\nFAILURE: $unzip_dir\n");
}
When does this directory get created? I tried to create it manually with no luck. I decided to do a fresh install of 5.0 but having fun trying to manually alter the 4.5.1 db and sitting the 5.0 install on top of the upgraded db
Bookmarks