Upgrade from 1.4 to 1.6

Asked by dave

I'm attempting to upgrade from 1.4 to 1.6 (current release) and I've run into some issues that I'm sure are my fault and not the software's.

first, I'm not able to do the backup of the database with the mysqldump.exe file. I keep getting permission errors even though I'm using the admin account that I use to log in to the xibo control panel. I'm not sure if that's the right account or not.

second, I'm running the xibo server in a virtual environment, so I decided to throw caution a little bit to the wind and took a snapshot of the system so I had a backup of it in situ. after that I followed the instructions in the upgrade document that said to take everything from the 1.6 zip and put it in the xibo folder (C:\xampp\htdocs\Xibo) but when I go to the normal web address (http://servername/xibo) I don't get any response, just a page cannot be found.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
dave
Solved:
Last query:
Last reply:

This question was reopened

  • by dave
Revision history for this message
Dan Garner (dangarner) said :
#1

Dave,

Always best to make sure you rename the old Xibo folder (or clear it in
some other way) first. Then copy back in your settings.php file.

As for the SQL dump, you need your MySQL user/pass not your CMS user and
pass. You can get this from your settings.php file (although you will need
the root user/pass and this may not be the one you used to install).

There are numerous articles for how to set those credentials back if you
Google for them.

Thanks,
Dan

Revision history for this message
dave (dsenette-w) said :
#2

so, make a copy of c:\xampp\htdocs\xibo as a backup, then clear the original and replace all the files

Revision history for this message
dave (dsenette-w) said :
#3

Thanks Dan Garner, that solved my question.

Revision history for this message
dave (dsenette-w) said :
#4

bah....silly buttons hehe clicked the "this solved my problem" before I solved my problem. just got to test this stuff out.

Revision history for this message
Dan Garner (dangarner) said :
#5

Haha, no problem. Let us know how you get on.

Thanks,
Dan

Revision history for this message
dave (dsenette-w) said :
#6

still no dice. I was able to get the db backed up, but when I replace the c:\xampp\htdocs\xibo folder contents with the contents of the zip file I get an HTTP 500 internal server error when I try to access http://servername/xibo

Revision history for this message
dave (dsenette-w) said :
#7

weirder still, when I put the original contents of the folder back, the upgrade page comes up when I go to the CMS console

Revision history for this message
Dan Garner (dangarner) said :
#8

Lets go back to the beginning.

Get your empty folder, extract the contents of the ZIP, replace your settings.php file.

What do you have in the browser URL when you navigate in there? it should be pointing to http://servername/xibo/upgrade.php (it will have auto directed you there).

Does this happen?

Revision history for this message
dave (dsenette-w) said :
#9

http://aact-xibo/xibo is what I type in and I get an internal 500 error. if I go to http://aact-xibo/xibo/upgrade.php I get the same. if I then replace all of the c:\xampp\htdocs\xibo folder with the contents of the old copy that I made , then upgrade.php will load, and ask for a password but once I enter the password it just goes to the page with the tab looking graphic saying upgrade, but nothing underneath it.

Revision history for this message
Dan Garner (dangarner) said :
#10

OK... lets stick with the new files.

Can you open upgrade.php in a text editor and change these lines:

error_reporting(0);
ini_set('display_errors', 0);

to this:

error_reporting(E_ALL);
ini_set('display_errors', 1);

Revision history for this message
dave (dsenette-w) said :
#11

I THINK my PHP version is too low and I'm having trouble upgrading the PHP in xampp. I'm running xampp 1.7.1, and the PHP version is 5.2.9. I noticed in the upgrade.php it says it needs to be at least 5.3.

Revision history for this message
Dan Garner (dangarner) said :
#12

Yes you need 5.3.3 or higher due to some new functionality in the CMS.

Revision history for this message
dave (dsenette-w) said :
#13

ok, well, I know you guys aren't xampp/apache support...but...I followed some instructions on how to upgrade PHP in xampp and they didn't work. I downloaded php 5.3.28, unzipped to a new folder in the xampp directory, then changed the apache config files to point there, but after that apache won't start (tried 5.5 as well). looks like upgrading all of xampp would put it to 5.5 but that process looks a bit large

Revision history for this message
Dan Garner (dangarner) said :
#14

Sorry Dave, but I don't have any experience with XAMPP at all... I use WAMP myself (or one of our cloud accounts).

You might consider WAMP, I find it quite easy - that said I have never upgraded PHP on it...

Revision history for this message
dave (dsenette-w) said :
#15

looks like the only way that isn't insane would be to migrate to a new setup...which isn't something that I'd like to do today. just trying to get to the current version

Revision history for this message
Dan Garner (dangarner) said :
#16

Unfortunately we have to move forward with each new version to get new features, etc. 5.3.3 is an old version of PHP as it is. Whatever you do make sure you have a backup of your DB/library and everything else should be recoverable.