https://bugzilla.wikimedia.org/show_bug.cgi?id=53791

       Web browser: ---
            Bug ID: 53791
           Summary: update.php leaves unopenable UIDGenerator lock file
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

This is related to bug 44850.

When I run `php maintenance/update.php` to install the Flow extension, it
creates temp files
  -rw-rw-r-- 1 spage wikidev 28 2013-08-29 06:46 /tmp/mw-UIDGenerator-UID-128
  -rw-rw-r-- 1 spage wikidev 12 2013-08-29 06:46
/tmp/mw-UIDGenerator-UID-nodeid

then, when I try to access a page like Special:Flow/Sandbox, PHP fails with

Could not open '/tmp/mw-UIDGenerator-UID-128'.
Backtrace:

#0 /srv/mediawiki/includes/UIDGenerator.php(150):
UIDGenerator->getTimestampAndDelay('lockFile128', 16384, 1048576)
#1 /srv/mediawiki/extensions/Flow/includes/Model/UUID.php(31):
UIDGenerator::newTimestampedUID128(16)
#2 /srv/mediawiki/extensions/Flow/includes/Model/Workflow.php(73):
Flow\Model\UUID::create()

the workaround is to remove these files after running update.php

It would be better if update cleaned up, or if UIDGenerator could clean up at
termination it would fix bug 44850 as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to