Results 1 to 6 of 6

Thread: Install using LiveUpdate

  1. #1
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Install using LiveUpdate

    I have upgraded my server using the LiveUpdate feature, but half-way through it generated a stack overflow error 0 and some database commands didn't finish, etc. Now even though it says its upgraded, I'm not so sure. Isn't there a LiveUpdate feature where we can force a repair... like in the Extension repository. Because after LiveUpdate (even on a failure at PHP / MySQL level), it still thinks everything is ok and you can't live update again...? Maybe I can just change some setting in localconfig.php to make it think its still on a previous version to force the upgrade again?

  2. #2
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default Re: Install using LiveUpdate

    Just decrease the build number in your system/constants.php, then you can run the Live Update again.

  3. #3
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: Install using LiveUpdate

    That works, but my system still throws a stack error and a mysql error. What settings can I adjust so that it doens't do that anymore... I think its taking too long to download the files and process them, so the PHP-MySQL link is lost...

    Code:
    # Updated system/constants.php
    # Updated CHANGELOG.txt
    # Updated system/runonce.php
    
    Fatal error: Uncaught exception Exception with message Query error: MySQL server has gone away (INSERT INTO tl_log (tstamp, source, action, username, text, func, ip, browser) VALUES(1271404734, 'BE', 'GENERAL', 'admin', 'Live update from version 2.8.1 to version 2.8.2 completed', 'ModuleMaintenance runLiveUpdate()', '196.215.48.14', 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en; rv:1.9.0.16) Gecko/2009120123 Camino/2.0.1 (like Firefox/3.0.16)')) thrown in /usr/home/thyon/public_html/thyon.com/system/libraries/Database.php on line 599
    
    #0 /usr/home/thyon/public_html/thyon.com/system/libraries/Database.php(546): Database_Statement->query()
    #1 /usr/home/thyon/public_html/thyon.com/system/libraries/System.php(167): Database_Statement->execute(1271404734, 'BE', 'GENERAL', 'admin', 'Live update fro...', 'ModuleMaintenan...', '196.215.48.14', 'Mozilla/5.0 (Ma...')
    #2 /usr/home/thyon/public_html/thyon.com/system/modules/backend/ModuleMaintenance.php(379): System->log('Live update fro...', 'ModuleMaintenan...', 'GENERAL')
    #3 /usr/home/thyon/public_html/thyon.com/system/modules/backend/ModuleMaintenance.php(243): ModuleMaintenance->runLiveUpdate()
    #4 /usr/home/thyon/public_html/thyon.com/system/modules/backend/ModuleMaintenance.php(59): ModuleMaintenance->liveUpdate()
    #5 /usr/home/thyon/public_html/thyon.com/system/modules/backend/BackendModule.php(114): ModuleMaintenance->compile()
    #6 /usr/home/thyon/public_html/thyon.com/system/modules/backend/Backend.php(162): BackendModule->generate()
    #7 /usr/home/thyon/public_html/thyon.com/typolight/main.php(99): Backend->getBackendModule('maintenance')
    #8 /usr/home/thyon/public_html/thyon.com/typolight/main.php(295): Main->run()
    #9 {main}
    
    
    Fatal error: Exception thrown without a stack frame in Unknown on line 0

  4. #4
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default Re: Install using LiveUpdate

    "MySQL server has gone away" is typically a server configuration issue. I never stumbled upon it using TYPOlight though. Is this a shared hosting server with a lot of clients? Did you contact the support?

  5. #5
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: Install using LiveUpdate

    Its obviously a shared hosting solution -- I don't think we have any other type here in South Africa... its just too expensive.

    I haven't contacted them, as I'm still not sure it was their error? I have updated TL on another website, which is also on their hosting but just on another shared server and that one worked fine...

  6. #6
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default Re: Install using LiveUpdate

    The error is typically thrown if there are too many MySQL requests. It does not mean that those are your requests though! If one of the other 500 users causes a lot of traffic or misconfigures his account, it does affect yours, too. That is why the international TYPOlight forum is not available every now and then

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
  •