Data corruption in 'playerdata.yml' file #472


  • Defect
  • Waiting
Open
Assigned to _ForgeUser8455416
  • _ForgeUser10303258 created this issue May 27, 2014

    12:49:46 OnTime: Enabling OnTime v3.13.3
    12:49:46 ONTIME: 'Points' requires dataStorage=MYSQL. pointsEnable set to 'false'
    12:49:46 ONTIME: {loadPlayerDataYML} FILE Error: expected '<document start>', but found BlockMappingStart
    12:49:46 CONSOLE: "<string>", line 61, column 1:
    12:49:46 CONSOLE: TodayDate: 1400731200000
    12:49:46 CONSOLE: ^
    12:49:46 ONTIME: Data corruption in 'playerdata.yml' file.
    12:49:46 ONTIME: Player data load error.
    12:49:46 OnTime: version: 3.13.3 DISABLED.

    It happened when I updated tp 3.13.3

    and all data looks like this player68: 'null,[Username],29076796,1400229202013,0,0,5097294,6,0,0,0'

    I've fixed it with a backup from the 17th But all time have been reset. can I inport them via txt?

  • _ForgeUser10303258 added the tags New Defect May 27, 2014
  • _ForgeUser8455416 posted a comment May 28, 2014

    I'm not sure how your playerdata.yml got corrupted, but the example player data line looks valid. There should also be additional information at the bottom with server data (e.g. TodayDate:) and it looks like the corruption was in that area. If you happen to have a copy of that corrupted file I would love to see it so I can figure out exactly what was wrong, and then maybe figure out how that happened in the first place.

    Sorry that you lost your player data. How did you 'fix' it from the backup fie? If you just copy data by hand into playerdata.yml, that will likely cause an issue, because there is a difference in the format between the releases as of late. Just pull the full file from the backup directory, rename it to "playerdata.yml" are reload the plugin. (or run the command "/ontime reload players replace")

    Alternatively if you have OnTime Reports enabled, you can also import data from those reports in order to recover. See here: http://dev.bukkit.org/bukkit-plugins/ontime/pages/other-functions/#w-data-import

  • _ForgeUser8455416 removed a tag New May 28, 2014
  • _ForgeUser8455416 added a tag Waiting May 28, 2014

To post a comment, please login or register a new account.