<div dir="ltr">Hi Yubu,<div>I saw you error log, it is very helpful. It seems like you didn't create the config.xml in you project folder successfully.</div><div>You need to run this [<span style="font-variant-ligatures:no-common-ligatures;background-color:rgba(0,0,0,0.85);color:rgb(242,242,242);font-family:Monaco;font-size:10px">sudo ./install.sh</span><span class="gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures;background-color:rgba(0,0,0,0.85);color:rgb(242,242,242);font-family:Monaco;font-size:10px"> </span>] in the tools folder. ex. [<span class="gmail-s1" style="font-family:Monaco;font-size:10px;font-variant-ligatures:no-common-ligatures;color:rgb(47,180,29)">install@install-dev</span><span class="gmail-s2" style="font-family:Monaco;font-size:10px;font-variant-ligatures:no-common-ligatures;color:rgb(242,242,242)">:</span><span class="gmail-s3" style="color:rgb(64,11,217);font-family:Monaco;font-size:10px;font-variant-ligatures:no-common-ligatures">/var/www/Loris/tools</span><span class="gmail-s2" style="font-family:Monaco;font-size:10px;font-variant-ligatures:no-common-ligatures;color:rgb(242,242,242)">$<span style="background-color:rgb(0,0,0)"> sudo ./install.sh</span></span>]</div>
<div>Then check if project/confilg.xml file exists. if it can't create the project folder and config.xml, it is definitely your ubuntu permission issue. </div><div><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container" style="box-sizing:border-box;border-collapse:collapse;border-spacing:0px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="gmail-LC175" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;overflow:visible;white-space:pre">Please do it manually in your loris folder.
sudo chgrp apache project
sudo chmod 770 project</td></tr><tr style="box-sizing:border-box"><td id="gmail-L176" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50px"><br></td><td id="gmail-LC176" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;overflow:visible;white-space:pre"></td></tr></tbody></table></div><div>Then you need to do [<span style="font-variant-ligatures:no-common-ligatures;background-color:rgba(0,0,0,0.85);color:rgb(242,242,242);font-family:Monaco;font-size:10px">sudo ./install.sh</span><span class="gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures;background-color:rgba(0,0,0,0.85);color:rgb(242,242,242);font-family:Monaco;font-size:10px"> </span>] , then load the installdb.php again. </div><div>Please let me know if you have any questions.</div><div>Regards.</div><div>Shen</div>
</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 13 Aug 2019 at 20:16, 이유부 <<a href="mailto:basilia1123@gmail.com">basilia1123@gmail.com</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 dir="ltr">Dear Shen,<div><br></div><div><br></div><div><div>1 Which version of Loris are you using? </div><div>We are using Loris-21.0.0</div><div><br></div><div>2 Mysql version?</div><div>The output of mysql -V is</div><div>mysql Ver 14.14 Distrib 5.7.27, for Linux (x86_64) using EditLine wrapper<br></div><div><br></div><div>3 [<span style="font-family:"Courier New";font-size:14px">sudo tail -f /var/log/apache2/loris-error.log</span>] Please running this in the backend, </div><div> then try loading the installdb.php again, with a different database name. Please send us the error message.</div><div><br></div></div><div>cat loris-error.log does not show any content however loris-error.log.1 shows the following:</div><div><br>yubu@data:/var/log/apache2$ cat loris-error.log.1</div><div><br>[Tue Aug 13 09:12:41.214417 2019] [php7:error] [pid 17930] [client ::1:58960] PHP Fatal error: Uncaught ConfigurationException: Config file config.xml does not exist in the defined locations. in /var/www/loris/php/libraries/NDB_Config.class.inc:139\nStack trace:\n#0 /var/www/loris/php/libraries/NDB_Config.class.inc(66): NDB_Config->configFilePath()\n#1 /var/www/loris/php/libraries/NDB_Factory.class.inc(118): NDB_Config::singleton(NULL)\n#2 /var/www/loris/php/libraries/NDB_Client.class.inc(54): NDB_Factory->config(NULL)\n#3 /var/www/loris/htdocs/index.php(27): NDB_Client->initialize()\n#4 {main}\n thrown in /var/www/loris/php/libraries/NDB_Config.class.inc on line 139, referer: <a href="http://localhost/installdb.php" target="_blank">http://localhost/installdb.php</a></div><div><br>[Tue Aug 13 09:14:53.843582 2019] [php7:notice] [pid 17932] [client ::1:58992] SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost', referer: <a href="http://localhost/installdb.php" target="_blank">http://localhost/installdb.php</a><br>[Tue Aug 13 09:14:53.843708 2019] [php7:error] [pid 17932] [client ::1:58992] PHP Fatal error: Uncaught Error: Call to a member function exec() on null in /var/www/loris/php/installer/Installer.class.inc:374\nStack trace:\n#0 /var/www/loris/php/installer/Installer.class.inc(235): LORIS\\Installer\\Installer->_sourceSchemaFile(Object(LORIS\\Installer\\Database), '00-schema.sql')\n#1 /var/www/loris/htdocs/installdb.php(109): LORIS\\Installer\\Installer->sourceSchema(Array)\n#2 {main}\n thrown in /var/www/loris/php/installer/Installer.class.inc on line 374, referer: <a href="http://localhost/installdb.php" target="_blank">http://localhost/installdb.php</a><br></div><div><br></div><div>Further, we accidentally deleted the loris-error.log and loris-error.log.1 files. Is there a way to generate them again?</div><div><br></div><div>Thanks for the prompt reply</div><div><br></div><div>Yours Sincerely,</div><div><div><div dir="ltr" class="gmail-m_-1508933094895809335gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2">======================================================</font></span></p><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2">Yubu
Lee, Ph.D.</font></span></p><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2">Research Professor, </font></span></p><p style="margin:0cm 0cm 0.0001pt"><font face="arial, helvetica, sans-serif" size="2"><span lang="EN-US">Center for Neuroscience Imaging
Research, </span>Institute for Basic Science</font></p><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2"><br></font></span></p><div><font face="arial, helvetica, sans-serif" size="2">#86332, N Center, SungKyunKwan University </font></div><div><font face="arial, helvetica, sans-serif" size="2">2066, Seobu-Ro, Jangan-gu, Suwon, Gyeonggi-do, 16419, Korea</font></div><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2">E-mail:<span> </span><a href="mailto:basilia1123@gmail.com" target="_blank">basilia1123@gmail.com</a></font></span></p><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2">Tel: +82-31-299-4411</font></span></p><p style="margin:0cm 0cm 0.0001pt"><font face="arial, helvetica, sans-serif" size="2">Fax: +82-31-299-4506</font></p><p style="margin:0cm 0cm 0.0001pt"><font face="arial, helvetica, sans-serif" size="2">======================================================</font></p></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">2019년 8월 13일 (화) 오후 10:21, Shen Wang <<a href="mailto:wangshen.mcin@gmail.com" target="_blank">wangshen.mcin@gmail.com</a>>님이 작성:<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 dir="ltr">Hi <span style="font-family:arial,helvetica,sans-serif">Yubu,</span><div>We need more information to debug this issue. </div><div>1 Which version of Loris are you using? </div><div>2 Mysql version?</div><div>3 [<span style="font-family:"Courier New";font-size:14px">sudo tail -f /var/log/apache2/loris-error.log</span>] Please running this in the backend, </div><div> then try loading the installdb.php again, with a different database name. Please send us the error message.</div><div><br></div><div><div>Your Sincerely,</div><div><div dir="ltr" class="gmail-m_-1508933094895809335gmail-m_4838571106167897468gmail-m_3323942532302425343gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Shen <br></div></div></div></div></div></div></div></div>
</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 12 Aug 2019 at 22:27, 이유부 <<a href="mailto:basilia1123@gmail.com" target="_blank">basilia1123@gmail.com</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 dir="ltr"><div>Dear Sir/Madam,</div><div><br></div><div>We are currently trying to install LORIS on Ubuntu 18.04 platform following the steps from <a href="https://github.com/aces/Loris/wiki/Installing-Loris-in-Depth" target="_blank">https://github.com/aces/Loris/wiki/Installing-Loris-in-Depth</a></div><div><br></div><div><font size="4">1.</font> Following the above link, we installed the prerequisites mentioned in <a href="https://github.com/aces/Loris/wiki/Installing-Loris-in-Depth#getting-prerequisites" target="_blank">https://github.com/aces/Loris/wiki/Installing-Loris-in-Depth#getting-prerequisites</a>, which are all verified to be installed normally.</div><div><br></div><div><font size="4">2.</font> We ensured that mySQL credentials are set up properly (as pasted below)</div><div>mysql> select host, user, authentication_string from user<br> -> ;<br>+-----------+------------------+-------------------------------------------+<br>| host | user | authentication_string |<br>+-----------+------------------+-------------------------------------------+<br>| localhost | root | |<br>| localhost | mysql.session | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE |<br>| localhost | mysql.sys | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE |<br>| localhost | debian-sys-maint | *C9BF7C6E59BFF0FA879E6650D174264C9EE87F25 |<br>+-----------+------------------+-------------------------------------------+<br>4 rows in set (0.00 sec)<br><br>mysql> update user set authentication_string=password('yubu') where user='root';<br>Query OK, 1 row affected, 1 warning (0.00 sec)<br>Rows matched: 1 Changed: 1 Warnings: 1<br><br>mysql> flush privileges; <br>Query OK, 0 rows affected (0.01 sec)<br><br>mysql> select host, user, authentication_string from user<br> -> ;<br>+-----------+------------------+-------------------------------------------+<br>| host | user | authentication_string |<br>+-----------+------------------+-------------------------------------------+<br>| localhost | root | *E311E16EECE7E8900098CFEB4103D5266A343F5F |<br>| localhost | mysql.session | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE |<br>| localhost | mysql.sys | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE |<br>| localhost | debian-sys-maint | *C9BF7C6E59BFF0FA879E6650D174264C9EE87F25 |<br>+-----------+------------------+-------------------------------------------+<br>4 rows in set (0.00 sec)<br></div><div><br></div><div><font size="4">3.</font> We then opened <a href="http://localhost/installdb.php" target="_blank">http://localhost/installdb.php</a> and have gotten the login page for LORIS installation and typed the credentials as follows: </div><h1 style="box-sizing:border-box;margin:24px 0px 16px;line-height:1.25;border-bottom:1px solid rgb(234,236,239);padding-bottom:0.3em;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol""><div><img src="cid:ii_jz92s9oh0" alt="Screenshot from 2019-08-13 09-14-51.png" width="483" height="272"><br></div></h1><div><font size="4">4.</font> Once we submitted the page we obtained error as follows</div><div><br></div><div><div><img src="cid:ii_jz92t2r71" alt="Screenshot from 2019-08-13 09-14-56.png" width="483" height="272"><br></div></div><div><br></div><div><br></div><div><br></div><div>We really do not know how to proceed further from this point onward. Kindly let us know how to proceed further in order to get the LORIS installed.</div><div><br></div><div>Thank you.</div><div><br></div><div>Your Sincerely,</div><div><div dir="ltr" class="gmail-m_-1508933094895809335gmail-m_4838571106167897468gmail-m_3323942532302425343gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2">======================================================</font></span></p><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2">Yubu
Lee, Ph.D.</font></span></p><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2">Research Professor, </font></span></p><p style="margin:0cm 0cm 0.0001pt"><font face="arial, helvetica, sans-serif" size="2"><span lang="EN-US">Center for Neuroscience Imaging
Research, </span>Institute for Basic Science</font></p><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2"><br></font></span></p><div><font face="arial, helvetica, sans-serif" size="2">#86332, N Center, SungKyunKwan University </font></div><div><font face="arial, helvetica, sans-serif" size="2">2066, Seobu-Ro, Jangan-gu, Suwon, Gyeonggi-do, 16419, Korea</font></div><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2">E-mail:<span> </span><a href="mailto:basilia1123@gmail.com" target="_blank">basilia1123@gmail.com</a></font></span></p><p style="margin:0cm 0cm 0.0001pt"><span lang="EN-US"><font face="arial, helvetica, sans-serif" size="2">Tel: +82-31-299-4411</font></span></p><p style="margin:0cm 0cm 0.0001pt"><font face="arial, helvetica, sans-serif" size="2">Fax: +82-31-299-4506</font></p><p style="margin:0cm 0cm 0.0001pt"><font face="arial, helvetica, sans-serif" size="2">======================================================</font></p></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-1508933094895809335gmail-m_4838571106167897468gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136)">Shen Wang<br></div><div style="color:rgb(136,136,136)"><font size="2"><a href="https://github.com/aces/Loris" target="_blank">Loris</a> Developer</font></div><div style="font-size:13px;color:rgb(136,136,136)">Montreal Neurological Institute </div><div style="font-size:13px;color:rgb(136,136,136)">McGill University</div><div style="font-size:13px;color:rgb(136,136,136)"><br></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136)">Shen Wang<br></div><div style="color:rgb(136,136,136)"><font size="2"><a href="https://github.com/aces/Loris" target="_blank">Loris</a> Developer</font></div><div style="font-size:13px;color:rgb(136,136,136)">Montreal Neurological Institute </div><div style="font-size:13px;color:rgb(136,136,136)">McGill University</div><div style="font-size:13px;color:rgb(136,136,136)"><br></div></div></div>