<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:04 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-3097] mongod --install uses wrong image path depending on current working directory</title>
                <link>https://jira.mongodb.org/browse/SERVER-3097</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;In our deployment I add the &amp;lt;mongodb install folder&amp;gt;\bin folder to the System PATH environment variable to save having to change to the MongoDB folder everytime I need to use commandline tools like mongo and mongodump.  When I run &quot;mongod --install...&quot; from a working directory anywhere but the bin folder, the installer defaults to configuring the image path of the service in the registry to &quot;C:\windows\system32\mongod.exe&quot; and therefore the service won&apos;t start.  It&apos;s easy to fix afterwards in the registry, or to run the installer from the bin directory but the documentation doesn&apos;t make this issue clear.&lt;/p&gt;

&lt;p&gt;Shouldn&apos;t mongod be able to find the path it is installed to and use that for the service configuration.&lt;/p&gt;</description>
                <environment>Windows Server 2008 x64</environment>
        <key id="17126">SERVER-3097</key>
            <summary>mongod --install uses wrong image path depending on current working directory</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="tad">Tad Marshall</assignee>
                                    <reporter username="milhouse">Steven Hirschorn</reporter>
                        <labels>
                    </labels>
                <created>Mon, 16 May 2011 13:21:08 +0000</created>
                <updated>Tue, 12 Jul 2016 00:17:08 +0000</updated>
                            <resolved>Sat, 26 Nov 2011 16:42:34 +0000</resolved>
                                    <version>1.6.5</version>
                    <version>1.8.1</version>
                                    <fixVersion>2.0.7</fixVersion>
                    <fixVersion>2.1.0</fixVersion>
                                    <component>Shell</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="220068" author="dima" created="Thu, 20 Dec 2012 07:28:06 +0000"  >&lt;p&gt;Haven&apos;t recorded these details. Have tried several times and cannot reproduce issue again. My apologies.&lt;/p&gt;</comment>
                            <comment id="214869" author="tad" created="Fri, 14 Dec 2012 11:40:49 +0000"  >&lt;p&gt;Hi Dima,&lt;/p&gt;

&lt;p&gt;Can you provide details?&lt;/p&gt;

&lt;p&gt;1)  The command line that you used to install the service;&lt;/p&gt;

&lt;p&gt;2)  The command line that was produced in the registry.&lt;/p&gt;

&lt;p&gt;The copy of mongod.exe that you run should be using its own full file path to point to itself in the registry, but relative file paths used for --dbpath, --logpath and other file paths are not rewritten, so they need to be fully qualified file paths to work correctly.&lt;/p&gt;

&lt;p&gt;Tad&lt;/p&gt;</comment>
                            <comment id="214674" author="dima" created="Fri, 14 Dec 2012 05:09:35 +0000"  >&lt;p&gt;Have this issue in version 2.2.2 Windows x64 *2008R2+&lt;/p&gt;</comment>
                            <comment id="135715" author="tad" created="Fri, 22 Jun 2012 14:38:44 +0000"  >&lt;p&gt;Backported for 2.0.7.&lt;/p&gt;</comment>
                            <comment id="135714" author="auto" created="Fri, 22 Jun 2012 14:36:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-06-22T07:35:38-07:00&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3097&quot; title=&quot;mongod --install uses wrong image path depending on current working directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3097&quot;&gt;&lt;del&gt;SERVER-3097&lt;/del&gt;&lt;/a&gt; &amp;#8211; &quot;mongod --install&quot; uses wrong image path depending on CWD&lt;/p&gt;

&lt;p&gt;Use GetModuleFileName() to get path of running exe.&lt;br/&gt;
Branch: v2.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/034b064a043a1ebecb29381a89a9737561729095&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/034b064a043a1ebecb29381a89a9737561729095&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="135707" author="tad" created="Fri, 22 Jun 2012 14:20:34 +0000"  >&lt;p&gt;Marking for backport to 2.0.7.&lt;/p&gt;</comment>
                            <comment id="129095" author="tad" created="Sat, 9 Jun 2012 01:15:41 +0000"  >&lt;p&gt;Adding Backport: Yes.&lt;/p&gt;</comment>
                            <comment id="68986" author="tad" created="Sat, 26 Nov 2011 16:42:34 +0000"  >&lt;p&gt;Fixed by commit 4666f1d2a538cd17c9113f0cabbfde2c3c2df2c9 .&lt;/p&gt;</comment>
                            <comment id="68985" author="auto" created="Sat, 26 Nov 2011 16:39:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;&apos;, u&apos;name&apos;: u&apos;Tad Marshall&apos;, u&apos;email&apos;: u&apos;tad@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3097&quot; title=&quot;mongod --install uses wrong image path depending on current working directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3097&quot;&gt;&lt;del&gt;SERVER-3097&lt;/del&gt;&lt;/a&gt; &amp;#8211; &quot;mongod --install&quot; uses wrong image path depending on CWD&lt;/p&gt;

&lt;p&gt;Use GetModuleFileName() to get path of running exe.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4666f1d2a538cd17c9113f0cabbfde2c3c2df2c9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4666f1d2a538cd17c9113f0cabbfde2c3c2df2c9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="32885" author="milhouse" created="Mon, 16 May 2011 13:22:57 +0000"  >&lt;p&gt;I&apos;m also seeing a bug similar to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1712&quot; title=&quot;--logpath is not quoted when path contains spaces&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1712&quot;&gt;&lt;del&gt;SERVER-1712&lt;/del&gt;&lt;/a&gt; for a --config file path with spaces.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="40848">SERVER-6046</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="23014">SERVER-3976</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 26 Nov 2011 16:39:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 years, 8 weeks, 6 days 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>
                            11 years, 8 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[Windows]]></customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9296</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|ht0pnr:</customfieldvalue>

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