[Loris-dev] Update LORIS to v21.0.0

Ling Ma lingyun.ma at mcin.ca
Wed Feb 19 17:47:02 EST 2020


Hi Alfredo,

If you check this link:

https://github.com/aces/Loris/blob/21.0-release/README.md

and

https://github.com/aces/Loris/blob/22.0-release/README.md

You will see that the system requires:

*System Requirements*

   - Apache *2.4* or higher
   - MySQL >= 5.7 (or MariaDB >= 10.3)
   - PHP *7.2* or higher
   - Composer <https://getcomposer.org/>
   - NodeJS *8.0* or higher
   - NPM
   - make

Please make sure that you have all the latest or recent versions for each
of them, otherwise you will run into trouble later.

Ling Ma

On Wed, Feb 19, 2020 at 5:29 PM Morales Pinzon, Alfredo <
AMORALESPINZON at bwh.harvard.edu> wrote:

> Hi Ling Ma,
>
> Thank you. I will upgrade to PHP 7.2.
>
> BTW, I cannot find the requirements for PHP for v21, I am looking at this
> link:
>
> https://github.com/aces/Loris/releases/tag/v21.0.0
>
> Regards,
> Alfredo.
>
>
> On Feb 19, 2020, at 5:18 PM, Ling Ma <lingyun.ma at mcin.ca> wrote:
>
>         External Email - Use Caution
>
> Hi Alfredo,
>
> 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.
>
> In fact, PHP 5.6 is no longer supported.
>
> Best regards,
> Ling Ma
>
> On Wed., Feb. 19, 2020, 5:07 p.m. Morales Pinzon, Alfredo, <
> AMORALESPINZON at bwh.harvard.edu> wrote:
>
>> Dear Ling and Cécile,
>>
>> Thank for your responses.
>>
>> 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:
>>
>> After running “make” I have the following error:
>>
>> ===
>>     *WARNING in configuration*
>> *    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.*
>> *    You can also set it to 'none' to disable any default behavior. Learn
>> more: https://webpack.js.org/concepts/mode/
>> <https://webpack.js.org/concepts/mode/>*
>> composer install --no-dev
>> > mkdir -p project/libraries
>> Loading composer repositories with package information
>> Installing dependencies from lock file
>> Your requirements could not be resolved to an installable set of packages.
>>
>>   Problem 1
>>     - Installation request for php-http/guzzle6-adapter v2.0.1 ->
>> satisfiable by php-http/guzzle6-adapter[v2.0.1].
>>     - php-http/guzzle6-adapter v2.0.1 requires php ^7.1 -> your PHP
>> version (7.0.33) does not satisfy that requirement.
>> ===
>>
>> Do I have to upgrade PHP to 7.1?
>>
>> Thank you again for your help.
>>
>> Regards,
>> Alfredo.
>>
>>
>> On Feb 19, 2020, at 12:15 PM, Cecile Madjar <cecile.madjar at mcin.ca>
>> wrote:
>>
>>         External Email - Use Caution
>>
>> Hi Alfredo,
>>
>> Sorry to hear you are experiencing issues with the upgrade to 21.0.0. See
>> below.
>>
>> On Tue, Feb 18, 2020 at 4:31 PM Morales Pinzon, Alfredo <
>> AMORALESPINZON at bwh.harvard.edu> wrote:
>>
>>> Hi Cécile,
>>>
>>> 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:
>>>
>>> 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?
>>>
>>
>> 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.
>>
>>
>>> 2. In the instructions to upgrade to v21.0.0, the second point says:
>>>
>>> "Run make from the Loris root directory to update all dependencies.”"
>>>
>>> However when I run “make” In the Loris root direction it does nothing.
>>> Here is the result:
>>>
>>> ===
>>> *lorisadmin at ipmsa-loris*:*/var/www/loris*$ make
>>> make: *** No targets specified and no makefile found.  Stop.
>>> ===
>>>
>> It that the right directory? Maybe I am missing some files?
>>>
>>
>> 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 (
>> https://github.com/aces/Loris/tree/v21.0.0)
>>
>> Hope this helps.
>>
>> Cécile
>>
>>
>>> Thank you for your help.
>>>
>>> Best,
>>> Alfredo.
>>>
>>
>>
>> The information in this e-mail is intended only for the person to whom it
>> is
>> addressed. If you believe this e-mail was sent to you in error and the
>> e-mail
>> contains patient information, please contact the Partners Compliance
>> HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to you
>> in error
>> but does not contain patient information, please contact the sender and
>> properly
>> dispose of the e-mail.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.bic.mni.mcgill.ca/pipermail/loris-dev/attachments/20200219/0edc6e88/attachment.html>


More information about the Loris-dev mailing list