# Upgrading radiant .5 to .6

**URL:** <https://www.ruby-forum.com/t/upgrading-radiant-5-to-6/103114>\
**Category:** Radiant CMS\
**Created:** [May 1, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/upgrading-radiant-5-to-6/103114 "2007-05-01T23:50:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [May 1, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/upgrading-radiant-5-to-6/103114/1 "2007-05-01T23:50:04Z")

</div>

How do I upgrade from radiant .5.2 to .6 ?

I am using Site5 hosting.

Any tutorials I can follow?

Keith

---

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [May 5, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/upgrading-radiant-5-to-6/103114/2 "2007-05-05T16:41:56Z")

</div>

I get to step 2 and receive the following errors?

-bash-3.00$ gem update radiant  
Updating installed gems…  
ERROR: While executing gem … (NoMethodError)  
undefined method `refresh’ for #Hash:0xb7d16b7c

---

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [May 4, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/upgrading-radiant-5-to-6/103114/3 "2007-05-04T22:41:49Z")

</div>

keith wrote:

> How do I upgrade from radiant .5.2 to .6 ?
> 
> I am using Site5 hosting.
> 
> Any tutorials I can follow?

I just created one:

[http://dev.radiantcms.org/radiant/wiki/HowToUpgrade05xTo06](http://dev.radiantcms.org/radiant/wiki/HowToUpgrade05xTo06)

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [May 7, 2007, 12:13pm UTC](https://www.ruby-forum.com/t/upgrading-radiant-5-to-6/103114/4 "2007-05-07T12:13:55Z")

</div>

On 5/4/07, John W. Long [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [http://dev.radiantcms.org/radiant/wiki/HowToUpgrade05xTo06](http://dev.radiantcms.org/radiant/wiki/HowToUpgrade05xTo06)

I followed it and it worked to an extend. The site is up and running  
but as soon as I try to  
go to the admin part, it says:

## Any idea?

Processing PageController#index (for 192.93.23.254 at 2007-05-07  
12:10:56) [GET]  
Session ID: 5428812cae82c78eaaed9c34fcff3ac8  
Parameters: {“action”=\>“index”, “controller”=\>“admin/page”}  
Rendering within layouts/application  
Rendering admin/page/index

ActionView::TemplateError (The single-table inheritance mechanism  
failed to locate the subclass: ‘Archive’. This error is raised because  
the column ‘class\_name’ is reserved for storing the class in case of  
inheritance. Please rename this column if you didn’t intend it to be  
used for storing the inheritance class or overwrite  
Page.inheritance\_column to use another column for that information.)  
on line #44 of admin/page/\_node.rhtml:  
41: \<% level = level + 1 -%\>  
42: \<%  
43: if expanded  
44: page.children.each do |child|  
45: -%\>  
46: \<%= render\_node child, :level =\> level, :simple =\> simple -%\>  
47: \<%

---

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [May 6, 2007, 10:06am UTC](https://www.ruby-forum.com/t/upgrading-radiant-5-to-6/103114/5 "2007-05-06T10:06:15Z")

</div>

On Sat, 05 May 2007 15:41:03 +0100, keith wrote:

> I get to step 2 and receive the following errors?
> 
> -bash-3.00$ gem update radiant  
> Updating installed gems…  
> ERROR: While executing gem … (NoMethodError)  
> undefined method `refresh’ for #Hash:0xb7d16b7c

This looks like rubygems cache poisining. Did you recently also upgrade  
rubygems? Here are some instructions from the Gentoo bugs database:

Going from rubygems-0.9.0-r2 to 0.9.1, the gem command gives me the  
following  
error:

raven ~ # gem install hpricot  
ERROR: While executing gem … (NoMethodError)  
undefined method `refresh’ for #Hash:0xb7c4e9bc

So far the only solution I’ve seen has been to manually delete  
/usr/lib/ruby/gems/1.8/source\_cache, and the one in ~/.gems/ if it  
exists. I didn’t, as root, have a ~/.gems .

---

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [May 7, 2007, 4:15pm UTC](https://www.ruby-forum.com/t/upgrading-radiant-5-to-6/103114/6 "2007-05-07T16:15:14Z")

</div>

Ollivier R. wrote:

> On 5/7/07, Ollivier R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > On 5/4/07, John W. Long [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> > 
> > > [http://dev.radiantcms.org/radiant/wiki/HowToUpgrade05xTo06](http://dev.radiantcms.org/radiant/wiki/HowToUpgrade05xTo06)  
> > > I followed it and it worked to an extend. The site is up and running  
> > > but as soon as I try to  
> > > go to the admin part, it says:
> 
> More details: I’m using mongrel 1.0.1 with PostgreSQL 8.2.3 on FreeBSD  
> 6.1-STABLE.

Mmm. That’s weird. Something failed in the upgrade process. Try  
executing the following statement manually on the appropriate database:

update pages set class\_name=“ArchivePage” where class\_name=“Archive”;

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [May 7, 2007, 12:19pm UTC](https://www.ruby-forum.com/t/upgrading-radiant-5-to-6/103114/7 "2007-05-07T12:19:04Z")

</div>

On 5/7/07, Ollivier R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On 5/4/07, John W. Long [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > [http://dev.radiantcms.org/radiant/wiki/HowToUpgrade05xTo06](http://dev.radiantcms.org/radiant/wiki/HowToUpgrade05xTo06)
> 
> I followed it and it worked to an extend. The site is up and running  
> but as soon as I try to  
> go to the admin part, it says:

More details: I’m using mongrel 1.0.1 with PostgreSQL 8.2.3 on FreeBSD  
6.1-STABLE.

–  
Ollivier R. -

---

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [May 7, 2007, 4:48pm UTC](https://www.ruby-forum.com/t/upgrading-radiant-5-to-6/103114/8 "2007-05-07T16:48:24Z")

</div>

On 5/7/07, John W. Long [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Mmm. That’s weird. Something failed in the upgrade process. Try  
> executing the following statement manually on the appropriate database:
> 
> update pages set class\_name=“ArchivePage” where class\_name=“Archive”;

Worked fine, it is back in business, thanks!
