View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
15066Bug reportsOtherpublic2019-09-23 09:40
Reporterandre_ars Assigned Tocdorin  
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version4.0.0-RC1 
Summary15066: 500: Internal Server Error - propertie "Question.groups" not difined
Description

After upgrade from limesurvey 3.17.7+190627 to limesurvey 3.17.8+190722
check integrity it's not working

Steps To Reproduce

Upgrade from db version 359 to 419.

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)4.0.0-RC1+190722
I will donate to the project if issue is resolvedYes
BrowserFirefox
Database type & versionMariaDB 10.2
Server OS (if known)Centos
Webserver software & version (if known)apache
PHP Version7.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2019-07-23 11:34

administrator   ~52955

Yii database cache? Can you clear your tmp/ folder, please?

ollehar

ollehar

2019-07-23 11:40

administrator   ~52956

How did you update? With Comfort Update or manually?

andre_ars

andre_ars

2019-07-23 12:53

reporter   ~52957

Manual update
--> New folder, unziped the files, confirmed the permissions, copied the contents of upload and the config file.
tmp folder was not copied.

Just cleared the tmp folder and got the same error.

ollehar

ollehar

2019-07-23 13:01

administrator   ~52958

Yeah, you will need help to rewind the database. Did you do a backup before the update?

andre_ars

andre_ars

2019-07-23 15:08

reporter   ~52964

I have a backup but it's not an option right now.
on going project! already have new data.
only made more tests after some time.
in search for this fix (14975), I've took the risk and updated in the middle of a project. clearly it's a DND, but, nowhere in the details was an information about version "4.0.. RC".

ollehar

ollehar

2019-07-23 15:28

administrator   ~52966

Is your survey still running properly?

andre_ars

andre_ars

2019-07-24 00:04

reporter   ~52969

not really.
in this specific one, I can't view the quota page. It just "freezes". the page starts the "loading screen" and never gives back a page. Other surveys the quota shows ok.
The survey was working ok, until this afternoon, where it just stopped responding.

ollehar

ollehar

2019-07-24 10:57

administrator   ~52978

OK, well, in any case, it's not easily done to revert the database to a previous state once it's upgraded. Best option is to finish your current running survey, backup your database, export all your surveys, and then do a fresh install with 3.17.8.

andre_ars

andre_ars

2019-07-24 19:21

reporter   ~52990

but what happened? I'm sure that I downloaded 3.17.8, not 4.0.0 Rc1 (or at least, I'm sure that I downloaded from "stable-release" or is 3.17.8 actually 4.0 RC1? )

Why fresh install? I was hopping to recover a DB version before the upgrade and return to 3.17.7

ollehar

ollehar

2019-07-25 11:00

administrator   ~53000

Yes, you downloaded a package that said 3.17.8, but we had a bug in the release process, actually putting LS4 into the package instead. We apologize for that, and can recommend that you use ComfortUpdate to update in the future (this will give you access to paid support).

If you have a backup of your database before the upgrade, that's great. You can use that after your running survey is finished.

andre_ars

andre_ars

2019-07-25 16:18

reporter   ~53009

I backup everything daily... :)
now I'm trying to download the data in SPSS version.. and I can't.. gives a "file not found error". (I already reported it)
I tried to make a copy (same DB) and give an error. Exported, imported, error...
Installed a new version (RC2 btw..), new DB, tried to import, again.. error.. (only the structure)

500: Internal Server Error
CDbCommand falhou ao executar o comando SQL: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '56-pt' for key 'lime_idx1_group_l10ns'

where "56-pt" is kind of random...

Can you help me understand the "lime_idx1_group_l10s" table so I can try to fix this?

DenisChenu

DenisChenu

2019-07-25 17:51

developer   ~53010

@andre_ars : for production my advice is to get your backup …

Even some core developer have some difficulty with all this bug in 4.0.0-RC2, it's clearly not ready for production.

andre_ars

andre_ars

2019-07-25 18:45

reporter   ~53011

@DenisChenu I'm going back to the backup.. but I need to extract the data in SPSS format first... this was just bad timing...

DenisChenu

DenisChenu

2019-07-25 18:56

