Good idea! I looked at the Apache error log and there were indeed some errors, which looked like permission issues.
I’d thought that since I’d just been renaming directories, the permissions would be OK, but this was not the case for the kiwitrees/data directory.
I changed the permissions on this, and the setup proceeded normally (I didn’t complete the procedure yet).
Maybe the same issue was causing the problem with the upgrade of the existing installation.