← Back to team overview

mahara-contributors team mailing list archive

[Bug 1681569] Re: Error from rmdirr() function - PHP dir() failed to open dir

 

** Changed in: mahara/17.04
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1681569

Title:
  Error from rmdirr() function - PHP dir() failed to open dir

Status in Mahara:
  Fix Committed
Status in Mahara 17.04 series:
  Fix Committed
Status in Mahara 17.10 series:
  Fix Committed

Bug description:
  Getting this error when trying to clear cache on paired server
  deployment. The cache clears fine on one server but fails on the
  other.

  I suspect it's due to one server replicating to the other and locking
  the dir from being deleted.

  The rmdirr() function needs to make sure the dir is readable before
  trying to iterate thru it

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1681569/+subscriptions


References