<div dir="ltr"><div>Hi Alfredo,</div><div><br></div><div>If you check this link:</div><div><br></div><a href="https://github.com/aces/Loris/blob/21.0-release/README.md">https://github.com/aces/Loris/blob/21.0-release/README.md</a><br><div><br></div><div>and </div><div><br></div><div><a href="https://github.com/aces/Loris/blob/22.0-release/README.md">https://github.com/aces/Loris/blob/22.0-release/README.md</a><br></div><div><br></div><div>You will see that the system requires:</div><div><br></div><div><b>System Requirements</b><br></div><div>
<ul>
<li>Apache <strong>2.4</strong> or higher</li>
<li>MySQL >= 5.7 (or MariaDB >= 10.3)</li>
<li>PHP <b>7.2</b> or higher</li>
<li><a href="https://getcomposer.org/" rel="nofollow">Composer</a></li>
<li>NodeJS <b>8.0</b> or higher</li>
<li>NPM</li>
<li>make</li></ul><div>Please make sure that you have all the latest or recent versions for each of them, otherwise you will run into trouble later.</div></div><div><br></div><div>Ling Ma</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 19, 2020 at 5:29 PM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
Hi Ling Ma,
<div><br>
</div>
<div>Thank you. I will upgrade to PHP 7.2.</div>
<div><br>
</div>
<div>BTW, I cannot find the requirements for PHP for v21, I am looking at this link:</div>
<div><br>
</div>
<div><a href="https://github.com/aces/Loris/releases/tag/v21.0.0" target="_blank">https://github.com/aces/Loris/releases/tag/v21.0.0</a></div>
<div><br>
</div>
<div>Regards,</div>
<div>Alfredo.</div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On Feb 19, 2020, at 5:18 PM, Ling Ma <<a href="mailto:lingyun.ma@mcin.ca" target="_blank">lingyun.ma@mcin.ca</a>> wrote:</div>
<br>
<div>
<p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p>
<div><br>
</div>
<div dir="auto">Hi Alfredo,
<div dir="auto"><br>
</div>
<div dir="auto">The warning is OK to ignore. As to php, please check v21 version requirements, I believe a php minimum 7.1 even 7.2 is required.</div>
<div dir="auto"><br>
</div>
<div dir="auto">In fact, PHP 5.6 is no longer supported.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Best regards,</div>
<div dir="auto">Ling Ma</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed., Feb. 19, 2020, 5:07 p.m. Morales Pinzon, Alfredo, <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" target="_blank">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;">Dear Ling and Cécile,
<div><br>
</div>
<div>Thank for your responses. </div>
<div><br>
</div>
<div>I had an issue with "git checkout”, somehow I had to remove some files before being able to checkout the v21.0.0. That was the reason I didn’t have the make file. Now that I have it, I have some errors:</div>
<div><br>
</div>
<div>After running “make” I have the following error:</div>
<div><br>
</div>
<div>===</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(170,171,37)">
<span style="font-variant-ligatures:no-common-ligatures">    </span><span style="font-variant-ligatures:no-common-ligatures"><b>WARNING in configuration</b></span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(170,171,37)">
<span style="font-variant-ligatures:no-common-ligatures"><b>    The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.</b></span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(170,171,37)">
<span style="font-variant-ligatures:no-common-ligatures"><b>    You can also set it to 'none' to disable any default behavior. Learn more:
<a href="https://webpack.js.org/concepts/mode/" rel="noreferrer" target="_blank">
https://webpack.js.org/concepts/mode/</a></b></span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">composer install --no-dev</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">> mkdir -p project/libraries</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(57,192,38)">
<span style="font-variant-ligatures:no-common-ligatures">Loading composer repositories with package information</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(57,192,38)">
<span style="font-variant-ligatures:no-common-ligatures">Installing dependencies from lock file</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(178,178,178)">
<span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(133,0,2)">Your requirements could not be resolved to an installable set of packages.</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">  Problem 1</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">    - Installation request for php-http/guzzle6-adapter v2.0.1 -> satisfiable by php-http/guzzle6-adapter[v2.0.1].</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">    - php-http/guzzle6-adapter v2.0.1 requires php ^7.1 -> your PHP version (7.0.33) does not satisfy that requirement.</span></div>
</div>
<div>===</div>
<div><br>
</div>
<div>Do I have to upgrade PHP to 7.1?</div>
<div><br>
</div>
<div>Thank you again for your help.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Alfredo.</div>
<div><br>
</div>
<div>
<div><br>
<blockquote type="cite">
<div>On Feb 19, 2020, at 12:15 PM, Cecile Madjar <<a href="mailto:cecile.madjar@mcin.ca" rel="noreferrer" target="_blank">cecile.madjar@mcin.ca</a>> wrote:</div>
<br>
<div>
<p><span style="padding:3px 10px;border-radius:5px;color:rgb(255,255,255);font-weight:bold;display:inline-block;background-color:rgb(255,0,0)">        External Email - Use Caution        </span></p>
<div><br>
</div>
<div dir="ltr">
<div>Hi Alfredo,</div>
<div><br>
</div>
<div>Sorry to hear you are experiencing issues with the upgrade to 21.0.0. See below.</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Feb 18, 2020 at 4:31 PM Morales Pinzon, Alfredo <<a href="mailto:AMORALESPINZON@bwh.harvard.edu" rel="noreferrer" target="_blank">AMORALESPINZON@bwh.harvard.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>Hi Cécile,
<div><br>
</div>
<div>I am in the process of upgrading LORIS from v20.1.1 to v21.0.0 (and then to v22.0.0). I had no issues to get to v20.3.0 but now, moving to v21.0.0, I have two issues:</div>
<div><br>
</div>
<div>1. I cannot access the link “Imaging->Imaging Browser” in the LORIS website. I get a 500 error. Any ideas on what should I check?</div>
</div>
</blockquote>
<div><br>
</div>
<div>Could you send us what you see in the Apache error file for that 500 error? Although, might be worth focusing on fixing your second issue before we dive too much into that one. </div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>2. In the instructions to upgrade to v21.0.0, the second point says:</div>
<div><br>
</div>
<div><span style="color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;font-variant-ligatures:normal;background-color:rgb(255,255,255)">"Run </span><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:13.6px;padding:0.2em 0.4em;margin:0px;background-color:rgba(27,31,35,0.047);border-radius:3px;color:rgb(36,41,46);font-variant-ligatures:normal">make</code><span style="color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;font-variant-ligatures:normal;background-color:rgb(255,255,255)"> from
 the Loris root directory to update all dependencies.</span>”"</div>
