You are not logged in.
Hello. Another day another issue.
I wanted to install the new nextcloud 14 version on my server these days. I ran into this error as I performed the
sudo -u http ./occ upgrade
command.
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Updating database schema
Updated database
Checking for update of app activity in appstore
An unhandled exception has been thrown:
Error: Call to undefined method GuzzleHttp\Client::request() in /usr/share/webapps/nextcloud/lib/private/Http/Client/Client.php:161
Stack trace:
#0 /usr/share/webapps/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php(106): OC\Http\Client\Client->get('https://apps.ne...', Array)
#1 /usr/share/webapps/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php(80): OC\App\AppStore\Fetcher\Fetcher->fetch('', '')
#2 /usr/share/webapps/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php(170): OC\App\AppStore\Fetcher\AppFetcher->fetch('', '')
#3 /usr/share/webapps/nextcloud/lib/private/Installer.php(385): OC\App\AppStore\Fetcher\Fetcher->get()
#4 /usr/share/webapps/nextcloud/lib/private/Updater.php(445): OC\Installer->isUpdateAvailable('activity')
#5 /usr/share/webapps/nextcloud/lib/private/Updater.php(256): OC\Updater->upgradeAppStoreApps(Array)
#6 /usr/share/webapps/nextcloud/lib/private/Updater.php(126): OC\Updater->doUpgrade('14.0.0.19', '13.0.6.1')
#7 /usr/share/webapps/nextcloud/core/Command/Upgrade.php(262): OC\Updater->upgrade()
#8 /usr/share/webapps/nextcloud/3rdparty/symfony/console/Command/Command.php(251): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /usr/share/webapps/nextcloud/3rdparty/symfony/console/Application.php(946): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /usr/share/webapps/nextcloud/3rdparty/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /usr/share/webapps/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /usr/share/webapps/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /usr/share/webapps/nextcloud/console.php(96): OC\Console\Application->run()
#14 /usr/share/webapps/nextcloud/occ(11): require_once('/usr/share/weba...')
#15 {main}
#15 {main}
Thanks in advance.
(if any further information is needed. feel free to ask)
system information: nextcloud is running in a separate container (with nginx and php7)
required extensions are enabled.
Last edited by TheGoliath (2018-09-22 19:56:37)
Offline
Define "container". This is probably the most ambiguous way to describe your setup.
How did you upgrade nextcloud?
Offline
Define "container". This is probably the most ambiguous way to describe your setup.
How did you upgrade nextcloud?
Sorry. Running a systemd-nspawn container.
I did the upgrade via pacman. + the hook described in the wiki
cheers
Offline
Error: Call to undefined method GuzzleHttp\Client::request() in /usr/share/webapps/nextcloud/lib/private/Http/Client/Client.php:161
I don't know how this handled with Arch but you seem to be missing Guzzle https://github.com/guzzle/guzzle, composer springs to mind https://getcomposer.org/
Offline
Seems a Nextcloud bug - https://github.com/nextcloud/server/issues/11166. timm2k on GitHub gives a workaround
Disable apps “bookmarks” or “files_external_gdrive” if they are in use before upgrading nextcloud.
These apps ship an incompatible version of guzzle.
Offline
Seems a Nextcloud bug - https://github.com/nextcloud/server/issues/11166. timm2k on GitHub gives a workaround
Disable apps “bookmarks” or “files_external_gdrive” if they are in use before upgrading nextcloud. These apps ship an incompatible version of guzzle.
Yes figured it out myself a few days later. files_external_gdrive was the problem.
But still thanks for your help.
Cheers,
Felix
Offline