Page MenuHomePhabricator

repoexport broken: MWException from line 186 of /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/ffs/SimpleFFS.php: Write path '.' does not exist.
Closed, ResolvedPublic

Description

Since today: repcommit is broken, exporting MediaWiki and extensions impossible

[14ef6a55] [no req] MWException from line 186 of /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/ffs/SimpleFFS.php: Write path '.' does not exist.
Backtrace:
#0 /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/scripts/export.php(276): SimpleFFS->write(MessageCollection)
#1 /srv/mediawiki/tags/2015-10-18_19:48:39/maintenance/doMaintenance.php(111): CommandlineExport->execute()
#2 /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/scripts/export.php(301): include(string)
#3 {main}

Event Timeline

Raymond raised the priority of this task from to Needs Triage.
Raymond updated the task description. (Show Details)
Raymond added subscribers: Raymond, Nikerabbit, siebrand.

Probably related to the HHVM update we did today. @Nikerabbit said there will be a new version soon.

Do you mean repoexport or repocommit?

@Nikerabbit: you are right: repoexport:

raymond@translatewiki:/resources/raymond$ repoexport mediawiki
Exporting ext-installer...
[Thu Oct 22 09:32:26 2015] [hphp] [11162:7f1c91cdcc80:0:000001] []
Fatal error: Uncaught exception 'MWException' with message 'Write path '.' does not exist.' in /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/ffs/SimpleFFS.php:186
Stack trace:
#0 /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/scripts/export.php(276): SimpleFFS->write()
#1 /srv/mediawiki/tags/2015-10-18_19:48:39/maintenance/doMaintenance.php(111): CommandlineExport->execute()
#2 /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/scripts/export.php(301): include()
#3 {main}
Exporting core...
[a78998ac] [no req] MWException from line 186 of /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/ffs/SimpleFFS.php: Write path '.' does not exist.
Backtrace:
#0 /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/scripts/export.php(276): SimpleFFS->write(MessageCollection)
#1 /srv/mediawiki/tags/2015-10-18_19:48:39/maintenance/doMaintenance.php(111): CommandlineExport->execute()
#2 /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/scripts/export.php(301): include(string)
#3 {main}
[Thu Oct 22 09:32:28 2015] [hphp] [11160:7f8e010d8c80:0:000001] []
Fatal error: Uncaught exception 'MWException' with message 'Write path '.' does not exist.' in /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/ffs/SimpleFFS.php:186
Stack trace:
#0 /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/scripts/export.php(276): SimpleFFS->write()
#1 /srv/mediawiki/tags/2015-10-18_19:48:39/maintenance/doMaintenance.php(111): CommandlineExport->execute()
#2 /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/scripts/export.php(301): include()
#3 {main}
[0fe36a20] [no req] MWException from line 186 of /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/ffs/SimpleFFS.php: Write path '.' does not exist.
Backtrace:
#0 /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/scripts/export.php(276): SimpleFFS->write(MessageCollection)
#1 /srv/mediawiki/tags/2015-10-18_19:48:39/maintenance/doMaintenance.php(111): CommandlineExport->execute()
#2 /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/scripts/export.php(301): include(string)
#3 {main}

Raymond renamed this task from repocommit broken: MWException from line 186 of /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/ffs/SimpleFFS.php: Write path '.' does not exist. to repoeport broken: MWException from line 186 of /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/ffs/SimpleFFS.php: Write path '.' does not exist..Oct 22 2015, 7:33 AM
Nemo_bis renamed this task from repoeport broken: MWException from line 186 of /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/ffs/SimpleFFS.php: Write path '.' does not exist. to repoexport broken: MWException from line 186 of /srv/mediawiki/tags/2015-10-18_19:48:39/extensions/Translate/ffs/SimpleFFS.php: Write path '.' does not exist..Oct 22 2015, 7:59 AM
Nikerabbit triaged this task as Unbreak Now! priority.Oct 22 2015, 8:20 AM

I will look into this.

Seems to be another regression in hhvm: https://3v4l.org/oNZon

I have reported this to upstream: https://github.com/facebook/hhvm/issues/6402

Nikerabbit lowered the priority of this task from Unbreak Now! to Medium.Oct 22 2015, 9:13 AM

I have employed a temporary local workaround (addition of realpath()) that is present until new branch is created and deployed with oregano.

Fixed upstream. Dropping local workaround.