cancel
Showing results for 
Search instead for 
Did you mean: 

Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

SOLVED

Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

A little ironic seeing as this is supposed to only update the copyright message!

If I check for new versions I'm told I'm on the latest one.

 

Is there another way to check what version I'm on apart from that text in the Admin Panel?

All seems to be running fine. Have I missed something?

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

@bdamage

 

You're welcome. Considering my post giving a Kudo if that was helpful. 

 

Your composer.json looks okay to me. Best is to rerun composer to be 100% sure. 

 

 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post

View solution in original post

Re: Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

Yay! I just ran "composer update" as you said and it fixed it for me. Thanks.

 

By the way since I posted I found a way to get the Magento version from the command line

php bin/magento --version

 

View solution in original post

8 REPLIES 8

Re: Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

@bdamage

 

How did you update your Magento? Did you use "composer update"? If yes then did you run the following? 

 

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post

Re: Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

I didn't use the CLI composer update, I did it from the admin panel (System | Web Setup Wizard ... ). I'm on win 7 64.

I ran those commands at the time, and just now which completed normally but made no difference.

Re: Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

Although the site is working fine, I am worried now that a future update could get confused because it thinks the site is at 2.1.4.

 

Is it only me this happened to?

Is there another way I can check, for example a db entry or file, which version I am on?

Is there some health check which can scan the integrity?

Thanks!

Re: Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

@bdamage

 

It's very odd that you are facing this issue. Find my comments below: 

 

 

Is it only me this happened to?

I can't answer this as I have personally never experienced this in the past. I still suspect that part of the reason is that your system upgrade failed. I suggest you do the following one more time: 

  • Remove content of Cache, di, view_preprocessed directories
  • Run system upgrade command d
  • Run system compile command
  • Finally deploy static content

Try this and see if it helps? 

 

Is there another way I can check, for example a db entry or file, which version I am on?

There used to be a piece of code for M1 which would tell you the exact version of your Magento system. For M2, best is to check your root composer.json file and check what version the composer is deploying.  

 

Is there some health check which can scan the integrity?

http://www.magereport.com is the best tool to do a quick health check of your website. It'd tell your Magento version, missing/installed security patches and the levels of risks. 

 

I hope this helps. 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post

Re: Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

This is great info, thanks. The site is in dev so running on localhost. I can't check using the tool you mention but will remember when it's launched.

 

Here is the entire composer.json from the root:

 

{
    "name": "magento/project-community-edition",
    "description": "eCommerce Platform for Growth (Community Edition)",
    "type": "project",
    "version": "2.1.3",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "require": {
        "magento/product-community-edition": "2.1.5",
        "composer/composer": "@alpha"
    },
    "require-dev": {
        "phpunit/phpunit": "4.1.0",
        "squizlabs/php_codesniffer": "1.5.3",
        "phpmd/phpmd": "@stable",
        "pdepend/pdepend": "2.2.2",
        "fabpot/php-cs-fixer": "~1.2",
        "lusitanian/oauth": "~0.3 <=0.7.0",
        "sebastian/phpcpd": "2.0.0"
    },
    "config": {
        "use-include-path": true
    },
    "autoload": {
        "psr-4": {
            "Magento\\Framework\\": "lib/internal/Magento/Framework/",
            "Magento\\Setup\\": "setup/src/Magento/Setup/",
            "Magento\\": "app/code/Magento/"
        },
        "psr-0": {
            "": "app/code/"
        },
        "files": [
            "app/etc/NonComposerComponentRegistration.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
            "Magento\\Tools\\": "dev/tools/Magento/Tools/",
            "Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
            "Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
            "Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
        }
    },
    "minimum-stability": "alpha",
    "prefer-stable": true,
    "repositories": [
        {
            "type": "composer",
            "url": "https://repo.magento.com/"
        }
    ],
    "extra": {
        "magento-force": "override"
    }
}

Re: Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

@bdamage

 

You're welcome. Considering my post giving a Kudo if that was helpful. 

 

Your composer.json looks okay to me. Best is to rerun composer to be 100% sure. 

 

 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post

Re: Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

Yay! I just ran "composer update" as you said and it fixed it for me. Thanks.

 

By the way since I posted I found a way to get the Magento version from the command line

php bin/magento --version

 

Re: Updated from 2.1.4 to 2.1.5 OK but Admin Panel still reports "Magento ver. 2.1.4"

Brilliant. Please accept my answer as a solution so the others would know what to do should they experience the same issues
Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post