View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
12469Bug reportsComfortUpdatepublic2017-06-15 15:54
Reporterdavidrnewman Assigned ToLouisGac 
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version2.65.x 
Summary12469: Comfort update blocks, waiting for me to make writable a blank list of files
Description

In running ComfortUpdate 2.65.5 (170613) I got as far as the list of files to make writeable by www-data.

Even after a chmod -R g+w * it still insisted that there were more files to make writeable, but showed me an empty list (see attached screenshot).

Steps To Reproduce

Run ComfortUpdate 2.65.5

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)Version 2.65.0+170502
I will donate to the project if issue is resolvedNo
BrowserGoogle Chrome (on Linux)
Database type & versionmysql 5.7.18
Server OS (if known)Ubuntu Linux 16.04
Webserver software & version (if known)Apache 2.4.18
PHP Version7.0

Users monitoring this issue

There are no users monitoring this issue.

Activities

LouisGac

LouisGac

2017-06-15 12:17

developer   ~43913

this has been fixed in last release.
Your root folder is not writable OR you're using SE Linux.

davidrnewman

davidrnewman

2017-06-15 12:38

reporter   ~43914

I am not using SE Linux. But I have just upgraded to a new version of PHP. It looks like the old bug has come back again.

I noticed that in the list of files first presented, there is a blank line at the top, before the ones starting application/ .
Then after making all the listed files writeable, the blank line one remains.

davidrnewman

davidrnewman

2017-06-15 12:44

reporter   ~43915

Doesn't ComfortUpdate upgrade versions? I am on Version 2.65.0+170502

LouisGac

LouisGac

2017-06-15 12:45

developer   ~43916

I repeat: the bug has been fixed, not in the version you're running, but in the build you're trying to update to.
See:
https://github.com/LimeSurvey/LimeSurvey/commit/d8726de4d800382ff45807c49c5355119a14d33d

Released with build 170522

The problem is most probably that your root folder is not writable: the folder itself.

davidrnewman

davidrnewman

2017-06-15 12:56

reporter   ~43917

OK. Understood. ComfortUpdate upgrades between .x versions need write access to the root folder of limesurvey to allow creation of new directories and files.

Meanwhile I did a complete new install of the latest version, and it is working.

LouisGac

LouisGac

2017-06-15 13:00

developer   ~43918

ok, thank you very much for the feedback and for the bug report, always appreciated

davidrnewman

davidrnewman

2017-06-15 13:10

reporter   ~43919

Just realised there is a user interface issue.

In the list of files, instead of showing a blank line when the root folder needs to be writeable, it should be listed as either . or /

LouisGac

LouisGac

2017-06-15 13:12

developer   ~43920

better: in the last release, if write permission issue concerns root folder, it will show its complete path (the one set in (Yii::app()->getConfig("rootdir") )

davidrnewman

davidrnewman

2017-06-15 13:16

reporter   ~43921

To be precise it should show

. (the top level LimeSurvey folder).

as people using ComfortUpdate may not be au fait with UNIX conventions.

Issue History

Date Modified Username Field Change
2017-06-15 12:12 davidrnewman New Issue
2017-06-15 12:12 davidrnewman Status new => assigned
2017-06-15 12:12 davidrnewman Assigned To => LouisGac
2017-06-15 12:12 davidrnewman File Added: Screenshot_20170615_105325.png
2017-06-15 12:17 LouisGac Note Added: 43913
2017-06-15 12:38 davidrnewman Note Added: 43914
2017-06-15 12:44 davidrnewman Note Added: 43915
2017-06-15 12:45 LouisGac Note Added: 43916
2017-06-15 12:56 davidrnewman Note Added: 43917
2017-06-15 13:00 LouisGac Note Added: 43918
2017-06-15 13:00 LouisGac Status assigned => resolved
2017-06-15 13:00 LouisGac Resolution open => fixed
2017-06-15 13:10 davidrnewman Note Added: 43919
2017-06-15 13:12 LouisGac Note Added: 43920
2017-06-15 13:16 davidrnewman Note Added: 43921
2017-06-15 15:54 c_schmitz Status resolved => closed