<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 07:33:29 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-5554] DBStorage chain is invalid. Unable to start previously working server</title>
                <link>https://bugs.mojang.com/browse/BDS-5554</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;Hi there, I&apos;m having an issue with my server that I was hosting on a personal Linux VM, it was previously working without any issues and randomly stopped working.&#160;&lt;/p&gt;

&lt;p&gt;Whenever trying to start my own private server with my world, I get the error:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-05-20 19:43:26 ERROR&amp;#93;&lt;/span&gt; DBStorage chain is invalid. Possibly encryption-related, or bad DBStorageConfig passed. Reason: Unable to decipher/decrypt LevelDB. &lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;2020-05-20 19:43:26 ERROR&amp;#93;&lt;/span&gt; Network port occupied, can&apos;t start server.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Creating a new world doesn&apos;t cause any issues however when I attempt to change the server name in the server.properties to my original world, this error appears. There is no other application on the same port, and changing the host port has no effect.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;EDIT: Seems the issue comes down to being a corruption problem, make sure you have backups....&lt;/p&gt;</description>
                <environment>Ubuntu 20.04 x64</environment>
        <key id="326846">BDS-5554</key>
            <summary>DBStorage chain is invalid. Unable to start previously working server</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="7">Invalid</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="Trivi">Trivi</reporter>
                        <labels>
                    </labels>
                <created>Sun, 24 May 2020 01:48:06 +0200</created>
                <updated>Sun, 9 Aug 2020 13:59:29 +0200</updated>
                            <resolved>Sun, 9 Aug 2020 13:59:29 +0200</resolved>
                                    <version>1.14.60</version>
                                                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="783356" author="ionicecko" created="Sun, 9 Aug 2020 13:59:17 +0200"  >&lt;p&gt;I&apos;m going to close this report off as it extends beyond the bounds of a bug report and there isn&apos;t really anything here we could raise that isn&apos;t covered by existing reports.&lt;/p&gt;

&lt;p&gt;For the issue of corruptions on unclean shutdowns, Mojang is aware of the issue and it is covered by a number of reports over in the MCPE project. The issue is one that traverses all 3 projects (MCPE, Realms and BDS) and in general those are usually tracked over in the Bedrock project for the visibility.&lt;/p&gt;

&lt;p&gt;The only real workaround at the moment is to ensure the server is stopped properly and regularly backed up.&lt;/p&gt;

&lt;p&gt;As far as Drews queries regarding the save process of BDS, the bug tracker is run by volunteers so unfortunately we have no more information than you do in this regard.&lt;/p&gt;</comment>
                            <comment id="731262" author="JIRAUSER504792" created="Mon, 15 Jun 2020 18:39:06 +0200"  >&lt;p&gt;One cause of this problem I discovered was when trying to recover worlds, I had permissions set wrong on the recovered world folder. Use chown to make sure the permissions are set for the user that Minecraft loads under. An easy way to test if this is the problem is to use sudo when running the ./start.sh command. The game should start, but to check its progress you&apos;ll have to use sudo again when running &apos;screen -r minecraft&apos; and it does cause problems with connecting over lan. However, this at least will inform you as to whether or not it&apos;s a permissions issue.&lt;/p&gt;</comment>
                            <comment id="709803" author="JIRAUSER492279" created="Thu, 28 May 2020 00:04:02 +0200"  >&lt;p&gt;I managed to recover my world, after a fair bit of trial and error.&#160;&lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/biggrin.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;I made note of the last LDB file which had data in it (111116.ldb) and renamed the 0-byte MANIFEST-111120 to MANIFEST-111116. I then edited the 0-byte CURRENT file to contain &quot;MANIFEST-111116&quot;. Upon starting my Bedrock server, it provided a warning that the database was corrupt, but it subsequently repaired it:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[2020-05-27 21:09:42 INFO] Starting Server
[2020-05-27 21:09:42 INFO] Version 1.14.60.5
[2020-05-27 21:09:42 INFO] Session ID 4e3ddebe-963a-411e-a90d-08542c93ce9a
[2020-05-27 21:09:42 INFO] Level Name: Bedrock level
[2020-05-27 21:09:42 INFO] Game mode: 0 Survival
[2020-05-27 21:09:42 INFO] Difficulty: 1 EASY
[2020-05-27 21:09:42 INFO] opening worlds/Bedrock level/db
[2020-05-27 21:09:42 WARN] LevelDB worlds/Bedrock level/db status NOT OK(Corruption: no meta-nextfile entry in descriptor). Trying repair.
[2020-05-27 21:09:51 INFO] IPv4 supported, port: 19132
[2020-05-27 21:09:51 INFO] IPv6 not supported
[2020-05-27 21:09:51 INFO] IPv4 supported, port: 55936
[2020-05-27 21:09:51 INFO] IPv6 not supported
[2020-05-27 21:09:52 INFO] Server started.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://bugs.mojang.com/secure/attachment/299659/299659_Screenshot+from+2020-05-27+14-32-47.png&quot; height=&quot;420&quot; width=&quot;747&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Naturally, I&apos;ll work to prevent this from happening in the future by making daily backups, but I&apos;m still unsure as to what the underlying cause of the DB corruption was. I&apos;ve seen an increased number of reports related to v1.14.60 worlds becoming corrupted due to non-graceful shutdowns of the game/BDS instance (eg.&#160;&lt;a href=&quot;https://bugs.mojang.com/browse/MCPE-62153&quot; title=&quot;World corrupted / deleted after a power cut or game crash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MCPE-62153&quot;&gt;MCPE-62153&lt;/a&gt;, &lt;a href=&quot;https://bugs.mojang.com/browse/BDS-4597&quot; title=&quot;I rebooted the server and I had such a problem&quot; class=&quot;issue-link&quot; data-issue-key=&quot;BDS-4597&quot;&gt;&lt;del&gt;BDS-4597&lt;/del&gt;&lt;/a&gt;), so I&apos;d be interested to know if there were any functional changes made to LevelDB as part of the release.&lt;/p&gt;</comment>
                            <comment id="709692" author="JIRAUSER492279" created="Wed, 27 May 2020 21:40:00 +0200"  >&lt;p&gt;I came across this&#160;&lt;a href=&quot;https://minecraft.gamepedia.com/Tutorials/Recover_corrupted_saved_world_data#For_Bedrock_Edition&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;link&lt;/a&gt; on Gamepedia related to recovering corrupted worlds. When attempting to load my level.dat, a world does load, but I have no inventory and I start in a location that I&apos;m unfamiliar with. This is not entirely unexpected, as the instructions specifically state:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;The things you were wearing and carrying at the time the world got corrupted are not (recoverable).&lt;/p&gt;

&lt;p&gt;You will start in a random location and have to find your way back to your settlement.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;While I don&apos;t know much about the LevelDB format, I&apos;m skeptical that any features (settlements) that we built in our world before it became corrupted, could possibly be captured within the 2.1KB level.dat alone. My expectation is that the level.dat contains the seed for the world, but that the LDB files contain the vast majority of changes to the base world.&lt;/p&gt;

&lt;p&gt;I also found issue &lt;a href=&quot;https://bugs.mojang.com/browse/BDS-4597&quot; title=&quot;I rebooted the server and I had such a problem&quot; class=&quot;issue-link&quot; data-issue-key=&quot;BDS-4597&quot;&gt;&lt;del&gt;BDS-4597&lt;/del&gt;&lt;/a&gt;&#160;which closely resembles the issue that Trivi and I have experienced, and the OP was able to resolve their issue by opening the map in Minecraft directly, before migrating it back to their BDS. I&apos;m not sure of the process that they followed to accomplish this though, as I don&apos;t see a way to directly open either the level.dat or individual LDB files within Minecraft.&lt;/p&gt;</comment>
                            <comment id="708278" author="JIRAUSER492279" created="Tue, 26 May 2020 18:50:52 +0200"  >&lt;p&gt;Thanks for the suggestion Pablo, however, just like in Trivi&apos;s case, the &quot;Network port occupied, can&apos;t start server&quot; appears to be a false flag. I&apos;ve verified that there is only one instance of the Bedrock server running, and in my case, Docker provides full network isolation. On a properly working BDS instance (port 19132 bound via UDP) this is what should be displayed, but in my case is not:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://bugs.mojang.com/secure/attachment/298903/298903_image-2020-05-26-09-43-02-784.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="707947" author="JIRAUSER491312" created="Tue, 26 May 2020 14:26:06 +0200"  >&lt;p&gt;@pablo Me and my friend tried to diagnose that part of the error &quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-05-20 19:43:26 ERROR&amp;#93;&lt;/span&gt;&#160;Network port occupied, can&apos;t start server.&quot; as being how you said even before I made this post but we had made sure nothing else was running on the VM at all and even went as far as creating a new Cloud Server with a new IP and everything and it running completely fine on a freshly made server world but as soon as I transfer the world file in than both errors would be outputted every time and like the mod above said I think it comes down to a corruption problem.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="707837" author="gpablo1" created="Tue, 26 May 2020 13:12:53 +0200"  >&lt;p&gt;Look at this message:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-05-20 19:43:26 ERROR&amp;#93;&lt;/span&gt;&#160;Network port occupied, can&apos;t start server.&lt;/p&gt;

