Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
kawther JN
Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
9 de enero de 2013 22:07
Respuesta

kawther JN

Ranking: Regular Member

Mensajes: 105

Fecha de incorporación: 2 de agosto de 2012

Mensajes recientes

HI, I am using Liferay 6.1 GA1 with its default DB (hypersonic) and I am trying to upgrade to Liferay 6.1.1 GA2
I followed the steps below:

after backed up old installation ( liferay/data, portal-ext.properties)
1/ Obtain the new bundle. Unzip the bundle to an appropriate location.
2/ Copy portal-ext.properties file and data folder to the new bundle.
3/ copy liferay-plugins-sdk-6.1.0 and apache-ant-1.8.4 to the new bundle.
4/ started server.

everything seemed to be fine except when I went to control panel: no sites, no pages,no images..

I really need ur help !!
Juan Gonzalez
RE: Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
9 de enero de 2013 23:48
Respuesta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1984

Fecha de incorporación: 28 de octubre de 2008

Mensajes recientes

You said you copied sdk and apache ant to new bundle? Where exactly? Guess that step is wrong.

Send your error logs, if not, can't help.
kawther JN
RE: Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
10 de enero de 2013 9:05
Respuesta

kawther JN

Ranking: Regular Member

Mensajes: 105

Fecha de incorporación: 2 de agosto de 2012

Mensajes recientes

Juan Gonzalez P:
You said you copied sdk and apache ant to new bundle? Where exactly? Guess that step is wrong.

Send your error logs, if not, can't help.


/liferay-portal-6.1.1-ce-ga2/apache-ant-1.8.4
/liferay-portal-6.1.1-ce-ga2/liferay-plugins-sdk-6.1.0



14:43:40,097 INFO [pool-2-thread-1][DialectDetector:71] Determine dialect for HSQL Database Engine 2
14:43:40,100 WARN [pool-2-thread-1][DialectDetector:86] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal-ext.properties.
14:43:40,148 INFO [pool-2-thread-1][DialectDetector:136] Found dialect org.hibernate.dialect.HSQLDialect
16:47:04,366 INFO [pool-2-thread-1][DialectDetector:71] Determine dialect for HSQL Database Engine 2
16:47:04,369 WARN [pool-2-thread-1][DialectDetector:86] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal-ext.properties.
16:47:04,426 INFO [pool-2-thread-1][DialectDetector:136] Found dialect org.hibernate.dialect.HSQLDialect
16:47:38,175 ERROR [pool-2-thread-1][JDBCExceptionReporter:76] user lacks privilege or object not found: LOCK_
16:47:39,834 WARN [pool-2-thread-1][ReleaseLocalServiceImpl:151] user lacks privilege or object not found: RELEASE_
16:47:39,839 INFO [pool-2-thread-1][ReleaseLocalServiceImpl:84] Create tables and populate with default data
16:47:40,282 INFO [pool-2-thread-1][BaseDB:452] Database supports case sensitive queries
16:47:40,964 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyProcessSuite
16:47:40,969 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyProperties
16:47:41,079 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyDB2
16:47:41,082 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyMySQL
16:47:41,084 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyOracle
16:47:41,087 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifySQLServer
16:47:41,089 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyCounter
16:47:41,146 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyUUID
16:47:41,184 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyPermission
16:47:41,812 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyRole
16:47:41,814 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyAsset
16:47:41,853 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.portal.upgrade.util.UpgradeAssetPublisherManualEntries
16:47:41,863 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyBlogs
16:47:42,000 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyBookmarks
16:47:42,006 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyCalendar
16:47:42,013 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyDocumentLibrary
16:47:42,057 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyGroup
16:47:42,113 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyJournal
16:47:42,131 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyLayout
16:47:42,153 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyMessageBoards
16:47:42,167 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyOrganization
16:47:42,169 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyResourcePermissions
16:47:42,170 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifySocial
16:47:42,171 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyUser
16:47:42,196 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.portal.verify.VerifyWiki
16:47:42,275 INFO [pool-2-thread-1][ServerDetector:154] Server supports hot deploy
16:47:42,348 INFO [pool-2-thread-1][PluginPackageUtil:1030] Reading plugin package for the root context
16:48:01,911 INFO [pool-2-thread-1][AutoDeployDir:85] Creating missing directory C:\liferay-portal-6.1.1-ce-ga2\bundles\deploy
16:48:01,914 INFO [pool-2-thread-1][AutoDeployDir:106] Auto deploy scanner started for C:\liferay-portal-6.1.1-ce-ga2\bundles\deploy


and this is what I got when start server:

9 janv. 2013 16:46:43 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performanc
e in production environments was not found on the java.library.path: C:\liferay-
portal-6.1.1-ce-ga2\bundles\tomcat-7.0.27\jre1.6.0_20\win\bin;.;C:\Windows\Sun\J
ava\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\bin;C:\
Windows\System32;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Progra
m Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server
\100\Tools\Binn\VSShell\Common7\IDE\;C:\liferay-portal-6.1.1-ce-ga2\apache-ant-1
.8.4\bin;C:\Program Files\MiKTeX 2.9\miktex\bin\;C:\Program Files\MySQL\MySQL Se
rver 5.5\bin
9 janv. 2013 16:46:45 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
9 janv. 2013 16:46:45 org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
9 janv. 2013 16:46:45 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2749 ms
9 janv. 2013 16:46:45 org.apache.catalina.core.StandardService startInternal
INFO: D+®marrage du service Catalina
9 janv. 2013 16:46:45 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
9 janv. 2013 16:46:45 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: D+®ploiement du descripteur de configuration C:\liferay-portal-6.1.1-ce-ga
2\bundles\tomcat-7.0.27\conf\Catalina\localhost\ROOT.xml
Loading jar:file:/C:/liferay-portal-6.1.1-ce-ga2/bundles/tomcat-7.0.27/webapps/R
OOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/C:/liferay-portal-6.1.1-ce-ga2/bundles/tomcat-7.0.27/webapps/R
OOT/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/C:/liferay-portal-6.1.1-ce-ga2/bundles/tomcat-7.0.27/webapps/ROOT/
WEB-INF/classes/portal-ext.properties
9 janv. 2013 16:46:56 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16:47:04,366 INFO [pool-2-thread-1][DialectDetector:71] Determine dialect for H
SQL Database Engine 2
16:47:04,369 WARN [pool-2-thread-1][DialectDetector:86] Liferay is configured t
o use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersoni
c is an embedded database useful for development and demo'ing purposes. The data
base settings can be changed in portal-ext.properties.
16:47:04,426 INFO [pool-2-thread-1][DialectDetector:136] Found dialect org.hibe
rnate.dialect.HSQLDialect
Starting Liferay Portal Community Edition 6.1.1 CE GA2 (Paton / Build 6101 / Jul
y 31, 2012)
16:47:38,175 ERROR [pool-2-thread-1][JDBCExceptionReporter:76] user lacks privil
ege or object not found: LOCK_
16:47:39,834 WARN [pool-2-thread-1][ReleaseLocalServiceImpl:151] user lacks pri
vilege or object not found: RELEASE_
16:47:39,839 INFO [pool-2-thread-1][ReleaseLocalServiceImpl:84] Create tables a
nd populate with default data
16:47:40,282 INFO [pool-2-thread-1][BaseDB:452] Database supports case sensitiv
e queries
16:47:40,964 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyProcessSuite
16:47:40,969 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyProperties
16:47:41,079 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyDB2
16:47:41,082 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyMySQL
16:47:41,084 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyOracle
16:47:41,087 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifySQLServer
16:47:41,089 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyCounter
16:47:41,146 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyUUID
16:47:41,184 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyPermission
16:47:41,812 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyRole
16:47:41,814 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyAsset
16:47:41,853 INFO [pool-2-thread-1][UpgradeProcess:207] Upgrading com.liferay.p
ortal.upgrade.util.UpgradeAssetPublisherManualEntries
16:47:41,863 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyBlogs
16:47:42,000 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyBookmarks
16:47:42,006 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyCalendar
16:47:42,013 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyDocumentLibrary
16:47:42,057 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyGroup
16:47:42,113 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyJournal
16:47:42,131 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyLayout
16:47:42,153 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyMessageBoards
16:47:42,167 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyOrganization
16:47:42,169 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyResourcePermissions
16:47:42,170 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifySocial
16:47:42,171 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyUser
16:47:42,196 INFO [pool-2-thread-1][VerifyProcess:81] Verifying com.liferay.por
tal.verify.VerifyWiki
16:47:42,275 INFO [pool-2-thread-1][ServerDetector:154] Server supports hot dep
loy
16:47:42,348 INFO [pool-2-thread-1][PluginPackageUtil:1030] Reading plugin pack
age for the root context
16:48:01,911 INFO [pool-2-thread-1][AutoDeployDir:85] Creating missing director
y C:\liferay-portal-6.1.1-ce-ga2\bundles\deploy
16:48:01,914 INFO [pool-2-thread-1][AutoDeployDir:106] Auto deploy scanner star
ted for C:\liferay-portal-6.1.1-ce-ga2\bundles\deploy
9 janv. 2013 16:48:10 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Remoting Servlet'
9 janv. 2013 16:48:13 org.apache.catalina.startup.HostConfig deployDirectory
INFO: D+®ploiement du r+®pertoire C:\liferay-portal-6.1.1-ce-ga2\bundles\tomcat-
7.0.27\webapps\marketplace-portlet de l'application web
9 janv. 2013 16:48:14 org.apache.catalina.startup.HostConfig deployDirectory
INFO: D+®ploiement du r+®pertoire C:\liferay-portal-6.1.1-ce-ga2\bundles\tomcat-
7.0.27\webapps\resources-importer-web de l'application web
9 janv. 2013 16:48:14 org.apache.catalina.startup.HostConfig deployDirectory
INFO: D+®ploiement du r+®pertoire C:\liferay-portal-6.1.1-ce-ga2\bundles\tomcat-
7.0.27\webapps\welcome-theme de l'application web
9 janv. 2013 16:48:15 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
9 janv. 2013 16:48:15 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
9 janv. 2013 16:48:15 org.apache.catalina.startup.Catalina start
INFO: Server startup in 89425 ms
Juan Gonzalez
RE: Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
10 de enero de 2013 11:25
Respuesta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1984

Fecha de incorporación: 28 de octubre de 2008

Mensajes recientes

First, please move ant and sdk out from that directory.

Second, I don't see any error in logs. Where do you have your old database? HSQL? MySQL? Did you configured Database properly? To upgrade you have to copy the config/data directories to your new bundle. Please read the documentacion about upgrade first...
kawther JN
RE: Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
11 de enero de 2013 0:16
Respuesta

kawther JN

Ranking: Regular Member

Mensajes: 105

Fecha de incorporación: 2 de agosto de 2012

Mensajes recientes

Juan Gonzalez P:
First, please move ant and sdk out from that directory.

Second, I don't see any error in logs. Where do you have your old database? HSQL? MySQL? Did you configured Database properly? To upgrade you have to copy the config/data directories to your new bundle. Please read the documentacion about upgrade first...



hi Juan, thanks for the explications. alctualy I am new to Liferay.
well..here is the case, what I ve got is :
- 2 sites+ some pages with content (web content display portlets, custom portlets, images, some docs...)
- didnt migrate to new data base yet, still using HSQL but didnt insert data in yet.
- create some users accounts to test user management in liferay.
thats all.

lately I have known that LR 6.1 ga1 has permission pbs so I am trying to upgrade to LR 6.1.1 ga2 and I wanna keep my sites, my pages with thier contents, my users accounts.

