CloudDAVMod v1.1 for WD My Cloud firmware V4

CloudDAVMod v1.1

For those who’s following WD My Cloud‘s post, a new APP has been added to the installer, a newer improved CloudDAVMod v1.1 for firmware V4. This is my original release (-:

Remote Drive Mapping

On top of re-enabling the remote drive mapping which WD has unexpectedly removed from MyCloud, this mod provides a basic WebDAV webGUI based file manager that integrates seamlessly beneath the existing WD MyCloud Dashboard.

Advanced Features
Advanced Features

No additional backend daemons. Fast, secure, light-weight yet powerful and easy to use (-:

Features:-

  • Completely bypass MyCloud.com account login. It’s directly between you and your MyCloud NAS. With a personal DDNS 3rd party service, CloudDAVMod should work well even behind strict corporate firewalls or computers that blocks cloud services.
  • Unlimited filesize transfers where the usual mapped drives has a platform specific WebDAV filesize limit.
  • Common file/folder functions such as copy/paste/move/delete/rename/mkdir and advanced search/properties/export with keyboard shortcuts to these functions.
  • Multiple uploads via single mass selection OR Drag&Drop files from the desktop directly into a supported HTML5 browser.
  • HTML5 image previewer with navigation/zoom/pan/rotate support, HTML5 audio streamer with matching filename M3U playlist track order and track title support and HTML5 video streamer with matching filename SRT subtitles support.
  • System panel for MyCloud Dashboard admins; CPU/RAM/Disk/Network/Process usage, S.M.A.R.T. temperature, run simple WWW-SSH commands with simple color support, remote reboot/shutdown and download system logs.
  • MyCloud file/folder auto expiring URL links sharing with captcha and password protected zip. Safely share your selected files and/or folders with anyone!

Notes:-

This version of CloudDAVMod is only compatible with WD MyCloud firmware version 04.05.00-334 (21st Feb 2019). You will not be able to install otherwise. An updated CloudDAVMod version will be released soon upon newer firmware updates.

Disclaimer: As I’m frequently updating the original guides and installers here on TeaNazaR.com, I will not be responsible for any brick issues if you were to follow my obsolete guides copied elsewhere. Thus subscribe to this post to get latest updates. Modifying any part of a device may void its warranty.

This will install new and modify existing MyCloud core files, hence may void its warranty. After installing, open your browser and point to the local URL stated in the installer.

Note that you’ll see HTTPS security error prompt, just proceed, on some browsers, you’ll need to click on ‘advanced’ prior.

Chrome Cert Error
Chrome Cert Error
IE Cert Error
IE Cert Error

Login using any of your existing WD MyCloud Dashboard accounts then click on the ‘?’ help icon for usage details. Extremely slow browsing after initial installation? Or what is the remote URL to access externally? Please carefully read and understand the notes section from the ‘?’ help window as they covers most of these questions.

Why is browsing slow on both WebGUI and network drive?

You need to build the WebDAV cache for the first time. Details found on the WebGUI itself in the “?” help notes section.

How to remotely access CloudDAVMod or map MyCloud to a network drive?

First of all, CloudDAVMod will NOT work if your MyCloud is in “relay mode”, check the WD MyCloud Dashboard network settings. This is usually the case if you’re in multi-NAT environment. If so, you’ll then need to manually forward the relevant ports from your router. Refer to the ‘?’ help notes section for the port details.

The remote URL to access CloudDAVMod externally or to map a network drive remotely is clearly stated in the ‘?’ help notes section mentioned above, so again please read them carefully. It’s something like:

HTTPS://device#######-########.wd2go.com[:PORT]/HOSTNAME

  • Take note of the required ‘HTTPS‘.
  • The ‘:PORT‘ is optionally omitted if it’s port 443.
  • And ‘HOSTNAME‘ is case-sensitive.

To access from the browsers i.e. Chrome, Firefox, IE, Edge, Opera, Safari or mobile browsers, just go to the specified URL stated in the help section. Best to bookmark them for easy access. To map onto a network drive, use the simple similar methods on different OSes described below providing the same URL. Note that the default port is ‘443’ if requested unless stated otherwise.

  • Windows (Explorer): From menu, click Computer, Map network drive (or right-click on ‘This PC’ icon).
  • Mac (Finder): From menu, click Go, Connect to Server (or Command-K).
  • Linux (Nautilus): From menu, click File, Connect to Server.

If this the first time you’ve heard about WebDAV network drive mapping, please do some research about it. Example there’s a known 4GB file size limit for mapped network drive. A work around is to use the CloudDAVMod WebGUI instead. The network drive is best used for smaller files like editing documents, pictures and music files. If you’re dealing with larger files i.e. few hundreds megabytes to gigabytes in size, certain OS like Windows may stall for a while e.g. trying to right-click on a 1GB video file. So best is to stick with the more responsive CloudDAVMod WebGUI.

As promised, my donors will get the priority to install my newer builds. I will post a new comment when it’s released to the public to be used with the anonymous credentials. Donors with donation credentials, please use this installer code on your WDMyCloud:

For the older firmware, refer to the previous CloudDAVMod v1.0. If you’re upgrading, remember to clear your browser’s cache i.e. CTRL+SHIFT+F5.


For firmware 04.05.00-334:
curl teanazar.com/installer.fcgi?clouddavmod_1.1-04.05.00-334|sh;

Fixed: Fullscreen toggle, ‘about:blank’ and ‘ResizeObserver loop limit exceeded’ errors.


For firmware 04.05.00-327:
curl teanazar.com/installer.fcgi?clouddavmod_1.1-04.05.00-327|sh;

Updated: JQuery v3.3.1.

Fixed: Possible scheduler issue causing drive not going to sleep.


For firmware 04.05.00-320:
curl teanazar.com/installer.fcgi?clouddavmod_1.1-04.05.00-320|sh;

Fixed: Issue starting server due to paths with spaces. Settings changed scheduler not triggered due to wrong permissions.


For firmware 04.05.00-315:
curl teanazar.com/installer.fcgi?clouddavmod_1.1-04.05.00-315|sh;

Updated: JQuery v3.2.1. Folders are now grouped top of the list for all manual sorting and search functions which should be the normal behavior.

Fixed: Error on browsers with plugins that modifies or broke user agent strings. Issues with parts display global array not reinitialized in new search results. Search list not displaying the first result. Cleanup ANSI color/style character leftovers from WWW-SSH Panel. Media streamer status still fading away even there’s mouse movements.


For firmware 04.04.05-101:
curl teanazar.com/installer.fcgi?clouddavmod_1.1-04.04.05-101|sh;

New: System panel for MyCloud Dashboard admin. MyCloud file/folder auto expiring links sharing with captcha and password protected zip. Search recursively by any type/size/modified deep into paths via Unix find . Detailed properties and folder usage via Unix stat / du  in Context-Menu. Image previewer with navigation/zoom/pan/rotate support. M3U playlist track order and track title support. Used and total share sizes in stats panel. Root shares sizes on home page size column. Range selections to expand or reverse with [SHIFT] or Context-Menu. Export selections to CSV formatted file.

Updated: JQuery v3.1.0. Improved help sections, subtitle error detection and page loadings. Changed to client side column sortings to adapt the new search and range select functions, hence toggling selections are now affected only on visible parts/filtered items and all selections will now reset during filtering. Allow browser’s autocomplete in inputs. Allow text selections in help dialog. Visual alerts when certain functions are restricted. Filesize in media streamer status. To allow play next events, clicking on any stream media during a non-stop loop play mode will now continue the playback from there instead of previously ending the loop mode. Tooltips will many infos will now stay visible unless page scrolled or cursor moved. List tooltips will now show root share sizes in home page or show track order and track title when the new available M3U playlist support loads. Retain copied item selections when navigating back to its originating path. The top selected/copied cursor hovered list indicator will now reveal which are the copied items among selected ones. Folder size column are now displayed as 4K block size unless populated from shares in the home page. WebDAV caches are now automatically updated if required by just opening the help section.

Fixed: Minor installer bug, codes cleanup and UI performance. Parts display exceeding item list. Keyboard sort tooltips typo. Tooltips appearing fixed top-left on certain mobile browsers. Stats size not including less than 1Kbytes items. [CTRL]+A, [CTRL]+C and [CTRL]+V shortcuts behavior when there’s text input. Vary header Chrome caching issues. Case-sensitive and folder rename. Further sanitization of URIs with non-standard or controlled characters that caused file/media operation failures. RegExp filter results count should reflect as per-row. AJAX array issues, changed to hash object. Scroll and click events triggered more than once. Context-Menu hidden on fullscreen video stream, hence missing out the ‘Lock screen’ feature. Media streamer doesn’t stop loading current data on next or close events, had to unload by force on buggy browsers. Forced logout for browsers caching the credentials. WebDAV permissions sometimes not reloaded.


For firmware 04.04.04-101:
curl teanazar.com/installer.fcgi?clouddavmod_1.1-04.04.04-101|sh;

64 thoughts on “CloudDAVMod v1.1 for WD My Cloud firmware V4”

  1. What Happen ?

    Checking resources… Error-10: Unable to retrieve required files! As promised to my donors, they will be the first to receive newer builds. Retry using the permanent donation credentials from your DonationID if you have or wait till it’s released to the public in next few days.

    1. It’s stated in the error, donation credentials needed. Refrain from donating if there’s no sincerity.

  2. CloudDAVMod Updated! [20171227] Version 1.1-04.05.00-320 released. If you’re using the WebGUI, clear your browser’s cache i.e. CTRL+SHIFT+F5.

  3. Hello. Which the most actual CloudDAVMod version is available for non-donor users?

  4. CloudDAVMod Updated! [20180517] Version 1.1-04.05.00-327 released. If you’re using the WebGUI, clear your browser’s cache i.e. CTRL+SHIFT+F5.

    1. Hi, Nazar. Which the last version of CloudDAVMod is available for the anonymous users?

  5. Hi Nazar,
    yesterday I installed on my WD MyCloud syncthing, Erroneously I also installed webhosting-mods and clouddav.mod . The installations worked without any problem and I can address syncthing via :8384 – although somehow slowly. Therefor I restarted the device twice – but it lasted about 1 hour until I could see the syncthing web-Interface again, synchronization is very slow and I get connection-errors. The My Cloud web-Interface /UI/ shows at once.
    I suppose that my problems are due to the additional installations, specially of webhosting-mods. How can I uninstall them?

    1. Hi Reinhold,

      Synthing uses quite a lot of system resources due to encryptions therefore recommended only to be installed on a dedicated backup device. MyCloud is not that fast so we can’t run too many resource hungry apps. The webhosting-mods and CloudDAVMod will not slow down you device but the installation is non-reversible because it modifies some of the system internals. The best you can do is to reinstall the latest firmware to revert all these.

      1. Hi Nazar,
        thank you for yous quick response. After playing around with syncthing on MyCloud I feel I can go on as it works now. Maybe it had also in influence that I deselected “Global Discovery” and selected “Local Discovery” in the settings.
        Best regards and again much thanks
        Reinhold

  6. Hello Nazar,

    I just recently received a mycloud nas.
    My purpose of the NAS it store music and videos/movies to be played on my TV or music box or phone.

    My question is more about using Plex, which appears that I can’t use it on the single bay unit.

    If I install your patch, will it allow me to install and use plex. Plex appears to be the easiest solution for my family when access the media library.

    If plex isnt an option, do you happen to know of another viable alternative.

    Thank you,

    1. Hi Marvin,

      MyCloud 1st generation doesn’t support Plex. The software is a closed source and we’re not able to compile it for the NAS. The 2nd generation however has an unofficial hack for it you can search the WD forum. I only have the 1st generation to support although I’ve managed to help some of my donors with their 2nd generation MyCloud.

  7. CloudDAVMod Updated! [20190331] Version 1.1-04.05.00-334 released. If you’re using the WebGUI, clear your browser’s cache i.e. CTRL+SHIFT+F5.

    1. The credential generator is broken. Keep on looping back to the same places. Tried various browsers and adblock plus such completely disabled.

  8. Avatar Henry Fry says:

    Your credentials are completely broken, I am unable to generate any credentials on any browser with the java script as implemented. PLEASE FIX!!!
    Its 2019 and we all use modern browsers.

  9. Avatar Francisco says:

    Hello.
    I can’t get the credentials.
    I have adblock disabled. Did all the thing on the video.
    Can you help me, please?

    1. Hi Nad,

      The URL is incorrect. In LAN, go to the CloudDAVMod settings and look for the correct URL to access from WAN.

          1. Hi Nad,

            Something is not right with your installation. I’ll contact you later via email to check.

            1. Hi Nad,

              Apparently your system had an auto update of the firmware. This will revert all modifications done to your MyCloud. I would suggest that you disable this auto upgrade feature and do it while you’re free, so you can reinstall everything after that.

              I’ve reinstalled CloudDAVMod for you. Enjoy (-:

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax