If you have this message during execution php script in command line :
PHP Notice: Failed saving metadata to metadataCache in /var/www/vhosts/website.com/httpdocs/library/Zend/Db/Table/Abstract.php on line 838
It is probably that APC is not enabled for CLI scripts. With default configuration, APC is not enabled for CLI script.
To this, add the lines in the configuration file apc :
apc.enable_cli = 1
apc.enabled = 1