Owncloud installation corrupted after update via pacman?

Problems with packages? Post here, using [tags] of the package name.

Owncloud installation corrupted after update via pacman?

Postby hp4 » Wed Mar 09, 2016 2:48 pm

The last system update on my RaspberryPi with pacman updated my owncloud installation from

8.2.2.2 to 9.0.0-1

After the system update login screen for owncloud doesn't appear. Instead Owncloud complains about a
trusted domain error.

The owncloud.log also shows the trusted domain error:

{"reqId":"16sS4uY\/\/bF3bezevf74","remoteAddr":"188.99.12.2","app":"core","message":"Trusted domain error. \"188.99.12.2\" tried to access using \"????.?????.de:62345\" as host."

But the domain is listed in the config.php file in the array 'trusted_domains' !!!

The 'version' member in the config.php still shows 8.2.2.2, so the config.php seems not to be touched by the update via pacman.

Any idea how to repair the installation would be appreciated.
hp4
 
Posts: 45
Joined: Thu May 30, 2013 12:09 pm

Re: Owncloud installation corrupted after update via pacman?

Postby hp4 » Thu Mar 10, 2016 11:42 am

After looking into the php-code I've found the reason:

- the php-code strips off the port-number of the incoming domain

- the old version-8.2.2.2 config.php contained the full domain including the port-number in the trusted-domains-array

Therefore the lookup failed.

After removing the port-number in the config.php owncloud came up with the request to complete the update to version 9.0.0-1.
hp4
 
Posts: 45
Joined: Thu May 30, 2013 12:09 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 12 guests