• We would like to invite you to check out the latest 1.0 alpha versions. You can read more about what's new here. Please note, that this is still an early release and will contain new bugs ¯\_(ツ)_/¯
  • If you need help or want to discuss things, you now can also join us on our Discord Server!

I get an error when starting: Updating database to v7... 6 / Error on database operations: there is already another table or index with this name:

Answer

This is a bug in the database upgrade process which happens when you upgrade from <= 0.9.9 to a newer version, go back to <= 0.9.9 and then try to upgrade again (or more likely: when starting the bot via ./ts3bot, even when the newer version ./sinusbot is installed).

To get around this, please carefully do the following:
  • stop the bot process completely
  • edit your config.ini and add
    Code:
    Pragma = 7
    at the top
  • start the bot and wait 2-3 minutes
  • shut down the bot again
  • remove that Pragma entry (this is really important)
  • start the bot normally
That should fix it.
Top