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: How to migrate a Liferay portal application from one computer to anothe
Hi, I have the liferay application on my old pc and would like to move it to my new development environment. I have installed the latest version of the eclipse platform with the liferay plugin. How do I move my application from the old pc to the new one?
thanks,
Anu
Anu Narayanan:Hi, I have the liferay application on my old pc and would like to move it to my new development environment. I have installed the latest version of the eclipse platform with the liferay plugin. How do I move my application from the old pc to the new one?
That's what I call "Backup" and "Restore". And it's not even meant sneaky: If you have a proper Backup, you'll have tested if you can restore it on a new computer, that has never seen this installation before.
Therefor: My suggestions: Look up how to backup/restore your Liferay installation and use the migration of your Dev environment as proof that you've indeed replicated to a fully working new environment and didn't miss anything.
Thanks Olaf. I will try and do that. Can I backup in 6.2 version and restore in version 7?
No, you have to do it in different steps, first update from 6.2 to 7.0 and after that move to the new machine or vice versa, first move and after that, upgrade.
You have information about how to upgrade here: https://dev.liferay.com/discover/deployment/-/knowledge_base/7-0/upgrading-to-liferay-7
Olaf, I tried to find how to backup and restore but could not find proper documentation. I have a windows environment and SQL Server database. Any help is appreciated.
thanks,
Anu Narayanan:Olaf, I tried to find how to backup and restore but could not find proper documentation. I have a windows environment and SQL Server database.
Hm. Where did you look? ;)
You might want to start here.
Regarding the upgrade: If you're intending to continue to use SQL Server in 7.0 CE, you'll need Antonio's plugin for database support (or DXP 7.0), otherwise you should convert your database to one of the 7.0 CE supported ones while you're in 6.2, then upgrade.
Olaf Kock:Anu Narayanan:Olaf, I tried to find how to backup and restore but could not find proper documentation. I have a windows environment and SQL Server database.
Hm. Where did you look? ;)
You might want to start here.
Regarding the upgrade: If you're intending to continue to use SQL Server in 7.0 CE, you'll need Antonio's plugin for database support (or DXP 7.0), otherwise you should convert your database to one of the 7.0 CE supported ones while you're in 6.2, then upgrade.
Thanks Olaf. I was able to migrate my application from one environment to the other successfully. I want to now upgrade to the version 7.1. Since we are intending to continue with the community edition for now I tried to add the plugin for the database support for the SQL server as suggested by you. I added the
liferay-portal-sqlserverdb-support-1.0.1.jar to the
Liferay_Home\tomcat-9.0.6\webapps\ROOT\WEB-INF\lib folder and included the
sqljdbc4.jar in the Liferay_Home\tomcat-9.0.6\lib\ext folder. Now I am getting the error
"com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server did not return a response. The connection has been closed.""
Do I have to do anything on the database side?
I am trying to connect to SQL server 2008.
Let me know if I have to open a different discussion thread since this question is on the upgrade.
thanks,
Anu
Hi Anu,
Yes please, open a new thread and attach the upgrade log.
Thanks.
Powered by Liferay™