← Back to team overview

mahara-contributors team mailing list archive

[Bug 1670637] [NEW] Sessions directories missing after upgrade to 16.10 and php 7.1 on Ubuntu 16.04 LTS

 

Public bug reported:

Hello,

I updated my mahara installation to 16.10. At the same time I did an
upgrade to from Ubuntu 14.04 to 16.04 and to php 7.1.

Suddenly users where not able to login, I checked the error log and I
found this:

2017/03/07 11:01:35 [error] 19414#19414: *100640 FastCGI sent in stderr:
"PHP message: [WAR] 72 (auth/session.php:457) session_regenerate_id():
open(/data/maharadata/sessions/8/e/h/sess_8ehlbf3hbll0tjjiatl25d69i7,
O_RDWR) failed: No such file or directory (2)

I checked the session store structure and just directories between 0 and
f where there. I had to create the whole structure with all
subdirectories from 0 to z.

I don't know if the session format comes form php 7.1 or from mahara,
anyway the folder structure should be created accordingly to accomodate
this format.

** Affects: mahara
     Importance: Undecided
         Status: New

** Summary changed:

- Sessions directories missing after upgrade to 16.10
+ Sessions directories missing after upgrade to 16.10 and php 7.1 on Ubuntu 16.04 LTS

-- 
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/1670637

Title:
  Sessions directories missing after upgrade to 16.10 and php 7.1 on
  Ubuntu 16.04 LTS

Status in Mahara:
  New

Bug description:
  Hello,

  I updated my mahara installation to 16.10. At the same time I did an
  upgrade to from Ubuntu 14.04 to 16.04 and to php 7.1.

  Suddenly users where not able to login, I checked the error log and I
  found this:

  2017/03/07 11:01:35 [error] 19414#19414: *100640 FastCGI sent in
  stderr: "PHP message: [WAR] 72 (auth/session.php:457)
  session_regenerate_id():
  open(/data/maharadata/sessions/8/e/h/sess_8ehlbf3hbll0tjjiatl25d69i7,
  O_RDWR) failed: No such file or directory (2)

  I checked the session store structure and just directories between 0
  and f where there. I had to create the whole structure with all
  subdirectories from 0 to z.

  I don't know if the session format comes form php 7.1 or from mahara,
  anyway the folder structure should be created accordingly to
  accomodate this format.

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


Follow ups