OK, guys. I gave in to the hype about paperclipped, about how it will
make my whites whiter and make my food taste better and all that jazz.
Weeelllll, I need to get rid of page_attachments first, so I did, and
now my site won’t start back up.
The process:
- ssh into server and migrate page_attachments to VERSION=0
- delete local copy from project
- svn commit the the changes
- cap deploy
- remove the page_attachments entry in the production db (was id=1)
- problems started
When I went back to my old pages in the web browser and refreshed them,
I got a very long lasting beach ball and the error “Application error
Rails application failed to start properly” shows up.
This is where it gets good: I tried to go to my production.log to get a
clue what was happening, but for some reason I told svn to ignore the
whole log folder when I started the project. Now I have no production
log to go to and my app won’t start. I’ll set that issue to the side for
a minute. I’ll have to figure out how to coax svn to start using the log
directory again another time.
What I really need to know is, did I uninstall the page_attachments
extension improperly? Is there something that the extension added or
changed installed during the installation procedure that might be
keeping my app from working now that it no longer exists?
Any would certainly be appreciated.
~Nate
Nate,
That seems correct. If you get the production log issue fixed, give us
a pastie of the failure, or better yet, just ssh in and run Mongrel with
script/server. If it fails to start, it should give you a stack dump of
the failure.
Sean
On Sat, 2008-08-30 at 10:21 -0400, Sean C. wrote:
Nate,
That seems correct. If you get the production log issue fixed, give us
a pastie of the failure, or better yet, just ssh in and run Mongrel with
script/server. If it fails to start, it should give you a stack dump of
the failure.
Well, I went back to the first version before I deleted the
page_attachments plugin and I was able to use the site as normal, even
after I migrated the extension back to VERSION=0. I restarted the server
and the site behaved like it did before, and on the admin side the
Attachments section was still visible on the bottom of each of the
pages. I didn’t try adding anything, it was enough for me that the site
was loading properly.
Everything changed however when I deleted the page_attachments
extension. When I tried to start up the server, I got the following
output: http://pastie.org/263392 . I am really at a loss here. Do you
have any idea where I need to start looking to get this thing up and
running again without page_attachments? I am totally confused.
Thanks,
Nate
Well, I went back to the first version before I deleted the
page_attachments plugin and I was able to use the site as normal, even
after I migrated the extension back to VERSION=0. I restarted the server
and the site behaved like it did before, and on the admin side the
Attachments section was still visible on the bottom of each of the
pages. I didn’t try adding anything, it was enough for me that the site
was loading properly.
Everything changed however when I deleted the page_attachments
extension. When I tried to start up the server, I got the following
output: http://pastie.org/263392 . I am really at a loss here. Do you
have any idea where I need to start looking to get this thing up and
running again without page_attachments? I am totally confused.
Thanks,
Nate
Are you sure that all your pages do not have any “page_attachments” tags
interpolated throughout the content?
P.S, Sorry if its a dumb question.
Hmmm … nothing in that dump points to your Radiant app. It’s all
references to the files in the Radiant gem or in Rails. Can you get a
more descriptive dump that traces something back or mentions something
the files in your Radiant instance?
-C
On Mon, 2008-09-01 at 04:32 +0200, Arik J. wrote:
Are you sure that all your pages do not have any “page_attachments” tags
interpolated throughout the content?
I realize that there is no way to know how well/not-well informed
somebody is when they ask a question on a mailing list, but seriously.
Yeah, I checked that. It’s not a huge site and there is only one other
extension loaded (reorder).
Honestly, I got fed up banging my head against the wall and set up a
new, clean radiant app and moved my database.yml over. Everything works
like a dream. So no, it’s not something in the database that is messing
things up. It seemed to as if a phantom controller was requiring it, but
I couldn’t figure out where that would have been happening. Strangeness.
Long story short, new app, old db, new svn repo and I’ll try and deploy
it again and see what happens.
~Nate
On Tue, 2008-09-02 at 22:08 +0200, Arik J. wrote:
I wasn’t questioning your intelligence.
Yeah, I know. It is the most obvious thing. Once I read your email I did
recheck it, but I had removed all references to it. It’s a shame to
rebuid (well, halfway) the site. It’s all good in the end.
~Nate
Yay web development! lol.
I wasn’t questioning your intelligence. Jesus, take a pill. Did you even
read the end of the reply?
On Fri, Aug 29, 2008 at 9:18 PM, [email protected]
[email protected] wrote:
OK, guys. I gave in to the hype about paperclipped, about how it will
make my whites whiter and make my food taste better and all that jazz.
Weeelllll, I need to get rid of page_attachments first, so I did, and
now my site won’t start back up.
How’s paperclipped better than attachment_fu/page_attachments?
On Fri, Oct 17, 2008 at 12:39 PM, Arik J. [email protected] wrote:
Paperclipped doesn’t use RMagick (thanks to the paperclip plugin),
instead it directly accesses ImageMagick which does wonders for memory
consumption. You can drag and drop assets into the edit page text area.
ALL assets are accessible to all pages, unlike page attachments where it
didn’t give you access to any previously uploaded attachments (you’d
have to re-upload it or access it via another page or it’s parent page
using additional radiant tags).
But unlike page_attachments, you cannot use the images in a stylesheet.
You
can use paperclipped to manage PDFs and Flash files, though. And the
bucket
metaphor is nice for attaching images to pages.
~Nate
Joe Van D. wrote:
On Fri, Aug 29, 2008 at 9:18 PM, [email protected]
[email protected] wrote:
OK, guys. I gave in to the hype about paperclipped, about how it will
make my whites whiter and make my food taste better and all that jazz.
Weeelllll, I need to get rid of page_attachments first, so I did, and
now my site won’t start back up.
How’s paperclipped better than attachment_fu/page_attachments?
Paperclipped doesn’t use RMagick (thanks to the paperclip plugin),
instead it directly accesses ImageMagick which does wonders for memory
consumption. You can drag and drop assets into the edit page text area.
ALL assets are accessible to all pages, unlike page attachments where it
didn’t give you access to any previously uploaded attachments (you’d
have to re-upload it or access it via another page or it’s parent page
using additional radiant tags).
Someone help me if I’ve missed any features.
Why can’t you use the images in a stylesheet? Just specify the image
URL in the stylesheet.
I was never able to get it to work. I guess I should try it again before
I
start spreading FUD, eh?
~Nate