<p>There was something wrong inside the vendor folder. Couldn't find what. What I did to solve it (thanks to Craft support):</p>

<ol>
<li>Rename <code>vendor</code> folder to <code>vendor-old</code></li>
<li><p>Ran <code>composer clearcache</code> to delete all content from Composer's cache directories</p></li>
<li><p>Ran <code>composer install</code> to install all depencies in composer.json</p></li>
<li>Deleted <code>vendor-old</code> folder</li>
</ol>

CC BY-SA 4.0
2019-04-09T13:54:15.560Z
2019-04-09T13:54:15.560Z
Rinus
<p>This morning there were new updates for Craft CMS, Contact Form and Simplemap on a Craft Pro site I host. I updated everything through the Craft CP. After the update, the CP still shows available plugin updates. When I check composer.json everything is already updated. </p>

<p>I tried running ./craft update all through SSH, deleted caches, checked the OPcache settings with my hosting provider and checked the logs. Can’t find any reason why the CP shows plugin updates while everything is already updated. </p>

<p>I also contacted Craft support, and they suggested putting the question here. I hope anyone does have an idea what’s going on. </p>

<p>The server environment:</p>

<ul>
<li>PHP 7.0.33</li>
<li>MySQL 5.5.5</li>
<li>Craft Pro 3.1.21.1</li>
<li>Yii 2.0.17</li>
</ul>

<p>My composer file:</p>

<pre class="lang-js prettyprint-override"><code>{
  "name": "craftcms/craft",
  "description": "Craft CMS",
  "keywords": [
    "craft",
    "cms",
    "craftcms",
    "project"
  ],
  "license": "MIT",
  "homepage": "https://craftcms.com/",
  "type": "project",
  "support": {
    "email": "support@craftcms.com",
    "issues": "https://github.com/craftcms/cms/issues",
    "forum": "https://craftcms.stackexchange.com/",
    "source": "https://github.com/craftcms/cms",
    "docs": "https://craftcms.com/docs",
    "rss": "https://craftcms.com/changelog.rss"
  },
  "require": {
    "craftcms/cms": "3.1.21.1",
    "vlucas/phpdotenv": "^2.4.0",
    "craftcms/redactor": "2.3.2",
    "rias/craft-position-fieldtype": "1.0.14",
    "craftcms/contact-form": "2.2.4",
    "ether/seo": "3.5.4",
    "ether/simplemap": "3.4.10",
    "nystudio107/craft-typogrify": "1.1.17",
    "matt-west/craft-recaptcha": "1.3.0"
  },
  "autoload": {
    "psr-4": {
      "modules\\": "modules/"
    }
  },
  "config": {
    "optimize-autoloader": true,
    "platform": {
      "php": "7.0"
    }
  },
  "scripts": {
    "post-root-package-install": [
      "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
    ],
    "post-create-project-cmd": [
      "@composer dump-autoload -o",
      "@php craft setup/welcome"
    ]
  }
}
</code></pre>

CC BY-SA 4.0
2019-04-05T23:26:59.807Z
Can you try temporarily disabling opcache and see if the behavior changes?
Brad Bell
CC BY-SA 4.0
2019-04-08T09:34:29.380Z
Disabled OPcache. Problem still appears. This morning 3 updates available (contact-form (2.2.3 => 2.2.4), simplemap (3.3.5 => 3.4.11) and typogrify (1.1.16 => 1.1.17). I ran ./craft update all and only simplemap was updated in the CP. Contact form and typogrify still showing available updates. When I run ./craft update I see: contact-form 2.2.3 => 2.2.4 and typogrify 1.1.16 => 1.1.17. When I check my composer.json file it says Contact form is at version 2.2.4 and typogrify at 1.1.17.
Rinus
CC BY-SA 4.0
2019-04-08T09:39:44.340Z
So ./craft update shows available updates. When I check composer.json it says the updates are already installed. Who's right? :-)
Rinus
CC BY-SA 4.0
2019-04-08T09:42:58.527Z
And, when running ./craft update all or ./craft update plugin-name again, craft shows: Backing up the database ... done
Performing update with Composer ... done
Applying new migrations ... done
Update complete! And updates are still available.
Rinus
<control-panel><updates>
Craft CP showing plugin updates, but already updated
# Craft CP showing plugin updates, but already updated

(Asked by: username_0 on 2019-04-05)

This morning there were new updates for Craft CMS, Contact Form and Simplemap on a Craft Pro site I host. I updated everything through the Craft CP. After the update, the CP still shows available plugin updates. When I check composer.json everything is already updated. 
I tried running ./craft update all through SSH, deleted caches, checked the OPcache settings with my hosting provider and checked the logs. Can’t find any reason why the CP shows plugin updates while everything is already updated. 
I also contacted Craft support, and they suggested putting the question here. I hope anyone does have an idea what’s going on. 
The server environment:

PHP 7.0.33
MySQL 5.5.5
Craft Pro 3.1.21.1
Yii 2.0.17

My composer file:
{
  "name": "craftcms/craft",
  "description": "Craft CMS",
  "keywords": [
    "craft",
    "cms",
    "craftcms",
    "project"
  ],
  "license": "MIT",
  "homepage": "https://craftcms.com/",
  "type": "project",
  "support": {
    "email": "support@craftcms.com",
    "issues": "https://github.com/craftcms/cms/issues",
    "forum": "https://craftcms.stackexchange.com/",
    "source": "https://github.com/craftcms/cms",
    "docs": "https://craftcms.com/docs",
    "rss": "https://craftcms.com/changelog.rss"
  },
  "require": {
    "craftcms/cms": "3.1.21.1",
    "vlucas/phpdotenv": "^2.4.0",
    "craftcms/redactor": "2.3.2",
    "rias/craft-position-fieldtype": "1.0.14",
    "craftcms/contact-form": "2.2.4",
    "ether/seo": "3.5.4",
    "ether/simplemap": "3.4.10",
    "nystudio107/craft-typogrify": "1.1.17",
    "matt-west/craft-recaptcha": "1.3.0"
  },
  "autoload": {
    "psr-4": {
      "modules\\": "modules/"
    }
  },
  "config": {
    "optimize-autoloader": true,
    "platform": {
      "php": "7.0"
    }
  },
  "scripts": {
    "post-root-package-install": [
      "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
    ],
    "post-create-project-cmd": [
      "@composer dump-autoload -o",
      "@php craft setup/welcome"
    ]
  }
}

**Tags:** control-panel, updates
> **Comments:**
> **username_1**: Can you try temporarily disabling opcache and see if the behavior changes?  
> **username_0**: Disabled OPcache. Problem still appears. This morning 3 updates available (contact-form (2.2.3 => 2.2.4), simplemap (3.3.5 => 3.4.11) and typogrify (1.1.16 => 1.1.17). I ran ./craft update all and only simplemap was updated in the CP. Contact form and typogrify still showing available updates. When I run ./craft update I see: contact-form 2.2.3 => 2.2.4 and typogrify 1.1.16 => 1.1.17. When I check my composer.json file it says Contact form is at version 2.2.4 and typogrify at 1.1.17.  
> **username_0**: So ./craft update shows available updates. When I check composer.json it says the updates are already installed. Who's right? :-)  
> **username_0**: And, when running ./craft update all or ./craft update plugin-name again, craft shows: Backing up the database ... done Performing update with Composer ... done Applying new migrations ... done Update complete! And updates are still available.  

---

## 1 answers

### Answer by username_0 on 2019-04-09. Score: 0 | Accepted answer

There was something wrong inside the vendor folder. Couldn't find what. What I did to solve it (thanks to Craft support):

1. Rename `vendor` folder to `vendor-old`
2. Ran `composer clearcache` to delete all content from Composer's cache directories
3. Ran `composer install` to install all depencies in composer.json
4. Deleted `vendor-old` folder


---

