Results 1 to 3 of 3

Thread: Upgrade Stack (FastStack 6.0 --> FastStack 6.4)

  1. #1
    blak3r's Avatar
    blak3r is offline Sugar Community Member
    Join Date
    Sep 2010
    Location
    Maryland
    Posts
    239

    Default Upgrade Stack (FastStack 6.0 --> FastStack 6.4)

    The fast stack installer for 6.4 has a number of improvements. PHP5.3, Mysql 5.1, and binaries for opcode caching.

    So, I want to upgrade.

    Here's what i did, ran the installer and installed to a different directory, and installed apache and mysql on different ports as my other instance. As a result, I had two

    Removed the sugarcrmce app.
    Made a copy of my existing sugarcrm pro htdocs folder.

    I didn't update the config.php so my new copy running in newer apache and with php 5.3 was still connecting to the original mysql instance.

    I get these errors when I start the new apache:

    [Sat Feb 18 01:14:19 2012] [error] [client 74.84.138.114] PHP Warning: mysqli_connect(): Premature end of data (mysqlnd_wireprotocol.c:553) in C:\\sugarcrm-6.4.0\\apps\\sugarcrm\\htdocs\\include\\database\\ MysqliManager.php on line 274
    [Sat Feb 18 01:14:19 2012] [error] [client 74.84.138.114] PHP Warning: mysqli_connect(): OK packet 1 bytes shorter than expected in C:\\sugarcrm-6.4.0\\apps\\sugarcrm\\htdocs\\include\\database\\ MysqliManager.php on line 274
    [Sat Feb 18 01:14:19 2012] [error] [client 74.84.138.114] PHP Warning: mysqli_connect(): (HY000/2000): mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file in C:\\sugarcrm-6.4.0\\apps\\sugarcrm\\htdocs\\include\\database\\ MysqliManager.php on line 274
    [Sat Feb 18 01:14:19 2012] [error] [client 74.84.138.114] PHP Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in C:\\sugarcrm-6.4.0\\apps\\sugarcrm\\htdocs\\include\\database\\ MysqliManager.php on line 125

    My plan to fix this is to: copy the entire data folder form my old mysql to the new one.
    Then rnysql_upgrade.exe (this will in theory upgrade it from 5.0 to 5.1).
    Then update my config.php to point to the new mysql port.
    If I still get that error, I'll try to run mysqladmin and set the password.

    Copying the entire data folder is going to take a couple hours so experimentation is somewhat time consuming. If anyone has any advice that could save me some time, I'd appreciate it.
    Sugar 6 Pro, On-Site (Apache 2.0, MySQL 5.1, PHP 5.2.6)

    My SugarForge Projects:
    Email To Sugar - Archive emails in any mail client by adding a BCC line.
    Task Dashlets Plus- Adds custom dashlets for: tasks assigned to me by others, delegated tasks, overdue tasks, and open tasks past start date

    www.blakerobertson.com

  2. #2
    blak3r's Avatar
    blak3r is offline Sugar Community Member
    Join Date
    Sep 2010
    Location
    Maryland
    Posts
    239

    Default Re: Upgrade Stack (FastStack 6.0 --> FastStack 6.4)

    I fixed the error above by running

    SET PASSWORD = PASSWORD('your_existing_password')

    from the mysqladmin tool.


    Haven't figured out how to migrate the database yet (haven't needed to yet)... Will post back when I do.
    Sugar 6 Pro, On-Site (Apache 2.0, MySQL 5.1, PHP 5.2.6)

    My SugarForge Projects:
    Email To Sugar - Archive emails in any mail client by adding a BCC line.
    Task Dashlets Plus- Adds custom dashlets for: tasks assigned to me by others, delegated tasks, overdue tasks, and open tasks past start date

    www.blakerobertson.com

  3. #3
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Upgrade Stack (FastStack 6.0 --> FastStack 6.4)

    Hmm, this sounds very complicated to me. I'd rather do the following: Make a copy of your entire stack installation and then uninstall the stack. Install the new stack, copy your old Sugar directory back under htdocs and the old mysql data directory to where it belongs (alternatively: import a dump of your Sugar database with the same name as the old one) and then run Sugar as usual. Update Sugar only with the appropriate Sugar update file.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. phpMyAdmin-Mac OS X-FastStack
    By mrwebby in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2011-05-06, 10:55 PM
  2. faststack sugarcrm 5.0
    By SHEENAH in forum Français
    Replies: 0
    Last Post: 2010-04-09, 03:41 PM
  3. FastStack or XAMPP
    By rickitambo in forum Developer Help
    Replies: 4
    Last Post: 2009-05-17, 02:39 PM
  4. Do I need to Install FastStack?
    By kjakemiller in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-11-26, 09:31 AM
  5. Replies: 0
    Last Post: 2008-10-13, 02:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •