Fórum

Liferay upgrade to 6.0.6.

thumbnail
Balázs Jilling, modificado 13 Anos atrás.

Liferay upgrade to 6.0.6.

Junior Member Postagens: 32 Data de Entrada: 18/11/10 Postagens Recentes
Has anyone successfully upgraded from 6.0.5. bundle to a checked out and compiled trunk version of 6.0.6.?

The process fails at the database upgrade. I don't want to copy the log yet, until there is someone who is interrested. emoticon

Thanks,
Balázs
thumbnail
Juan Gonzalez P, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Balázs Jilling:

The process fails at the database upgrade. I don't want to copy the log yet, until there is someone who is interrested. emoticon


I am interested! :-D
thumbnail
Tobias S. Käfer, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Regular Member Postagens: 128 Data de Entrada: 28/03/08 Postagens Recentes
I am interested!
Which DB are you using?
thumbnail
James Falkner, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 1399 Data de Entrada: 17/09/10 Postagens Recentes
Tobias S. Käfer:
I am interested!
Which DB are you using?


Yeah.. good question. Also, there's not much happening in the tables during 6.0.5 -> 6.0.6 upgrade as far as schema changes go.
thumbnail
Balázs Jilling, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Junior Member Postagens: 32 Data de Entrada: 18/11/10 Postagens Recentes
Well, i used postgre before but after a migration to mysql it worked.
The migration was not perfect, there was an issue with the character encoding, the image files from the gallery were missing, but i think it has nothing to do with the bundle upgrade. Also some of the javascript functionality wasn't working well.

I started the whole compile-from-source-and-migrate project because i needed the AlloyUI fix for the IE issues.

BTW: Can anyone help me how to recompile and change only the alloyui parts of the portal? The slideshow in the image gallery does not work with IE, and it's pretty critical to my client.
thumbnail
Balázs Jilling, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Junior Member Postagens: 32 Data de Entrada: 18/11/10 Postagens Recentes
I've downloaded the 6.0 GA4 version from the Downloads page and almost everything went fine.

My documents in the Document Library and the images in the Image Gallery are missing. Did I miss something?
thumbnail
Balázs Jilling, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Junior Member Postagens: 32 Data de Entrada: 18/11/10 Postagens Recentes
Finally i copied the folders inside of the LIFERAY_HOME/data into the data folder of the new bundle and everything is visible again.
thumbnail
Amit Aggarwal, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Junior Member Postagens: 87 Data de Entrada: 20/08/10 Postagens Recentes
How do you checkout a trunk version of 6.0.6? I thought you could only checkout the current trunk version that is 6.1 (bleeding edge). Is there a separate branch housing just 6.0.6 that is publicly accessible?
thumbnail
Tobias S. Käfer, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Regular Member Postagens: 128 Data de Entrada: 28/03/08 Postagens Recentes
There are branches for each version, see http://svn.liferay.com/repos/public/portal/branches/

Those branches are not browseable through fisheye.
thumbnail
Amit Aggarwal, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Junior Member Postagens: 87 Data de Entrada: 20/08/10 Postagens Recentes
Thanks for the branch link Tobias. Quick question.. Was there a 6.0.6 dev branch that was accessible prior to the official release in that location? Or was it only made available after the release. Until now, I thought it wasn't available because I was only looking at Fisheye..
thumbnail
James Falkner, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 1399 Data de Entrada: 17/09/10 Postagens Recentes
Amit Aggarwal:
Thanks for the branch link Tobias. Quick question.. Was there a 6.0.6 dev branch that was accessible prior to the official release in that location? Or was it only made available after the release. Until now, I thought it wasn't available because I was only looking at Fisheye..


It was public, just not added to FishEye. We've been having problems with FishEye+JIRA crashing the server. With the latest upgrade to JIRA, after a couple of weeks of stability checks, we'll turn it back on.
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
JFYI: I think the svn trunk is currently at 6.1, which has some schema changes.

I haven't had any problem with 6.0.5 to 6.0.6 on HSQL and MySQL.
Ingemar Olsen, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

