<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:11:22 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-1172] Get everything running on my Ubuntu 16.04 LTS desktop box</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1172</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Having done my FOLIO work on a Macbook for most of the last few months, I am trying to return to my desktop development box, which runs Ubuntu 16.04 LTS.&lt;/p&gt;

&lt;p&gt;Needless to say, nothing works. This issue gives me a place to file yak-shaving hours.&lt;/p&gt;</description>
                <environment></environment>
        <key id="80568">FOLIO-1172</key>
            <summary>Get everything running on my Ubuntu 16.04 LTS desktop box</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/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="10003">Done</resolution>
                                                        <assignee accountid="5bffed52a1b46046f530c8f7">Mike Taylor</assignee>
                                                                <reporter accountid="5bffed52a1b46046f530c8f7">Mike Taylor</reporter>
                                    <labels>
                            <label>sprint35</label>
                    </labels>
                <created>Tue, 3 Apr 2018 15:48:06 +0000</created>
                <updated>Mon, 12 Nov 2018 14:24:18 +0000</updated>
                            <resolved>Wed, 4 Apr 2018 12:57:35 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                    <timespent seconds="28800">1 day</timespent>
                                <comments>
                                                            <comment id="192837" author="5bffed52a1b46046f530c8f7" created="Tue, 3 Apr 2018 15:58:42 +0000"  >&lt;p&gt;Among the nightmares: I&apos;m unable to download and run the Vagrant box for the back-end:&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;
mike@thor:~/git/folio/other/folio-testing-backend$ vagrant up
Bringing machine &lt;span class=&quot;code-quote&quot;&gt;&apos;&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;&apos;&lt;/span&gt; up with &lt;span class=&quot;code-quote&quot;&gt;&apos;virtualbox&apos;&lt;/span&gt; provider...
==&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Box &lt;span class=&quot;code-quote&quot;&gt;&apos;folio/testing-backend&apos;&lt;/span&gt; could not be found. Attempting to find and install...
    &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Box Provider: virtualbox
    &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Box Version: &amp;gt;= 0
==&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Loading metadata &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; box &lt;span class=&quot;code-quote&quot;&gt;&apos;folio/testing-backend&apos;&lt;/span&gt;
    &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: URL: https:&lt;span class=&quot;code-comment&quot;&gt;//vagrantcloud.com/folio/testing-backend
&lt;/span&gt;==&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Adding box &lt;span class=&quot;code-quote&quot;&gt;&apos;folio/testing-backend&apos;&lt;/span&gt; (v5.0.0-20180403.539) &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; provider: virtualbox
    &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Downloading: https:&lt;span class=&quot;code-comment&quot;&gt;//vagrantcloud.com/folio/boxes/testing-backend/versions/5.0.0-20180403.539/providers/virtualbox.box
&lt;/span&gt;/usr/lib/ruby/vendor_ruby/vagrant/action/builtin/box_add.rb:361:in `box_add&lt;span class=&quot;code-quote&quot;&gt;&apos;: undefined method `name&apos;&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; nil:NilClass (NoMethodError)
    from /usr/lib/ruby/vendor_ruby/vagrant/action/builtin/box_add.rb:266:in `add_from_metadata&apos;
    from /usr/lib/ruby/vendor_ruby/vagrant/action/builtin/box_add.rb:104:in `call&apos;
    from /usr/lib/ruby/vendor_ruby/vagrant/action/warden.rb:34:in `call&apos;
    from /usr/lib/ruby/vendor_ruby/vagrant/action/builder.rb:116:in `call&apos;
    from /usr/lib/ruby/vendor_ruby/vagrant/action/runner.rb:66:in `block in run&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I did this twice, just in case it was some kind of weird state thing. Exact same response both times. (Including downloading the VM both times.)&lt;br/&gt;
&#65532;&lt;br/&gt;
In addition:&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;
mike@thor:~/git/folio/other/folio-testing-backend$ vagrant box list
folio/testing-backend (virtualbox, 5.0.0-20180131.430)
/usr/share/vagrant/plugins/commands/box/command/list.rb:55:in `block in list_boxes&lt;span class=&quot;code-quote&quot;&gt;&apos;: undefined method `directory&apos;&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; nil:NilClass (NoMethodError)
    from /usr/share/vagrant/plugins/commands/box/command/list.rb:47:in `each&apos;
    from /usr/share/vagrant/plugins/commands/box/command/list.rb:47:in `list_boxes&apos;
    from /usr/share/vagrant/plugins/commands/box/command/list.rb:30:in `execute&apos;
    from /usr/share/vagrant/plugins/commands/box/command/root.rb:61:in `execute&apos;
    from /usr/lib/ruby/vendor_ruby/vagrant/cli.rb:42:in `execute&apos;
    from /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:268:in `cli&apos;
    from /usr/bin/vagrant:173:in `&amp;lt;main&amp;gt;&apos;
