Forums de discussion

faild execute liferay workspace init command. liferay 6.2 to liferay 7

juan meza, modifié il y a 7 années.

faild execute liferay workspace init command. liferay 6.2 to liferay 7

Regular Member Publications: 228 Date d'inscription: 06/01/14 Publications récentes
Hi, im trying to migrate Liferay 6.2 GA4 to Liferay 7
Im using the code upgrade tool...
When i try to import the projects, i get the error "faild execute liferay workspace init command" (they probably ment "failed" tho haha)
I read in another post that this is an internet conection error, but i do have an internet conection... how can i fix this and go to fixing my 6.2 code?

juan meza, modifié il y a 7 années.

RE: faild execute liferay workspace init command. liferay 6.2 to liferay 7 (Réponse)

Regular Member Publications: 228 Date d'inscription: 06/01/14 Publications récentes
i didnt do anything, tried the same thing a few days later and it worked.. dont really know what happened
thumbnail
Joye Luo, modifié il y a 7 années.

RE: faild execute liferay workspace init command. liferay 6.2 to liferay 7 (Réponse)

Regular Member Publications: 144 Date d'inscription: 03/05/16 Publications récentes
Hey Juan,

You can use the new version of Liferay IDE 3.1m3.
It will solve your problem. This is mainly caused by the old url is unavailable in sourceforge. So we changed it in the new version of Liferay IDE.

Hope it will works for u.
thumbnail
Nilesh Gundecha, modifié il y a 6 années.

RE: faild execute liferay workspace init command. liferay 6.2 to liferay 7

Regular Member Publications: 205 Date d'inscription: 01/12/09 Publications récentes
Joye Luo:
Hey Juan,

You can use the new version of Liferay IDE 3.1m3.
It will solve your problem. This is mainly caused by the old url is unavailable in sourceforge. So we changed it in the new version of Liferay IDE.

Hope it will works for u.



Hi Joye,

I have upgraded my Liferay IDE to "-3.1.0-b1" version. But despite of this I get a "faild execute liferay workspace init command" error when I try to Upgrade to Liferay Workspace.

However, Upgrade to Liferay 7 Plugin SDK works well.

Can you please help me understand why the Workspace upgrade is not happening?

Thanks,
Nilesh Gundecha
thumbnail
Joye Luo, modifié il y a 6 années.

RE: faild execute liferay workspace init command. liferay 6.2 to liferay 7

Regular Member Publications: 144 Date d'inscription: 03/05/16 Publications récentes
Hey Nilesh,

I tried with Liferay IDE 3.1.0.201705141336-b1. There is no problem in my side.

Following are my enviroment:
Liferay IDE: Liferay IDE 3.1.0.201705141336-b1
Java: Java 8
SDK: liferay-plugins-sdk-6.2-ce-ga6-20160112152609836.zip
So can u provide me more information about it. ( Error log or Sample project )

And u can also try it in console.
1. install liferay blade cli
2. run "blade init -u" command

Hope it will works for u.

Pièces jointes:

thumbnail
Niall O'Grady, modifié il y a 5 années.

RE: faild execute liferay workspace init command. liferay 6.2 to liferay 7

New Member Publications: 11 Date d'inscription: 15/01/13 Publications récentes
Hello,

I have been encountering the issue reported here in recent days. My configuration being the following:

IDE Liferay Developer Studio Version: 3.1.2.201709011126-ga3

Java 1.8.0_144

SDK liferay-portal-6.2-ee-sp2 and liferay-portal-6.2-ce-ga6

When I do as advised on this post and run a blade init -u command for the project I get an error consistent with that reported from the Code Upgrade Tool

Error
0. [WindowsException.translateToIOException] java.nio.file.AccessDeniedException: C:\Liferay\migrate1 - Copy - Copy - Copy\plugins-sdk\.svn\pristine\00\0009421455a2b2d8bb73fbda779353382255e2f3.svn-base

Might you have any further suggestions re how I might resolve this issue in my environment?

Thanks in advance.
Niall O'Grady
QAD Ireland
thumbnail
Joye Luo, modifié il y a 5 années.

RE: faild execute liferay workspace init command. liferay 6.2 to liferay 7

Regular Member Publications: 144 Date d'inscription: 03/05/16 Publications récentes
Hello Niall,

You can try with the latest Liferay IDE 3.2M1.

Also you can also install the latest blade cli to run blade init -u command.

Hope it works for you. And let me know if your problem solved or not.
thumbnail
Niall O'Grady, modifié il y a 5 années.

RE: faild execute liferay workspace init command. liferay 6.2 to liferay 7

New Member Publications: 11 Date d'inscription: 15/01/13 Publications récentes
Thanks Joye,

I updated both blade-cli and my IDE and I have been able to complete the Liferay code upgrade tool process.

I very much appreciate your help on this.
Niall