<!-- 
RSS generated by JIRA (8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a) at Sat Feb 10 07:20:29 CET 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>Jira</title>
    <link>https://jira.astppbilling.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.13.3</version>
        <build-number>813003</build-number>
        <build-date>14-01-2021</build-date>
    </build-info>


<item>
            <title>[ASTPPCOM-812] Community version upgrade v4.0 to 5.0 :=  When run community upgrade v5.0 scripts in centos server, it getting error as &quot; unexpected token `|&apos;</title>
                <link>https://jira.astppbilling.org/browse/ASTPPCOM-812</link>
                <project id="10608" key="ASTPPCOM">ASTPP Community</project>
                    <description>&lt;p&gt;steps :-&#160;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;create a instance by using &lt;b&gt;centos&lt;/b&gt; operating system.&lt;/li&gt;
	&lt;li&gt;Set-up community v4.0.1 source code by using &lt;b&gt;centos operating system.&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Upgrade to version 5.0&lt;/li&gt;
	&lt;li&gt;During upgradation check error in console.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Actual result :- When run Community upgrade v5.0 scripts It getting below error :-&#160;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@ip-172-31-1-236 src&amp;#93;&lt;/span&gt;# /bin/bash community_upgrade_v4_v5_111021.sh Nq1v*1smck25gIMtBJsG&lt;br/&gt;
&lt;b&gt;community_upgrade_v4_v5_111021.sh: command substitution: line 4: syntax error near unexpected token `|&apos;&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;community_upgrade_v4_v5_111021.sh: command substitution: line 4: `| cut -c24-43&apos;&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;Usage: which &lt;span class=&quot;error&quot;&gt;&amp;#91;options&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;--&amp;#93;&lt;/span&gt; COMMAND &lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;Write the full path of COMMAND(s) to standard output.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;--version, -&lt;span class=&quot;error&quot;&gt;&amp;#91;vV&amp;#93;&lt;/span&gt; Print version and exit successfully.&lt;br/&gt;
 --help, Print this help and exit successfully.&lt;br/&gt;
 --skip-dot Skip directories in PATH that start with a dot.&lt;br/&gt;
 --skip-tilde Skip directories in PATH that start with a tilde.&lt;br/&gt;
 --show-dot Don&apos;t expand a dot to current directory in output.&lt;br/&gt;
 --show-tilde Output a tilde for HOME directory for non-root.&lt;br/&gt;
 --tty-only Stop processing options on the right if not on tty.&lt;br/&gt;
 --all, -a Print all matches in PATH, not just the first&lt;br/&gt;
 --read-alias, -i Read list of aliases from stdin.&lt;br/&gt;
 --skip-alias Ignore option --read-alias; don&apos;t read stdin.&lt;br/&gt;
 --read-functions Read shell functions from stdin.&lt;br/&gt;
 --skip-functions Ignore option --read-functions; don&apos;t read stdin.&lt;/p&gt;

&lt;p&gt;Recommended use is to write the output of (alias; declare -f) to standard&lt;br/&gt;
input, so that which can show aliases and shell functions. See which(1) for&lt;br/&gt;
examples.&lt;/p&gt;

&lt;p&gt;If the options --read-alias and/or --read-functions are specified then the&lt;br/&gt;
output can be a full alias or function definition, optionally followed by&lt;br/&gt;
the full path of each command used inside of those.&lt;/p&gt;

&lt;p&gt;Report bugs to &amp;lt;which-bugs@gnu.org&amp;gt;.&lt;br/&gt;
&lt;b&gt;community_upgrade_v4_v5_111021.sh: command substitution: line 6: syntax error near unexpected token `|&apos;&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;community_upgrade_v4_v5_111021.sh: command substitution: line 6: `| grep dbpass | cut -c10-29&apos;&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;community_upgrade_v4_v5_111021.sh: line 9: syntax error near unexpected token `(&apos;&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;community_upgrade_v4_v5_111021.sh: line 9: `${FILE} | cut -c1-1` size=$(( $size + 0 )) get_linux_distribution () {&apos;&lt;/b&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@ip-172-31-1-236 src&amp;#93;&lt;/span&gt;#&lt;/p&gt;

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

&lt;p&gt;Expected result :- it should be upgrade successfully.&lt;/p&gt;

&lt;p&gt;See Screenshot :-&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="34376">ASTPPCOM-812</key>
            <summary>Community version upgrade v4.0 to 5.0 :=  When run community upgrade v5.0 scripts in centos server, it getting error as &quot; unexpected token `|&apos;</summary>
                <type id="10200" iconUrl="https://jira.astppbilling.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.astppbilling.org/images/icons/priorities/highest.svg">Highest</priority>
                        <status id="6" iconUrl="https://jira.astppbilling.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="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="sahil.sheikh">Sahil Sheikh</assignee>
                                    <reporter username="prashant.kumar">Prashant Kumar</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Oct 2021 13:21:00 +0530</created>
                <updated>Tue, 19 Oct 2021 12:34:51 +0530</updated>
                            <resolved>Mon, 18 Oct 2021 12:39:02 +0530</resolved>
                                    <version>v5.0</version>
                                    <fixVersion>v5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                    <timespent seconds="3000">50m</timespent>
                                <comments>
                            <comment id="64580" author="sahil.sheikh" created="Mon, 18 Oct 2021 12:33:58 +0530"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.astppbilling.org/secure/ViewProfile.jspa?name=prashant.kumar&quot; class=&quot;user-hover&quot; rel=&quot;prashant.kumar&quot;&gt;Prashant Kumar&lt;/a&gt;, As discussed on thurday on skype, This is due to the copy paste issue you are having, &lt;/p&gt;

&lt;p&gt;When I did that in front of you, it worked fine. So please change your text editor. Let me know if you have any concern.&lt;/p&gt;

&lt;p&gt;Thank you&lt;/p&gt;</comment>
                            <comment id="64723" author="prashant.kumar" created="Tue, 19 Oct 2021 12:34:51 +0530"  >&lt;p&gt;verified during upgrade script. working fine.&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="34259">ASTPPCOM-804</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="30979" name="MobaXterm_Personal_20.3_LWfcHgfCpJ.png" size="148223" author="prashant.kumar" created="Thu, 14 Oct 2021 13:20:25 +0530"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11301" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>ASTPP Edition</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10902"><![CDATA[Enterprise]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10719" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Category</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10332"><![CDATA[Functional]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11300" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Edition</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10900"><![CDATA[Community]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10700" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>RCA</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Coding]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10006" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03gqv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10718" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Reproducibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10323"><![CDATA[always]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10702" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Support Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10317"><![CDATA[Managed]]></customfieldvalue>

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