You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Dave <sn...@gmail.com> on 2007/11/01 15:27:58 UTC
Re: Roller RC9 4.0 Upgrade Problems
On 10/31/07, Charles Mason <ch...@gmail.com> wrote:
> On a staging server I have upgraded copy of my existing roller site to
> roller 4.0. RC9. I used the installer to upgrade the DB which worked
> fine. I successfully built a new frontpage derived theme. That appears
> to work fine showing the previous posts from all the blogs from before
> the upgrade.
>
> However...
> I get an exception related to the bookmarks system. If I go to the edit
> bookmarks page of the roller-ui I also get the same execption.
>
> --- ROOT CAUSE ---
> org.apache.openjpa.persistence.ArgumentException: Unknown column
> 't1.path' in 'field list' {prepstmnt 13247337 SELECT t0.id,
...
> t2.showalllangs, t2.timeZone, t2.weblogdayid FROM folder t0 LEFT OUTER
> JOIN folder t1 ON t0.parentid = t1.id LEFT OUTER JOIN website t2 ON
Based on the stack trace above, it sure looks like the SQL upgrade
script failed to create the required column 'path' in the table
'folder'. That is a serious problem and it is somewhat disturbing that
you did not get an error message during the auto-upgrade process.
Please answer the standard questions (what O/S, Java version, etc.):
http://cwiki.apache.org/confluence/display/ROLLER/Roller+Mailing+Lists
Also, can you confirm that field is missing from the database?
- Dave
Re: Roller RC9 4.0 Upgrade Problems
Posted by Dave <sn...@gmail.com>.
I have not been able to reproduce this problem.
Anybody else see this in upgrade testing?
- Dave
On 11/2/07, Charles Mason <ch...@gmail.com> wrote:
> On 01/11/2007, Anil Gangolli <an...@busybuddha.org> wrote:
> > Charles, can you also include which Roller version you were upgrading from ?
>
> I was upgrading to Roller 4.0 RC9 from Roller 3.1, which was in use
> on a relatively low traffic production site for a few months.
>
> From what I remember the Roller 3.1 database was upgraded from roller
> 3.0 previously, although I can't be 100% sure of that.
>
> Hope that helps.
>
> Charlie M
>
Re: Roller RC9 4.0 Upgrade Problems
Posted by Charles Mason <ch...@gmail.com>.
On 01/11/2007, Anil Gangolli <an...@busybuddha.org> wrote:
> Charles, can you also include which Roller version you were upgrading from ?
I was upgrading to Roller 4.0 RC9 from Roller 3.1, which was in use
on a relatively low traffic production site for a few months.
>From what I remember the Roller 3.1 database was upgraded from roller
3.0 previously, although I can't be 100% sure of that.
Hope that helps.
Charlie M
Re: Roller RC9 4.0 Upgrade Problems
Posted by Anil Gangolli <an...@busybuddha.org>.
Charles, can you also include which Roller version you were upgrading from ?
--a.
Charles Mason wrote:
> On 01/11/2007, Dave <sn...@gmail.com> wrote:
>
>> Based on the stack trace above, it sure looks like the SQL upgrade
>> script failed to create the required column 'path' in the table
>> 'folder'. That is a serious problem and it is somewhat disturbing that
>> you did not get an error message during the auto-upgrade process.
>>
>> Please answer the standard questions (what O/S, Java version, etc.):
>> http://cwiki.apache.org/confluence/display/ROLLER/Roller+Mailing+Lists
>>
>> Also, can you confirm that field is missing from the database?
>>
>> - Dave
>>
>>
>
> I have just checked the "upgraded" DB and you are correct there is no
> path column.
>
> The DB upgrade appeared to go flawlessly, until now I was very
> impressed with the new installer. The rest of the DB upgrade seems to
> be working. Still it is a release candidate so its best caught now
> rather than later. I have include the info you asked for below.
>
> Roller Version: 4.0 RC9
> Operating System: Ubuntu Gusty Gibbon Server
> Web Server: Jboss Web 1.0.1 GA (it's basically tomcat, with APR based
> static content serving)
> DB: MySQL 5.0
> Java: Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
>
> As a work around I manually added the Path column and it now appears
> to work fine.
>
> If there is anything else you need to know let me know. I will have
> another ago to confirm this bug is repeatable.
>
> Hope that helps
>
> Charlie M
>
Re: Roller RC9 4.0 Upgrade Problems
Posted by Charles Mason <ch...@gmail.com>.
On 01/11/2007, Dave <sn...@gmail.com> wrote:
> Based on the stack trace above, it sure looks like the SQL upgrade
> script failed to create the required column 'path' in the table
> 'folder'. That is a serious problem and it is somewhat disturbing that
> you did not get an error message during the auto-upgrade process.
>
> Please answer the standard questions (what O/S, Java version, etc.):
> http://cwiki.apache.org/confluence/display/ROLLER/Roller+Mailing+Lists
>
> Also, can you confirm that field is missing from the database?
>
> - Dave
>
I have just checked the "upgraded" DB and you are correct there is no
path column.
The DB upgrade appeared to go flawlessly, until now I was very
impressed with the new installer. The rest of the DB upgrade seems to
be working. Still it is a release candidate so its best caught now
rather than later. I have include the info you asked for below.
Roller Version: 4.0 RC9
Operating System: Ubuntu Gusty Gibbon Server
Web Server: Jboss Web 1.0.1 GA (it's basically tomcat, with APR based
static content serving)
DB: MySQL 5.0
Java: Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
As a work around I manually added the Path column and it now appears
to work fine.
If there is anything else you need to know let me know. I will have
another ago to confirm this bug is repeatable.
Hope that helps
Charlie M