<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:07:45 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-45054] Windows Installation - mongod.cfg</title>
                <link>https://jira.mongodb.org/browse/SERVER-45054</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;m installing community edition (4.2.2) on Windows.&lt;/p&gt;

&lt;p&gt;When I accept all the default settings (just clicking &quot;next&quot; all the time) there&apos;s an invalid &quot;snmp&quot; entry (only valid for enterprise version), which prevents the service from starting.&lt;/p&gt;

&lt;p&gt;Furthermore,&#160; I&apos;d like to change data and log directories. The installer asks for these to be given. I use&#160;C:\mongodb\data and&#160;C:\mongodb\log. Again the service fails to start. Looking into the config file it contains&#160;%MONGO_DATA_PATH% or&#160;%MONGO_LOG_PATH%, respectively. There&apos;s no snmp entry though.&lt;/p&gt;

&lt;p&gt;This bug seems to be there since the installer is able to create the service by itself.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1047995">SERVER-45054</key>
            <summary>Windows Installation - mongod.cfg</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="carl.champain@mongodb.com">Carl Champain</assignee>
                                    <reporter username="ujr@insynergie.de">Ulf R&#246;&#223;ler</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Dec 2019 13:16:29 +0000</created>
                <updated>Fri, 27 Mar 2020 09:36:01 +0000</updated>
                            <resolved>Tue, 10 Mar 2020 21:18:15 +0000</resolved>
                                    <version>4.2.2</version>
                                                    <component>Packaging</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="3003804" author="ujr@insynergie.de" created="Fri, 27 Mar 2020 09:36:01 +0000"  >&lt;p&gt;that&apos;s what I told you&#160;&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/wink.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;&#160;&lt;/p&gt;

&lt;p&gt;Thanks for getting back to this ticket&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="3002956" author="carl.champain" created="Thu, 26 Mar 2020 18:49:29 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ujr%40insynergie.de&quot; class=&quot;user-hover&quot; rel=&quot;ujr@insynergie.de&quot;&gt;ujr@insynergie.de&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The issue related to the&#160; MSI installer producing incorrect config file was indeed a bug.&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47138&quot; title=&quot;MSI installer produces incorrect config file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47138&quot;&gt;&lt;del&gt;SERVER-47138&lt;/del&gt;&lt;/a&gt; was created to fix this problem&#8212;you can watch it&#160;for updates.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;br/&gt;
 Carl&lt;br/&gt;
 &#160;&lt;/p&gt;</comment>
                            <comment id="2968271" author="carl.champain" created="Wed, 11 Mar 2020 17:28:54 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ujr%40insynergie.de&quot; class=&quot;user-hover&quot; rel=&quot;ujr@insynergie.de&quot;&gt;ujr@insynergie.de&lt;/a&gt;,&#160;&lt;/p&gt;

&lt;p&gt;We were able to recreate the error, and we fixed it by adding the directory &lt;tt&gt;db&lt;/tt&gt; to the path. You should get an answer on the the MongoDB Community Forums or Stack Overflow with the &lt;tt&gt;mongodb&lt;/tt&gt; tag.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br/&gt;
Carl&lt;/p&gt;</comment>
                            <comment id="2963231" author="ujr@insynergie.de" created="Wed, 11 Mar 2020 08:36:30 +0000"  >&lt;p&gt;Sorry - I don&apos;t understand.&lt;/p&gt;

&lt;p&gt;Yes, I agree, this is not a bug in server code. However, it&apos;s clearly a bug in the installation procedure. And it took me a lot of time to pinpoint it. Which, btw, would have been easier if someone simply tried (at least after I sent a demo).&lt;/p&gt;

&lt;p&gt;Where is the correct place to post this? Do you really think I can get a solution from community forum or Stack Overflow?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2962091" author="carl.champain" created="Tue, 10 Mar 2020 21:17:52 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ujr%40insynergie.de&quot; class=&quot;user-hover&quot; rel=&quot;ujr@insynergie.de&quot;&gt;ujr@insynergie.de&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for your interest in MongoDB; however, the SERVER project is for bugs and feature suggestions for the MongoDB server. As this ticket does not appear to be a bug, I will now close it. If you need further assistance troubleshooting, I encourage you to ask our community by posting on the &lt;a href=&quot;http://community.mongodb.com/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB Community Forums&lt;/a&gt; or on &lt;a href=&quot;https://stackoverflow.com/questions/tagged/mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Stack Overflow with the &lt;tt&gt;mongodb&lt;/tt&gt; tag&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
 Carl&lt;br/&gt;
 &#160;&lt;/p&gt;</comment>
                            <comment id="2951062" author="ujr@insynergie.de" created="Sat, 7 Mar 2020 22:23:41 +0000"  >&lt;p&gt;Well, I created an installation log and had a look at&#160;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/installer/msi/ca/CustomAction.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/src/mongo/installer/msi/ca/CustomAction.cpp&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reason for buggy mongod.cfg in case of clean install is that you&apos;re not accounting for path names shorter than&#160;%MONGO_DATA_PATH% or&#160;%MONGO_LOG_PATH%, respectively. When I choose a path (instead of c:\mongodb\data) that&apos;s at least two chars longer everything is fine. That&apos;s why there&apos;s leftover from &quot;#snmp&quot;.&lt;/p&gt;

&lt;p&gt;BTW -&#160;LOG_INFO(&quot;CA - Writing file - &apos;%s&apos;&quot;, buf.get()); should use str, not buf.&lt;/p&gt;

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