mike@thor:~/git/folio/other/folio-testing-backend$ 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;So things look pretty badly broken.&lt;/p&gt;

&lt;p&gt;(I&apos;ve asked &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c706fbb47a54a6728e59df2&quot; class=&quot;user-hover&quot; rel=&quot;5c706fbb47a54a6728e59df2&quot; data-account-id=&quot;5c706fbb47a54a6728e59df2&quot; accountid=&quot;5c706fbb47a54a6728e59df2&quot; rel=&quot;noreferrer&quot;&gt;Wayne Schneider&lt;/a&gt; for advice on this, but he seems to be offline.)&lt;/p&gt;</comment>
                                                            <comment id="192842" author="5bffed52a1b46046f530c8f7" created="Tue, 3 Apr 2018 16:08:51 +0000"  >&lt;p&gt;Unrelated, on trying to the run the client :&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;
```mike@thor:~/git/folio/stripes/stripes-sample-platform$ stripes serve
Waiting &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; webpack to build...
/home/mike/git/folio/stripes/node_modules/@folio/stripes-cli/lib/stripes-cli.js:49
    &lt;span class=&quot;code-keyword&quot;&gt;throw&lt;/span&gt; err;
    ^

Error: Cannot find module &lt;span class=&quot;code-quote&quot;&gt;&apos;ajv-keywords&apos;&lt;/span&gt;
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at &lt;span class=&quot;code-object&quot;&gt;Object&lt;/span&gt;.&amp;lt;anonymous&amp;gt; (/home/mike/git/folio/stripes/stripes-core/node_modules/webpack/lib/validateSchema.js:13:1)
    at Module._compile (module.js:571:32)
    at &lt;span class=&quot;code-object&quot;&gt;Object&lt;/span&gt;.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
mike@thor:~/git/folio/stripes/stripes-sample-platform$ 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I have &lt;em&gt;no&lt;/em&gt; idea what &lt;tt&gt;ajv-keywords&lt;/tt&gt; has to do with anything.&lt;/p&gt;</comment>
                                                            <comment id="192848" author="5bffed52a1b46046f530c8f7" created="Tue, 3 Apr 2018 16:11:52 +0000"  >&lt;p&gt;Regarding the form (which, OK, maybe should be its own issue), I &lt;tt&gt;apt-get remove}}d and {{apt-get installed&lt;/tt&gt; vagrant; and &lt;tt&gt;rm -rf&lt;/tt&gt;&apos;d all vagrant-related files in this directory and my home directory. None of it made a blind bit of difference.&lt;/p&gt;</comment>
                                                            <comment id="192852" author="5bffed52a1b46046f530c8f7" created="Wed, 4 Apr 2018 10:34:46 +0000"  >&lt;p&gt;General consensus seems to indicate that certain Vagrant releases may be Just Plain Broken when dealing with VMs whose version numbers contain hyphens. It seems at least possible that the Vagrant that comes with Ubuntu 16.04 LTS may be one of them. The problem is, the Vagrant people themselves do not release packages for Ubuntu, and the Ubuntu people have no more recent releases of Vagrant backported to 16.04.&lt;/p&gt;

&lt;p&gt;So I have &lt;tt&gt;apt-get removed&lt;/tt&gt; my Ubuntu package, and speculatively &lt;tt&gt;dpkg -i&lt;/tt&gt;&apos;d the most recent Debian package provided at &lt;a href=&quot;https://www.vagrantup.com/downloads.html&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.vagrantup.com/downloads.html&lt;/a&gt; (v2.0.3). It &lt;em&gt;seems&lt;/em&gt; to be compatible with the versions of the various shared libraries that are on my box &amp;#8211; e.g. does not require an unsupported new major version of anything.&lt;/p&gt;

&lt;p&gt;I am retrying to download-and-install with this.&lt;/p&gt;</comment>
                                                            <comment id="192857" author="5bffed52a1b46046f530c8f7" created="Wed, 4 Apr 2018 10:35:45 +0000"  >&lt;p&gt;Aha! Something resembling success!&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;
mike@thor:~/git/folio/other/folio-testing-backend$ time vagrant up
Bringing machine &lt;span class=&quot;code-quote&quot;&gt;&apos;&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;&apos;&lt;/span&gt; up with &lt;span class=&quot;code-quote&quot;&gt;&apos;virtualbox&apos;&lt;/span&gt; provider...
==&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Box &lt;span class=&quot;code-quote&quot;&gt;&apos;folio/testing-backend&apos;&lt;/span&gt; could not be found. Attempting to find and install...
    &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Box Provider: virtualbox
    &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Box Version: &amp;gt;= 0
==&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Loading metadata &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; box &lt;span class=&quot;code-quote&quot;&gt;&apos;folio/testing-backend&apos;&lt;/span&gt;
    &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: URL: https:&lt;span class=&quot;code-comment&quot;&gt;//vagrantcloud.com/folio/testing-backend
&lt;/span&gt;==&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Adding box &lt;span class=&quot;code-quote&quot;&gt;&apos;folio/testing-backend&apos;&lt;/span&gt; (v5.0.0-20180403.539) &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; provider: virtualbox
    &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Downloading: https:&lt;span class=&quot;code-comment&quot;&gt;//vagrantcloud.com/folio/boxes/testing-backend/versions/5.0.0-20180403.539/providers/virtualbox.box
&lt;/span&gt;    &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Download redirected to host: s3.amazonaws.com
==&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;: Successfully added box &lt;span class=&quot;code-quote&quot;&gt;&apos;folio/testing-backend&apos;&lt;/span&gt; (v5.0.0-20180403.539) &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&apos;virtualbox&apos;&lt;/span&gt;!
There are errors in the configuration of &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; machine. Please fix
the following errors and &lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; again:

vm:
* The host path of the shared folder is missing: /Users/mike/git/folio/other/mod-graphql

real	7m48.238s
user	1m54.252s
sys	0m23.760s
mike@thor:~/git/folio/other/folio-testing-backend$ 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;That seems to be my fault, not its. Stand by ...&lt;/p&gt;</comment>
                                                            <comment id="192860" author="5bffed52a1b46046f530c8f7" created="Wed, 4 Apr 2018 10:39:43 +0000"  >&lt;p&gt;Infuriatingly, the absence of the &lt;tt&gt;Users/mike/git/folio/other/mod-graphql&lt;/tt&gt; directory seems to have made the &lt;em&gt;entire&lt;/em&gt; &lt;tt&gt;vagrant up&lt;/tt&gt; procedure fail, so that having fixed that and re-run, I don&apos;t just get my existing VM brought up, I get yet another 3 Gb download &amp;#8211; at least my fourth in this process. Good thing I don&apos;t still have a capped Internet connection, or this process alone would have exceeded my old monthly cap.&lt;/p&gt;</comment>
                                                            <comment id="192865" author="5bffed52a1b46046f530c8f7" created="Wed, 4 Apr 2018 10:40:50 +0000"  >&lt;p&gt;Anyway, all this &lt;em&gt;seems&lt;/em&gt; to have been successful &amp;#8211; at least, I am now running a VM that I can &lt;tt&gt;vagrant ssh&lt;/tt&gt; into. Now if only I could run the stripes CLI. &lt;em&gt;sigh&lt;/em&gt;&lt;/p&gt;</comment>
                                                            <comment id="192868" author="5bffed52a1b46046f530c8f7" created="Wed, 4 Apr 2018 12:18:49 +0000"  >&lt;p&gt;I brute-forced the &lt;b&gt;Cannot find module &apos;ajv-keywords&apos;&lt;/b&gt; by doing &lt;tt&gt;yarn add --dev ajv-keywords&lt;/tt&gt; at the top-level of my workspace. That sort of worked (though of course it should not be necessary &amp;#8211; packages should specify their own dependencies), in that it allowed &lt;tt&gt;stripes serve&lt;/tt&gt; to at least get started.&lt;/p&gt;

&lt;p&gt;However, it&apos;s then unable to build Stripes, complaining&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;
ERROR in ../ui-users/converters/address.js
Module not found: Error: Can&lt;span class=&quot;code-quote&quot;&gt;&apos;t resolve &apos;&lt;/span&gt;hashcode&lt;span class=&quot;code-quote&quot;&gt;&apos; in &apos;&lt;/span&gt;/home/mike/git/folio/stripes/ui-users/converters&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;which makes me think I might have a more fundamental problem with dependencies not getting installed.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;sigh&lt;/em&gt;. Gotta shave them yaks.&lt;/p&gt;</comment>
                                                            <comment id="192872" author="5bffed52a1b46046f530c8f7" created="Wed, 4 Apr 2018 12:45:48 +0000"  >&lt;p&gt;Yep, something is fundamentally screwy here. &lt;tt&gt;ui-users/packages.json&lt;/tt&gt; specifies a dependency on hashcode v1.0.3 or better, so it ought to be available. But it&apos;s in neither the Users app&apos;s &lt;tt&gt;node_modules&lt;/tt&gt; (which contains only &lt;tt&gt;react-flexbox-grid&lt;/tt&gt;) nor the workspace&apos;s &lt;tt&gt;node_moduies&lt;/tt&gt;. The latter has over a thousand dependent modules installed, including &lt;tt&gt;create-hash&lt;/tt&gt;, &lt;tt&gt;hash-base&lt;/tt&gt;, &lt;tt&gt;hash.js&lt;/tt&gt; &lt;tt&gt;imurmurhash&lt;/tt&gt;, &lt;tt&gt;node-object-hash&lt;/tt&gt; and &lt;tt&gt;xxhashjs&lt;/tt&gt; &amp;#8211; but just those six&lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/warning.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; hashers, not &lt;tt&gt;hashcode&lt;/tt&gt;.&lt;/p&gt;</comment>
                                                            <comment id="192876" author="5bffed52a1b46046f530c8f7" created="Wed, 4 Apr 2018 12:56:43 +0000"  >&lt;p&gt;I re-ran &lt;tt&gt;yarn install&lt;/tt&gt; at the top level of my workspace.&lt;/p&gt;

&lt;p&gt;It&apos;s took more than five minutes.&lt;/p&gt;

&lt;p&gt;But it did do the trick. I have &lt;em&gt;no idea&lt;/em&gt; how it got into the state it was in before, but I have lost all intellectual curiosity at this point. All I care about is: &lt;em&gt;FOLIO is running on my Ubuntu box!&lt;/em&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="61805">STCOR-185</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="61806">STCOR-186</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzyfr3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>