Welcome to Centmin Mod Community
Register Now

Wordpress DO NOT UPGRADE WORDPRESS YET!!

Discussion in 'Blogs & CMS usage' started by Matt Williams, Dec 9, 2015.

Tags:
  1. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    12:00 AM
    latest
    10
    Please do not upgrade WordPress to the new release! It has lots of bugs in it still! I am currently restoring 19 sites from this horrible update which made all of them crash!


    Be warned!
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    2:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    12:00 AM
    latest
    10
    Not sure which bugs caused this headache of mine but it had made 19 sites crash and I only updated 19 - the others will have to wait awhile.
    Turned the screen completely white including the dashboard on all of them so im having to restore them all from backups. Luckily, ManageWP makes this easy
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    2:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    on PHP 7 or 5.6 ?
     
  5. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    12:00 AM
    latest
    10
    php 7
     
  6. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    12:00 AM
    latest
    10
    actually a combination of both 5.6 and php 7
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    2:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    could be related to PHP 7.. if you get blank pages, try first a nginx + php-fpm restart to see if it resolves the problem.
     
  8. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    12:00 AM
    latest
    10
    I am afraid to update them now lol! I just finished restoring them so im going to stick them on a staging site and do it
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    2:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    well thanks for heads up too.. all my wordpress blogs still on 4.3.1 so temp disable cronjob section that auto updates wp core version for now leaving auto update of wp plugins in place
     
  10. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    12:00 AM
    latest
    10
    I thought the cron only did minor updates for WP core
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    2:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes official centmin.sh menu option 22 only did minor updates and wp plugin

    my own cron does the full wp core updates too - as I think it's better to have an upgrade go wrong that you can revert back from, then have a compromised wp install where you have no idea what hackers inserted malware wise (which would involve a total system wipe + reinstall) :)
     
  12. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    12:00 AM
    latest
    10
    So I updated again and it created the white screen so I used nprestart and everything seems ok after that so if you do update, make sure you restart nginx + php-fpm after it
     
  13. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    2:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    thanks for confirmation.. i suspect it's to do with zend opcache caching and maybe setting opcache.revalidate_freq in /etc/centminmod/php.d/zendopcache.ini and maybe bug in PHP7 combined

    Code:
    ; http://php.net/manual/en/opcache.configuration.php#ini.opcache.revalidate-freq
    ; defaults to zend opcache checking every 180 seconds for PHP file changes
    ; set to zero to check every second if you are doing alot of frequent
    ; php file edits/developer work
    ; opcache.revalidate_freq=0
    opcache.revalidate_freq=180
     
  14. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    2:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    my full wp core + wp plugin cron updater

    Code:
    #!/bin/bash
    PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin
    EMAIL='myemailaddy'
    WPINSTALL_DIR='/home/nginx/domains/domain.com/public'
    
    {
    cd $WPINSTALL_DIR
    echo "$WPINSTALL_DIR"
    /usr/local/src/centminmod/addons/wpcli.sh update
    /usr/bin/wp plugin status --allow-root
    /usr/bin/wp plugin update --all --allow-root
    /usr/bin/wp core check-update --allow-root
    /usr/bin/wp core update --allow-root
    /usr/bin/wp core update-db --allow-root
    /usr/bin/nprestart
    } 2>&1 | mail -s "Wordpress WP-CLI Auto Update `date`" $EMAIL
     
  15. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    12:00 AM
    latest
    10
    In my opinion, it's best to update core yourself in case situations like this arise. I deal with lots of sites daily and if I had that in place and the cron ran, I would be rushing to ( nprestart ) everyones VPS and my helpdesk would be full of tickets (y)
     
  16. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    2:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    my custom cron auto runs nprestart but yeah i know what you mean

    still better than compromised site that elevates to compromised server as then you'd be reloading the entire server OS and data !
     
  17. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    12:00 AM
    latest
    10
    well then, if your cron uses nprestart, then I "may" just use it lol! I missed that in there
     
  18. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    2:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah might add it into official centmin.sh menu option 22 as well heh
     
  19. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    12:00 AM
    latest
    10
    I was going to ask the same thing if you were ;) wouldn't be a bad idea
     
  20. eva2000

    eva2000 Administrator Staff Member

    54,909
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    2:00 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+