K
K
kovalr2017-05-19 13:35:13
css
kovalr, 2017-05-19 13:35:13

Why is the owncloud client not syncing files (owncloud operation cancelled)?

The problem is that the client does not synchronize all the files from the server to the local computer. But only a part.
In client logs

operation cancelled.

In the server logs
Exception: {"Message":"HTTP\/1.1 503 Could not open file","Exception":"Sabre\DAV\Exception\ServiceUnavailable","Code":0,"Trace":"#0 \/var\ /www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(83): OCA\DAV\Connector\Sabre\File->get()\n#1 [internal function ]: Saber\DAV\CorePlugin->httpGet(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#2 \/var\/www\/owncloud\/3rdparty\/sabre\/ event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#3 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server .php(459): Saber\Event\EventEmitter->emit('method:GET', Array)\n#4 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/ DAV\/Server.php(248): Saber\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request),Object(Sabre\HTTP\Response))\n#5 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(56): Saber\DAV\Server-> exec()\n#6 \/var\/www\/owncloud\/remote.php(138): require_once('\/var\/www\/ownclo...')\n#7 {main}" ,"File":"\/var\/www\/owncloud\/apps\/dav\/lib\/connector\/sabre\/file.php","Line":306,"User":"owncloud_username" }

Rescan files did not help.
sudo -u www-data /var/www/owncloud/occ files:scan --all

Any more ideas?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
Leonid Knyazev, 2018-08-07
@amorphis

Like this

D
Dmitry, 2018-08-07
@soledar10

.container {
    width: 300px;
    height: 300px;
    background-color: green;
    text-align: center;
}

.container:after {
    content: '';
    height: 100%;
    vertical-align: middle;
    display: inline-block;
}

.container span {
    text-align: center;
}

H
HealSpirit, 2018-08-07
@HealSpirit

Horizontally - text-align: center to parent, not on itself
Vertically - set parent's line-height equal to parent's height (works if 1 line and parent's height is known).
And so - https://habr.com/company/netcracker/blog/277433/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question