New Member Mensagem: 1 Data de Entrada: 08/11/10 Postagens Recentes
I upgraded successfully except for one little detail. I forgot to remove the sevencogs junk. So my DB basically got wiped. Maybe this is a newbie misstake, but to me it is a mystery why this is part of the package by default. It was "just" my development environment, but still...
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
I upgraded successfully except for one little detail. I forgot to remove the sevencogs junk. So my DB basically got wiped. Maybe this is a newbie misstake, but to me it is a mystery why this is part of the package by default. It was "just" my development environment, but still...
.

It's great that you've been able to do an upgrade successfully.

As for the "little detail", the application server bundles are more for "demo" and not for development nor production. EE doesn't contain them and even with the community version, there are standard liferay war packages for development and production deployment. I think there's also a comment to remove sevencogs demo .wars folders after the done looking at the demo primary because of the security risk.
thumbnail
Tobias S. Käfer, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Regular Member Postagens: 128 Data de Entrada: 28/03/08 Postagens Recentes
I tried the upgrade, but I am having some trouble, see http://issues.liferay.com/browse/LPS-15680

Did I miss something?


That's my own fault....
Sorry for bugging you all
thumbnail
Aritz Galdos, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Expert Postagens: 416 Data de Entrada: 15/05/07 Postagens Recentes
Hi,

I upgraded successfully from 6.0.5 to 6.0.6. Every thing was fine.

Tomcat bundle agains MySql database.
thumbnail
Peter B West, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Junior Member Postagens: 56 Data de Entrada: 24/03/09 Postagens Recentes
This is timely information about upgrading. I'm curious about the requirement to copy the contents of the data directory over to the new install. Did those of you who report no upgrade problems also have to do this, or was it handled as part of the upgrade?
thumbnail
Olaf Kock, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
Peter B West:
This is timely information about upgrading. I'm curious about the requirement to copy the contents of the data directory over to the new install. Did those of you who report no upgrade problems also have to do this, or was it handled as part of the upgrade?


It depends on the way you do the upgrade and your configuration. There's a detailed set of instructions in the administration documentation. If you upgrade the bundles and install the new bundle to a new location you need to make your old document library available and might want to make your old search index available as well. Liferay stores most data in the database, big binary blobs in the document library (by default in the data directory, but can be changed) and the search index (default, changeable as well, in the data directory).

If you have a test environment with hsqldb this also lives in the data directory.

Major upgrades (e.g. from 5.2.x) require more work - you'll really have to read the documentation for that.
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
I just did a minor upgrade (no custom portlet) from 5.2.3 to 6.0.5. The only problem I had was with WebDAV. I didn't see in the administrative manual about the default authentication change and how to set it back to basic authentication. (Since the wiki is a community project, may be I should be the one to write something about in.emoticon )
gerald hemmers, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Junior Member Postagens: 93 Data de Entrada: 13/05/08 Postagens Recentes
hi,

I have een update problem.
steps i did:
- download new tomcat liferay 6.0.6 version.
- set portal-ext.properties to use mysql db.
- import mysql export from liferay 6.0.5 into db
- copy data folder from 6.0.5
- run startup.bat

after updating the db tables it stops ..

testing it on a development pc running windows xp.

If i startup with a clean database version 6.0.6 everything works fine.

any clues ?

grz,gerald
Biljana Tosic, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

New Member Postagens: 4 Data de Entrada: 01/03/11 Postagens Recentes
gerald hemmers:
hi,

I have een update problem.
steps i did:
- download new tomcat liferay 6.0.6 version.
- set portal-ext.properties to use mysql db.
- import mysql export from liferay 6.0.5 into db
- copy data folder from 6.0.5
- run startup.bat

after updating the db tables it stops ..

testing it on a development pc running windows xp.

If i startup with a clean database version 6.0.6 everything works fine.

any clues ?

grz,gerald




Did you find a solution? I have the same problem, but on Oracle...
thumbnail
prabhakar m, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

New Member Postagens: 5 Data de Entrada: 12/01/11 Postagens Recentes
Biljana Tosic:
gerald hemmers:
hi,

I have een update problem.
steps i did:
- download new tomcat liferay 6.0.6 version.
- set portal-ext.properties to use mysql db.
- import mysql export from liferay 6.0.5 into db
- copy data folder from 6.0.5
- run startup.bat

