I know we just added some new maintenance scripts for checking things with composer. I’m sure it wouldn’t be that bad having update.php check first and tell the user to run “composer install” before doing update.php.
-- Tyler Romeo 0x405D34A7C86B42DF
On January 13, 2015 at 08:07:34, Marcin Cieslak (saper@saper.info) wrote:
I am kind of late to the party but I have upgraded one of my throaway development wikis with the usual "git remote update && git merge && php maintenance/update.php" process and after the above succeeded I was nevertheless greeted by:
Fatal error: Class 'Cdb\Reader' not found
exception coming out of includes/cache/LocalisationCache.php on line 1263
It seems that I just forgot to update the "vendor" directory (I am somehow reluctant to run composer due to allow_url_fopen=1) requirement
Would that be reasonable to add some basic external libraries checks to update.php to remind users to update those core components prior to accessing the wiki?
Btw. I think UPGRADE doc does not (yet) mention the new process.
//Marcin
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l