The initialization of $wgExtensionDirectory changed in 1.38: https://github.com/wikimedia/mediawiki/commit/f5641f9856b27c1b88bdbb5456d59f394c37d2e3
I don't think that should be a problem, though, unless you're using $wgExtensionDirectory to define another path in LocalSettings.php. What happens if you set: $wgExtensionDirectory = "{$IP}/extensions"; near the start of LocalSettings.php? On Sun, Jun 5, 2022 at 3:09 AM Stefanie Leisestreichler < stefanie.leisestreich...@peter-speer.de> wrote: > No, not setting $wgExtensionDirectory. Extensions all are loaded with > pattern like wfLoadExtension( 'Cite' ); . > > I updated this installalation a few days ago from 1.36.0 to 1.36.2 > without having any issues. The bug suddenly appears when updating from > 1.36.2 to 1.38.0. > > > On 04.06.22 08:51, Benjamin Lees wrote: > > Are you setting $wgExtensionDirectory in LocalSettings.php? It sounds > > like it's been set to the root directory instead of the extensions > > directory. > > > > On Fri, Jun 3, 2022 at 2:48 PM Stefanie Leisestreichler > > <stefanie.leisestreich...@peter-speer.de > > <mailto:stefanie.leisestreich...@peter-speer.de>> wrote: > > > > Hi. > > When looking at the error message "stat failed for > > /Cite/extension.json" > > one will see, that update.php is not looking in "extensions/Cite/" > for > > extension.json. Instead it is searching in "/Cite/" for > extension.json. > > > > File extensions/Cite/extension.json exists in my installation, but > not > > /Cite/extension.json. > > > > I guess it is a bug. > > Thanks. > > > > On 03.06.22 20:41, Sammy Tarling wrote: > > > Hey, > > > > > > It'd be worth checking that extensions/Cite/extension.json exists, > > > and/or re-downloading the Cite Extension > > > <https://www.mediawiki.org/wiki/Extension:Cite#Installation > > <https://www.mediawiki.org/wiki/Extension:Cite#Installation>> if > > possible. > > > > > > If you're still having trouble, Manual:How to debug > > > <https://www.mediawiki.org/wiki/Manual:How_to_debug > > <https://www.mediawiki.org/wiki/Manual:How_to_debug>> has some good > > > pointers for finding more specific error messages. > > > If you end up reporting a bug, please have a read of this guidance > > > <https://www.mediawiki.org/wiki/How_to_report_a_bug > > <https://www.mediawiki.org/wiki/How_to_report_a_bug>> to ensure we > have > > > as much information as possible. > > > > > > > > > On Fri, Jun 3, 2022 at 12:03 PM Stefanie Leisestreichler > > > <stefanie.leisestreich...@peter-speer.de > > <mailto:stefanie.leisestreich...@peter-speer.de> > > > <mailto:stefanie.leisestreich...@peter-speer.de > > <mailto:stefanie.leisestreich...@peter-speer.de>>> wrote: > > > > > > Hi. > > > When running "php update.php" I get this error: > > > > > > php update.php > > > PHP Fatal error: Uncaught Exception: Unable to open file > > > /Cite/extension.json: filemtime(): stat failed for > > /Cite/extension.json > > > in > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182 > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182 > > > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182 > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182 > >> > > > Stack trace: > > > #0 > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/includes/GlobalFunctions.php(52) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/GlobalFunctions.php(52) > > > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/GlobalFunctions.php(52) > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/GlobalFunctions.php(52) > >>: > > > > > > ExtensionRegistry->queue() > > > #1 > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/LocalSettings.php(203) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/LocalSettings.php(203)> > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/LocalSettings.php(203) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/LocalSettings.php(203)>>: > > > > > > wfLoadExtension() > > > #2 > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/includes/Setup.php(204) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/Setup.php(204)> > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/Setup.php(204) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/Setup.php(204)>>: > > > > > > require_once('...') > > > #3 > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/doMaintenance.php(96) > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/doMaintenance.php(96) > > > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/doMaintenance.php(96) > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/doMaintenance.php(96) > >>: > > > > > > require_once('...') > > > #4 > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/update.php(264) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/update.php(264) > > > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/update.php(264) > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/update.php(264) > >>: > > > > > > require_once('...') > > > #5 {main} > > > thrown in > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php > > > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php > >> > > > > > > on line 182 > > > Fatal error: Uncaught Exception: Unable to open file > > > /Cite/extension.json: filemtime(): stat failed for > > /Cite/extension.json > > > in > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182 > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182 > > > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182 > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182 > >> > > > Stack trace: > > > #0 > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/includes/GlobalFunctions.php(52) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/GlobalFunctions.php(52) > > > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/GlobalFunctions.php(52) > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/GlobalFunctions.php(52) > >>: > > > > > > ExtensionRegistry->queue() > > > #1 > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/LocalSettings.php(203) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/LocalSettings.php(203)> > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/LocalSettings.php(203) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/LocalSettings.php(203)>>: > > > > > > wfLoadExtension() > > > #2 > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/includes/Setup.php(204) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/Setup.php(204)> > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/Setup.php(204) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/Setup.php(204)>>: > > > > > > require_once('...') > > > #3 > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/doMaintenance.php(96) > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/doMaintenance.php(96) > > > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/doMaintenance.php(96) > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/doMaintenance.php(96) > >>: > > > > > > require_once('...') > > > #4 > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/update.php(264) < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/update.php(264) > > > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/update.php(264) > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/update.php(264) > >>: > > > > > > require_once('...') > > > #5 {main} > > > thrown in > > > > > /srv/http/ > wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php > > > > > > > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php > < > http://wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php > >> > > > > > > on line 182 > > > _______________________________________________ > > > MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org > > <mailto:mediawiki-l@lists.wikimedia.org> > > > <mailto:mediawiki-l@lists.wikimedia.org > > <mailto:mediawiki-l@lists.wikimedia.org>> > > > To unsubscribe send an email to > > > mediawiki-l-le...@lists.wikimedia.org > > <mailto:mediawiki-l-le...@lists.wikimedia.org> > > > <mailto:mediawiki-l-le...@lists.wikimedia.org > > <mailto:mediawiki-l-le...@lists.wikimedia.org>> > > > > > > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ > > < > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ > > > > > > > < > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ > < > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ > >> > > > > > > > > > > > > -- > > > *Sammy Tarling *(she/her) > > > > > > Software Engineer > > > > > > Wikimedia Foundation <https://wikimediafoundation.org/ > > <https://wikimediafoundation.org/>> > > > > > > > > > _______________________________________________ > > > MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org > > <mailto:mediawiki-l@lists.wikimedia.org> > > > To unsubscribe send an email to > > mediawiki-l-le...@lists.wikimedia.org > > <mailto:mediawiki-l-le...@lists.wikimedia.org> > > > > > > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ > > < > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ > > > > _______________________________________________ > > MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org > > <mailto:mediawiki-l@lists.wikimedia.org> > > To unsubscribe send an email to > > mediawiki-l-le...@lists.wikimedia.org > > <mailto:mediawiki-l-le...@lists.wikimedia.org> > > > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ > > < > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ > > > > > > > > _______________________________________________ > > MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org > > To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org > > > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ >
_______________________________________________ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/