DeantheTaxGuy 1 Posted December 11, 2019 Report Share Posted December 11, 2019 Hey guys and gals,I'm using 7.1 open source, self-hosted.When I go to /x2crm/index.php/admin/updaterits runs for awhile and then...Update X2Engine to 8.0 from 7.1Errors encountered.Could not complete operation because the request to the server failed or timed out. (error undefined ) Obtain and check dataReview and confirm changesDownload packageExtract packageVerify package contentsApply changesReload 1 Quote Link to post Share on other sites
alt_f4 53 Posted December 12, 2019 Report Share Posted December 12, 2019 Hi Dean, our update was hasselfree. Did you check the PHP timeout-settings or tried to increase them? Regards! Quote Link to post Share on other sites
DonnaParrish 5 Posted March 18, 2020 Report Share Posted March 18, 2020 In your 8.0 release notes, you state: Note for sales quotes after updating to 8.0With the new quote creator changes, quotes appear differently. Quotes already stored in the database will still have comments for line items, but will not be seen on the view/update/print pages. In order to make sure comments show properly, you will need to run the FixOldQuotesCommand command. To do this, navigate to your application directory and then to the protected/ directory. Then run ./yiic fixoldquotes to move all line items' comments to it's own line item. What about old adjustments? We ran fixoldquotes, and it fixed comments but it did not seem to fix adjustments. 1 Quote Link to post Share on other sites
X2Clifton 7 Posted March 23, 2020 Report Share Posted March 23, 2020 Hi DonnaParrish, I've tested and confirmed this problem, and will let you know when a fix is available! Quote Link to post Share on other sites
Walter 10 Posted March 26, 2020 Report Share Posted March 26, 2020 Hi,Upgrade gives a following error: Exception: "CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away" in /x2system/framework/db/CDbCommand.php L543 I've tried to increase max_allowed_packet to 1GB and timeout settings to maximum possible. Error still persists. What else can be done here? Thanks a lot in advance! Quote Link to post Share on other sites
alt_f4 53 Posted April 2, 2020 Report Share Posted April 2, 2020 Seems to be a timeout problem. Try to "SET session wait_timeout=14400" and/or "SET session interactive_timeout=14400" or increasing to servers´ maximum (at least for import). 14400 = 4 hrs, should be enough ;-) Regards! 1 Quote Link to post Share on other sites
Walter 10 Posted April 8, 2020 Report Share Posted April 8, 2020 Thanks a lot alt_f4 - upgraded successfully 1 Quote Link to post Share on other sites
alt_f4 53 Posted April 8, 2020 Report Share Posted April 8, 2020 Welcome :-) and stay healty Quote Link to post Share on other sites
ChrisM 1 Posted May 4, 2020 Report Share Posted May 4, 2020 Hi all. Having this same error across a recent install today. Can someone point me in the right direction of where to place these commands to set session. SET session wait_timeout=14400 SET session interactive_timeout=14400 Thanks 1 Quote Link to post Share on other sites
alt_f4 53 Posted May 7, 2020 Report Share Posted May 7, 2020 your PHP settings (depends on your hoster where to set it) Quote Link to post Share on other sites
steals 6 Posted August 6, 2020 Report Share Posted August 6, 2020 Where can I direct download X2 8.0? SET session wait_timeout=14400 SET session interactive_timeout=14400 Hello, These are MySQL timeout settings. Unfortunately, in a shared hosting environment we are not able to change them off of the default settings.Regards,Walben WhitebrewWebHostingPad Support Quote Link to post Share on other sites
alt_f4 53 Posted August 10, 2020 Report Share Posted August 10, 2020 Try to define a php.ini and put it to your root; may your provider support the custom settings. The direct download of X2 v8 seems not to be possible (waiting since months...), but the update-download is availabe through the X2 admin / settings page https://your_path_to_x2/index.php/admin/updater Quote Link to post Share on other sites
allied 0 Posted January 16 Report Share Posted January 16 Any updates on this issue? Quote Link to post Share on other sites
alt_f4 53 Posted January 18 Report Share Posted January 18 Did you try the hints above? Quote Link to post Share on other sites
alt_f4 53 Posted January 18 Report Share Posted January 18 If you don´t have access to your (direct) php setting, you can try it by editing the .htaccess (ref php - Declaring Session Max Life Time in htaccess - Stack Overflow): php_value session.gc_maxlifetime 14400 Quote Link to post Share on other sites
allied 0 Posted January 18 Report Share Posted January 18 Those changes resulted in the same error message. However, when trying to update from 7.1 to 8 using cli i get the following output:The updater is up-to-date and safe to use.Some requirements for running X2Engine at the latest version are not met on this server: Major Could not reach the updates server from this web server. This is likely because the server is behind a firewall that is preventing outbound HTTP/HTTPS requests. Software updates will have to be performed using the "offline" method. This may be a temporary problem.Critical PHP is running with user ID=0, but this directory is owned by the system user with ID=48. The path defined in session.save_path () is not writable.Note that the following files, of which there are local custom derivatives, will be changed: protected/modules/quotes/views/quotes/_lineItems.php I have tried with firewall off. Is this a requirements or permission issue? Quote Link to post Share on other sites
X2Peter 42 Posted January 20 Report Share Posted January 20 Hello Allied, Please refer to http://community.x2crm.com/topic/4181-cli-update-from-71-to-8/?do=findComment&comment=16462for assistance with troubleshooting. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.