Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

In Progress [CPANEL-23030] Wordpress site software update notice displays wrong version

Discussion in 'General Discussion' started by marcuszan, Sep 13, 2018.

  1. marcuszan

    marcuszan Well-Known Member

    Joined:
    Apr 19, 2018
    Messages:
    54
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    Hi,

    I receive an email suggesting I need to update my WP install >>
    Code:
    ==============
    In order to protect the security of your website, we recommend that you upgrade
    the following scripts that were installed via the "Scripts Library" in your cPanel interface:
    
     - WordPressX.0 v4.9.7
       Location:  at http://domain.com/
       Latest: v4.9.8
       Upgrade here: https://domain.com:2083/frontend/paper_lantern/addoncgi/cpaddons.html?addon=cPanel%3a%3aBlogs%3a%3aWordPressX&action=upgrade&workinginstall=cPanel%3a%3aBlogs%3a%3aWordPressX.0.yaml
    ==============
    
    However,

    my WP version is v4.9.8

    this is also shown when I login to cPanel and WP admin.
    The WP install was done through the cPanel installer.

    Any idea what goes wrong here?

    Thanks.
     
    #1 marcuszan, Sep 13, 2018
    Last edited: Sep 13, 2018
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    481
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @marcuszan

    Can you show me what the version is noted as for the installation by running the following:

    Code:
    grep version cPanel::Blogs::WordPressX.0.yaml
    Are there multiple WordPress installations for the account?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. marcuszan

    marcuszan Well-Known Member

    Joined:
    Apr 19, 2018
    Messages:
    54
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    Hi,

    your command gives me

    Code:
    grep: cPanel::Blogs::WordPressX.0.yaml: No such file or directory
    On these accounts I have 1 WP install per account.

    Thanks
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    481
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @marcuszan

    That's entirely my fault I didn't give you the path to the file, I apologize for that. Please try this again with the following (replace $youruser with the username of the account experiencing the issue):

    Code:
    grep version /home/$youruser/.cpaddons/cPanel::Blogs::WordPressX.0.yaml
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. marcuszan

    marcuszan Well-Known Member

    Joined:
    Apr 19, 2018
    Messages:
    54
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    Hi Lauren,
    this is result of your command
    Code:
        "mysql-version": '5.7'
    "mysql.wp.mysql-version": '5.7'
    "version": '4.9.7'
    "version_key": ~
    In WP admin it says version v4.9.8

    Thanks
     
  6. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    481
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @marcuszan

    Perfect, thanks for providing that information. We do have a case open for this where the yaml file wasn't getting updated when WordPress was CPANEL-23030

    I believe we can work around this by manually modifying that yaml to reference the "version" as 4.9.8

    Can you let me know if that resolves the issue for you?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. marcuszan

    marcuszan Well-Known Member

    Joined:
    Apr 19, 2018
    Messages:
    54
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    I see the entry of version number 2 times in this file.
    Code:
    "installed_4.9.7": '1531389868'
    
    and later this
    Code:
    "version": '4.9.7'
    
    I assume I need to change both ?

    Thanks
     
  8. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    481
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @marcuszan

    Good catch! I didn't realize it was present twice, I'll add that information to the internal case. Yes, please change it in both spots and let me know if the issue persists.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. marcuszan

    marcuszan Well-Known Member

    Joined:
    Apr 19, 2018
    Messages:
    54
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    I changed the values. Now I will have to wait for the next WP update to see if the file changed with it.
    Will report back.

    Thanks
     
  10. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    481
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @marcuszan

    Perfect, definitely let us know if it persists. I'll also update this thread with any updates on the status of the internal case which is still open and unresolved at this time.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. marcuszan

    marcuszan Well-Known Member

    Joined:
    Apr 19, 2018
    Messages:
    54
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    Hi,

    Same issue again now.
    Code:
    In order to protect the security of your website, we recommend that you upgrade
    the following scripts that were installed via the "Scripts Library" in your cPanel interface:
    
     - WordPressX.0 v4.9.8
        Location:  at http://domain.com/
        Latest: v5.0.2
    cpanel and wp admin show I am running 5.0.2 but still I get this email
     
  12. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    481
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    This case is not resolved at this time, my assumption is that the yaml file will have to get updated everytime wordpress is updated internally until the issue is resolved. I'll update here when CPANEL-23030 has been resolved.


    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. marcuszan

    marcuszan Well-Known Member

    Joined:
    Apr 19, 2018
    Messages:
    54
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    @cPanelLauren

    Thanks for the reply.
    I will manually update the YAML file.

    However, technically this shouldn't be very complicated to fix right ?
    cPanel admin panel can read and thus shows the correct version.
    Assuming permissions and ownership of YAML file are good, what would keep the script from updating the version info and writing it to the file ?
     
  14. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    481
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @marcuszan

    I wouldn't assume so, though I'm not a developer. I'll let you know as soon as there are any updates though.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. marcuszan

    marcuszan Well-Known Member

    Joined:
    Apr 19, 2018
    Messages:
    54
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice