Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: NoSuchFileException during upgrade to liferay 6.2 from liferay 5.2.3
I am trying to migrate to liferay 6.2 from Liferay 5.2.3,first i upgrade to liferay 6.0.6, my database is completely upgraded, but my images and files are not found in version 6.0.6 and I can not find the file. i use this tutrial o upgrade : http://msonbati.blogspot.com/2014/12/liferay-migration-form-523-to-62.html
Hi
what is dl.hook.impl in your portal-ext.properties?
before migrate and now.
what is dl.hook.impl in your portal-ext.properties?
before migrate and now.
at the first time when i start migrat from 5.2.3 to 6.0.6 this is my portal-ext.properties :
at the end of migrate to 6.0.6 this is my portal-ext.properties :
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost:3306/db606?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=root
jdbc.default.password=1
permissions.user.check.algorithm=5
image.hook.impl=com.liferay.portal.image.DatabaseHookat the end of migrate to 6.0.6 this is my portal-ext.properties :
jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost:3306/db606?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
jdbc.default.username=root
jdbc.default.password=1
image.hook.impl=com.liferay.portal.image.FileSystemHook
dl.hook.impl=com.liferay.documentlibrary.util.AdvancedFileSystemHook
mohsen ghafooryI am trying to migrate to liferay 6.2 from Liferay 5.2.3,first i upgrade to liferay 6.0.6, my database is completely upgraded, but my images and files are not found in version 6.0.6 and I can not find the file. i use this tutrial o upgrade : http://msonbati.blogspot.com/2014/12/liferay-migration-form-523-to-62.htmlThat tutorial is a good weather scenario that might work, if you start at the same position where they start, but even then, I believe that a couple of steps are missing.
You should read the upgrade instructions for all of the 6.x series that's available on https://dev.liferay.com/ - the principle for upgrades has stayed the same within the 6.x series.
In particular I'm missing
- Inspecting and partically using portal-legacy-<version>.properties
- Conversion of ImageGallery to DocumentLibrary (I'm not sure, which version it appeared in, or if it was fully automated - too long ago)
- It assumes that you have used AdvancedFileSystem[Hook|Store] from the beginning - which you might or might not have. As you state that your documents are missing, this might be the issue you're looking for.
thanks for your help but i need a best tutrial for upgrading liferay 5.2 to liferay 6.2 and then upgrading to liferay 7.1 and surely not missed my document...
mohsen ghafoorythanks for your help but i need a best tutrial for upgrading liferay 5.2 to liferay 6.2 and then upgrading to liferay 7.1 and surely not missed my document...
The problem is: When you follow a random tutorial on the internet, it might just document what the author required, but not your additionally required steps.
I'll stand by my recommendation from above:
You should read the upgrade instructions for all of the 6.x series that's available on https://dev.liferay.com/ - the principle for upgrades has stayed the same within the 6.x series.
And my answer above has given a few hints as to which steps you might have missed.
Olaf KockI went on another hunt for the ancient documentation - and indeed it's still available, but hard to find (e.g. seems to require some cookies, I can't link directly. Filed as LRDOCS-6404):
You should read the upgrade instructions for all of the 6.x series that's available on https://dev.liferay.com/ - the principle for upgrades has stayed the same within the 6.x series.
Go to https://dev.liferay.com, click "Documentation". When the page is loaded, select "6.0 and earlier". On the resulting page, use the secondary navigation to find the available documentation, e.g. under "User & Admin", you'll find the "Administrator's Guide" Use your target version's guide to find the upgrade instructions for how to upgrade to that version. I've opened the 5.2 guide, and its upgrade instructions go back to version 4.3.
Hi Mohsen,
As Olaf said you have the official documentation in dev.liferay.com, more specifically this is the link you need to follow:
https://dev.liferay.com/es/discover/deployment/-/knowledge_base/6-2/upgrading-liferay
I hope it helps.
Cheers.
As Olaf said you have the official documentation in dev.liferay.com, more specifically this is the link you need to follow:
https://dev.liferay.com/es/discover/deployment/-/knowledge_base/6-2/upgrading-liferay
I hope it helps.
Cheers.