Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Comfort update from 3.20 to 3.28 ot 5.6.47 problem

  • itksso
  • itksso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 3 weeks ago #252734 by itksso
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.20.0+19112
Own server or LimeSurvey hosting: own server
Survey theme/template: XXX
==================

Good morning,

I have recieved the task of updating our on-premises LimeSurvey server version 3.20.0+19112 to a new version.
It is a server that has not been updated for a while.
We have access to the Comfort update. In fact when I want to update the server I have the option to update to two different versions:
3.26.76 (231018)   unstable
5.6.47 (231128)     unstable

If I run the Comfort update process (in a VM copy of the running LimeSurvey server) everything seems to go without errors but after
the update the "admin" website is not available but the Apache2 welcome screnn is.

That means that:

https://<IP-Address>/  is working and showing the Apache2 welcome screen but

https://<IP-Address>/ admin    or https://<servername.domain>/ admin  is not.

My questions are:

1. is there a fix for that? perhaps I have to start manually some service?
2. Is there a way to update to a "stable" version?

Best regards,

Jaume Samperiz
IT Administrator
K-12 public school
Switzerland



 

Please Log in to join the conversation.

More
11 months 3 weeks ago #252735 by jelo

https://<IP-Address>/  is working and showing the Apache2 welcome screen but
https://<IP-Address>/ admin    or https://<servername.domain>/ admin  is not.
 
If you expect LimeSurvey via /admin I would expect LimeSurvey instead of the Apache2 welcome screen when accessing the IP-Address alone.
What is the behaviour of the VM copy before doing an update? What when you only update to the newest LS3 build?
Where is Limesurvey installed inside the webroot? Check if there is Apache URL rewriting in place.

First modify the VM copy to run on a different IP and a resolving domain to have a complete copy running side by side with your production environment.
If that is running fine update to the newest LS3. If that is running without glitches check PHP and database requirements of LS5 and compare that with your VM copy.

I wouldn't focus on the label unstable or stable when it comes to LimeSurvey. That can be misleading. First update to the latest LS3 and than check again what ComfortUpdate is offering.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • itksso
  • itksso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 3 weeks ago #252836 by itksso
Hi Jelo,

Thank you for your answer. Just to clarify the situation.

a. I'm running side by side our production LimeSurvey (version 3.20.0+191112) server in a VM with IP address XXX.XXX.XXX.XXX
   with another VM with an exact copy of the LimeSurvey production server with only the IP changed to YYY.YYY.YYY.YYY

  The LimeSurvey production server works perfectly and the LimeSurvey test server works perfectly before making any update.

  I have also a second copy  of the VM in production. In this way, every time that an update made on the VM running  the test server fails, I can
   delete the changed VM and start the tests with a new copy of the production server.

b. The two tests I have tried with the VM, that is a copy of our production LimeSurves server, are:

    - Comfort update from 3.20.0+191112  to 3.28.76 (231018)
    - Comfort update from 3.20.0+191112 to 5.6.47 (231128)
   
     These are the two options I have. You can see these options in the screen-capture attached.

  c. After trying  both updates what happens is that the URL
    
      survey.ourdomain/admin/  

      doens't work anymore. I get an error "Connection refused" (see attachment).

      Before the Comfort update (any of them) thwe website was running perfectly.


Next thing I will check is the PHP requeriments.

Thank you
     
     

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 3 weeks ago #252844 by holch
You should have a look at your internal network then, because I can access survey.ksso.ch/index.php/admin/authentication/sa/login without an issue and it shows me the login mask of your installation.

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.

  • itksso
  • itksso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 2 weeks ago #252852 by itksso
Hi there,

Thank you for your post.

If you access  survey.ksso.ch/index.php/admin/authentication/sa/login   from outside the school you are accesing the production LimeSurvey server.
This server is working perfectly. This server is running version 3.20.0+191112.

If I use the same URL,  survey.ksso.ch/index.php/admin/authentication/sa/login , from my computer it points to the test LimeSurvey server.
This is because in my computer there is a HOST file with the entry   "survey.ksso.ch  YYY.YYY.YYY.YYY" (the IP address of the test LimeSurvey server).
The test Limesurvey server and my computer are in the same subnetwork. So, there is no firewall between them. All the ports between the two computers
are open. And, in fact, before the Comfort update the URL works perfectly. So, it must be the Comfort update, that is changing something.

Best regards

Jaume

 

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
11 months 2 weeks ago #252858 by DenisChenu
Moved to Comfort Update section.

If you have a Comfort Update issue : best is to contact LimeSurvey GMBH team

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
11 months 2 weeks ago #252861 by DenisChenu
Looking at your issue : 1st test to do : check if you can get survey.ksso.ch/README.md
or
survey.ksso.ch/upload/readme.txt

If there are issue in both URL : it's not a LimeSurvey issue.
(maybe sertver have protection like fail2ban and you broke it).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • itksso
  • itksso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 2 weeks ago #252862 by itksso
Hi there,

Both URLs work. See attachment

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
11 months 2 weeks ago #252863 by DenisChenu
Ok,
Then activate debug mode : www.limesurvey.org/manual/Debug_mode

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
11 months 2 weeks ago #252870 by jelo

If I run the Comfort update process (in a VM copy of the running LimeSurvey server) everything seems to go without errors but after
the update the "admin" website is not available but the Apache2 welcome screnn is.
That means that:
https://<IP-Address>/  is working and showing the Apache2 welcome screen but
https://<IP-Address>/ admin    or https://<servername.domain>/ admin  is not.
 
The LimeSurvey webroot is the webroot of the Apache webserver.
After you copy the VM I recommend to change the subdomain two survey2 and check if the VM is really running fine. That you change the hostfile on your client to resolve to a different IP won't let any other webdevice (proxies, webserver etc.) resolve survey to that IP. We don't know the complete infrastructure.
Keep it simple. Copy the VM and change the subdomain to survey2 or demo or whatever. Ensure that the Nameserver used in the network know this subdomain too.
Then check if the VM copy is working.
Then do the ComfortUpdate and check again
.
The main question is "Why is the Apache2 default page shown after the ComfortUpdate?".
Is that error description still valid?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • itksso
  • itksso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 2 weeks ago #252973 by itksso
Hi there,

I have started from a fresh copy from the production LimeSurvey server and made the following changes:

1. changed the IP address in a file  in /etc/netplan/
2. changed to a new server name in a local domain :  survey2.ksso.loc
3. made an static entry in the DNS server. So, I don't have to use the local host file anymore
3. I change the names of some files and directories on the Apache2 server:
     
     a. /etc/apache2/sites-available/survey2.ksso.loc
    b. edit the file  .../survey2.ksso.loc.conf    
    c. /var/www/survey2.ksso.loc/
    d. remove the old website with a2dissite and create the new one with a2ensite
    e. create the symlink with systemctl, restart apache2 and reboot

As expected:

1. the URL http;//survey2.ksso.loc/admin  works . I can logon perfectly
2.  http;//survey2.ksso.loc/  shown as expected the welcome page from Apache2 instead of the correct website.
      
     Is anywhere a config file for URL   http;//survey2.ksso.loc/ where it is still linked with the old hostname survey.ksso.ch ?
     
3. When I acces the Comfort Upfate webpage I get an error "Error. No naswer from the Server. Contact in some minutes ..."

    From other forums  I see that perhaps I have to try several times in the next 48 hours until the ComfortUpdate server answers.
    So, patience.

Best regards,

Jaume 

 

Please Log in to join the conversation.

  • itksso
  • itksso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 2 weeks ago #252974 by itksso

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose