sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie
If you were having issues with reinstalls or database updates on the Dreamhack machine, you should be good to go now if you retry what was failing before. The code needed a new version of the Locale::Codes distribution, meaning that update-db.pl wouldn't work. It should work now!

(Yes, reinstalls work again; I've been meaning to announce it here for ages, but I've kept forgetting. They work now by reinstalling from your personal Git repositories; there's currently no means to automatically nuke those repositories and re-fork, so if you need to do that, let me know.)
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie
I have just installed Template Toolkit 2.26 on the Dreamhack machine. We were previously using 2.20, which is still installed but in such a way that the later version should take precedence.

As this is a core module for Dreamwidth, it's recommended that you restart Apache when possible. Things won't break just yet if you don't (since the old files aren't gone just yet), but according to my sources, the Dreamwidth codebase will require this new version of Template Toolkit soon, so things may break in the future.

As always, if anything breaks on the Dreamhack machine because of this change, please comment to let me know, or open a GitHub issue.

[edit 2014-12-07: Fix a typo.]
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie
I just updated LWPx::ParanoidAgent and Net::SSL on the Dreamhacks server - something that I've needed to do for some time. In the process about seventy bajillion other modules that they relied on needed to be updated, too (mainly to do with HTTP/SSL stuff) so the following modules (and any submodules included in their distribution) are now at their most recent (and the links given lead to the exact versions installed from CPAN):

23 different distributions in total )

As this is rather a lot of modules, some of which can be core to various things that the codebase does, you should restart your Apache if it's currently running; there may be errors otherwise. Also, it's possible that the update of these modules might somehow cause brokenness in some areas on the Dreamhacks server; please do comment here if that's the case (or open a GitHub issue).

(Please note: This only applies to brokenness on the Dreamhacks server. Nothing has changed on dreamwidth.org, so any issues there should be raised in a Support request as usual.)
kareila: IT prepares you for a life of fighting with PCs nonstop. (sysadmin)
[personal profile] kareila
http://wiki.dwscoalition.org/wiki/index.php/MogileFS_setup

All of the information that was previously there assumed you had root on a Debian box. I've updated the page to document the steps needed to get it working for dreamhacks as well. (Until the next time things break, anyway.)

YOU'RE WELCOME.

Ahem.

That is to say, if you try using my instructions and run into problems, let me know!
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie
As most people here will know, I'm the maintainer of the Dreamhacks service which allows you to have a Dreamwidth development environment quickly and easily.

Some people will also know that lately the reinstallation script hasn't been working for some time. It's been broken ever since the move to git and GitHub, and I recently put a check in there so that anybody trying to use it won't accidentally end up with an unuseable 'hack. (By the way, if anybody does have an unuseable 'hack because of this, please feel free to let me know and I'll gladly reinstall you by hand!)

Although it should be fairly easy to get the reinstaller script working again, I've been running into some issues that I'm not entirely sure how to address. If you have a Dreamhack account, please read inside the cut as this could quite possibly affect you.

My dilemma )
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma
$TRUST_X_HEADERS is a configuration variable you should set to true (1) if you're using proxy you control and trust (eg, perlbal), so you can retrieve the real (external) source IP address of incoming requests, instead of seeing them as coming from 127.0.0.1 or the IP address your proxy/load balancer/whatever runs on. By default, it's 0, but for dreamhacks and other development hosts, that default isn't practical, so instead of making it default to 0 (with a commented-out line in etc/config.pl to change it to 1), I would make it default to the value of $IS_DEV_SERVER if not defined, with commented-out lines in etc/config.pl to force it to either 0 or 1.

This shouldn't affect production servers, who likely have IS_DEV_SERVER set to 0 and TRUST_X_HEADERS set to 1 already, but it might affect production servers, if any, with unexpected configurations, and the change may surprise developers who didn't set TRUST_X_HEADERS explicitely, so I'm throwing this for discussion here in case I missed some pitfalls, or if there's a way to make it better. I'm also opening a bug linking here, so whatever the outcome of the discussion is, it doesn't fall through the cracks.
foxfirefey: A guy looking ridiculous by doing a fashionable posing with a mouse, slinging the cord over his shoulders. (geek)
[personal profile] foxfirefey
So, if you're looking to test/develop with the beta journal jquery or the upcoming update page, you are going to need to set the BETA_FEATURES hash in your hack like so:

    %LJ::BETA_FEATURES = (
        "journaljquery" => {
            start_time  => 0,
            end_time    => "Inf",
        },
        "updatepage" => {
            start_time => 0,
            end_time => "Inf",
        },
    );