I read documentacion about upgrade+ forums and I followed the steps that i mentioned above but didnt get anything! no pages, no sites

hope u can help me. thanks
Juan Gonzalez
RE: Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
11 de enero de 2013 1:28
Respuesta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1984

Fecha de incorporación: 28 de octubre de 2008

Mensajes recientes

So if your Liferay didn't point to your old database, how is supposed Liferay to upgrade anything?

Simply configure your new Liferay to point to your old database, and copy your data directory from old installation to new one.

Please read carefully the documentation about upgrading.
kawther JN
RE: Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
11 de enero de 2013 1:52
Respuesta

kawther JN

Ranking: Regular Member

Mensajes: 105

Fecha de incorporación: 2 de agosto de 2012

Mensajes recientes

Juan Gonzalez P:
So if your Liferay didn't point to your old database, how is supposed Liferay to upgrade anything?

Simply configure your new Liferay to point to your old database, and copy your data directory from old installation to new one.

Please read carefully the documentation about upgrading.


hi, I think there is a misunderstanding here,,what I meant is :

in my liferay 6.1 ga1: what I got is :
- 2 sites+ some pages with content (web content display portlets, custom portlets, images, some docs...)
- some users accounts
for DB I am still using HSQL and I didnt insert data in yet

now I wanna keep my sites, my pages with thier contents (portlets , images), my users accounts. I mean just pages (interfaces) of my portal.

in liferay 6.1.1 ga2 : after trying to upgrade (1/ Obtain the new bundle. Unzip the bundle to an appropriate location + 2/ Copy portal-ext.properties file and data folder to the new bundle. + 3/ started server.)

I didnt got anything: no sites, no content, no pages..
is there somthing wrong in the steps I followed?? or what?
Juan Gonzalez
RE: Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
11 de enero de 2013 2:29
Respuesta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1984

Fecha de incorporación: 28 de octubre de 2008

Mensajes recientes

Ok I understand. What bundle did you download? Please tell here what folders do you have in <TOMCAT>/webapps.

Guess you have some (bundled) seven-cogs hook or something which is erasing your data.
kawther JN
RE: Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
11 de enero de 2013 3:25
Respuesta

kawther JN

Ranking: Regular Member

Mensajes: 105

Fecha de incorporación: 2 de agosto de 2012

Mensajes recientes

Juan Gonzalez P:
Ok I understand. What bundle did you download? Please tell here what folders do you have in <TOMCAT>/webapps.

Guess you have some (bundled) seven-cogs hook or something which is erasing your data.



liferay-portal-tomcat-6.1.1-ce-ga2 (Community Edition)

/tomcat-7.0.27/webapps/marketplace-portlet
/tomcat-7.0.27/webapps/resources-importer-web
/tomcat-7.0.27/webapps/ROOT
/tomcat-7.0.27/webapps/welcome-theme
Juan Gonzalez
RE: Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
11 de enero de 2013 3:53
Respuesta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1984

Fecha de incorporación: 28 de octubre de 2008

Mensajes recientes

Mmm seems to be ok.

Are you sure your database was HSQL in your old installation? Are you sure you copied your data directory? Do you have some custom config?
kawther JN
RE: Upgrade Liferay 6.1.0 GA1 to Liferay 6.1.1 GA2 : FAILED
11 de enero de 2013 11:39
Respuesta

kawther JN

Ranking: Regular Member

Mensajes: 105

Fecha de incorporación: 2 de agosto de 2012

Mensajes recientes


Are you sure your database was HSQL in your old installation?

yes. I didnt touch it.

Are you sure you copied your data directory?

yes I did.

Do you have some custom config?

actualy nothing important, just added this 2 lines to portal-ext.properties
journal.article.force.autogenerate.id=false
layout.user.public.layouts.enabled=false
nothing more.