purplecat (
purplecat) wrote in
dw_dev_training2013-06-12 09:38 am
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Entry tags:
Help! I've broken my dreamhack!
For a while my dreamhack has been throwing odd errors - e.g.,
Today it was behaving very badly, with apache refusing to start and stop correctly, git throwing wierd errors when I tried to update develop and so on. I eventually realised I'd run out of space - deleted my back-up save of my old mercurial repositories and managed to get apache and git behaving again.
However, somewhere along the way I seem to have fubarred the database:
Any idea what I've done, or how I can fix it?
Or even why I ran out of space - that worries me a bit too.
file error - tropo-red.tt: not found at /dreamhack/home/8362-purplecat/dw/cgi-bin/DW/Template.pm line 365.\n, referer: http://user3.purplecat.hack.dreamwidth.net/
Today it was behaving very badly, with apache refusing to start and stop correctly, git throwing wierd errors when I tried to update develop and so on. I eventually realised I'd run out of space - deleted my back-up save of my old mercurial repositories and managed to get apache and git behaving again.
However, somewhere along the way I seem to have fubarred the database:
dh-purplecat@newhack:~/dw/bin/upgrading$ ./update-db.pl -r -p --innodb
Updating cluster: 0
Use of uninitialized value in concatenation (.) or string at /dreamhack/home/8362-purplecat/dw/cgi-bin/DBI/Role.pm line 245.
Use of uninitialized value in concatenation (.) or string at /dreamhack/home/8362-purplecat/dw/cgi-bin/DBI/Role.pm line 245.
cluster: status
0: ERROR: Can't connect to the database (clust#0), so I can't update it. (Access denied for user 'dh-purplecat'@'localhost' (using password: NO))
Use of uninitialized value in concatenation (.) or string at /dreamhack/home/8362-purplecat/dw/cgi-bin/DBI/Role.pm line 245.
Use of uninitialized value in concatenation (.) or string at /dreamhack/home/8362-purplecat/dw/cgi-bin/DBI/Role.pm line 245.
Couldn't get master handle for population. at ./update-db.pl line 212.
Any idea what I've done, or how I can fix it?
Or even why I ran out of space - that worries me a bit too.
no subject
no subject
Doesn't explain what I've done to the database though :(
no subject
no subject
no subject
no subject
git reset --hard
at one point and it will have cleared out my config files!!no subject
If you don't have any patches on the hack right now, then you might just want to reset it. I don't know what the procedure is for that, but IIRC it's pretty easy. I'll see if I can poke someone on IRC to come give better information!
no subject
I don't think I do have any patches on the hack now (or at least none which don't have current commits also on github so, presumably, could be recovered). However it seems reasonable to at least attempt restoring config-private.pl before trying anything else.
I'll also drop by irc... errr... sometime when I have more than a few minutes spare (hopefully tomorrow evening)
no subject
(And I'll also get reinstallation working at some point soon!)
no subject
no subject
no subject
no subject