&lt;p&gt;It&apos;s saying that the game network port is occupied for other process.&#160;I think you have the server open twice. One of the processes is in the background and hidden, using the database. When you try to open the server a second time, the application cannot open and decrypt the database because it is being used by the first one. Try to restart the VM (rebooting linux), so that any possible hidden session of the server is closed. You can also check in the running processes that the bedrock_server application is not running twice.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="707321" author="JIRAUSER492279" created="Tue, 26 May 2020 00:41:51 +0200"  >&lt;p&gt;Having the same issue after upgrading from 1.14.30.2 to 1.14.60.5.&lt;/p&gt;

&lt;p&gt;I use a Docker container (&lt;a href=&quot;https://github.com/itzg/docker-minecraft-bedrock-server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/itzg/docker-minecraft-bedrock-server&lt;/a&gt;) in Linux and noticed that I was unable to start my container after perfoming some maintenance on the underlying server:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://bugs.mojang.com/secure/attachment/298468/298468_image-2020-05-25-15-39-18-547.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;I have 90 files in my &quot;data/worlds/Bedrock level/db&quot; folder, however it appears that the latest three files are all zero bytes, including the MANIFEST, which appears to be referencing an LDB which doesn&apos;t exist (111120).&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://bugs.mojang.com/secure/attachment/298464/298464_image-2020-05-25-15-25-37-922.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;My &quot;data/worlds/Bedrock level&quot; folder appears to contain a populated level.dat:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://bugs.mojang.com/secure/attachment/298463/298463_image-2020-05-25-15-24-42-742.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="706178" author="JIRAUSER491312" created="Sun, 24 May 2020 18:35:25 +0200"  >&lt;p&gt;Yikes, nope I only had it up for about 2 weeks with my girlfriend, I probably should have backed it up right before the updates but I had done a manual hard restart of the VM server and than rebooted through putty to reconnect to where I accepted the updates and then when I commanded the server to start it got the error.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;There&apos;s no way of recovering the world eh? We only had built a lot mostly in a few chunks near spawn like 400 or so blocks from spawn.&lt;/p&gt;</comment>
                            <comment id="706088" author="ionicecko" created="Sun, 24 May 2020 16:30:21 +0200"  >&lt;p&gt;It looks like your world files are corrupted. Please tell me you have backups?&lt;/p&gt;

&lt;p&gt;You have a bunch of null size files that should have data in them (for example the level.dat which holds the settings etc for your world).&lt;/p&gt;

&lt;p&gt;Did you stop the server gracefully before you did updates and restarted?&lt;/p&gt;</comment>
                            <comment id="706073" author="JIRAUSER491312" created="Sun, 24 May 2020 16:08:38 +0200"  >&lt;p&gt;Here is the zip file of the server on Google Drive, &lt;a href=&quot;https://drive.google.com/open?id=1pIeB6U_na_v3nwo0ad18VrGJpE-YugU1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://drive.google.com/open?id=1pIeB6U_na_v3nwo0ad18VrGJpE-YugU1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Thanks in advance&lt;/p&gt;</comment>
                            <comment id="705865" author="ionicecko" created="Sun, 24 May 2020 06:09:47 +0200"  >&lt;p&gt;Are you able to upload a zip of your server files. This will likely be too big for the tracker so you may have to use a service such as OneDrive or Google Drive and share a link.&lt;/p&gt;</comment>
                            <comment id="705853" author="JIRAUSER491312" created="Sun, 24 May 2020 06:00:36 +0200"  >&lt;p&gt;No not at all, I had kept everything vanilla and didn&apos;t change anything between the time it worked and didn&apos;t work besides installing linux updates that I did after a server restart on my VM.&lt;/p&gt;</comment>
                            <comment id="705806" author="ionicecko" created="Sun, 24 May 2020 05:42:52 +0200"  >&lt;p&gt;Have you tried to apply a marketplace pack to the world? That error usually occurs when attempting to use encrypted marketplace packs on a BDS server.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="299659" name="Screenshot from 2020-05-27 14-32-47.png" size="347998" author="drewdavies" created="Wed, 27 May 2020 23:34:45 +0200"/>
                            <attachment id="298463" name="image-2020-05-25-15-24-42-742.png" size="17744" author="drewdavies" created="Tue, 26 May 2020 00:24:43 +0200"/>
                            <attachment id="298464" name="image-2020-05-25-15-25-37-922.png" size="37199" author="drewdavies" created="Tue, 26 May 2020 00:25:39 +0200"/>
                            <attachment id="298468" name="image-2020-05-25-15-39-18-547.png" size="66776" author="drewdavies" created="Tue, 26 May 2020 00:39:19 +0200"/>
                            <attachment id="298903" name="image-2020-05-26-09-43-02-784.png" size="10741" author="drewdavies" created="Tue, 26 May 2020 18:43:04 +0200"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i1e5ov:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>