naienko: (happiness)
naienko ([personal profile] naienko) wrote in [site community profile] dw_dev2010-11-19 04:48 pm

update from d8 to d9

I'm slow, I know.
Anyway, the update won't go. It says
Can't use an undefined value as a HASH reference at /dw/cgi-bin/DW/User/DVersion/Migrate8To9.pm line 40.
Compilation failed in require at /dw/bin/upgrading/d8d9-userpicrename.pl line 27.
BEGIN failed--compilation aborted at /dw/bin/upgrading/d8d9-userpicrename.pl line 27.

Plus, the update page no longer allows users to select a userpic for their entry, which I'm thinking is somehow related. nevermind, somehow that fixed itself. I don't know.
exor674: Text: "I survived Dreamwidth closed beta" (dreamwidth closed beta)

[personal profile] exor674 2010-11-19 11:53 pm (UTC)(link)
exor674: Computer Science is my girlfriend (Default)

[personal profile] exor674 2010-11-20 11:12 pm (UTC)(link)
Just to make sure, you ran these commands:

$LJHOME/bin/upgrading/update-db.pl -r -p --innodb
$LJHOME/bin/upgrading/update-db.pl -r --cluster=all --innodb
$LJHOME/bin/upgrading/texttool.pl load

Did any of those error when you ran them?
foxfirefey: A guy looking ridiculous by doing a fashionable posing with a mouse, slinging the cord over his shoulders. (geek)

[personal profile] foxfirefey 2010-11-21 02:44 am (UTC)(link)
Exploratory question:

What happens if you run ljdb? (It's in the dw/bin directory)
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

[personal profile] fu 2010-11-26 04:15 am (UTC)(link)
Hmm, that sounds like it could be a case of this: http://bugs.dwscoalition.org/show_bug.cgi?id=3089

Can you check your proplist ids?
fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)

[personal profile] fu 2010-12-14 04:41 am (UTC)(link)
You'll probably need to check that there's no tpropid with the value of 518 in talkprops (not just talkproplist).

On dev environments, we can work around it by restarting the db in between each update db, so that the auto increment resets. This may/may not be workable for you.