- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Backend/Core
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version 1.0-rc9
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#2588 - ps_files_cleanup_dir: opendir(/tmp/.priv) failed: Permission denied (13)
Sometimes comes this message with a lot of backtrace log.
If you are reporting a bug please provide as much information as possible to help understand and reproduce the problem:
Did you installed an official release or did you used an inoffical docker?!
Official download flyspray-1.0-rc9
mysqlnd 5.0.12-dev
Linux 64bit
PHP Version 7.2.25
Steps done to create the problem:
Wait some weeke and edit a ID.
Experienced behavior:
[18-Dec-2019 13:19:41 Europe/Berlin] PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/tmp/.priv) failed: Permission denied (13) in /var/foo/htdocs/flyspray/includes/class.flyspray.php on line 1006 [18-Dec-2019 13:19:41 Europe/Berlin] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at/var/foo/htdocs/flyspray/includes/class.flyspray.php:1006) in /var/foo/htdocs/flyspray/includes/class.flyspray.php on line 1006 [18-Dec-2019 12:19:41 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/foo/htdocs/flyspray/includes/class.flyspray.php:1006) in /var/foo/htdocs/flyspray/index.php on line 96 [18-Dec-2019 12:19:41 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/foo/htdocs/flyspray/includes/class.flyspray.php:1006) in /var/foo/htdocs/flyspray/index.php on line 97 [18-Dec-2019 12:19:41 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/foo/htdocs/flyspray/includes/class.flyspray.php:1006) in /var/foo/htdocs/flyspray/includes/class.csp.php on line 76 [18-Dec-2019 12:19:41 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/foo/htdocs/flyspray/includes/class.flyspray.php:1006) in /var/foo/htdocs/flyspray/includes/class.csp.php on line 80 [18-Dec-2019 12:19:41 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/foo/htdocs/flyspray/includes/class.flyspray.php:1006) in /var/foo/htdocs/flyspray/includes/class.csp.php on line 82
This issue pops up regularly over time and discussed before, like
FS#1428,FS#2092,FS#2092I would like to see how this issue is reproducible. Which linux distribution was used and how you installed Flyspray there?
Where and how is this '/tmp/.priv' configured?
This is defined by hoster, where read from /tmp/ is generally disabled.
The hoster will cleanup /tmp/ mostly automaticaly.
The directory can set with session_save_path() before the call session_start().
Here is a description from such german hoster:
https://www.df.eu/de/support/df-faq/webhosting/skriptsprachen/php/#c1408