Welcome, Guest
Username: Password: Remember me

TOPIC: How to skip the database upgrade script?

How to skip the database upgrade script? 8 months 1 day 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? 8 months 12 hours ago #103005

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6277
  • Thank you received: 802
  • Karma: 241
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
The administrator has disabled public write access.

How to skip the database upgrade script? 7 months 4 weeks 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.100 seconds
Donation Image