<div dir="ltr"><div>I don't think I have a valid state yet:<br><br>The main CDash page lists 0 project. Then if I click on "My CDash" in the upper left corner, a new page open where my project is listed but as soon as I click on it, it is an empty project page with a line that says "Feed::GetFeed(): 0 not set".<br><br></div>There is some messages in /var/log/apache2/error.log<br><div><br>PHP Notice: Undefined index: sharelabelfilters in /var/www/CDashRoot/models/project.php on line 435, referer: <a href="http://myserver.home/CDash/index.php?project=MyProject">http://myserver.home/CDash/index.php?project=MyProject</a><br>PHP Warning: array_merge(): Argument #2 is not an array in /var/www/CDashRoot/public/api/v1/index.php on line 451, referer: <a href="http://myserver.home/CDash/index.php?project=MyProject">http://myserver.home/CDash/index.php?project=MyProject</a><br>PHP Warning: Invalid argument supplied for foreach() in /var/www/CDashRoot/public/api/v1/index.php on line 493, referer: <a href="http://myserver.home/CDash/index.php?project=MyProject">http://myserver.home/CDash/index.php?project=MyProject</a><br>PHP Warning: Invalid argument supplied for foreach() in /var/www/CDashRoot/public/ajax/getfeed.php on line 101, referer: <a href="http://myserver.home/CDash/index.php?project=MyProject">http://myserver.home/CDash/index.php?project=MyProject</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 13, 2017 at 9:27 PM, François Bertel <span dir="ltr"><<a href="mailto:fbopensource@gmail.com" target="_blank">fbopensource@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Zack,<br><br></div>I figured out that the php-mbstring package was not installed on my Ubuntu. That fixed the issue. Even after upgrading the DB I still see the warning message.<br><br><br></div>Here are the details of my investigation:<br><div><div><br>1. I checked all the write permissions you listed and they were all correct.<br>2. I did not find anything relevant in /var/log/syslog. However, I saw the following error in /var/log/apache2/error.log (I masked the IP address and port with *): Call to undefined function mb_detect_encoding()<br><div><br>[:error] [pid 3726] [client *.*.*.*:*] PHP Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in /var/www/CDashRoot/include/<wbr>common.php:139\nStack trace:\n#0 /var/www/CDashRoot/include/<wbr>common.php(324): XMLStrFormat('css/cdash.css')\<wbr>n#1 /var/www/CDashRoot/include/<wbr>common.php(1838): add_XML_value('cssfile', 'css/cdash.css')\n#2 /var/www/CDashRoot/include/<wbr>login_functions.php(383): begin_XML_for_XSLT()\n#3 /var/www/CDashRoot/public/<wbr>login.php(61): LoginForm('')\n#4 /var/www/CDashRoot/public/<wbr>user.php(20): include('/var/www/CDashR...')\<wbr>n#5 {main}\n thrown in /var/www/CDashRoot/include/<wbr>common.php on line 139, referer: http://*.*/CDash/viewProjects.<wbr>php<br><br></div><div>Using grep in /var/www/CDashRoot for mb_detect_encoding gave the following result:<br>$ find . -name '*' -print0 | xargs -r -0 grep -n mb_detect_encoding | less<br><br>Binary file ./composer.phar matches<br>./public/install.php:50:if (function_exists('mb_detect_<wbr>encoding') === false) {<br>./include/common.php:139: if (mb_detect_encoding($str, 'UTF-8', true) === false) {<br>./include/common.php:2072: <wbr> if (function_exists('mb_detect_<wbr>encoding') &&<br>./include/common.php:2073: <wbr> mb_detect_encoding($value, 'UTF-8', true) === false<br><br></div><div>Searching around, I found that this php function is provided by the php-mbstring package, which was not installed on my Ubuntu machine.<br></div><div><br>3. I installed the php-mbstring package and restarted apache2.<br></div><div>4. I went back the CDash main page and was able to login as administrator! I was able to go the maintenance page and clicked on the push button at the bottom "Upgrade CDash" . Now the CDash maintenance page says:<br><b>Current CDash database schema: </b>2.5<br><div id="m_-4295532130753079704gmail-Upgrade-Tables-Status">Upgrading tables: <img src="http://xanth.home/CDash/img/check.gif"></div><div id="m_-4295532130753079704gmail-Upgrade-2-6-Status">Applying 2.6 patches: <img src="http://xanth.home/CDash/img/check.gif"></div><br><div id="m_-4295532130753079704gmail-DoneStatus"><b>CDash Upgrade Successful.<br><br></b></div><div id="m_-4295532130753079704gmail-DoneStatus">5. However, if I go back again the CDash homepage, I have the same red message: "The current database schema doesn't match the version of CDash
you are running, upgrade your database structure in the
Administration/CDash maintenance panel of CDash"<br><br></div><div id="m_-4295532130753079704gmail-DoneStatus">Of course the weird thing is I installed 2.4.0 but the maintenance page says current schema 2.5 and there is also this line "Applying 2.6 patches". Each time a different version number. That could explain why I am still seeing this message. I did not find anything new the apache2 log this time. Any idea?<br></div><div id="m_-4295532130753079704gmail-DoneStatus"><b><br></b></div></div><div><br></div><div>Best,<br><br>--<br></div><div>François Bertel<br></div><div><br></div></div></div></div>
</blockquote></div><br></div>