[SOLVED] Problems setting up my owncloud server for sync cli

Ask all your questions regarding OC 4.x and older. Please read the Support Forum Rules
Forum rules
Before you post; make sure you are using at least PHP Version 5.3.x - Also read How To Solve Problems By Yourself

[SOLVED] Problems setting up my owncloud server for sync cli

Postby simonsays42 » Sun Jun 24, 2012 2:00 pm

Started as client problem but turns out to be a server problem...

Originally posted here: viewtopic.php?f=14&t=2950
(sorry for any inconveniences but I figured the thread belongs here.)

I'm having problems using windows sync client 1.0.3 on either Windows 7 (x64) or Windows XP (x86). When ever I try to sync files I receive the following error:

client error:
Code: Select all
"The target directory owncloud://10.10.20.23/owncloud/files/webdav.php/clientsync doesn't exist."

Please check the sync setup.


Logfile from 1.0.3 client:
Code: Select all
    [...]
    06-24 14:16:25:235 csync.owncloud - opendir method called on owncloud://10.10.20.23/owncloud/files/webdav.php/clientsync
    06-24 14:16:25:235 csync.owncloud - * scheme owncloud
    06-24 14:16:25:235 csync.owncloud - * host 10.10.20.23
    06-24 14:16:25:235 csync.owncloud - * port 0
    06-24 14:16:25:235 csync.owncloud - * path /owncloud/files/webdav.php/clientsync
    06-24 14:16:25:235 csync.owncloud - * user
    06-24 14:16:25:242     * csync thread started
    06-24 14:16:25:242 >===================================== sync started for  "ownCloud"
    06-24 14:16:25:260 csync.owncloud - ne_sock_init: 0
    06-24 14:16:25:355 csync.owncloud - Authentication required
    06-24 14:16:25:355 csync.owncloud - Call the csync callback for ownCloud
    06-24 14:16:25:456 csync.owncloud - Session error string 500 Internal Server Error
    06-24 14:16:25:456 Access dienied to remote uri: owncloud://10.10.20.23/owncloud/files/webdav.php/clientsync - Input/output error
    06-24 14:16:25:456 Synchronisation is not possible!
    06-24 14:16:25:456 #### ERROR String emitted: "
    The target directory owncloud://10.10.20.23/owncloud/files/webdav.php/clientsync does not exist.
    Please check the sync setup.
    "
    06-24 14:16:25:457 CSync run took  235  Milliseconds
    06-24 14:16:25:464 -> CSync Finished slot with error  true
    06-24 14:16:25:464 ** error Strings: ("
    The target directory owncloud://10.10.20.23/owncloud/files/webdav.php/clientsync does not exist.
    Please check the sync setup.
    ")
    06-24 14:16:25:464     * owncloud csync thread finished with error
    06-24 14:16:25:464 OO folder slotSyncFinished: result:  4  local:  false
    [...]


My setup:
Code: Select all
    Apache/2.2.22
    PHP 5.4.3 (incl. cytpe, curl, gd, hash, json, mbstring, mysql, pdo, pdo-sqlite, session, simplexml, sqlite3, xml, zip)
    owncloud 4.0.1


My httpd.conf:
Code: Select all
    [...]
    <Directory "/usr/local/www/apache22/data/owncloud">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>
    [...]

    also tried...

    <IfModule mod_security2.c>
    SecRuleEngine Off
    </IfModule>

    and...

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilerScanPOST Off
    </IfModule>
    [...]


By the way: Everything works as expected using either webdav or owncloud's webinterface. Any help is much appreciated.

Regards
Simon

ADDED:

/usr/local/www/apache22/data/owncloud/.htaccess:
Code: Select all
DirectoryIndex index.html index.htm default.html default.htm index.php index.php5
<Limit GET POST>
order allow,deny
allow from all
</Limit>
<Limit PUT DELETE>
order allow,deny
allow from all
</Limit>

Last edited by simonsays42 on Sun Jun 24, 2012 5:53 pm, edited 1 time in total.
simonsays42
Beginner
 
Posts: 18
Joined: Thu Jun 14, 2012 5:57 pm

Re: Problems setting up my owncloud server for sync clients.

Postby simonsays42 » Sun Jun 24, 2012 4:22 pm

[UPDATE]: I reinstalled everything from scratch. Still no syncing.... but atleast the following error shows up.

httpd-error.log:
Code: Select all
[****] [error] [client 10.10.20.3] PHP Fatal error: Class 'DOMDocument' not found in
/usr/local/www/apache22/data/owncloud/3rdparty/Sabre/DAV/Server.php on line 210
[****] [error] [client 10.10.20.3] PHP Fatal error: Class 'DOMDocument' not found in
/usr/local/www/apache22/data/owncloud/3rdparty/Sabre/DAV/XMLUtil.php on line 120


So does that mean "DOMDocument" class is the actual problem here?! I've reinstalled the php5-xml-5.4.3 package twice however that didn't fix the issue. Any idea? Thanks.

pkg_info | grep php5-xml:
Code: Select all
php5-xml-5.4.3              The xml shared extension for php


/usr/local/etc/php/extensions.ini:
Code: Select all
[...]
extension=xml.so


regards
simonsays42
Beginner
 
Posts: 18
Joined: Thu Jun 14, 2012 5:57 pm

Re: Problems setting up my owncloud server for sync clients.

Postby simonsays42 » Sun Jun 24, 2012 4:46 pm

[SOLVED]

Please don't pick at me but all I had to do was installing the 'php5-extensions' port (which includes the missing port php5-dom-5.4.3 and many other php5 related packages) ... too bad I didn't figure that out earlier. I was too much focused at the php5- ports listed on the owncloud support website.

regards

Simon
simonsays42
Beginner
 
Posts: 18
Joined: Thu Jun 14, 2012 5:57 pm

Re: [SOLVED] Problems setting up my owncloud server for sync

Postby mgraeser » Fri Jul 06, 2012 12:34 pm

Can you tell me excactly what i have to do? I have Ubuntu 12.4 installed with the owncloud 4.04. All dependencys seemed to be installed well but still have the problem:

Code: Select all
07-06 13:28:27:898 csync.owncloud - Session error string 500 Internal Server Error
07-06 13:28:27:898 Access dienied to remote uri: owncloud://SERVER/owncloud/files/webdav.php - Input/output error
07-06 13:28:27:898 Synchronisation is not possible!
07-06 13:28:27:899 #### ERROR String emitted: "
The target directory owncloud://SERVER/owncloud/files/webdav.php/ does not exist.
Please check the sync setup.
"
07-06 13:28:27:899 CSync run took  414  Milliseconds
07-06 13:28:27:906 Got csync statedb file:  "C:\Users\graeser/.csync/csync_statedb_17293058633865524530.db"
07-06 13:28:27:906 Wiping of the csync database is required!
07-06 13:28:27:912 -> CSync Finished slot with error  true
07-06 13:28:27:912 ** error Strings: ("
The target directory owncloud://SERVER/owncloud/files/webdav.php/ does not exist.
Please check the sync setup.


What is a 'php-extensions' port? I can install all extensions but what do you mean with port?
Thanks for help!
Matthias
mgraeser
Newbie
 
Posts: 2
Joined: Wed Jun 27, 2012 6:14 pm

Re: [SOLVED] Problems setting up my owncloud server for sync

Postby 84matte84 » Thu Jul 12, 2012 9:11 pm

I have the same problem and can't solve it.....

anybody can tell us how to solve it??

thank you
84matte84
Newbie
 
Posts: 4
Joined: Thu Jul 12, 2012 6:25 pm

Re: [SOLVED] Problems setting up my owncloud server for sync

Postby RandolphCarter » Fri Jul 13, 2012 10:26 am

@mgraeser: does your server log say anything about which error exactly occured? Is it the same as the original posters?
RandolphCarter
Inventory
 
Posts: 2179
Joined: Wed May 30, 2012 7:42 am
OwnCloud version: 5.0.5
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.4.13

Re: [SOLVED] Problems setting up my owncloud server for sync

Postby 84matte84 » Fri Jul 13, 2012 10:31 am

Is seems to be an Apache configuration error...the Apache log says:

[Fri Jul 13 07:58:29 2012] [error] File does not exist: /var/www/owncloud/webdav.php
[Fri Jul 13 07:58:31 2012] [error] File does not exist: /var/www/core, referer: http://"MYADDRESS"/owncloud/webdav.php/clientsync
[Fri Jul 13 07:58:41 2012] [error] File does not exist: /var/www/owncloud/webdav.php
[Fri Jul 13 08:01:05 2012] [error] File does not exist: /var/www/user
[Fri Jul 13 10:15:22 2012] [error] File does not exist: /var/www/owncloud/webdav.php
[Fri Jul 13 10:15:22 2012] [error] File does not exist: /var/www/owncloud/webdav.php
[Fri Jul 13 10:15:24 2012] [error] File does not exist: /var/www/owncloud/webdav.php


could you help me fix it??

thank you
84matte84
Newbie
 
Posts: 4
Joined: Thu Jul 12, 2012 6:25 pm

Re: [SOLVED] Problems setting up my owncloud server for sync

Postby simonsays42 » Sun Aug 05, 2012 8:46 pm

mgraeser wrote:What is a 'php-extensions' port? I can install all extensions but what do you mean with port?
Thanks for help!
Matthias


Sorry, I was referring to the ports collection used by FreeBSD.
simonsays42
Beginner
 
Posts: 18
Joined: Thu Jun 14, 2012 5:57 pm

Re: [SOLVED] Problems setting up my owncloud server for sync

Postby timm » Tue Aug 07, 2012 11:35 pm

I'm fighting the infamous
Code: Select all
ownclouds://raspi/files/webdav.php/clientsync existiert nicht.
bug as well. I'm running owncloud 4.0.6 / nginx webserver on a wheezy-raspbian. What can I do?
timm
Newbie
 
Posts: 7
Joined: Mon Aug 06, 2012 10:52 pm

Re: [SOLVED] Problems setting up my owncloud server for sync

Postby ioannisBouras » Sun Oct 07, 2012 5:08 pm

Hi,

I got this problem on my Windows server machine. I first had installed PHP 5.3.17 and owncloud worked. After some tests to improve my owncloud I installed a newer version of PHP 5.4. Then I got this error message and tried to figure out what exactly I dod wrong.

So, I installed the lower version PHP 5.3.17 and the syncing worked again. I am not experienced enough to understand what was the problem in details. If anybody knows why a newer version of PHP does not work, let us know ;-)

Janni
ioannisBouras
Newbie
 
Posts: 1
Joined: Sun Oct 07, 2012 5:01 pm

Next

Return to OwnCloud Community Edition 4.x and older

Who is online

Users browsing this forum: Bing [Bot] and 16 guests