User Sessions not working in 13.0.2

Error:

" Your PHP configuration seems to not allow listing of active sessions. The directory used to save sessions (/var/lib/php/sessions**) may be protected (for example by OS permissions or by PHP directive open_basedir)."**

Handler to save sessions : files
Session save location : /var/lib/php/sessions

  • open_basedir in php.ini is default (commented out / undefined)
  • Active sessions for dolibarr exist in /var/lib/php/sessions (owner/group = www-data)
  • Example:
  • -rw------- 1 www-data www-data 632 Mar 29 21:25 sess_15np3od3qjpk51vu4svvbns5n3

www-data user able to read the session, but dolibarr unable to read/display the session.

Do you want to change the period of a active session? You can change in php.ini (could be several) this option:

  • session.gc_maxlifetime

no… it was (is?) broken totally. There were active sessions, but dolibarr was not showing them/any.