technonaturalist

image link to hive image link to ko-fi

Drupal 7 upgrade from HELL

Monday, 17 December 2012 @ 8:41am

Modded to be slightly more useful as I wrote the other one while slightly delirious.

  • upgrade to latest D6
  • drush arb default --destination="wherever/you/like"
  • mysql update systemsetstatus='0' where filename like 'sites%'
  • delete 6.x, retain /files and /sites directories, remember any mods to .htaccess
  • drop in 7.0 files
  • drush updb
  • if no error, press y
  • if error occurs, make a note of what you need to do to fix it. If this is a repeat run, fix all errors noted
  • rename/move your Drupal directory (or delete it but in the event you need it later)
  • from above where the Drupal directory should be, drush arr [backup-filename-without-square-brackets].tar
  • repeat from 3 til everything works
  • drush up -y
  • go do all the other little bits and pieces you need to do with the theme and modules

Problems I hit

  • managed file duplicates: mysql select * from `files` where `filepath` like `%string%'; delete from `files` where `fid`='number'; I only had a handful to deal with at any one time so didn’t mind doing them one by one, you’ll probably want a script if you have a lot :)
  • comment stupidity: drop index comment_uid on comments; drop index last_comment_uid on node_comment_statistics;

Rainy day

Wednesday, 12 December 2012 @ 3:20pm
Playing in the rain

You can still play outside. They spent half an hour out there, then Cub came in as he was cold. The big two followed 15mins later, tired and happy and telling me that it was awesome and I’d missed out :) They’ve had a nice warm bath and are now playing video games and looking forward to sausage stew for dinner. The end of the world is nigh and it’s a great time to be a kid

Skate ramp tests and first honey harvest

Sunday, 11 November 2012 @ 8:57pm

[minor pseudonymising edits during Drupal to hugo migration for all the good that will do now]

The skate ramp is skatable!

Skater almost silhouette

Okay so this is a slightly older picture but it was a good opener :P

All but one of the backs are up (the thing that will prevent skaters and skateboards from ending up in the raised bed or in the neighbour’s yard) and the whole thing is now covered in both layers of skin and has been reinforced and all those good things. Now it just needs a paint job (and I know someone who is good at painting that I would like to rope in to help).

Six

Saturday, 3 November 2012 @ 12:41pm

[minor pseudonymising edits during Drupal to hugo migration for all the good that will do now]

Very Small Small Girl is 6.

Playing on the water course at the Perth Zoo

She woke up the morning of her birthday, came running into the computer room and announced, “I’m SIX!”

She wanted to go to the zoo by public transport for her birthday so that’s what we did.

Chicklet season at Wannabe

Wednesday, 17 October 2012 @ 7:11pm

First 11 chicklets of the season have hatched. Few more clutches coming.

Japanese bantam cross with three chicks

There’s a blue chicklet!

Pekin bantam cross in The Brooder with a chick

This one was smart and set up in The Brooder

Aracauna cross blended family

Two mums and their babies (yes they are co-parenting). There’s also a black naked neck chicklet under the foreground hen.

fyn's guide to paranoid internet computering

Tuesday, 2 October 2012 @ 8:10am

Update 20180202: I didn’t realise this was still coming up in search results, but it’s been brought to my attention from a couple of sources that TrueCrypt seems to now be defunct and a lot of the Firefox add-ons now won’t work with the most recent versions of Firefox. So please keep this in mind if you’re reading this now.

For good results do levels 1 and 2. I highly recommend level 3. 4 is optional extra and 5 if you’re extra paranoid. In a section after level 5 I also include some slight modifications to the installation guide for Ubuntu because I believe making the switch to Linux is really worthwhile if you don’t need a program (or suite of programs) that doesn’t have a Linux version. If you find any of “free”, “secure” and “probably ethical” (I think) desirable in an operating system (all at once even!) hit up the Got Linux? section first and then come back to top. It’s at the bottom because I was building up from pretty-easy-to-do to requires-a-bit-of-effort.

Full disk encryption and "large files" - a loose experiment

Saturday, 29 September 2012 @ 2:46pm

So apparently full disk encryption is not the best idea for people who work with “large” files (where “large” was loosely defined as “multi-megabyte” in one of the threads I skimmed through). I couldn’t find anything informative never mind definitive on how full disk encryption would affect 3d and large digital painting work, so decided to run some experiments particular to my usage. These are not benchmarks in any way, shape or form, I was entirely too lazy to do things properly.

Drupal notes: backup process with drush

Thursday, 27 September 2012 @ 11:11pm

There’s probably a script for this. Or maybe drush is the script. Is all good, some things are done much faster with commandline :)

drush vset maintenance_mode 1 
drush cc all 
drush arb default --destination=../[site]-[date].tar

And if there’s updates to be done:

drush up -y

At the end:

drush vset maintenance_mode 0

!schooling -0001 Jung 10-14 | 10-14 Sept 2012

Saturday, 15 September 2012 @ 12:54pm

[minor pseudonymising edits during Drupal to hugo migration for all the good that will do now]

Maths

Forgot 7yo already had a maths book so he’s continuing on with his old one. He got away with doing only one page instead of two as I also made him read the thing by himself which taxed him quite a lot as he was already a bit tired and we started later than we should have. Kumon book is much too easy for 5yo so will have to get another one that’s slightly more challenging. Seems like it would be a good thing for 3yo so either he will get 5yo’s book or I’ll get him another one like it.

Socially acceptable !schooling: 3-7 Sept 2012

Friday, 7 September 2012 @ 8:23pm

In which I once more attempt weekly updates on the homeschooling side of things. Going to see how I go just writing about the bookwork and if I remember to add the Other Stuff we do as I go (and I found out after reading the curriculum outlines that we actually do most of the stuff in the curriculum without making much effort to do it, wonder how long I can get away with that… :).