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 ([email protected]) 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Attachment: signature.asc
Description: Message signed with OpenPGP using AMPGpg

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to