View Issue Details

This bug affects 2 person(s).
 20
IDProjectCategoryView StatusLast Update
17051Bug reportsSurvey editingpublic2021-05-27 00:04
Reporterfefrei Assigned Toc_schmitz  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version4.4.1 
Summary17051: Cannot access question groups listing due to 404
Description

Since installing the last LimeSurvey update, I'm unable to access the “Group list” problem of any survey. Opening any survey in the admin UI and clicking on “Group list” results in a permanently greyed-out UI, as a HTTP request to https://<domain>/index.php/admin/survey/sa/listquestiongroups/surveyid/<id>?<id> fails with a 404. Opening the link in a new tab renders a LimeSurvey-styled error message saying “404: Not Found — The system is unable to find the requested action "survey"”.

Here's an example of a log entry by Apache for such a failing request:

172.19.0.1 - - [02/Feb/2021:15:20:53 +0000] "GET /index.php/admin/survey/sa/listquestiongroups/surveyid/523781?1612279253954 HTTP/1.0" 404 377 "https://<domain>/index.php/surveyAdministration/rendersidemenulink?subaction=surveytexts&surveyid=523781" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36 Edg/88.0.705.56"

All other entries in the survey menu work, and question groups can be edited from other places, e.g. from the “Structure” tab.

Steps To Reproduce

Install LimeSurvey.
Create a survey.
In “Survey Menu”, click “Group list”.

Additional Information

I'm running LimeSurvey in a Docker container created from this Dockerfile:

FROM php:7-apache
RUN apt-get update
RUN apt-get install -y wget unzip zlib1g-dev libpng-dev libzip-dev

RUN docker-php-ext-install pdo_mysql gd zip
RUN a2enmod rewrite
COPY php.ini /usr/local/etc/php/

WORKDIR /limesurvey
RUN wget --progress=dot:mega -O limesurvey.zip "https://download.limesurvey.org/latest-stable-release/limesurvey4.4.1+210201.zip"
RUN unzip -q limesurvey.zip

RUN rm -rf /var/www/html
RUN ln -s /limesurvey/limesurvey /var/www/html

RUN chown -R www-data:www-data limesurvey
TagsNo tags attached.
Bug heat20
Complete LimeSurvey version number (& build)Version 4.4.1+210201
I will donate to the project if issue is resolvedYes
Browser
Database type & versionmysql Ver 8.0.23 for Linux on x86_64 (MySQL Community Server - GPL)
Server OS (if known)Docker image php:7-apache
Webserver software & version (if known)Apache/2.4.38 (Debian)
PHP VersionPHP 7.4.14

Users monitoring this issue

fefrei

Activities

vharris

vharris

2021-02-08 09:49

reporter   ~61989

@cdorin I am unable to reproduce

cdorin

cdorin

2021-02-08 09:58

reporter   ~61990

Last edited: 2021-02-08 09:58

Hey @fefrei, I cannot reproduce it either. Please check once more the docker image file and see if the issue persists (wait for 4.4.2 which will be relased tmrw).
LE: not using docker file.

fefrei

fefrei

2021-02-08 12:34

reporter   ~61992

Hm, it turns out I'm unable to reproduce this in a fresh installation. I'll investigate what the cause is and report back.

cdorin

cdorin

2021-02-08 12:47

reporter   ~61993

Do you remember from which version you updated? It seems there are some issues in that regard checking multiple bug reports.

fefrei

fefrei

2021-02-08 12:49

reporter   ~61995

Unfortunately, it was a larger range (our installation was unused for some time), and I cannot even tell you when I used the group list page last. I know I did use it at some point in time, but I cannot nail down the version range.
I'll keep you posted when I know more.

fefrei

fefrei

2021-02-08 13:13

reporter   ~62001

Hm, this is tricky. What I know so far:

• This problem occurred on our server, where LimeSurvey runs behind a reverse proxy.
• If I take this installation, including config files and database, and run it locally, I also experience the same issue, so the proxy should be innocent. (I manually edited the force_ssl setting for this test.)
• If I drop config.php and use the setup wizard to reconnect to the database, the issue persists.
• If I drop the database and use the setup wizard to re-initialize the database, the issue is gone.

So something in the database triggers this, and I don't know how I can debug this further. I find it suspicious that anything in the database can trigger a 404 – my best guess would be something theming-related (but I never touched theming more than by flipping options in the UI).
Obviously, I cannot easily share my whole database with you. Is there something I can do to help you debug this?

One potential hint: Because I operate LimeSurvey in a Docker container, only some paths are persisted (because they're mounted to the host).
These are:
• /limesurvey/limesurvey/upload
• /limesurvey/limesurvey/application/config/config.php

Maybe something referenced a file outside of these folders, and that file got lost when switching to a new container. Does that sound plausible?

yoursql719

yoursql719

2021-03-06 07:21

reporter   ~62807

I´m having the same problem: nginx, php7.4. I´ve upgraded from a prior version 4. My installation worked for a long time with nginx but group list is broken now.

c_schmitz

c_schmitz

2021-03-07 21:33

administrator   ~62829

This is easy to fix. Please go to global menu/Configuration/Menu items configuration and press the 'REset menu items' button.
After done the issue should be gone.

fefrei

fefrei

2021-03-08 09:18

reporter   ~62867

This worked. Thank you!

It updated the link from admin/survey/sa/listquestiongroups to questionGroupsAdministration/listquestiongroups. (Note that I never customized that, so it looks like something didn't migrate properly here?)

c_schmitz

c_schmitz

2021-03-08 09:30

administrator   ~62869

Did you use any of the 4.4RC versions in the past?

fefrei

fefrei

2021-03-08 09:54

reporter   ~62870

I installed unstable 4.4 versions, but no development releases.

jrromanow

jrromanow

2021-05-27 00:04

reporter   ~64582

I installed version 4.6.3 last week and had the same problem with the 404 on the group list button request. The solution above fixed the problem, but only after a number of wasted hours.

Issue History

Date Modified Username Field Change
2021-02-02 16:27 fefrei New Issue
2021-02-02 16:28 fefrei Issue Monitored: fefrei
2021-02-08 09:49 vharris Note Added: 61989
2021-02-08 09:58 cdorin Note Added: 61990
2021-02-08 09:58 cdorin Status new => feedback
2021-02-08 09:58 cdorin Note Edited: 61990
2021-02-08 12:34 fefrei Note Added: 61992
2021-02-08 12:34 fefrei Status feedback => new
2021-02-08 12:47 cdorin Note Added: 61993
2021-02-08 12:49 fefrei Note Added: 61995
2021-02-08 13:13 fefrei Note Added: 62001
2021-03-06 07:21 yoursql719 Note Added: 62807
2021-03-07 21:33 c_schmitz Assigned To => c_schmitz
2021-03-07 21:33 c_schmitz Status new => closed
2021-03-07 21:33 c_schmitz Resolution open => fixed
2021-03-07 21:33 c_schmitz Note Added: 62829
2021-03-08 09:18 fefrei Note Added: 62867
2021-03-08 09:30 c_schmitz Note Added: 62869
2021-03-08 09:54 fefrei Note Added: 62870
2021-05-27 00:04 jrromanow Note Added: 64582
2021-08-03 14:57 guest Bug heat 12 => 14
2022-05-04 22:27 albertaboneandjoint.com Bug heat 14 => 20