<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/common.php:139\nStack trace:\n#0 /var/www/CDashRoot/include/common.php(324): XMLStrFormat('css/cdash.css')\n#1 /var/www/CDashRoot/include/common.php(1838): add_XML_value('cssfile', 'css/cdash.css')\n#2 /var/www/CDashRoot/include/login_functions.php(383): begin_XML_for_XSLT()\n#3 /var/www/CDashRoot/public/login.php(61): LoginForm('')\n#4 /var/www/CDashRoot/public/user.php(20): include('/var/www/CDashR...')\n#5 {main}\n  thrown in /var/www/CDashRoot/include/common.php on line 139, referer: http://*.*/CDash/viewProjects.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_encoding') === false) {<br>./include/common.php:139:    if (mb_detect_encoding($str, 'UTF-8', true) === false) {<br>./include/common.php:2072:        if (function_exists('mb_detect_encoding') &&<br>./include/common.php:2073:            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="gmail-Upgrade-Tables-Status">Upgrading tables: <img src="http://xanth.home/CDash/img/check.gif"></div><div id="gmail-Upgrade-2-6-Status">Applying 2.6 patches: <img src="http://xanth.home/CDash/img/check.gif"></div><br><div id="gmail-DoneStatus"><b>CDash Upgrade Successful.<br><br></b></div><div id="gmail-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="gmail-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="gmail-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>