after updating the db tables it stops ..

testing it on a development pc running windows xp.

If i startup with a clean database version 6.0.6 everything works fine.

any clues ?

grz,gerald




Did you find a solution? I have the same problem, but on Oracle...





hey just follow this steps i think this will help u

First create an empty database for new version
then just use migrate tool to migrate 6.5 database to new datadase
then copy the data folder in to your new version files (Replace the data folder)
then go to portal-ext.properties and map the new database
and then simply start the new one .....................
thumbnail
James Falkner, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 1399 Data de Entrada: 17/09/10 Postagens Recentes
gerald hemmers:
hi,

I have een update problem.
steps i did:
- download new tomcat liferay 6.0.6 version.
- set portal-ext.properties to use mysql db.
- import mysql export from liferay 6.0.5 into db
- copy data folder from 6.0.5
- run startup.bat

after updating the db tables it stops ..

testing it on a development pc running windows xp.

If i startup with a clean database version 6.0.6 everything works fine.

any clues ?

grz,gerald


Any errors or other interesting bits in the log file? Could you attach them here?
thumbnail
William Fleming, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Regular Member Postagens: 180 Data de Entrada: 15/09/10 Postagens Recentes
gerald hemmers:
hi,

I have een update problem.
steps i did:
- download new tomcat liferay 6.0.6 version.
- set portal-ext.properties to use mysql db.
- import mysql export from liferay 6.0.5 into db
- copy data folder from 6.0.5
- run startup.bat

after updating the db tables it stops ..

testing it on a development pc running windows xp.

If i startup with a clean database version 6.0.6 everything works fine.

any clues ?

grz,gerald


catalina.out file?

I had similar issues when i tried to upgrade still trying to fix it would be interesting to see if you are experiencing the same problem?

Thanks
William
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
There should be an error message after updating the table if it stops.

Just to be sure, are you updating from 6.0.5 to 6.0.6?
thumbnail
William Fleming, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Regular Member Postagens: 180 Data de Entrada: 15/09/10 Postagens Recentes
Right i will post my catalina.out

This is an openBSD 4.8 machine with mysql 5.1 DB. Its one of the nodes from cluster just dropped in a current live DB into dev machine to see if it would upgrade successfully but its didnt work. Fails after the schema changes just like you said.


Thanks
William
thumbnail
Juan Gonzalez P, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
William Fleming:
Right i will post my catalina.out

This is an openBSD 4.8 machine with mysql 5.1 DB. Its one of the nodes from cluster just dropped in a current live DB into dev machine to see if it would upgrade successfully but its didnt work. Fails after the schema changes just like you said.


Thanks
William


It seems you have a problem with a lucene index. Hve you got permissions on that machine to create "home/liferay/data/lucene/10131" directory? Did you configured ok directory for lucene?
thumbnail
William Fleming, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Regular Member Postagens: 180 Data de Entrada: 15/09/10 Postagens Recentes
The machine has an external nfs share which the data folder resides in. So is it trying to create something in the nfs? I thought it was just schema changes?
thumbnail
Juan Gonzalez P, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
William Fleming:
The machine has an external nfs share which the data folder resides in. So is it trying to create something in the nfs? I thought it was just schema changes?

Yep, Liferay needs to create indexes (for example, to index users and so on..). You can change it to point to a local directory for your local test environment if you want (lucene.dir property in portal-ext.properties).

BTW, it is not a good practice to have a shared index (if you have several nodes that access it, could cause problems). For example, in our environment we have a local index directory for each node, and indexes are shared across cluster thanks to cluster.link.enabled=true and lucene.replicate.write=true
thumbnail
William Fleming, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Regular Member Postagens: 180 Data de Entrada: 15/09/10 Postagens Recentes
Found out what the issue was. it didn't like the nfs share. I just unmounted the shared drive and went back to local data store then updated and then remounted the NFS.

BTW, it is not a good practice to have a shared index


What would you advise using so that there are no problems with the NFS. Can I still use a nfs share for storing without running into problems. I am using solr to index using the plugin from site.
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
I personally thought most Liferay Solr users were using database instead of a file system.
thumbnail
William Fleming, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Regular Member Postagens: 180 Data de Entrada: 15/09/10 Postagens Recentes
Is there any reason not to be using a file system. Would I gain anything from using the database to store everything?

