How to skip the database upgrade script?

More
3 years 5 months ago #102986 by AdamR
AdamR created the topic: How to skip the database upgrade script?
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?

Please Log in to join the conversation.

More
3 years 5 months ago #103005 by DenisChenu
DenisChenu replied the topic: How to skip the database upgrade script?
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 development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 5 months ago #103038 by AdamR
AdamR replied the topic: How to skip the database upgrade script?
That did the trick. Thank you very much!!!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now