Drupal 7 upgrade from HELL
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
systemset
status='0' where
filenamelike '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;
This work by ryivhnn is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
Rainy day
You can still play outside. They spent half an hour out there, then 3yo 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
[minor pseudonymising edits during Drupal to hugo migration for all the good that will do now]
The skate ramp is skatable!
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
[minor pseudonymising edits during Drupal to hugo migration for all the good that will do now]
Very Small Small Girl is 6.
She woke up the morning of her birthday, came running into the computer room and announced, “I’m SIX!”
Chicklet season at Wannabe
First 11 chicklets of the season have hatched. Few more clutches coming.
fyn's guide to paranoid internet computering
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
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
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
[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
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… :).