The reason I opted for solr was the just for searching through docs etc its very very good. it blows lucene out the water anyway.
thumbnail
Juan Gonzalez P, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Hitoshi Ozawa:
I personally thought most Liferay Solr users were using database instead of a file system.


Yep I totally agree, I thought using Solr was to avoid concurrent access to one place (for example, a directory in file system).
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Yep I totally agree, I thought using Solr was to avoid concurrent access to one place (for example, a directory in file system).


File sharing works most of the time but when there are many concurrent writes, we found some errors in the log.
thumbnail
William Fleming, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Regular Member Postagens: 180 Data de Entrada: 15/09/10 Postagens Recentes
Hitoshi Ozawa:
Yep I totally agree, I thought using Solr was to avoid concurrent access to one place (for example, a directory in file system).


File sharing works most of the time but when there are many concurrent writes, we found some errors in the log.


I have found that the search that is built in is very poor compared to solr. When searching for doc's etc it can come back with nothing even though i know there is a doc in there but the same search with the solr plugin enabled returned results.
thumbnail
Olaf Kock, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
William Fleming:
I have found that the search that is built in is very poor compared to solr. When searching for doc's etc it can come back with nothing even though i know there is a doc in there but the same search with the solr plugin enabled returned results.


I'm late to the game, but there are a few thoughts that I want to add to the discussion.

As far as I expect, SOLR and Lucene shouldn't differ that much in result- after all SOLR is built on Lucene and is providing "just" a client/server interface to this.

However, you need to make sure that your lucene index is current - if you're running a cluster and didn't configure lucene for this, you'll most likely end up with half the content indexed on each machine (if you have a cluster of two machines). This might explain your results.

Also, if your NFS connection breaks and you add documents, you need to reindex.

And if you're running as root (at least some times) you might run into the NFS root squash issue (was this the name? "root" might translate to "nobody" on nfs shares), where you can't write anything at all to the file system. You can have the same locally when you once ran as root and now as an unprivileged user while all the files still are owned by root.

If you can't find documents that you know are there with Lucene, rebuilding the index will probably help. If this happens frequently you might want to check your setup. SOLR is one answer to this, but it's not required. See the clustering section in the administration guide for a discussion of the possibilities.
thumbnail
Hitoshi Ozawa, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
after updating the db tables it stops ..


What's the error message?

You shouldn't have done that anyways. If you needed to install Liferay on a new server, you should have copied your 6.0.5 database and follow the procedure to upgrade to 6.0.6. Liferay keeps version number in the database to check if there is a need to upgrade.

UPDATE RELEASE_ SET BUILDNUMBER = 6006;

Following are also the difference between 6.0.5 and 6.0.6
alter table JournalArticleResource add uuid_ VARCHAR(75) null;

create table SocialEquityGroupSetting (
equityGroupSettingId LONG not null primary key,
groupId LONG,
companyId LONG,
classNameId LONG,
type_ INTEGER,
enabled BOOLEAN
);
thumbnail
Dave Weitzel, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Regular Member Postagens: 208 Data de Entrada: 18/11/09 Postagens Recentes
Is there an official page describing the upgrade process from 6.0.5 still in development and testing mode for sites but would be nice to not have to start from scratch.

This applies to not only the base system but also Liferay issued portlets.

I can only find a posting about release 5.x upgrades. I would expect the release process to include a proper upgrade document.

Thanks
thumbnail
Murat ÇOLAK, modificado 13 Anos atrás.

RE: Liferay upgrade to 6.0.6.

Junior Member Postagens: 45 Data de Entrada: 28/07/09 Postagens Recentes
I have tried both mysql and oracle 10 g both of them works fine
Mudasar Kalwar, modificado 11 Anos atrás.

RE: Liferay upgrade to 6.0.6.

New Member Postagens: 23 Data de Entrada: 13/09/12 Postagens Recentes
Hi Murat, I have upgraded successfully from 5.2.3 to 6.0.6 using Mysql, just there is a problem with my documents, it is not loading. can you please tell me the solution ?