Message Boards

problem and question about upgrade from 6.2 to 7.3

Scarletake Bwi, modified 3 Years ago.

problem and question about upgrade from 6.2 to 7.3

Expert Posts: 326 Join Date: 12/20/10 Recent Posts

hi

i an on liferay 6.2, i want upgrade to 7.x for many years.
and now i think it's time to do it.

my plan is
back up the db, upgrade db via liferay dev studio. and re-write all apps. yes, one by one.
because i try liferay upgrade plan, it not work very well.

but i still get problem. i download 7.3 ga6 boundle with tomcat, and create an portal-setup-wizard.properties 
setup.wizard.enabled=true
and triggered it to run by eclipse.
after i upgarde database, no exception, run so well.
but when i try login, it fail because liferay cannot find user.
I originally thought that even if there is no app, I still point to the upgraded db. At least I should be able to log in. Is there anything wrong with me?

 

error message:

2021-01-14 07:09:55.822 ERROR [http-nio-8080-exec-6][ImageImpl:69] Error reading image 34502
com.liferay.document.library.kernel.exception.NoSuchFileException: {companyId=0, repositoryId=0, fileName=34502.png, cause=java.io.FileNotFoundException: C:\liferay-ce-portal-7.3.5-ga6\data\document_library\0\0\34502.png\1.0 (蝟餌絞?銝????楝敺??)}
    at com.liferay.portal.store.file.system.FileSystemStore.getFileAsStream(FileSystemStore.java:140)

thank you.

Scarletake Bwi, modified 3 Years ago.

RE: problem and question about upgrade from 6.2 to 7.3

Expert Posts: 326 Join Date: 12/20/10 Recent Posts

i fixed. 

first, i copy 

[old liferay home]\data\document_library

to 

\liferay-ce-portal-7.3.5-ga6\data\document_library

 

and add in portal-setup-wizard.properties

passwords.encryption.algorithm.legacy=SHA
portlet.add.default.resource.check.enabled=false

 

it work now.

i still wannt know, does my plan okay?

if i create new service-builder but all nameing rule just as old version, will it connect to old(right)? or create another new tables?

and how about auto increment in service-builder?

if you have experience about it, please please share to me.

 

thank you,