What also surprises me; the error says:
can't create basepath !
But the code throws:
can't create basepath $this->base_path!
which implies $this->base_path is empty, so the check that fails is not egw_cache being unwriteable, but the first check:
!isset($this->base_path)
And indeed, when I remove the argument false on line 52 I get (as part of the error):
error instanciating provider EGroupware\\Api\\Cache\\Files: EGroupware\\Api\\Cache::get_system_config(temp_dir) $GLOBALS['egw_info']['server']['temp_dir'] is NOT set!)
But if I manually try to get it:
sql> select config_value from egw_config where config_app = 'phpgwapi' and config_name = 'temp_dir';
+---------------------------------------+
| config_value |
+---------------------------------------+
| (the correct path) |
+---------------------------------------+
1 row in set (0.001 sec)