← Back to team overview

mahara-contributors team mailing list archive

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

 

Public bug reported:

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

** Affects: mahara
     Importance: Low
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

** Affects: mahara/17.04
     Importance: Low
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

** Affects: mahara/17.10
     Importance: Low
         Status: In Progress

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => Low

** Changed in: mahara
    Milestone: None => 17.10.0

** Changed in: mahara
     Assignee: (unassigned) => Robert Lyon (robertl-9)

** Also affects: mahara/17.04
   Importance: Low
     Assignee: Robert Lyon (robertl-9)
       Status: In Progress

** Also affects: mahara/17.10
   Importance: Undecided
       Status: New

** Changed in: mahara/17.10
    Milestone: None => 17.04.0

** Changed in: mahara/17.10
    Milestone: 17.04.0 => 17.10.0

** Changed in: mahara/17.04
    Milestone: 17.10.0 => 17.04.1

** Changed in: mahara/17.10
   Importance: Undecided => Low

** Changed in: mahara/17.10
       Status: New => In Progress

-- 
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:
  In Progress
Status in Mahara 17.04 series:
  In Progress
Status in Mahara 17.10 series:
  In Progress

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


Follow ups