Closed alphablue52 closed 11 years ago
Thanks for your input. This issue is going to be addressed in the way that there will be two ways of operating: a) syncing the whole ownCloud to a client directory and b) Syncing one or more folders from ownCloud such as clientsync, Shared, Pictures etc.
Can't that live in the userspace with the default being root level syncing? (ala dropbox)
I would also love to see this as a configuration option in the client, like rconstanzo mentioned.
any progress on this issue, its annoying
We got the message and we will address that.
However, its easy to fix already now: Just remove the sync connection and add a new sync folder targetting '/' on the server.
How can I add synced folders under linux?
I tried the fix on my linux (debian) client like you say, but I can't add a new sync folder when I put '/' in the targetting field (I have owncloud 4.5.7 installed) I tells me that this folder doesn't exist on the server. I have a button to create it. If I push that button, a process is launched but I come back to the point "this folder doesn't exist on the server".
Will this new feature (to be able to sync the whole owncloud) will be available in the new release (v5)?
@quenenni this is not a matter of the server version.
Indeed.. Sorry. I meant that I use the client v1.2.1 (for a server version > 4.5)
I tried it on a fresh install of a debian squeeze (64 bit), but the same problem occurred.
But, I could add a new directory to synchronise by leaving the "targetting field" empty. In that case, I can see, after validation, "Targetting folder: /", but on first sync I have the error: "Csync couldn't find the specified file"
As quenenni I tried to add ~/owncloud as local and / as remote path, but I keep getting the "Csync couldn't find the specified file"-error. Versions are 1.2.1 (Mac) and 4.5.7
@pheraph check the log by starting the client with owncloud --logwindow
03-08 16:38:16:697 * Polling "ownCloud" for changes. Ignoring all pending events until now 03-08 16:38:16:697 * "ownCloud" Poll timer disabled 03-08 16:38:16:697 Schedule folder "ownCloud" to sync! 03-08 16:38:16:697 XX slotScheduleFolderSync: folderQueue size: 1 03-08 16:38:16:697 ==> load folder icon "owncloud-framed" 03-08 16:38:16:697 Returning configured owncloud url: "https://cloud.xxx.net/test/remote.php/webdav/" 03-08 16:38:16:697 Check status.php from statusdialog. 03-08 16:38:16:697 Get Request to "status.php" 03-08 16:38:16:697 Returning configured owncloud url: "https://cloud.xxx.net/test/" 03-08 16:38:16:697 Returning configured owncloud url: "https://cloud.xxx.net/test/" 03-08 16:38:16:697 Setting up host header: "cloud.xxx.net" 03-08 16:38:16:697 Folder in overallStatus Message: Mirall::ownCloudFolder(0x1caab30) with name "ownCloud" 03-08 16:38:16:698 Sync state changed for folder "ownCloud" : "SyncPrepare" 03-08 16:38:16:698 ** Start syncing url to ownCloud: "ownclouds://cloud.xxx.net/test/remote.php/webdav/" 03-08 16:38:16:698 Returning configured owncloud url: "https://cloud.xxx.net/test/" 03-08 16:38:16:698 * event notification disabled 03-08 16:38:16:698 >===================================== sync started for "ownCloud" 03-08 16:38:16:699 starting to sync QThread(0x19975c0) QThread(0x1cc23b0) 03-08 16:38:16:700 ==> returning exclude file path: "/etc/ownCloud/sync-exclude.lst" 03-08 16:38:16:700 ==== added CSync exclude List: "/etc/ownCloud/sync-exclude.lst" 03-08 16:38:16:730 #### Update start #################################################### >> 03-08 16:38:16:730 csync_memstat_check: Memory: 727000K total size, 53052K resident, 32796K shared 03-08 16:38:16:730 csync_ftw: Incoming read_from_db-Flag for /home/quenenni/ownCloud: 0 03-08 16:38:16:730 csync_ftw: .csync_journal.db.ctmp excluded 03-08 16:38:16:730 csync_ftw: .csync_journal.db excluded 03-08 16:38:16:730 csync_ftw: Closing walk for /home/quenenni/ownCloud with read_from_db 0 03-08 16:38:16:730 csync_update: Update detection for local replica took 0,00 seconds walking 0 files. 03-08 16:38:16:731 csync_memstat_check: Memory: 727000K total size, 53060K resident, 32800K shared 03-08 16:38:16:731 csync_ftw: Incoming read_from_db-Flag for ownclouds://cloud.xxx.net/test/remote.php/webdav: 0 03-08 16:38:16:731 csync_ftw: Checking for read from db for ownclouds://cloud.xxx.net/test/remote.php/webdav: 0 03-08 16:38:16:731 oc_module: opendir method called on ownclouds://cloud.xxx.net/test/remote.php/webdav 03-08 16:38:16:731 oc_module: * scheme ownclouds 03-08 16:38:16:731 oc_module: * host cloud.xxx.net 03-08 16:38:16:731 oc_module: * port 0 03-08 16:38:16:731 oc_module: * path /test/remote.php/webdav 03-08 16:38:16:731 oc_module: * user 03-08 16:38:16:732 oc_module: ne_sock_init: 0 03-08 16:38:16:770 oc_module: No proxy configured. 03-08 16:38:17:004 SSL-Warnings happened for url "https://cloud.xxx.net/test/status.php" 03-08 16:38:17:005 Certs are already known and trusted, Warnings are not valid. 03-08 16:38:17:126 status.php returns: "{"installed":"true","version":"4.90.8","versionstring":"4.5.7","edition":""}" 0 Reply: QNetworkReplyImpl(0x1cb01b0) 03-08 16:38:17:126 Unknown info from ownCloud status.php: "installed" = "true" 03-08 16:38:17:126 ownCloud found on "https://cloud.xxx.net/test" with version: "4.5.7" 03-08 16:38:17:126 ownCloud found on "https://cloud.xxx.net/test" with version: "4.5.7" 03-08 16:38:17:126 #-------# oC found on "https://cloud.xxx.net/test" 03-08 16:38:17:142 oc_module: Call the csync callback for SSL problems 03-08 16:38:17:142 SSL Fingerprint from neon: "26:52:9e:9f:f8:cd:f7:c5:87:93:54:ae:50:dd:e5:66:b1:3a:7e:45" compared to verified: "26:52:9e:9f:f8:cd:f7:c5:87:93:54:ae:50:dd:e5:66:b1:3a:7e:45" 03-08 16:38:17:142 oc_module: ## VERIFY_SSL CERT: 0 03-08 16:38:17:274 oc_module: Set-Cookie found: 5086fd4dc98e2=s9eqj5f6jrt7tgnofhnsf9d2f7; path=/; HttpOnly 03-08 16:38:17:274 oc_module: ----> Session-key: 5086fd4dc98e2=s9eqj5f6jrt7tgnofhnsf9d2f7 03-08 16:38:17:275 oc_module: Authentication required 03-08 16:38:17:275 oc_module: Call the csync callback for ownCloud 03-08 16:38:17:615 oc_module: Simple propfind result code 207. 03-08 16:38:17:615 oc_module: Server Date from HTTP header value: Fri, 08 Mar 2013 15:38:17 GMT 03-08 16:38:17:615 oc_module: The first time_delta is 0 03-08 16:38:17:615 oc_module: opendir returning handle 0x7f76c02cd240 03-08 16:38:17:615 oc_module: :> Subtracting 0 from modtime 1351022297 03-08 16:38:17:615 oc_module: owncloud_stat ownclouds://cloud.xxx.net/test/remote.php/webdav/Shared called 03-08 16:38:17:615 csync_ftw: walk: ownclouds://cloud.xxx.net/test/remote.php/webdav/Shared 03-08 16:38:17:615 csync_walker: directory: ownclouds://cloud.xxx.net/test/remote.php/webdav/Shared 03-08 16:38:17:615 _csync_detect_update: file: Shared - hash 7772379496350463016, mtime: 1351022297 03-08 16:38:17:615 _csync_detect_update: file: Shared, instruction: INSTRUCTION_NEW 03-08 16:38:17:615 csync_ftw: Incoming read_from_db-Flag for ownclouds://cloud.xxx.net/test/remote.php/webdav/Shared: 0 03-08 16:38:17:615 csync_ftw: Checking for read from db for ownclouds://cloud.xxx.net/test/remote.php/webdav/Shared: 0 03-08 16:38:17:615 oc_module: opendir method called on ownclouds://cloud.xxx.net/test/remote.php/webdav/Shared 03-08 16:38:17:935 oc_module: WRN: propfind named failed with 1, request error: 404 Not Found 03-08 16:38:17:935 oc_module: Errno set to 2 03-08 16:38:17:935 csync_ftw: opendir failed for ownclouds://cloud.xxx.net/test/remote.php/webdav/Shared - (errno 2) 03-08 16:38:17:935 oc_module: closedir method called 0x7f76c02cd240! 03-08 16:38:17:935 csync_update: Update detection for remote replica took 1,20 seconds walking 1 files. 03-08 16:38:17:935 csync_memstat_check: Memory: 729128K total size, 53220K resident, 32952K shared 03-08 16:38:17:935 #### ERROR during csync_update : "CSync n'a pu trouver le fichier spécifié." 03-08 16:38:17:940 csync_lock_remove: Removing lock file: /home/quenenni/.local/share/data//ownCloud//lock 03-08 16:38:17:940 CSync run took 1240 Milliseconds 03-08 16:38:17:948 -> CSync Finished slot with error true 03-08 16:38:17:948 * error Strings: ("CSync n'a pu trouver le fichier spécifié.") 03-08 16:38:17:948 * owncloud csync thread finished with error 03-08 16:38:17:948 Starting Event logging again in 2000 milliseconds 03-08 16:38:17:948 OO folder slotSyncFinished: result: 5 local: false 03-08 16:38:17:948 ==> load folder icon "owncloud-framed" 03-08 16:38:17:948 Returning configured owncloud url: "https://cloud.xxx.net/test/remote.php/webdav/" 03-08 16:38:17:949 Check status.php from statusdialog. 03-08 16:38:17:949 Get Request to "status.php" 03-08 16:38:17:949 Returning configured owncloud url: "https://cloud.xxx.net/test/" 03-08 16:38:17:949 Returning configured owncloud url: "https://cloud.xxx.net/test/" 03-08 16:38:17:949 Setting up host header: "cloud.xxx.net" 03-08 16:38:17:949 Folder in overallStatus Message: Mirall::ownCloudFolder(0x1caab30) with name "ownCloud" 03-08 16:38:17:949 Sync state changed for folder "ownCloud" : "Error" 03-08 16:38:17:949 * "ownCloud" Poll timer enabled with 29727 milliseconds 03-08 16:38:17:949 <===================================== sync finished for "ownCloud" 03-08 16:38:18:149 XX slotScheduleFolderSync: folderQueue size: 0 03-08 16:38:18:239 SSL-Warnings happened for url "https://cloud.xxx.net/test/status.php" 03-08 16:38:18:239 Certs are already known and trusted, Warnings are not valid. 03-08 16:38:18:317 status.php returns: "{"installed":"true","version":"4.90.8","versionstring":"4.5.7","edition":""}" 0 Reply: QNetworkReplyImpl(0x1f7b560) 03-08 16:38:18:317 Unknown info from ownCloud status.php: "installed" = "true" 03-08 16:38:18:317 ownCloud found on "https://cloud.xxx.net/test" with version: "4.5.7" 03-08 16:38:18:317 ownCloud found on "https://cloud.xxx.net/test" with version: "4.5.7" 03-08 16:38:18:317 #-------# oC found on "https://cloud.xxx.net/test" 03-08 16:38:19:948 * event notification enabled
I gisted my log here: https://gist.github.com/pheraph/5123764
Even if you empty the targetpath variable in ~/.local/share/data/ownCloud/folders/owncloud (original is /clientsync), the syncclient is defaulting to /clientsync. Where does that come from then? Is it hardcoded?
I have found a workaround to access shared files and folders:
When the syncclient is activated, all files in Shared will be synced. Strange thing is that the GUI does not mention the second, manually created path, although it seems to work fine.
Another observation: in ~/.local/share/data/ownCloud/folders/ownCloud, targetPath=synclient without a slash '/'. this means that you cannot enter (manually) a slash '/' in the targetpath as some commenters are incountering. This might be because somewhere, somehowe, the slash is added to the configured targetpath; this is shown in the status view of the client. So although targetPath=synclient, it show as /synclient.
Is there a GUI solution to this for OS X?
I was able to change the default folder from "clientsync" to "/" by editing "targetPath" in /Library/Application Support/ownCloud/folders/[my folder name], but it seems like you should be able to do it through the GUI. But I agree that it should default to "/" and/or you should be able to specify a targetPath when setting up the folder
Thanks for the awesome product!
@markbaa: I left the targetPath empty then the client synchronizes the whole contents stored in the server and then there is no need to create a "clientsync" folder anymore to get all your files & folders synced.
from my point of view the user should be able to decide whether he wants the default folders created(server&locally) during the installation or not. for me it is really annoying to remove these folders every time i set up owncloud sync
For anyone that still doesn't understand how to fix this problem (until the dev's make the option available during initial setup), just remove your current Sync. Then add a new one, and use '/' as the Remote Folder to sync:
This issue is solved in the development version. Simple sync of whole ownCloud server to a local folder »ownCloud« is now the default. Read more about that in @dragotin’s blog: https://dragotin.wordpress.com/2013/04/29/whats-on-in-nightly/ And a screenshot:
Thank you all for the feedback!
This is new in 1.3.0 beta1
Yeeeeaaah finally, good work! :)
El 29.05.2013, a las 02:16, Daniel Molkentin notifications@github.com escribiĂł:
This is new in 1.3.0 beta1
— Reply to this email directly or view it on GitHub.
Hello,
why is the ownCloud client by default syncing a subfolder "clientsync" and not the users's root "/" ?
if someone shares a folder/file, it is not synced to the default client. Then one has to either add it manually as another sync, or manually change the sync to root folder.
This is mayor usablity bug.
Please change the default sync folder to user root.