If you have a "pre-apocalypse" copy of D8 hanging around (git checkout 3629b1fd8bd) it's impossible to move from there currently.
You go to your front page and you'll get a WSOD. When you go to update.php you'll see that is because:
Warning: require_once(/Users/abyron/Sites/8.x/modules/entity/entity.controller.inc) [function.require-once]: failed to open stream: No such file or directory in _registry_check_code() (line 3059 of /Users/abyron/Sites/8.x/core/includes/bootstrap.inc).
Running through update.php though, because there are no DB updates, means no caches ever get cleared so you still have that problem after running update.php.
catch pointed me at http://drupal.org/node/534594#comment-4583592 but that didn't help anything (presumably because I'd need to be able to clear cache to get that alter to take effect).
This is a HEAD -> HEAD upgrade, so I'm not sure we care, but it's certainly going to make re-rolling those 10,000 patches a lot harder. :\
Comments
Comment #1
dave reidUm, I care. A lot.
Comment #2
webchickAn immediate workaround is just adding this to system.install:
but that of course will leave your D8 install out of sync with whatever 8002 actually is, so is not recommended.
Comment #3
quicksketchYeah, to be clear the only real problem here is that the cache tables contain a bunch of old paths. Just running TRUCATE on your cache tables will clear everything up. Or make an empty update like webchick suggests. I personally think this is the perfect "no d8 to d8 upgrade path", since it's trivial to get working again and doesn't cause a problem on d7 to d8 upgrades or on new installs.
Comment #4
webchickWe discussed this in IRC and decided that since #3 is a reasonable, non-data-destroying workaround, there's no real point in making an empty update function for this.
Marking "won't fix" and documented the workaround in the change notice at http://drupal.org/node/1327978.
Comment #5
sunSee also: #996236: drupal_flush_all_caches() does not clear entity info cache
Comment #6
claudiu.cristeaStill getting WSOD after truncating all cache* tables:
What else?
Comment #7
claudiu.cristeaThe registry still keeps old paths. How to rebuild?
Comment #8
EvanDonovan commentedTry http://drupal.org/project/registry_rebuild. I think this can be closed again, right?
Comment #9
plachRelated issue: #1331370: [Upgrade path broken] Stored include paths need to be updated to /core before running the upgrade path.
Comment #10
neclimdulSeconding this as a serious problem. I'm currently trying to bisect across the core move hosing and yuck... we really need to deal with this. Its a problem with #534594: [meta] system info cache writing and registry rebuilding is broken without a full bootstrap and a number of other d7 issues and all we do is say "tread carefully", "we don't support that" when really we're saying "sorry we don't support our own development"
Comment #11
neclimduldope, sorry about tag.
also, @EvanDonovan i just confirmed registry_rebuild doesn't work on 8.x so that's not even an option...
Comment #12
claudiu.cristea@neclimdul, Registry Rebuild tries to include entity.inc which was moved to a module. This is the first reason why is not working. The second might be the "/core" exodus.
Comment #13
neclimdul@claudiu.cristea yes, it includes every file directly rather than using the drupal bootstrap because it can't trust it to work. Each path is hard coded to /include so it definitely is broken by the /core move. Feel free to discuss it here #1332950: Support 8.x post /core move
Comment #14
webchickI haven't tested it, but there's a D8 version of Registry Rebuild at #1328718: D8 port. Does that help?
Comment #15
catch@neclimudul and @Dave Reid - if people want to start trying to support the upgrade path I'd be happy for that to happen during the 8.x cycle and treating unrecoverable breakage like this as critical bugs.
I've opened #1333898: Support unstable2unstable upgrades? [policy, no patch] to discuss that properly, and I'm happy leaving this as a critical bug until we've had that discussion.
Comment #16
webchickThere is now a system_update_8002(), and in addition update.php clears the cache / rebuilds the registry now when you submit it. That was the problem before; there was no way to trigger this short of using the Registry Rebuild module.
Therefore, while there are other problems with the D8 upgrade path atm, I think this particular one is fixed.