Page 1 of 1

Upgrade 2.1.6 to 2.2 failure

Posted: Mon Jun 12, 2017 11:43 pm
by postiffm
Hi,

I tried to upgrade. There were three errors that showed up on the first try. I apologize but I cannot remember them all and didn't write them down. I installed with advanced mode turned off.

1. Can't remember.
2. I think something about adodb-lite.
3. Plugins/ directory could not be removed. It had a zero-length php file in it from 4/2015. I removed it by hand and decided to try again.

Tried again. Installation went farther this time. But then this:

Create temporary directories
Could not find a database abstraction layer named mysql

Tried a third time, same result.

I did find it interesting that you require me to manually enter the db_password from config.php. I don't recall having to do that before on an upgrade.

It looks like in "refresh mode" the installer skips Step 8 (database work) and thus does not do the very thing that I need it to do.

Thanks for any pointers.

Re: Upgrade 2.1.6 to 2.2 failure

Posted: Tue Jun 13, 2017 7:32 am
by velden
For others:
Been working on it shortly and fixed a few issues.

dbms must be 'mysqli':
https://docs.cmsmadesimple.org/configur ... onfig_dbms

BTW: always make sure to have a backup before starting an upgrade (in this case we have)

Re: Upgrade 2.1.6 to 2.2 failure

Posted: Tue Jun 13, 2017 10:53 am
by postiffm
A little more on this: My config.php has had this line in it for a long time:

$config['dbms'] = 'mysql';

The 2.2 installer did not change it to mysqli, so a manual change was needed.

Re: Upgrade 2.1.6 to 2.2 failure

Posted: Tue Jun 13, 2017 2:42 pm
by Rolf
I needed to change that when hosting went to PHP 7.x

Re: Upgrade 2.1.6 to 2.2 failure

Posted: Tue Jun 13, 2017 3:41 pm
by postiffm
I am running on php 5.6.30 on a2hosting.com.