Weird error after moving owncloud to new server with new ip address

log shows me this error, but with the ip address of the old server.

{“reqId”:“058e2abb-1005-4098-b88e-103daf0f4016”,“level”:4,“time”:“2023-09-03T16:18:52+00:00”,“remoteAddr”:“xxx.xxx.xxx.xxx”,“user”:“lukas.matti”,“app”:“webdav”,“method”:“PROPFIND”,“url”:“/remote.php/dav/files/lukas.matti/”,“message”:“Exception: HTTP/1.1 503 InvalidArgumentException: "/lukas.matti" must be relative to "files": {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"InvalidArgumentException: \"\/lukas.matti\" must be relative to \"files\"","Code":0,"Trace":"#0 \/home\/plesk\/vhosts\/matti-consulting.ch\/cloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php(180): OCA\\DAV\\Connector\\Sabre\\Auth->check()\n#1 \/home\/plesk\/vhosts\/matti-consulting.ch\/cloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php(135): Sabre\\DAV\\Auth\\Plugin->check()\n#2 \/home\/plesk\/vhosts\/matti-consulting.ch\/cloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(89): Sabre\\DAV\\Auth\\Plugin->beforeMethod()\n#3 \/home\/plesk\/vhosts\/matti-consulting.ch\/cloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(456): Sabre\\DAV\\Server->emit()\n#4 \/home\/plesk\/vhosts\/matti-consulting.ch\/cloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(253): Sabre\\DAV\\Server->invokeMethod()\n#5 \/home\/plesk\/vhosts\/matti-consulting.ch\/cloud\/apps\/dav\/lib\/Server.php(348): Sabre\\DAV\\Server->start()\n#6 \/home\/plesk\/vhosts\/matti-consulting.ch\/cloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#7 \/home\/plesk\/vhosts\/matti-consulting.ch\/cloud\/remote.php(165): require_once(‘\/home\/plesk\/vho…’)\n#8 {main}","File":"\/home\/plesk\/vhosts\/matti-consulting.ch\/cloud\/apps\/dav\/lib\/Connector\/Sabre\/Auth.php","Line":172}”}

where is this ip address come from. where to change?

Hey,

i think this is a duplicate topic of ownCloud Login WebUI not working after moving to other server which now includes possible solutions.

Summary: If changing the data directory during migration it seems that various database entries needs to be updated to the new absolute path like described in the ownCloud documentation here:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.