Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: How to skip the database upgrade script?

How to skip the database upgrade script? 2 years 6 months ago #102986

  • AdamR
  • AdamR's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
I upgraded the limesurevey from 2.00+ to 2.05+ (git checkout 81b8f55bea7888d37c2490b60fa7a44727d4f78b), using git pull.

After upgrade I've made a backup of all databases.

Eventually the database got messed up somehow, and I experienced a lot of strange behaviour (too much to write about it).

Then I decided to reinstall the database and import the backup database:

git reset --hard

git pull

git checkout 81b8f55bea7888d37c2490b60fa7a44727d4f78b

Now, everytime when I turn my browser to the admin page, the "Database upgrade" script kicks in. It fails, because the database is already at the 2.05+ version.

How to get rid of this script kicking-in?
The administrator has disabled public write access.

How to skip the database upgrade script? 2 years 6 months ago #103005

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
Hi,

Think you can update the number in your DB:
lime_settings_global.stg_name / DBVersion to 173.

But : if this need update : it can broke some functionnality.

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

How to skip the database upgrade script? 2 years 6 months ago #103038

  • AdamR
  • AdamR's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
That did the trick. Thank you very much!!!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.452 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form