developer   ~53012

I think you can export only the survey table and import it in your backup,
You can check the difference before …

andre_ars

andre_ars

2019-07-25 23:32

reporter   ~53013

i've already tried. I've installed a 3.18.8 and tried to import. It doesn't give any error, but no questions are created.
To many differences in the structure I believe

DenisChenu

DenisChenu

2019-07-26 00:03

developer   ~53014

No, i mean only the data,
If you have new data since you last backup, i think the table survey_XXX have near same format.

andre_ars

andre_ars

2019-07-30 01:00

reporter   ~53038

Ok. I'll give that a try! thanks!

andre_ars

andre_ars

2019-08-02 10:52

reporter   ~53077

Dear DenisChenu,

I've just returned to the real 3.17.8 version and, has you said, the tables survey_xxxxx are the same.

I've imported and successfully restored the history from 4.0 rc1/rc2

Many Thanks!

I don't know if i can help you testing another upgrade from 3.17 to 4.0? (this time in a test environment)

DenisChenu

DenisChenu

2019-08-02 13:21

developer   ~53080

Great :)

I check (again) an upgrade to see what happen.

cdorin

cdorin

2019-08-20 16:34

reporter   ~53200

Are there still issues with this bug report? As far as i understand, it started from the check integrity functionality - I tried to replicate it but I couldn't. I see that an upgrade was done to 3.17.8, but then the db version was updated from 359 to 419.

andre_ars

andre_ars

2019-08-21 10:33

reporter   ~53211

sory dorin,
I didn't had a chance yet to retry.
I'll give it another try till the end of the week, this time from 3.17.9 to the most recent RC.
regards

cdorin

cdorin

2019-08-21 10:48

reporter   ~53212

Hey @andre_ars,

Thanks for the feedback. Please wait for the RC4 release and try then (should be released till the end of the week) :)

cdorin

cdorin

2019-09-23 09:40

reporter   ~53671

To be tested again in LS4 RC4

Issue History

Date Modified Username Field Change
2019-07-22 22:33 andre_ars New Issue
2019-07-23 11:34 ollehar Note Added: 52955
2019-07-23 11:40 ollehar Note Added: 52956
2019-07-23 12:53 andre_ars Note Added: 52957
2019-07-23 13:01 ollehar Assigned To => LouisGac
2019-07-23 13:01 ollehar Status new => assigned
2019-07-23 13:01 ollehar Note Added: 52958
2019-07-23 15:08 andre_ars Note Added: 52964
2019-07-23 15:28 ollehar Note Added: 52966
2019-07-23 15:30 ollehar Assigned To LouisGac => ollehar
2019-07-24 00:04 andre_ars Note Added: 52969
2019-07-24 10:57 ollehar Note Added: 52978
2019-07-24 19:21 andre_ars Note Added: 52990
2019-07-25 11:00 ollehar Note Added: 53000
2019-07-25 16:18 andre_ars Note Added: 53009
2019-07-25 17:51 DenisChenu Note Added: 53010
2019-07-25 18:45 andre_ars Note Added: 53011
2019-07-25 18:56 DenisChenu Note Added: 53012
2019-07-25 23:32 andre_ars Note Added: 53013
2019-07-26 00:03 DenisChenu Note Added: 53014
2019-07-29 10:16 ollehar Assigned To ollehar =>
2019-07-29 10:18 ollehar Status assigned => new
2019-07-30 01:00 andre_ars Note Added: 53038
2019-08-02 10:52 andre_ars Note Added: 53077
2019-08-02 13:21 DenisChenu Note Added: 53080
2019-08-20 16:34 cdorin Assigned To => cdorin
2019-08-20 16:34 cdorin Status new => feedback
2019-08-20 16:34 cdorin Note Added: 53200
2019-08-21 10:33 andre_ars Note Added: 53211
2019-08-21 10:33 andre_ars Status feedback => assigned
2019-08-21 10:48 cdorin Note Added: 53212
2019-09-23 09:40 cdorin Status assigned => closed
2019-09-23 09:40 cdorin Resolution open => fixed
2019-09-23 09:40 cdorin Note Added: 53671