You can then turn things on/off for individual accounts at: [YOUR_HACK_URL]/betafeatures
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie
Heads-up: The Dreamhack server is currently down. This was unexpected, so I'm sorry for the lack of warning! SliceHost are migrating the slice that the server is on to another datacenter. The server should have come back up by now, but it hasn't, so I'm currently trying to figure out what's wrong.

I'll edit this post with more details once I know them. :)

[edit: Back up! It seems the slice wasn't running for some reason. I'm still not entirely sure why, but after kicking it back up, it's fine now. It's actually been going for some time, but I hadn't updated this until now. Sorry! Anyway, all is good now. :)]
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie
Hi all!

As the maintainer of the Dreamhacks service, I'm curious about how everybody's getting on with it and whether there's anything people would really like to have to make dev work easier.

For example, one thing I'm going to be working on is a way to make it easier to set up, start and stop the various auxiliary services that Dreamwidth uses, such as memcached, Gearman, and TheSchwartz. I'm hoping that this'll make it easier to work on bugs that need these services.

But I'd also really like to hear from people about the things they find most difficult when working on a Dreamhack. This can be anything - maybe our wiki's confusing or not quite up-to-date, or maybe you can't figure out the command you need to type to do something.

I want to make things as accessible as I can to everybody, new and experienced alike, so please let me know in the comments what you really wish was easier to do on a Dreamhack! I'll go through the comments later and see what I can do to help - for example, by programming a script for everybody to use on the server, editing the wiki, or simply answering a question if that's all that's needed!
the_wanlorn: Ada Lovelace from the Lovelace & Babbage comic looking upwards in the difference machine. (Ada Lovelace)
[personal profile] the_wanlorn
Is there a way to turn on content searching on our dreamhacks? I'm trying to test Bug 1847, and I'm getting the "Sorry, content searching is not configured on this server." error. Is there a way for me to configure this?

If not! Should I upload the patch that I think might possibly work as something for someone else to work off of if they want to do the bug, or to be reviewed, or just let it lie?
pauamma: Cartooney crab holding drink (Default)
[personal profile] pauamma
With some versions of perl modules installed systemwide (ie, not under $LJHOME), you can get the following warning message when running bin/upgrading/update-db.pl:
Name "Template::Namespace::Constants::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/Base.pm line 49.
You can safely ignore this message, and the update shoupd proceed normally. (If it doesn't, comment and we'll look at it closer.)
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)
[personal profile] sophie
[edit 2010-04-07, 8:12pm: Okay, things should be good to go now. I haven't yet upgraded the RAM, but we're going to see how things are in a week or so.]

Hi all,

SliceHost will be performing some maintenance on the host server where the Dreamhack box resides at 11pm CDT today, April 6. (that's 4:00am on April 7 for GMT)

It shouldn't take more than half an hour, but as with any maintenance they don't know precisely.

I'm going to see if I can take the opportunity to up the memory on the box shortly afterwards, when I wake up. So there'll probably be a period of 3-5 hours in between where the box will be up again before it goes back down for the RAM upgrade. I'll edit this post when it's all clear to use again :D

Downtime

Sep. 3rd, 2009 02:21 pm
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
[staff profile] denise
The Dreamhack machine will be down for ~10m or so at 4AM GMT tonight for Slicehost maintenance. They claim that active state will be saved, but it's a good idea to save anything you're working on beforehand.

Profile

dw_dev: The word "develop" using the Swirly D logo.  (Default)
Dreamwidth Open Source Development

March 2017

S M T W T F S
   1234
5678 91011
12131415161718
1920212223 2425
262728293031 

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 24th, 2017 08:02 am
Powered by Dreamwidth Studios