<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:48 UTC 2024

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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-4047] make error message for missing dbpath clearer</title>
                <link>https://jira.mongodb.org/browse/SERVER-4047</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The only thing stopping MongoDB from being a download and run process is the need to create a /data/db. I realize that sounds trivial, but it does trip up some people, and it makes writing &quot;how to get started with mongodb&quot; type stuff slightly less streamlined.&lt;/p&gt;

&lt;p&gt;Is there any chance that if /data/db doesn&apos;t exist, the mongod process tries to create it? And, if it fails, it spits out a very clear and helpful message which isn&apos;t just another line in the log...some ascii spacing to help users:&lt;/p&gt;

&lt;p&gt;************************************************************************&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;ERROR:&lt;/li&gt;
	&lt;li&gt;Failed to created, /data/db. To fix this, you can:&lt;/li&gt;
	&lt;li&gt;- Manually create /data/db,&lt;/li&gt;
	&lt;li&gt;- Create a different path and launch with the --dbpath PATH option&lt;br/&gt;
*&lt;/li&gt;
	&lt;li&gt;For more information see: &lt;a href=&quot;http://mongodb.org/help/mongodb-fails-to-start&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongodb.org/help/mongodb-fails-to-start&lt;/a&gt;&lt;br/&gt;
*&lt;br/&gt;
*************************************************************************&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="23423">SERVER-4047</key>
            <summary>make error message for missing dbpath clearer</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="tonyh">Tony Hannan</assignee>
                                    <reporter username="karlseguin">Karl Seguin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Oct 2011 00:44:08 +0000</created>
                <updated>Mon, 11 Jul 2016 18:34:04 +0000</updated>
                            <resolved>Wed, 2 Nov 2011 23:25:51 +0000</resolved>
                                                    <fixVersion>2.1.0</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="64368" author="auto" created="Wed, 2 Nov 2011 23:23:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;TonyGen&apos;, u&apos;name&apos;: u&apos;Tony Hannan&apos;, u&apos;email&apos;: u&apos;tony@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4047&quot; title=&quot;make error message for missing dbpath clearer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4047&quot;&gt;&lt;del&gt;SERVER-4047&lt;/del&gt;&lt;/a&gt;: make error message for missing dbpath clearer&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/eb60a604a51719184dc2964b39abfa07857c49fe&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/eb60a604a51719184dc2964b39abfa07857c49fe&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59415" author="eliot" created="Mon, 10 Oct 2011 05:47:14 +0000"  >&lt;p&gt;We don&apos;t want the default path to be relative to package.&lt;br/&gt;
Should be in a consistent global place.&lt;/p&gt;</comment>
                            <comment id="59413" author="karlseguin" created="Mon, 10 Oct 2011 05:43:47 +0000"  >&lt;p&gt;What about adding an empty /data folder to the root of the downloadable package and using that folder by default? To avoid breaking backwards compatibility, you could first check for the existence of /data/db/. &lt;/p&gt;

&lt;p&gt;Essentially, the server code wouldn&apos;t create anything. The file that they download would have an empty /data  folder...on startup, it would first check /data/db and then it would check ../data.&lt;/p&gt;
</comment>
                            <comment id="59408" author="eliot" created="Mon, 10 Oct 2011 04:56:17 +0000"  >&lt;p&gt;Not sure we should try to create directory, but can certainly make error message better&lt;/p&gt;</comment>
                            <comment id="59376" author="karlseguin" created="Mon, 10 Oct 2011 00:45:20 +0000"  >&lt;p&gt;the markup engine screwed up my beautiful error box /sadface&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 10 Oct 2011 04:56:17 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 16 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 16 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>karlseguin</customfieldvalue>
            <customfieldvalue>tonyh</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrooe7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrg7mn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8141</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0cwn:</customfieldvalue>

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