- Posts: 32
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Login Loop and questions not being loaded after restoring LimeSurvey (snapshot)
- doesthiswork
- Topic Author
- Offline
- Junior Member
Your LimeSurvey version: 3.27.19+210928
Own server
==================
Hi,
I tried upgrading my LimeSurvey installation to the newest version. I bricked one of my surveys so I went to the previous version I used. I did a snapshot of the server before hand.
The problem is now that when I open a survey the questions are being loaded and I only see the header with Leave Survey and delete answers and the next button on the bottom.
When trying to login into the admin page I am being redirected to the login page. Non of my users work.
I checked both HTTP and HTTPs and on both pages I cannot login.
When trying to submit a survey it says the session timeouted. "I was either inactive for too long or I deactivated the cookies"
Any idea on where I should look?
Best regards
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11681
- Thank you received: 2748
Because in between the same branch (LS3 to LS3) this shouldn't really happen. And your version is not THAAAAAAT old, only a little bit more than a year without bug and security fixes.
Did you try to delete the cache, both of your computer and Limesurvey? E.g. clean the assets (I think there is a button for that in the backend, can't look right now).
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- doesthiswork
- Topic Author
- Offline
- Junior Member
- Posts: 32
- Thank you received: 0
Yes, we have a custom survey. Where a function did not work properly anymore.How did it "brick" your survey? Did you use any custom workarounds / themes in this specific "bricked" survey?
I wanted to reverse the update process with the snapshot I created beforehand.
Is it possible to do that via cli? Because I cannot login to the admin page because I am instantly redirected to the login page again. I tried resetting the browser cache but that did not help the redirect issue.Did you try to delete the cache, both of your computer and Limesurvey?
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11681
- Thank you received: 2748
How did you do the backup? Sometimes FTP doesn't upload all files. Just a wild guess though.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- doesthiswork
- Topic Author
- Offline
- Junior Member
- Posts: 32
- Thank you received: 0
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11681
- Thank you received: 2748
Yes, we have a custom survey. Where a function did not work properly anymore.
That is what I mean. This sounds strange because usually workarounds should work within the same branch of LS. The breaks usually happen between major versions of LS (LS3 --> LS5). But within LS usually the themes don't change and thus custom functions should still work.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11681
- Thank you received: 2748
I shutdown the vm and created a snapshot. I restored the snapshot and after that, the issue started.
That sounds even stranger. But I am not an expert on VMs. So I won't be able to help.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- doesthiswork
- Topic Author
- Offline
- Junior Member
- Posts: 32
- Thank you received: 0
I guess I will have to look aroud if I can find anything!
Is there a repair tool anything for LimeSurvey?
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11681
- Thank you received: 2748
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- doesthiswork
- Topic Author
- Offline
- Junior Member
- Posts: 32
- Thank you received: 0
After that I downloaded the current LimeSurvey CE LTS package. Unzipped and placed it in the /var/www/html folder.
Changed owner to www-data. Then I followed the installation.
I got the following error in the installation check: session.save_path: /var/lib/php/sessions
Then I checked on the server and the directory was missing. I created the directory and gave the www-data user rights to it.
Now I can access the admin page again and the surveys load properly as well.
I don't know why the folder was missing all of the sudden.. A little strange
I will have to check why the survey isn't properly working.
It has 3 questions. One question is a list question which has 2 options. If you chose the first option it displays a table. The second option shows another table and hides the previous tables.
Now when I try to change between the tables it does not hide the previous table and does not show the new one. I have done the hiding of the question with a relevance equation.
Thank you so much for your help!!
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11681
- Thank you received: 2748
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Please Log in to join the conversation.
- doesthiswork
- Topic Author
- Offline
- Junior Member
- Posts: 32
- Thank you received: 0
Thank you for your quick help and inputs! Greatly appreciated.
Please Log in to join the conversation.