How to resolv "internal server error" on syncing?

Actual behaviour

The box is not syncing. Says it searches for changes and then get stuck with the error given in the title.
Based on advice from system administrator (at karolinska institutet, where I work) I have removed the folder that is giving the error (locally). The behavior is the same. I have also tried to reinstall owncloud multiple times (last after purging it first). This did not help either. The size of my box is 2 TB so it is large. But I have only 600 ish GB in the synced folder so should not be a problem…

Apart from that it took forever to sync initially and after I turned the computer off (after 2 days) it got stuck at the point it is now and no further syncing has taken place.

Expected behaviour

It should preferably sync…

Steps to reproduce

Can this problem be reproduced with the official owncloud server?
(url: https://demo.owncloud.org, user: test, password: test)

Environment data

Android version: Ubuntu 18.04

Device model: dell xps 16

Stock or customized system:

ownCloud app version:
ownCloud version 2.5.4 (build 515)
Git revision fcdf542869a23b1f5b5ef247886fc858f96c76e2
Using Qt 5.12.1, built against Qt 5.12.1
Using ‘OpenSSL 1.1.1 11 Sep 2018’

ownCloud server version:

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

# timestamp | duration | file | instruction | dir | modtime | etag | size | fileId | status | errorString | http result code | other size | other modtime | X-Request-ID
#=#=#=# Syncrun started 2019-09-12T09:54:03Z
#=#=#=# Syncrun finished 2019-09-12T10:07:00Z (last step: 776490 msec, total: 776490 msec)
#=#=#=# Syncrun started 2019-09-12T10:07:44Z
#=#=#=# Syncrun finished 2019-09-12T10:20:20Z (last step: 756189 msec, total: 756189 msec)
#=#=#=# Syncrun started 2019-09-12T10:21:03Z
#=#=#=# Syncrun finished 2019-09-12T10:31:45Z (last step: 641737 msec, total: 641737 msec)
#=#=#=# Syncrun started 2019-09-12T10:32:25Z
#=#=#=# Syncrun finished 2019-09-12T10:43:32Z (last step: 666705 msec, total: 666705 msec)
#=#=#=# Syncrun started 2019-09-12T11:12:18Z
#=#=#=# Syncrun started 2019-09-12T11:35:26Z
#=#=#=# Syncrun finished 2019-09-12T11:55:32Z (last step: 1206184 msec, total: 1206184 msec)
#=#=#=# Syncrun started 2019-09-12T11:56:27Z
#=#=#=# Syncrun finished 2019-09-12T12:15:53Z (last step: 1165918 msec, total: 1165918 msec)
#=#=#=# Syncrun started 2019-09-12T12:16:47Z
#=#=#=# Syncrun finished 2019-09-12T12:36:00Z (last step: 1153157 msec, total: 1153157 msec)
#=#=#=# Syncrun started 2019-09-12T12:36:53Z
#=#=#=# Syncrun finished 2019-09-12T12:55:47Z (last step: 1134598 msec, total: 1134598 msec)
#=#=#=# Syncrun started 2019-09-12T18:56:38Z
#=#=#=# Syncrun finished 2019-09-12T19:09:01Z (last step: 743295 msec, total: 743295 msec)
#=#=#=# Syncrun started 2019-09-12T19:09:45Z
#=#=#=# Syncrun finished 2019-09-12T19:26:33Z (last step: 1008536 msec, total: 1008536 msec)
#=#=#=# Syncrun started 2019-09-12T19:27:24Z
#=#=#=# Syncrun finished 2019-09-12T19:43:58Z (last step: 994432 msec, total: 994432 msec)
#=#=#=# Syncrun started 2019-09-12T19:44:49Z
#=#=#=# Syncrun finished 2019-09-12T20:00:33Z (last step: 944563 msec, total: 944563 msec)
#=#=#=# Syncrun started 2019-09-12T20:01:22Z
#=#=#=# Syncrun finished 2019-09-12T20:16:35Z (last step: 913408 msec, total: 913408 msec)

Hi @robeli,
Do you have root access to the server? Where do you get an “Internal server error”? Is it in the WebUI or the desktop client? Which ownCloud server version are you using?
Can you have a look on the webserver into the different log files (apache: access & error, owncloud)?
Cheers,
Erik

1 Like

Hi @eneubauer and thanks for replying.
I probably do not have root access to the server but don’t know for sure. How can I tell?

I get the error in the desktop client (that have not synced for 2 months). Under not synced:

An error occurred while opening a folder Data/Old_data/Frontiers/save: Error transferring https://owncloud.ki.se/remote.php/dav/files/robeli/Data/Old_data/Frontiers/save - server replied: Internal Server Error

When I try to delete the folder from the WebUI I get the (informative) error:

Error deleting file

same when trying to rename etc.

owncloud --version:

ownCloud version 2.5.4 (build 515)
Git revision fcdf542869a23b1f5b5ef247886fc858f96c76e2
Using Qt 5.12.1, built against Qt 5.12.1
Using ‘OpenSSL 1.1.1 11 Sep 2018’

(might have been on other versions earlier, since I have tried to reinstall a couple of times to resolve problem)

Where and how do I locate the log files?

Thanks!

Hey,

the logfiles should be the “owncloud.log” located in your data directory of ownCloud. There might be additional logfiles like the ones of your webserver and PHP, but there i think the location depends on the configuration in your environment.

What you posted is all just ownCloud client information.
Is it is saying “Internal Server error” this will have to be investigated on the server. I would recommend to get in touch with the server administrators, they should also have access to all the relevant logs.
If they need help with anything, they are absolutely welcome to post here.

1 Like