Deleted federation share // existing errors in logfile

Hi,

I had a federation share (from an owncloud 8.2 server) connected to my nextcloud 10.0 server.
The share was removed on the remote server. But now I get the following error messages in my logfile …

How can I fix this?

(the location of my nextcloud installation is still in the /var/www/html/owncloud directory … :wink: but it’s Nextcould 10.0.1)

Exception: {"Exception":"GuzzleHttp\\Exception\\ServerException","Message":"Server error response [url] https:\/
\/oc.domain.org\/\/ocs\/v2.php\/apps\/federation\/api\/v1\/request-shared-secret?format=json [status code] 500    
[reason phrase] Internal Server Error","Code":500,"Trace":"#0 \/var\/www\/html\/owncloud\/3rdparty\/guzzlehttp
\/guzzle\/src\/Subscriber\/HttpError.php(32): GuzzleHttp\\Exception\\RequestException::create(Object(GuzzleHttp
\\Message\\Request), Object(GuzzleHttp\\Message\\Response))\n#1 \/var\/www\/html\/owncloud\/3rdparty
\/guzzlehttp\/guzzle\/src\/Event\/Emitter.php(108): GuzzleHttp\\Subscriber 
\\HttpError->onComplete(Object(GuzzleHttp\\Event\\CompleteEvent), 'complete')\n#2 \/var\/www\/html\/owncloud
\/3rdparty\/guzzlehttp\/guzzle\/src\/RequestFsm.php(91): GuzzleHttp\\Event\\Emitter->emit('complete',     
Object(GuzzleHttp\\Event\\CompleteEvent))\n#3 \/var\/www\/html\/owncloud\/3rdparty\/guzzlehttp\/guzzle\/src\
/RequestFsm.php(132): GuzzleHttp\\RequestFsm->__invoke(Object(GuzzleHttp\\Transaction))\n#4 \/var\/www\/html
\/owncloud\/3rdparty\/react\/promise\/src\/FulfilledPromise.php(25): GuzzleHttp\\RequestFsm->GuzzleHttp\\{closure} 
(Array)\n#5 \/var\/www\/html\/owncloud\/3rdparty\/guzzlehttp\/ringphp\/src\/Future\/CompletedFutureValue.php(55): 
React\\Promise\\FulfilledPromise->then(Object(Closure), NULL, NULL)\n#6 \/var\/www\/html\/owncloud\/3rdparty
\/guzzlehttp\/guzzle\/src\/Message\/FutureResponse.php(43): GuzzleHttp\\Ring\\Future
\\CompletedFutureValue->then(Object(Closure), NULL, NULL)\n#7 \/var\/www\/html\/owncloud\/3rdparty\/guzzlehttp
\/guzzle\/src\/RequestFsm.php(134): GuzzleHttp\\Message\\FutureResponse::proxy(Object(GuzzleHttp\\Ring\\Future
\\CompletedFutureArray), Object(Closure))\n#8 \/var\/www\/html\/owncloud\/3rdparty\/guzzlehttp\/guzzle\/src\
/Client.php(165): GuzzleHttp\\RequestFsm->__invoke(Object(GuzzleHttp\\Transaction))\n#9 \/var\/www\/html
\/owncloud\/3rdparty\/guzzlehttp\/guzzle\/src\/Client.php(150): GuzzleHttp\\Client->send(Object(GuzzleHttp
\\Message\\Request))\n#10 \/var\/www\/html\/owncloud\/lib\/private\/Http\/Client\/Client.php(203): 
GuzzleHttp\\Client->post('https:\/\/oc.domain...', Array)\n#11 \/var\/www\/html\/owncloud\/apps\/federation\/lib\
/BackgroundJob\/RequestSharedSecret.php(154): OC\\Http\\Client\\Client->post('https:\/\/oc.domain...', Array)\n#12 
\/var\/www\/html\/owncloud\/lib\/private\/BackgroundJob\/Job.php(53): OCA\\Federation\\BackgroundJob
\\RequestSharedSecret->run(Array)\n#13 \/var\/www\/html\/owncloud\/apps\/federation\/lib\/BackgroundJob 
\/RequestSharedSecret.php(135): OC\\BackgroundJob\\Job->execute(Object(OC\\BackgroundJob\\JobList), 
Object(OC\\Log))\n#14 \/var\/www\/html\/owncloud\/apps\/federation\/lib\/BackgroundJob
\/RequestSharedSecret.php(120): OCA\\Federation\\BackgroundJob
\\RequestSharedSecret->parentExecute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#15 \/var\
/www\/html\/owncloud\/cron.php(121): OCA\\Federation\\BackgroundJob\\RequestSharedSecret->execute(Object(OC
\\BackgroundJob\\JobList), Object(OC\\Log))\n#16 {main}","File":"\/var\/www\/html\/owncloud\/3rdparty\/guzzlehttp
\/guzzle\/src\/Exception\/RequestException.php","Line":89} 

Cheers,
Andreas

Did you try to remove the federation share from the receiving user as well?

It was removed on the remote server, so it vanished on my server … :pensive:
No chance to remove/delete it.

Hi, I had the same problem. By going to “Administration"→"Sharing” and removing the trusted server (the owncloud 8.2 instance) the error message stop coming up.

ahhh … just removed the server … let’s see :wink:

Okay. No errors in the logfile any more :slight_smile: