Upgrade from 1.8 Alpha2 to Alpha3 Fails

Continuing the discussion from 1.8 Alpha3 Installation with CMS white label:

I tried to install latest Dev - Alpha 3 today as and upgrade from Alpha 2, ran composer install, restore the .htaccess file, and settings file, then tried to access the CMS. It redirected, and I got:

Upgrade Pending

But that is it.

The Log Table last entries show

Upgrade Pending
PDO stats: {"connections":3,"selects":0,"inserts":0,"updates":0}.
SET @session_id='71qs5m4ec44e778i75m1ijvpc1';
SET @session_data='init|s:1:"1";slim.flash|a:0:{}';
SET @session_data2='init|s:1:"1";slim.flash|a:0:{}';
SET @session_expiration='1460311920';
SET @session_expiration2='1460311920';
SET @lastAccessed='2016-04-10 10:42:00';
SET @lastAccessed2='2016-04-10 10:42:00';
SET @userId='0';
SET @userId2='0';
SET @expired='0';
SET @expired2='0';
SET @useragent='Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36';
SET @remoteaddr='127.0.0.1';

                  INSERT INTO `session` (session_id, session_data, session_expiration, lastaccessed, userid, isexpired, useragent, remoteaddr)
                    VALUES (@session_id, @session_data, @session_expiration, @lastAccessed, @userId, @expired, @useragent, @remoteaddr)
                    ON DUPLICATE KEY UPDATE
                      `session_data` = @session_data2,
                      `userId` = @userId2,
                      `session_expiration` = @session_expiration2,
                      `isExpired` = @expired2,
                      `lastaccessed` = @lastAccessed2

Not sure why it stopped.

I then went back to the /web/ folder and the Xibo UPgrade Page appeared. Clicked start and got This on step one:

1.8.0-alpha3	Convert MyISAM tables to InnoDB
Missing argument 1 for Xibo\Upgrade\MyIsamToInnoDbStep::__construct(), called in C:\wamp\www\xibo18alpha\lib\Entity\Upgrade.php on line 91 and defined
April 10, 2016 10:56		

(Yes I know the folder is not in the ideal place at the moment)

I think that is referring to $store, but I don’t know where that is suppose to come from.

I then thought we would just use the official Alpha3 release. Tried that and got:

Missing argument 1 for Xibo\Upgrade\MyIsamToInnoDbStep::__construct(), called in C:\wamp\www\xibo18alpha\lib\Entity\Upgrade.php on line 85 and defined

So same thing. We will try a fresh install without the upgrade.

Note: I did try to clear the cache before starting each of the upgrades.

Update: Fresh install worked fine.

Regrettably there are some fixes that had to go out immediately on release which prevented upgrade working correctly. Specifically: https://github.com/xibosignage/xibo-cms/commit/3ee1212b02c722a146a00e094f0ff69f88fb5c7d#diff-21abe482d0c0e417054747b9bb29d0c8R93

If you tried directly from the repository I am surprised that you didn’t get those fixes included.

On the release page there is a rev2 version of the release archive too …

Can you check that your code contains the change linked in my first paragraph?

Thank you for the information. We are just going to continue with the Alpha3 official release, as we already have that up and running.

1 Like

No problem!..20 chars

1 Like