tcpip: (Default)
Diary of a B+ Grade Polymath ([personal profile] tcpip) wrote in [site community profile] dw_dev2009-07-17 10:25 am
Entry tags:

Installation advice

Pointed here by the dw-discuss mailing list

I am installing a development version of Dreamwidth with a view for making it a shared collaboration space for Australia's researchers.

I have followed the instructions - to the letter from http://wiki.dwscoalition.org/notes/Dreamwidth_Scratch_Installation on dreamwidth.domain.tld

However I am receiving the "If you've gotten this error, it means that something is currently (and, with luck, temporarily) broken. Please wait five minutes and try again." page instead of a happy pinkish DW page.

I'd like to get this working so we can throw some development energy into it :)
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2009-07-17 12:43 am (UTC)(link)
First question is: are you using dw-nonfree, or not?

Second, what's in your Apache error log? This should be in /var/log/apache2/error.log and when you try to access a page you should see some error or another.
exor674: Computer Science is my girlfriend (Default)

[personal profile] exor674 2009-07-17 05:21 am (UTC)(link)
What mod_perl version are you using? I believe you need at least... 2.0.4 and Perl > 5.10
exor674: Computer Science is my girlfriend (Default)

[personal profile] exor674 2009-07-20 04:13 am (UTC)(link)
mpm_prefork?
exor674: Computer Science is my girlfriend (Default)

[personal profile] exor674 2009-07-20 06:10 am (UTC)(link)
Yeah, you need prefork for Dreamwidth code.
Installing the apache2-mpm-prefork package should take care of it for you.
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2009-07-18 06:29 pm (UTC)(link)
Yeah, what Dre said. If you're getting segfaults it's probably a mismatch on the version of mod_perl. There's some bad interaction with our code and mod_perl 2.0.3 and earlier that causes issues.

Let us know what version of that and Perl you're running?
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2009-09-01 05:39 am (UTC)(link)
Just bumping this as I haven't heard if you succeeded or not. Yes, those versions should be fine!
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2009-09-03 01:07 am (UTC)(link)
Right, try this:

$ bin/cvsreport.pl --checkout

And once that's done, you can run the --sync --cvsonly step again. I should go fix those documents, the bootstrap script hasn't been updated since we made some changes, so it doesn't do the right thing in all cases.
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2009-09-03 05:49 am (UTC)(link)
Oh, right. Okay, so long story short, it's because this used to be a SVN repository and now it's an HG repository. Right now, bootstrap.pl gives you the SVN one, then cvsreport.pl fails because it expected HG.

The trick is to remove it and then do checkout:

$ rm -rf cvs/perlbal/
$ bin/cvsreport.pl --checkout


And the documentation that needs updating is bootstrap, it should Do The Right Thing, not give you a half-setup system that fails. (I believe it's because it's updating to the wrong branch, one that is really old?)
whobutdrew: (Default)

[personal profile] whobutdrew 2009-09-05 07:56 pm (UTC)(link)
Now that I got past my first problem, I'm getting this one.

Should I post my error log here or in a new post?
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2009-09-05 08:54 pm (UTC)(link)
"This one"? Either is fine with me. You're welcome to post toplevel if you want more feedback, it's almost guaranteed to get answers faster than just commenting deep in some thread.

I'd suggest posting a comment to this post with a link to any new post, though, just so people can follow to the next set of comments if they want.
whobutdrew: (Default)

[personal profile] whobutdrew 2009-09-05 09:36 pm (UTC)(link)
Sorry, I forgot that this thread was almost 2 months old!

I reposted my woes here.