I have a noob question on Diff Files http://www.magentocommerce.com/download/diff.
I tried upgrading 220.127.116.11 to 18.104.22.168. via Magento Connect but it stayed on 22.214.171.124 so I wanted to try the diff file approach.
I was wondering if all I have to do is copy the file names over as per http://www.magentocommerce.com/downloads/assets/126.96.36.199/188.8.131.52-184.108.40.206.diff via FTP?
To apply a diff file, you use the ‘patch’ Linux tool. Upload the diff file to your Magento root directory, then execute the following command from a shell prompt (while you are in the Magento root dir.):
The result will (should) be the same, but the two methods are entirely different. The Magento Connect Manager uses PEAR, while when applying the patch, the changed files are updated directly according to the diff file.
With the Magento Connect when I update I have a lot of changes in the files. It is like the files are new. It cancels my changes.
Is the patch method a better solution when we have changes in the design code ?
The template files will still need to be updated to avoid bugs and incompatibility issues with the new release, however you can inspect the diff files to get an understanding of what changes has been made to the templates.
If you are using a custom directory structure for your template, it should not overwrite your existing files. Only the default templates will be updated.
I write to my hoster ignore error, his start again diff and finish. I check in frontend/backend ver and see old one Magento ver. 220.127.116.11. I try to update with magento connect write “magento-core/Mage_All_Latest” and get error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
i all ready all files set chmos to 644 and all directories to 755, only directories - app/etc, var, media set 777
When Magento Connect fails to apply an upgrade correctly (even though no errors occur during the upgrade) is this likely due to a permissions issue on the host server? I get this happen a lot, even on my own staging server. I’ve ended up replacing groups of files manually until things work. Not very satisfactory.
As an aside, Magento Connect seems to work fine on completely untouched Magento installations. This implies that customisations to some of the core files are what trip it up. Would using the app>code>local directory for customised core files be a way to prevent Magento Connect update problems?
You should never modify the core files. Always store customizations in the app/code/local directory. I agree with your view on the upgrade issues. They are usually caused by incorrect file permissions or too low memory limit or max execution time on the server.