Mango



Thread: 1.4 upgrade bug / Railo 3.1 / Centos 5

Created on: 08/19/09 04:05 AM

New topic Reply    Page: 1  

Replies: 11
neokoenig


neokoenig's Gravatar
Joined: 07/16/09
Posts: 15

08/19/09 4:05 AM

I get "Upgrade could not be performed: /var/www/myblog/html/blog/components/temp (Is a directory)"

Any ideas? is this a permissions issue? (I changed the temp dir to be world writeable but no joy)..
Link | Top | Bottom
webRat


webRat's Gravatar
Joined: 05/07/08
Posts: 28

08/19/09 11:19 AM

I'm running into the exact same issue. I've tried everything. I double checked permission, I've double checked ownership, same error regardless.
~Todd - http://www.web-rat.com/
Link | Top | Bottom
webRat


webRat's Gravatar
Joined: 05/07/08
Posts: 28

08/19/09 11:30 AM

For what it's worth, someone on twitter verified that they have it running on CentOS / CF8. It appears to be a Railo issue.
~Todd - http://www.web-rat.com/
Link | Top | Bottom
webRat


webRat's Gravatar
Joined: 05/07/08
Posts: 28

08/19/09 11:31 AM

er... isolated Mango on Railo issue.
~Todd - http://www.web-rat.com/
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1236

08/19/09 12:14 PM

This is a known issue with Railo (we should report it, since it is an incompatibility with CF). I thought 1.3.1 included the fix, but apparently not.

Open file components/Updater.cfc and change line 436 from
<cfhttp url="#arguments.zipAddress#" method="get" path="#tempdir#">
to:
<cfhttp url="#arguments.zipAddress#" method="get" path="#tempdir#" file="#filename#">
Link | Top | Bottom
webRat


webRat's Gravatar
Joined: 05/07/08
Posts: 28

08/19/09 12:32 PM

Laura, I'm the volunteer community manager for Railo so... if you want to write something up, I'll post it on your behalf in Railo's JIRA / Ticket system. Drop me a line at todd at getrailo.org

I think you're implying that cfhttp isn't working properly and needs a file attribute, but feel free to clarify.
~Todd - http://www.web-rat.com/
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1236

08/19/09 12:34 PM

Yes, CF will use the file name of the downloaded file if not specified. Railo fails if filename is not provided.
Link | Top | Bottom
neokoenig


neokoenig's Gravatar
Joined: 07/16/09
Posts: 15

08/19/09 12:35 PM

Just to confirm - I've just done this change and it works - great stuff!
Link | Top | Bottom
webRat


webRat's Gravatar
Joined: 05/07/08
Posts: 28

08/19/09 12:48 PM

I can confirm Laura's fix and will draft up a JIRA ticket.
~Todd - http://www.web-rat.com/
Link | Top | Bottom
webRat


webRat's Gravatar
Joined: 05/07/08
Posts: 28

08/19/09 12:58 PM

JIRA TICKET: https://jira.jboss.org/jira/browse/RAILO-383
~Todd - http://www.web-rat.com/
Link | Top | Bottom
ajmercer


ajmercer's Gravatar
Joined: 09/01/07
Posts: 31

08/19/09 4:33 PM

Hi Laura,

I had to update updater.cfc for the 1.3.1 update
and that change is still there for me.

My upgrade on Railo 3.1 Ubuntu went smoothly.

Thank you.

PS - more Railo in Mango sitting in the tree action happening here ;-)
Link | Top | Bottom
webRat


webRat's Gravatar
Joined: 05/07/08
Posts: 28

07/20/10 3:44 PM

This issue is marked as resolved in 3.1.2.017 (We're on .016 atm).

https://jira.jboss.org/browse/RAILO-383
~Todd - http://www.web-rat.com/
Link | Top | Bottom

New Post

Please login to post a response.