For contacts, it should be 1.5.3 (https://apps.nextcloud.com/apps/contacts). Did you go to the app-page in your Nextcloud and checked if there is an update shown for these apps? Also check your admin-page, if any errors are shown (could be that NC can’t use your internet connection).
When i read your interim question right …you expect that calendar 1.5.2 and contacts 1.5.3 should be installed, too.
When i go to the “apps page” / “Enables”, then scroll down to “Contacts” i can not see a message or button for updating. Just the current version string “1.5.1” (or for calendar = 1.4.1) is deplayed.
Log since migration from owncloud 8.2.11:
Debug core No update found at the Nextcloud appstore for app 166051 2017-05-08T12:24:00+00:00 admin
Debug core No update found at the Nextcloud appstore for app 166055 2017-05-08T12:24:00+00:00 admin
Debug core No update found at the Nextcloud appstore for app 166049 2017-05-08T12:23:59+00:00 admin
Error PHP Undefined variable: undefinedVariable at /var/www/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/Lexer.php#70 2017-05-08T09:11:26+00:00 --
Error PHP Undefined variable: undefinedVariable at /var/www/nextcloud/3rdparty/nikic/php-parser/lib/PhpParser/Lexer.php#70 2017-05-08T09:11:17+00:00 --
Debug core No update found at the Nextcloud appstore for app 166054 2017-05-07T23:37:51+00:00 --
Debug core starting upgrade from 8.2.11.1 to 9.0.58.1 2017-05-07T23:37:29+00:00 --
Debug core starting upgrade from 8.2.11.1 to 9.0.58.1 2017-05-07T23:33:42+00:00
This server has internet, at least on command line (wget works).
PHP can access the internet, too. I verfiyed it with a test.php: