Upgrade to 10.0.8 from the web UI didn't work

hosting

#1

Hi, I did upgrade to 10.0.8 from 10.0.3 and the system isn’t working properly now.
First problem, when I’m running from CentOS:
sudo -u apache php /var/www/html/owncloud/occ app:list

I’m getting this error: (there is new module to install?)
PHP module intl not installed.
Please ask your server administrator to install the module.

An unhandled exception has been thrown:
exception ‘Exception’ with message ‘Environment not properly prepared.’ in /var/www/html/owncloud/lib/private/Console/Application.php:135
Stack trace:
#0 /var/www/html/owncloud/console.php(105): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /var/www/html/owncloud/occ(11): require_once(’/var/www/html/o…’)

Second problem is the results of the integrity tests- what are the commands I should run to fix it?
Technical information

The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results

  • core
    • INVALID_HASH
      • updater/vendor/autoload.php
      • updater/vendor/composer/autoload_real.php
      • updater/vendor/composer/autoload_static.php
      • updater/vendor/composer/installed.json
      • updater/vendor/composer/ClassLoader.php

Raw output

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[updater/vendor/autoload.php] => Array
(
[expected] => 520c2c2cbd83194c8204658e03b587d41277da2ba997530727180710485e897ab2cf9995f66f1c9b000ae4dba527c4e33b371416cb8ee04d7f2fd6901020969d
[current] => c18f36fbde7a747c021f25ecc76cb697d20f93b5b9b20a5b7e21e99ad23fdd07bb82c0e2e328963745325be0ec914ddc474349e6492643aab52ef8a3818e900c
)

                [updater/vendor/composer/autoload_real.php] => Array
                    (
                        [expected] => feee4ae69fcc062c769d6faa8f573cdb8ec4cead1bda7b97b1908ad2d9c6aae28bc34ad4ed8f5dabd30090c51531734f9f0f70b09b793012261927c45e630ba1
                        [current] => e9ee582aed5ee48589cffc1d739be65750bdbf26727208f96fd39eddc5a552bc484a22baf0dcef37a22490754ccb4b3c2660569278bc5d494a844646aba430c3
                    )

                [updater/vendor/composer/autoload_static.php] => Array
                    (
                        [expected] => 004831c56c8c3c46f6fa1d5f84e83c86fdbb147e32313705e01579cd8efd5b5fac54643a8af92b71e357d41c6672c441329a3a9dab36a5da257976c10af6f6ec
                        [current] => 7b4e213c12216a884abb9e5f580e00302fd0898cf88f2bb80fb31cfc22a848479e573afcae8aa7fead6dfa32d5fc0df9d9c9d617fe0bb1e00e31ddb0d1f21c48
                    )

                [updater/vendor/composer/installed.json] => Array
                    (
                        [expected] => 0213703f26f45e24231ec43aad303bcce3633507b6a3eb5e7e68d86ceb7242bdad345ccc882990fdf0216bb47940e06c4a223955ddebda1e7c3c5340c24dae6f
                        [current] => 0fb9a6b8e419e3defc1645728360773db2003b2044a9229c6834c976e79ab909d18de232ccd05b17263e7a4522650d8a3debdffa652525da764668a25f1fb489
                    )

                [updater/vendor/composer/ClassLoader.php] => Array
                    (
                        [expected] => 9acadbf32ca0ee18c534f508f20041bcb7629cb8c7c51ef7b3b967ecd93734ecee3afac65d8fc05116c0894ed39bce85cc3eb6bc65a573955291352d84d779fd
                        [current] => 68086bbf18985981f367037635e53545daba40f37c9eff9b750ec47cd99df3c8a5bc4fd56a04a0bf6ed32399c972196ec57680614ab16715652a67186b261d73
                    )

            )

    )

)


#2

Yes, you’ll need to install the module. It seems the upgrade failed because that module is missing. The module was optional but it became required recently (not sure which 10.0.x version) because there were problems with the fallback.

For the integrity check, I’m not sure what happened. If you’re still in 10.0.3, I think that, in this case, is “safe” to ignore it and finish the upgrade. I think those files could be the ones for 10.0.8, so once you update to 10.0.8 this check should be solved.
If you prefer the safe route, you can download a fresh 10.0.3 and copy those files to your installation. After rerunning the integrity check there shouldn’t be any error.