• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

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