Forum

Results 1 to 9 of 9
  1. #1
    Join Date
    January 2017
    Location
    Brazil
    Posts
    3

    DatabaseError file is encrypted or is not a database

    Hi guys,

    I started having this error:

    Code:
    2017-04-25 04:51:34.606052|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.0.13.6 (2016-11-08 08:48:33)
    2017-04-25 04:51:34.607052|INFO    |ServerLibPriv |   |SystemInformation: Windows 7 SP1 (7601) x64 (AMD or Intel) Binary: 32bit
    2017-04-25 04:51:34.609052|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
    2017-04-25 04:51:34.609052|INFO    |DatabaseQuery |   |dbPlugin version: 3.11.1
    2017-04-25 04:51:34.609052|INFO    |DatabaseQuery |   |checking database integrity (may take a while)
    2017-04-25 04:51:34.610052|ERROR   |DatabaseQuery |   |db_exec failed file is encrypted or is not a database
    2017-04-25 04:51:34.610052|ERROR   |DatabaseQuery |   |integrity_check failedfile is encrypted or is not a database
    2017-04-25 04:51:34.610052|CRITICAL|ServerLibPriv |   |Server() DatabaseError file is encrypted or is not a database
    From what I know he is not recognizing the file ts3server.sqlitedb as a database, correct?
    Can you help me?

  2. #2
    Join Date
    June 2008
    Posts
    17,851
    Exactly. The content in your ts3server.sqlitedb can not be identified as a SQLite database.

    You may use a backup to recover your server to avoid that you have to start from scratch. ;(
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    January 2017
    Location
    Brazil
    Posts
    3
    I edited the file with the text block and caused this, I try to open it with DB Browser and it says it is encrypted.
    Is there any way to break?

  4. #4
    Join Date
    June 2008
    Posts
    17,851
    Quote Originally Posted by n3str1x View Post
    I edited the file with the text block
    This is something you never should do :/

    Please use a backup of that database or start from scratch if you have no backup.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  5. #5
    Join Date
    September 2018
    Posts
    8

    Can't start ts3 server anymore.... critical database error

    Hi there,

    i'm getting this error

    Starting the TeamSpeak 3 server
    2018-09-04 10:53:47.247048|CRITICAL|ServerLibPriv | | Server() DatabaseError file is encrypted or is not a database
    TeamSpeak 3 server could not start



    and can't start my teamspeak server anymore.
    It was working so far for really long. Then i updated it to the newest version and it still kept on working.
    After a while though it apparently stopped and i can't start it anymore since then.

    Can you help me please?
    Last edited by dante696; September 4th, 2018 at 01:19 PM. Reason: merge

  6. #6
    Join Date
    June 2008
    Posts
    17,851
    Only a backup where nothing else then the server touched the database will solve this.
    or you have to start from scratch when there is no backup of the mentioned ts3server.sqlitedb
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  7. #7
    Join Date
    September 2018
    Posts
    8
    Is there no way i can fix the database somehow? I never edited the sql file manually...
    Last edited by kazoooka; September 4th, 2018 at 02:36 PM.

  8. #8
    Join Date
    September 2018
    Posts
    8
    I actually can open the database with the DB Browser for SQLite... So i'm really curious why ts3 can't read the file anymore?
    Last edited by kazoooka; September 4th, 2018 at 02:36 PM.

  9. #9
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,334
    You can check SQLite file integrity:
    Code:
    sqlite3 ts3server.sqlitedb "PRAGMA integrity_check"
    You may also want to export it and import it into a new file. The easiest way to do that (if possible) is by piping:
    Code:
    sqlite3 ts3server.sqlitedb ".dump" | sqlite3 new.db
    Do not ask any questions, this is entirely unsupported. Do not sue me if your server explodes or kills your family. You better restore backups.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. DatabaseError file is encrypted or is not a database
    By constrych9 in forum Server Support
    Replies: 6
    Last Post: March 2nd, 2017, 12:22 AM
  2. Reviving TS3 Database File
    By cyanghost109 in forum Server Support
    Replies: 5
    Last Post: November 9th, 2013, 08:35 PM
  3. DatabaseError database disk image is malformed
    By technical in forum Linux / FreeBSD
    Replies: 2
    Last Post: July 22nd, 2013, 07:54 PM
  4. TS3 Server -> DatabaseError out of memory
    By dutchy91 in forum Linux / FreeBSD
    Replies: 10
    Last Post: July 19th, 2011, 02:50 PM
  5. Server() DatabaseError disk I/O error (FreeBSD)
    By SlipKo in forum Linux / FreeBSD
    Replies: 4
    Last Post: December 22nd, 2010, 04:54 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •