View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
10605Bug reportsInstallationpublic2016-02-28 21:25
Reporteratnetws Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version2.50.x 
Summary10605: Emptying tmp folder crashes Application
Description

Emptying the tmp folder results in crash, as Lime tries to write into tmp/runtime which doesn't exist


Internal Server Error
Application runtime path "/www/pages/xxxxxxxxx/web/tmp/runtime" is not valid. Please make sure it is a directory writable by the Web server process.

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.
2016-02-26 16:35:17

Steps To Reproduce

-Empty tmp
-Reload any page

Additional Information

Limesurvey should create the three subfolders (upload runtime assets) if they are missing

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)Current
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql 5.5.47
Server OS (if known)Debian Squeeze
Webserver software & version (if known)Apache 2.2.16
PHP Version5.3.29
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-02-27 11:45

developer   ~35744

Last edited: 2016-02-27 11:46

When LS try to empty tmp folder ?
Because without this we can not really fix it.

ANd Current is not true : is the current from today, not from nex days : i use YYMMDD if it's git version :)

Why you want empty tmp ? We can recreate runtime but : why you empty tmps ?

atnetws

atnetws

2016-02-27 14:09

reporter   ~35748

We had some issues duplicating a design template (changes in css files had no effect), so I wondered if emptying the folder via rm -rf * would help. It didn't.

The error occurs when the subfolders of /tmp are gone. Anyway, it is a tmp folder, and I think that an application should not rely on the directory structure of it.

c_schmitz

c_schmitz

2016-02-28 21:25

administrator   ~35749

Well, that is one opinion. Just don't empty it manually, there is no need for that.

Issue History

Date Modified Username Field Change
2016-02-26 16:39 atnetws New Issue
2016-02-27 11:45 DenisChenu Note Added: 35744
2016-02-27 11:46 DenisChenu Note Edited: 35744
2016-02-27 14:09 atnetws Note Added: 35748
2016-02-28 21:25 c_schmitz Note Added: 35749
2016-02-28 21:25 c_schmitz Status new => closed
2016-02-28 21:25 c_schmitz Assigned To => c_schmitz
2016-02-28 21:25 c_schmitz Resolution open => no change required