Welcome to the LimeSurvey Community Forum

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

Upgrading from 3 to 6 or database migration?

  • cimbro
  • cimbro's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 months 2 weeks ago - 9 months 2 weeks ago #255328 by cimbro
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.27.22
Own server or LimeSurvey hosting: own server
Survey theme/template:
==================
Good morning everyone, 

we have a production server with LimeSurvey 3 (full of real users, completed surveys, etc.) and we would like to upgrade it to version 6.

We need advice on what is the best way to do this:
What is the best, fastest and least problematic way?

Thank you very much
Last edit: 9 months 2 weeks ago by cimbro.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 months 2 weeks ago #255334 by holch
There are upsides and downsides to both approaches.

I personally am a fan of running different versions of Limesurvey in parallel for a while and gradually move everything to the newer installation, but I also don't have a lot of users on my installations, which makes things easier.

If you have custom survey themes or a lot of workarounds in your surveys or a lot of surveys running continuously, gradually moving to a different installation that runs in parallel might be the way to go. However, this might mean that at the time when you copy the database to install the new version with it as a base you will have changes in the old one and then there will be changes in the new one and the databases will move away from each other.

But the advantages are that you can test thoroughly if everything works, there shouldn't be any major problems in production, as old surveys run on the old installation until they are done, new surveys will be built on the new version.

Disadvantages: With continuous surveys, you will have a cut at one point, because the survey URL will have to change.

But in case B) I wouldn't install version 6 first and then migrate the database, but rather create a copy of the old database and install version 6 using this copy.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu, ketzunouka

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
9 months 2 weeks ago #255398 by DenisChenu
Replied by DenisChenu on topic Upgrading from 3 to 6 or database migration?

But in case B) I wouldn't install version 6 first and then migrate the database, but rather create a copy of the old database and install version 6 using this copy.
 
general advice : backup , backup and backup again ! And test your backup !

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.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 months 2 weeks ago #255411 by holch

general advice : backup , backup and backup again ! And test your backup !


Of course! This is the most essential point. Actually shouldn't be necessary to mention. But we have seen it all. :-)

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
9 months 2 weeks ago #255415 by DenisChenu
Replied by DenisChenu on topic Upgrading from 3 to 6 or database migration?

general advice : backup , backup and backup again ! And test your backup !


Of course! This is the most essential point. Actually shouldn't be necessary to mention. But we have seen it all. :-)
 
I can testify that you absolutely must test your backups regularly. I lost my personal Gnu Social after 12 years of good service.

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
9 months 1 week ago #256055 by sambhit08
Replied by sambhit08 on topic Upgrading from 3 to 6 or database migration?
If you have custom survey themes or a lot of workarounds in your surveys or a lot of surveys running continuously, gradually moving to a different installation that runs in parallel might be the way to go. However, this might mean that at the time when you copy the database to install the new version with it as a base you will have changes in the old one and then there will be changes in the new one and the databases will move away from each other.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose