I love the ease of updating my Drupal sites with drush, thumbs up for that!
Until now I didn't really experience any problems with neither Drupal 6 or Drupal 7 sites. Now though, I am getting some weird behaviour.

Running drush status shows

paul@localhost:/var/www/htdocs/drupal$ drush status
 Drupal version                  :  7.21                                       
 Site URI                        :  http://default                             
 Database driver                 :  mysql                                      
 Database hostname               :  localhost                                  
 Database username               :  db_user                                
 Database name                   :  db_name                             
 Database                        :  Connected                                  
 Drupal bootstrap                :  Successful                                 
 Drupal user                     :  Gast                                       
 Default theme                   :  corolla                                    
 Administration theme            :  seven                                      
 PHP configuration               :  /etc/php5/cli/php.ini                      
 Drush version                   :  5.8                                        
 Drush configuration             :                                             
 Drupal root                     :  /var/www/htdocs/drupal 
 Site path                       :  sites/default                              
 File directory path             :  sites/default/files                        
 Temporary file directory path   :  /tmp

and drush up reveals the new version of Drupal and runs the update (presumably successful):

Update status information on all installed and enabled Drupal projects:
 Name                              Installierte Version  Proposed version  Status                                             
 Administration menu (admin_menu)  7.x-3.0-rc4           7.x-3.0-rc4       Aktuell                                            
 Drupal                            7.21                  7.22              Aktualisierung verfügbar                           
 CKEditor (ckeditor)               7.x-1.12              7.x-1.12          Aktuell                                            
 Chaos tools (ctools)              7.x-1.3               7.x-1.3           Aktuell                                            
 Date (date)                       7.x-2.6               7.x-2.6           Aktuell                                            
 Internationalization (i18n)       7.x-1.8               7.x-1.8           Aktuell                                            
 IMCE (imce)                       7.x-1.7               7.x-1.7           Aktuell                                            
 Variable (variable)               7.x-2.2               7.x-2.2           Aktuell                                            
 Views (views)                     7.x-3.6               7.x-3.7           Aktualisierung verfügbar                           
 AT Core (adaptivetheme)           7.x-3.1               7.x-3.1           Aktuell                                            
 Corolla (corolla)                 7.x-3.0-rc1           7.x-3.0-rc1       Aktuell                                            



NOTE: A code update for the Drupal core is available.
Drupal core will be updated after all of the non-core modules are updated.

Code updates will be made to the following projects: Views [views-7.x-3.7]

Note: A backup of your project will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Do you really want to continue with the update process? (y/n): y
Project views was updated successfully. Installed version is now 7.x-3.7.
Backups were saved into the directory /home/paul/drush-backups/db_name/20130410064305/modules/views.                                             [ok]

Code updates will be made to drupal core.
WARNING:  Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt.  If you have made any modifications to these files, please back them up before updating so that you can re-create your modifications in the updated version of the file.
Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing.

Do you really want to continue? (y/n): y
Project drupal was updated successfully. Installed version is now 7.22.
Backups were saved into the directory /home/paul/drush-backups/db_name/20130410064305/drupal.                                                    [ok]
'all' cache was cleared in /var/www/htdocs/drupal#default                                                                          [success]
No database updates required                                                                                                                           [success]
Finished performing updates.                                                                                                                           [ok]

However, after calling drush status again, it still says Drupal's version is 7.21 instead of 7.22 even though it should just have been updated. Running drush cc drush doesn't change that. Logging into the site as admin also shows current version 7.21.

I update quite a few sites this far several times without this problem. Am I missing something? PHP error log nor Drupal DB log show any errors.

Related issues I found:
[1427766]
But I have no symbolic links in that directory and it's supposed to be fixed.

[1894514]
Seems very similar, but in my case the real version is still the old one. And this issue has no further comments.

[1485676]
I am not sure if it is really related, but there was fix mentioned in comment #3.

Comments

broon’s picture

Forgot the hash signs in related issues list:
#1427766: Drush can't update core 6.22 to 6.24 but claims success anyway
But I have no symbolic links in that directory and it's supposed to be fixed.

#1894514: drush up show old core version after update
Seems very similar, but in my case the real version is still the old one. And this issue has no further comments.

#1485676: Drush up not updating Drupal core
I am not sure if it is really related, but there was fix mentioned in comment #3.

greg.1.anderson’s picture

Version: 7.x-5.8 » 8.x-6.x-dev
Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If you still need help, please ask your question again on Drupal Answers and then post a link here to the new question. Please also change the status of this issue to closed (duplicate).

Use our Github project for contributing code, or reporting bugs, or requesting features.