<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 07:15:36 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-847] SIGTERM doesn&apos;t make Ubuntu Bedrock Server save and quit gracefully.</title>
                <link>https://bugs.mojang.com/browse/BDS-847</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;When the minecraft dedicated server gets a SIGTERM signal, it doesn&apos;t save and quit gracefully. It just immediately kills the process without saving.&lt;/p&gt;

&lt;p&gt;I&apos;m currently running BDS as a systemd service, so I&apos;d like to not lose data if I have to call &quot;systemctl stop minecraft&quot;.&lt;/p&gt;</description>
                <environment>Ubuntu Server 18.04 LTS. Server running as systemd service.</environment>
        <key id="239430">BDS-847</key>
            <summary>SIGTERM doesn&apos;t make Ubuntu Bedrock Server save and quit gracefully.</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="StrikerTheHedgefox">Jordon Moss</reporter>
                        <labels>
                            <label>awaiting-response</label>
                    </labels>
                <created>Thu, 2 May 2019 00:54:02 +0200</created>
                <updated>Mon, 30 Aug 2021 12:53:44 +0200</updated>
                            <resolved>Mon, 30 Aug 2021 12:53:44 +0200</resolved>
                                    <version>1.9.0.15</version>
                    <version>1.16.201.03 Hotfix</version>
                                                            <votes>3</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="1063883" author="JIRAUSER648376" created="Mon, 30 Aug 2021 12:53:44 +0200"  >&lt;p&gt;&lt;b&gt;Thank you for your report!&lt;/b&gt;&lt;br/&gt;
We&apos;re tracking this issue in &lt;b&gt;&lt;a href=&quot;https://bugs.mojang.com/browse/BDS-203&quot; title=&quot;BDS not stopping gracefully when running as a service&quot; class=&quot;issue-link&quot; data-issue-key=&quot;BDS-203&quot;&gt;&lt;del&gt;BDS-203&lt;/del&gt;&lt;/a&gt;&lt;/b&gt;, so this ticket is being resolved and linked as a &lt;b&gt;duplicate&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;If you would like to add a vote and any extra information to the main ticket it would be appreciated.&lt;/p&gt;

&lt;p&gt;If you haven&apos;t already, you might like to make use of the &lt;a href=&quot;https://bugs.mojang.com/issues/?jql=project=BDS&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;&lt;b&gt;&lt;ins&gt;search feature&lt;/ins&gt;&lt;/b&gt;&lt;/a&gt; to see if the issue has already been mentioned.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/articles/360049840492-Mojang-Bug-Tracker-Guidelines&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Bug Tracker Guidelines&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/requests/new&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Mojang Support&lt;/a&gt;&lt;br/&gt;
&#128211; &lt;a href=&quot;https://bugs.mojang.com/projects/BDS/summary&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Project Summary&lt;/a&gt; &amp;#8211; &#9997;&#65039; &lt;a href=&quot;https://feedback.minecraft.net/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Feedback and Suggestions&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://minecraft.fandom.com/wiki/Bedrock_Dedicated_Server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;BDS Wiki&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/articles/360035131651-Dedicated-Servers-for-Minecraft-on-Bedrock-&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;FAQs&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="933782" author="JIRAUSER615386" created="Mon, 1 Mar 2021 07:32:19 +0100"  >&lt;p&gt;I can confirm server version&#160;1.16.201.3 on ubuntu and windows do not handle SIGTERM correctly. The server process ends immediately and does not shut down correctly.&lt;/p&gt;

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

&lt;p&gt;&lt;b&gt;What I expected to happen was...:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;When I type ctrl+c, I expect the server to shut down as if I had issued the stop command.&lt;/p&gt;

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

&lt;p&gt;&lt;b&gt;What actually happened was...:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Instead, the process exits immediately without properly shutting down.&#160;&lt;/p&gt;

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

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Start the server&lt;/li&gt;
	&lt;li&gt;With the server&apos;s terminal window active, press ctrl+c&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="907959" author="mega_spud" created="Fri, 29 Jan 2021 17:19:52 +0100"  >&lt;p&gt;Cleaning up old tickets:  This ticket had been set to &apos;Awaiting Response&apos;, but has not received a response from the reporter (~3 months+) so is being closed as &lt;em&gt;Incomplete&lt;/em&gt;.  If you feel this is still a valid issue then please comment, or create a new ticket following the &lt;a href=&quot;https://aka.ms/MCBugTrackerHelp&quot; title=&quot;How To Write helpful bug reports&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt; which includes steps to reproduce the problem.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;https://aka.ms/MCBugTrackerHelp&quot; title=&quot;How To Write Awesome Tickets! &#128175;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt; &amp;#8211; &#128172; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/requests/new&quot; title=&quot;Account Support &#128377;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Mojang Support&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://feedback.minecraft.net/&quot; title=&quot;Feedback and Suggestions &#9997;&#65039;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Suggestions&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;http://minecraft.gamepedia.com/Minecraft_Wiki&quot; title=&quot;Minecraft Wiki &#127891;&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Minecraft Wiki&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="738324" author="ionicecko" created="Tue, 23 Jun 2020 04:08:35 +0200"  >&lt;p&gt;If the report could please be updated with the following information we can get the report confirmed. I have the knowledge to do it for Windows but no idea how this impacts Linux or how to repro.&lt;/p&gt;

