Has anyone managed to configure bitrix24.de as rclone remote?
Although their WebDAV settings work fine on my PC rclone refuses to accept it as a WebDAV remote.
I'm using latest rclone on Ubuntu.
What is more confusing is that I found on Google that bitrix24 was actually supported in rclone at least in the past (with the remote name 'Bitrix Site Manager') but now that option doesn't show up. Not sure what happened with that.
I have 100GB there so any way to make it work would be appreciated
Just an update:
Connection works, copying single files works, but any action on directories fails with an error : Update mkParentDir failed: 409 Conflict
It seems rclone can't identify directories in the remote.
Because this problem is not new I see it's also described here with all info:
So this is an old problem still ongoing.
rclone copy/sync fails on directories, such actions also fail on rclone mounts, all with same error. Clearly an rclone issues not some mistake on my part and no easy fix.
I guess fixing this is just a matter of priority by rclone developers.
I'm using latest rclone as mentioned but that doesn't matter much as problem is old enough and already brought to attention. Maybe it's time to fix this.
Thanks Nick so I've gone ahead and installed rclone v1.54.0-beta.4971.e45716cac
Now situation is just a little bit better.
First, when I mount bitrix24 I can successfully copy directories with their files into the mount point using Linux commands.
But problems consist when using rclone commands. When I use for example 'rclone copy' I notice an odd behavior: now directories and files are all created on the remote, files 'ls -l' shows the correct size - but content in all files is just a mix of HTML and js. Still command exits with 0 no errors.... very odd.
Did the copy to the mount corrupt the files in the same way?
How did you see the files were wrong? Did you download them again with rclone?
Bitrix seems a bit non-standard when it comes to WebDAV.
Do you have an account you could lend me for some testing? Or maybe I can get a free account - I wasn't sure from looking at their website! If you can lend me credentials them private message me here.
Thank you Nick,
After further investigation (this time on PC) files are not corrupt they're OK. Files transfer to remote actually seems fine. Problem is mostly with accessing files for read/write using rclone commands (like rclone cat) or Linux commands on mount point. That's where I was always getting HTML/JS junk from Bitrix site.
For the test I ran 'rclone serve webdav' on the remote then accessed it through PC. I came to know everything was OK with the files I could open them etc (unlike my Ubuntu VPS).
Another thing to know is when I created a Crypt remote inside Bitrix remote then ran 'rclone serve' on the crypt I couldn't open any file at all. All attempts failed with the error "not an encrypted file - bad magic string".
So remote it partially workable, I guess some people may be able to live with the problems for storage etc but since I use crypts and media it's not yet satisfying.
After this better clarification please let me know if you still want to look I can send you credentials.
As far as I can see it has decided to give rclone back the web browser version of the site, so a a single page application with HTML and javascript.
I'm guessing it is missing some header or user agent.
I don't know if you could snoop on the official client or web interface and see what headers it does send?
Can you ask bitrix support about this? It looks like a bug in the WebDAV implementation to me as a straight forward GET request to the URL returned in the collection should just fetch the file.
Thank you Nick for effort.
They don't provide any support for free accounts unfortunately.
But I checked that HTML error page and it contains a small message
"Das Modul "Dokumentenarchiv" wurde nicht installiert." which translates to "The Document Library module is not installed"...
So I'll try to find a way to get such a module installed through web interface. Can't understand why they have to make everything complicated
Not yet, just found on Google some reference to modules installation process for their self-hosted setup, but the web interface doesn't look exactly the same.. still there's a good chance I missed something just need more time to dig.
Nick what you're saying is encouraging because I have encountered some cloud services in the past (like Firedrive or Userscloud) which enabled upload-only over WebDAV but I guess it's not necessarily the case here, as you said it properly worked before.
I'll update if I move forward, hope this thread won't get locked. It would be a shame if it didn't work because it's a reliable cloud with very good speeds.
Nick portal can be accessed through that baseurl. Then from the bottom of page can switch to English. Feel free to go wild if you want.
Sounds great Nick,
I've successfully compiled that branch, added the remote (tried using both 'rclone config' dialog and by importing its rclone.conf section) but remote isn't usable, rclone commands are returning this error:
2020/12/26 17:57:45 Failed to ncdu with 2 errors: last error was: ncdu directory listing: ncdu listing failed: couldn't list files: XML syntax error on line 20: element <a> closed by </td>