<div><br>
</div>
<div>However when I run “make” In the Loris root direction it does nothing. Here is the result:</div>
<div><br>
</div>
<div>===</div>
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(57,192,38)">
<span style="font-variant-ligatures:no-common-ligatures"><b>lorisadmin@ipmsa-loris</b></span><span style="font-variant-ligatures:no-common-ligatures">:</span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(86,32,244)"><b>/var/www/loris</b></span><span style="font-variant-ligatures:no-common-ligatures">$
 make</span></div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make: *** No targets specified and no makefile found.  Stop.</span></div>
</div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
===</div>
</div>
</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo">
</div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font>It that the <span>right</span> directory? Maybe I am missing some files?</font></div>
</div>
</blockquote>
<div><br>
</div>
<div>Are you sure you are on the 21.0.0 release of LORIS before you run make? Do you see a Makefile in your /var/www/loris directory? In theory it is supposed to be there on branch 21.0.0 (<a href="https://github.com/aces/Loris/tree/v21.0.0" rel="noreferrer" target="_blank">https://github.com/aces/Loris/tree/v21.0.0</a>)</div>
<div> </div>
<div>Hope this helps.</div>
<div><br>
Cécile</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font><br>
</font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font>Thank you for your help.</font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font><br>
</font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font>Best,</font></div>
<div style="margin:0px;font-stretch:normal;line-height:normal"><font>Alfredo.</font></div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<div><br>
</div>
<p>The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.</p>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div>