&lt;blockquote&gt;
&lt;h4&gt;&lt;a name=&quot;WhatIexpectedtohappenwas...%3A&quot;&gt;&lt;/a&gt;What I expected to happen was...:&lt;/h4&gt;
&lt;p&gt;When I killed a squid, it should have dropped an ink sac.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Whatactuallyhappenedwas...%3A&quot;&gt;&lt;/a&gt;What actually happened was...:&lt;/h4&gt;
&lt;p&gt;Instead, it dropped an apple.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;StepstoReproduce%3A&quot;&gt;&lt;/a&gt;Steps to Reproduce:&lt;/h4&gt;
&lt;ol&gt;
	&lt;li&gt;Find a squid (though we all know how difficult they are to find when you &lt;b&gt;actually&lt;/b&gt; want to find one).&lt;/li&gt;
	&lt;li&gt;Kill the squid.&lt;/li&gt;
	&lt;li&gt;Notice that it drops apples instead of ink sacs. How am I supposed to get black dye now?&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;</comment>
                            <comment id="696890" author="patch885959" created="Wed, 13 May 2020 23:04:10 +0200"  >&lt;p&gt;This feature is needed on both Ubuntu and Windows.    There is currently no safe way for an outside application to call for Save or shutdown when the server is running.&lt;/p&gt;</comment>
                            <comment id="653021" author="ionicecko" created="Wed, 25 Mar 2020 02:40:30 +0100"  >&lt;p&gt;I&apos;ve not heard back from you in a while.&lt;/p&gt;

&lt;p&gt;In order to keep the Bedrock Dedicated Server project running smoothly I&apos;m going to request this issue be closed as &lt;b&gt;Awaiting Response&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;Never fear though! If this is still affecting you in the latest version (and is related to Bedrock Dedicated Server and not the Minecraft Bedrock game) all you have to do is comment and it will reopen.&lt;/p&gt;

&lt;p&gt;If your issue does still exist but is related to the game and not the server software please head over to the &lt;a href=&quot;https://bugs.mojang.com/projects/MCPE/summary&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Minecraft (Bedrock codebase) project&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Ionic&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;https://bugs.mojang.com/projects/BDS/summary&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Issue Guidelines&lt;/a&gt; &amp;#8211; &#128172; &lt;a href=&quot;https://minecrafthopper.net/help/technical-support-resources/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Community Support&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/requests/new&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Customer Support&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://minecraft.gamepedia.com/Bedrock_Dedicated_Server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;BDS Wiki&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;https://help.minecraft.net/hc/en-us/articles/360035131651-Dedicated-Servers-for-Minecraft-on-Bedrock-&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;FAQs&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="642774" author="ionicecko" created="Wed, 4 Mar 2020 12:29:44 +0100"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Is this still an issue in 1.14.32.1?&lt;/p&gt;

&lt;p&gt;I know enough about linux to be dangerous and help test some of the issues here but this one is a little outside my wheel house.&lt;/p&gt;

&lt;p&gt;If someone is able to test and confirm that would be amazing.&lt;/p&gt;

&lt;p&gt;Ionic&lt;/p&gt;</comment>
                            <comment id="568349" author="vincent294" created="Mon, 22 Jul 2019 06:53:12 +0200"  >&lt;p&gt;For now you can use tmux to work around 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;ExecStart=/usr/bin/tmux &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; -ds mcbe &lt;span class=&quot;code-quote&quot;&gt;&apos;LD_LIBRARY_PATH=. ./bedrock_server&apos;&lt;/span&gt;`

ExecStop=/usr/bin/tmux sendkeys -t mcbe:0.0 stop Enter
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;You can&apos;t have more than 1 instance per tmux socket, but you can use the -S flag for that if you must. Hopefully they change their handling of SIGTERM from apathetically to cleanly.&lt;/p&gt;</comment>
                            <comment id="542738" author="bdoubleesham" created="Sat, 4 May 2019 01:29:41 +0200"  >&lt;p&gt;I am having this issue also.&lt;br/&gt;
If terminated &apos;ungracefully&apos;, ports get tied up and the server cannot restart without freeing those ports or a system reboot.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="217255">BDS-203</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Plausible]]></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|i0z8yf:</customfieldvalue>

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