&lt;p&gt;Furthermore, from the log I see, that in case of upgrade (say 4.2.2 to 4.2.3) the CA&#160;UpdateMongoYAML is not called at all! Must be because of the conditions inside&#160;InstallExecuteSequence. However,&#160;I&apos;m not that familiar with msi so I cannot say what the correct condition. Maybe this helps:&#160;&lt;a href=&quot;https://resources.flexera.com/web/pdf/archive/is-chs-common-msi-conditions.pdf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://resources.flexera.com/web/pdf/archive/is-chs-common-msi-conditions.pdf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I wonder why this doesn&apos;t happen to you. Or do you only ever test clean installs?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2950957" author="ujr@insynergie.de" created="Sat, 7 Mar 2020 18:48:37 +0000"  >&lt;p&gt;Yes, there was no &quot;db&quot; subdirectory. Unfortunately, creating it did not change anything: the setup still is not able to start the service and mongod.cfg llooks exactly the same as in the demonstration.&lt;/p&gt;

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

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2949127" author="carl.champain" created="Fri, 6 Mar 2020 19:46:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ujr%40insynergie.de&quot; class=&quot;user-hover&quot; rel=&quot;ujr@insynergie.de&quot;&gt;ujr@insynergie.de&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for getting back to us.&#160;&lt;br/&gt;
 It appears that you are missing the &lt;tt&gt;db&lt;/tt&gt; directory in the&#160;&quot;Data Directory&quot; path. Can you please try adding this custom path &lt;tt&gt;c:\mongodb\data\db&lt;/tt&gt;&#160;? &lt;br/&gt;
 &#160;&lt;br/&gt;
 Let us know if this resolves your issue,&lt;br/&gt;
 Carl&lt;/p&gt;</comment>
                            <comment id="2948249" author="ujr@insynergie.de" created="Fri, 6 Mar 2020 14:59:19 +0000"  >&lt;p&gt;The black parts, btw, appear while I have to confirm UAC.&lt;/p&gt;

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

&lt;p&gt;The I installed 4.2.2 (from community link above), which behaves like 4.2.3 in the last posting. I fixed the config file, and try to update to 4.2.3:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/251398/251398_mongodb_setup_upgrade.gif&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;IMO, the setup should offer my custom paths instead of the default setting, but that&apos;s another story.&lt;/p&gt;

&lt;p&gt;Again, the service cannot be started, because the paths in mongod.cfg are invalid. There&apos;s no remaining part of snmp this time.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2948228" author="ujr@insynergie.de" created="Fri, 6 Mar 2020 14:52:17 +0000"  >&lt;p&gt;Please reopen - the issue persists. Unfortunately I haven&apos;t had time to visualize so far.&lt;/p&gt;

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

&lt;p&gt;First, I&apos;m trying a clean install of MongoDb 4.2.3 from&#160;&lt;a href=&quot;https://www.mongodb.com/download-center/community&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/download-center/community&lt;/a&gt;&#160;- Win10 1909 x64&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/251397/251397_mongodb_setup_clean.gif&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

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

&lt;p&gt;The service fails to start because of invalid entries in mongod.cfg - it&apos;s sometimes only &quot;p:&quot; (invalid), sometimes even &quot;smtp:&quot;(which is not valid for community edition).&lt;/p&gt;

&lt;p&gt;When I don&apos;t explicitely set data and log directory but accept the default values, the setup is able to start the service successfully. I&apos;ll go without a seperate demo movie.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2908377" author="carl.champain" created="Tue, 25 Feb 2020 20:33:23 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;We haven&#8217;t heard back from you for some time, so I&#8217;m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Carl&lt;/p&gt;</comment>
                            <comment id="2599514" author="carl.champain" created="Wed, 11 Dec 2019 18:06:04 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ujr%40insynergie.de&quot; class=&quot;user-hover&quot; rel=&quot;ujr@insynergie.de&quot;&gt;ujr@insynergie.de&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the report.&lt;br/&gt;
 Unfortunately, I wasn&apos;t able to recreate your issue. To help us understand what is happening, can you please:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Clarify what you meant by
&lt;blockquote&gt;&lt;p&gt;there&apos;s an invalid &quot;snmp&quot; entry (only valid for enterprise version), which prevents the service from starting&lt;/p&gt;&lt;/blockquote&gt;&lt;/li&gt;
	&lt;li&gt;Provide more contextual information (e.g., screenshots, error messages)?&lt;/li&gt;
	&lt;li&gt;Provide the&#160;link for the community edition you are to trying to install?&lt;/li&gt;
	&lt;li&gt;Provide the version of Windows you are using?&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Kind regards,&lt;br/&gt;
 Carl&lt;br/&gt;
 &#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="251397" name="mongodb_setup_clean.gif" size="767186" author="ujr@insynergie.de" created="Fri, 6 Mar 2020 14:45:51 +0000"/>
                            <attachment id="251398" name="mongodb_setup_upgrade.gif" size="1313715" author="ujr@insynergie.de" created="Fri, 6 Mar 2020 14:56:44 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 11 Dec 2019 18:06:04 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 45 weeks, 5 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>ujr@insynergie.de</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 45 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>carl.champain@mongodb.com</customfieldvalue>
            <customfieldvalue>ujr@insynergie.de</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hwa2cn:</customfieldvalue>

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

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

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