Bug 1438688 - Issue with php-guzzlehttp-guzzle6
Summary: Issue with php-guzzlehttp-guzzle6
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: nextcloud
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: James Hogarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-04 08:18 UTC by Remi Collet
Modified: 2017-12-12 10:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:27:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Remi Collet 2017-04-04 08:18:14 UTC
In system log

avril 03 13:30:43 builder.remirepo.net ownCloud[21502]: {index}
Exception: {"Exception":"TypeError","Message":"Argument 3 passed to
GuzzleHttp\\Client::request() must be of the type array, string given,
called in \/usr\/share\/php\/GuzzleHttp6\/Client.php on line
87","Code":0,"Trace":"#0 \/usr\/share\/php\/GuzzleHttp6\/Client.php(87):
GuzzleHttp\\Client->request('setDefaultOptio...', 'verify',
'\/var\/lib\/nextcl...')\n#1
\/usr\/share\/nextcloud\/lib\/private\/Http\/Client\/Client.php(74):
GuzzleHttp\\Client->__call('setDefaultOptio...', Array)\n#2
\/usr\/share\/nextcloud\/lib\/private\/Http\/Client\/Client.php(136):
OC\\Http\\Client\\Client->setDefaultOptions()\n#3
\/usr\/share\/nextcloud\/lib\/private\/OCSClient.php(135):
OC\\Http\\Client\\Client->get('https:\/\/api.own...', Array)\n#4
\/usr\/share\/nextcloud\/settings\/Controller\/AppSettingsController.php(164):
OC\\OCSClient->getCategories(Array)\n#5
\/usr\/share\/nextcloud\/settings\/Controller\/AppSettingsController.php(107):
OC\\Settings\\Controller\\AppSettingsController->listCategories()\n#6
\/usr\/share\/nextcloud\/settings\/Controller\/AppSettingsController.php(128):
OC\\Settings\\Controller\\AppSettingsController->getCategory('')\n#7
[internal function]:
OC\\Settings\\Controller\\AppSettingsController->viewApps('')\n#8
\/usr\/share\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(160):
call_user_func_array(Array, Array)\n#9
\/usr\/share\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(90):
OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OC\\Settings\\Controller\\AppSettingsController),
'viewApps')\n#10
\/usr\/share\/nextcloud\/lib\/private\/AppFramework\/App.php(111):
OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Settings\\Controller\\AppSettingsController),
'viewApps')\n#11
\/usr\/share\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47):
OC\\AppFramework\\App::main('AppSettingsCont...', 'viewApps',
Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#12
[internal function]:
OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#13
\/usr\/share\/nextcloud\/lib\/private\/Route\/Router.php(293):
call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler),
Array)\n#14 \/usr\/share\/nextcloud\/lib\/base.php(998):
OC\\Route\\Router->match('\/settings\/apps')\n#15
\/usr\/share\/nextcloud\/index.php(32): OC::handleRequest()\n#16
{main}","File":"\/usr\/share\/php\/GuzzleHttp6\/Client.php","Line":126}
^C

Possible fix (workaround):
https://git.remirepo.net/cgit/rpms/nextcloud.git/commit/?id=f2782e19870911ad2b65f1dffae49897c481bf8f

=> switch to fedora/autoloader version >= 1.0.0RC1

Comment 1 Remi Collet 2017-04-04 08:18:39 UTC
P.S. also affects owncloud.

Comment 2 Christian Glombek 2017-11-03 14:36:30 UTC
Is this still a valid issue? Is the fix working or is there anything I can maybe help with?

In any way, the move to fedora/autloader seems very sane to me!

Comment 3 Remi Collet 2017-11-03 14:52:11 UTC
> Is this still a valid issue?

I think so.

> Is the fix working or is there anything I can maybe help with?

Sorry, but I can't help anymore with the RPM, I have given up using it, too much things not working (including Calendar, which is a must-have for me)

Comment 4 Christian Glombek 2017-11-04 13:10:16 UTC
Thanks for the quick reply!
I saw there's been some work on getting in the missing deps for current NC.
Once that's done, I'll give it another shot.
Calendar etc are also a strict necessity for me.

Comment 5 Fedora End Of Life 2017-11-16 19:22:16 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2017-12-12 10:27:16 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.