- Webdav nextcloud windows 10 не подключается
- Общие обсуждения
- 🐹 Nextcloud: Подключение каталога пользователя сетевым диском по протоколу WebDAV в Windows 10.
- Содержание:
- 1. Постановка задачи.
- 2. Подготовка Windows.
- 3. Подключение сетевого диска.
- 4. Удаление учетных данных сетевого диска.
- Nextcloud 10 User Manual
- Nextcloud Desktop and Mobile ClientsВ¶
- WebDAV ConfigurationВ¶
- Accessing Files Using LinuxВ¶
- Nautilus File ManagerВ¶
- Accessing Files with KDE and Dolphin File ManagerВ¶
- Creating WebDAV Mounts on the Linux Command LineВ¶
- Known IssuesВ¶
- ProblemВ¶
- SolutionВ¶
- ProblemВ¶
- SolutionВ¶
- Accessing Files Using Mac OS XВ¶
- Accessing Files Using Microsoft WindowsВ¶
- Mapping Drives With the Command LineВ¶
- Mapping Drives With Windows ExplorerВ¶
- Accessing Files Using CyberduckВ¶
- Accessing public shares over WebDAVВ¶
- Known ProblemsВ¶
- ProblemВ¶
- Solution 1В¶
- Solution 2В¶
- ProblemВ¶
- SolutionВ¶
- ProblemВ¶
- SolutionВ¶
- ProblemВ¶
- SolutionВ¶
- ProblemВ¶
- SolutionВ¶
- Accessing Files Using cURLВ¶
Webdav nextcloud windows 10 не подключается
Общие обсуждения
Пытаюсь подключить сетевой диск webdav средствами проводника Windows 10 Pro.
Webdav развернут на Windows Server 2019. Это не сервер, а просто файловое хранилище. Домена нет, пользователи локальные, права розданы, по локальной сети все ок работает.
Webdav виртуальный каталог. Адрес в интернете https://*.*.*.*/shares. Сертификат ssl самоподписанный. Базовая аутентификация. Доступ всем пользователям.
С Мака сетевой диск подключается, с приложений в смартфоне подключается. В Windows через плагин Total commander подключается, через Internet Explorer (и другие браузеры) – ругается на сертификат, но подключается. Через проводник – никак. Запрашивает имя пользователя и пароль, указываю корректные, но подключение не происходит: Вход в сеть не произведен. Через командную строку: Системная ошибка 1244. Запрошенная операция не была выполнена, так как пользователь не зарегистрирован.
На клиентской машине стоит Windows 10 Pro. Сертификат добавлен в доверенные, служба webclient запущена, параметры реестра аутентификации и доверенных адресов BasicAuthLevel и AuthForwardServerList пробовал изменять, брандмауэр отключал, параметры безопасности IE снижал – ничего не помогает.
Учитывая, что любые сторонние программы и приложения могут без проблем подключаться и работать, я предполагаю, что проблема в клиенте Windows, а не сервере. Задача вроде довольно простая, но никак не могу найти решение.
Помогите советом, или скажите, к кому можно обратиться за помощью в настройке — очень нужно для удаленной работы.
🐹 Nextcloud: Подключение каталога пользователя сетевым диском по протоколу WebDAV в Windows 10.
Опубликовано 2020-01-31 · Обновлено 2020-09-25
Содержание:
1. Постановка задачи.
Задача: подключить каталог учетной записи облачного хранилища Nextcloud в Windows 10 в виде обычного Сетевого диска.
2. Подготовка Windows.
Для успешного выполнения поставленной задачи, подготовим Windows 10 к активации протокола WebDAV.
2.1. Настройка Internet Explorer.
Зайдем в Windows 10 браузер Internet Explorer и отключим галочки по пути закладок меню:
- IE: Свойство браузера —>Подключения —>Настройка сети —>Убрать все галочки —>ОК —>ОК.
2.2. Запуск службы web-клиента.
Статус сервиса «WebClient “должен быть”запущен«. Если это не так, службу можно запустить, нажав кнопку Пуск в верхнем левом углу, а саму службу поставить в режим «Автозапуска» при старте Windows.
3. Подключение сетевого диска.
Для подключения каталога пользователя Nextcloud сетевым диском по протоколу WebDAV в Windows выполним следующие шаги:
- Запустим старый добрый Проводник нашего Windows 10.
- Выберем в левом меню Мой Этот компьютер.
- Выберем Подключить сетевой диск.
- Далее выйдет приглашение ввести Сетевой путь до каталога и выбрать Букву сетевого диска. Выбираем Букву сетевого диска, вводим Сетевой путь и ставим обе галочки в настройках соединения:
Здесь ведем следующий путь и нажмем Готово:
- Облачное хранилище Nextcloud предложит нам пройти аутентификацию, вводим логин и пароль от учетной записи:
Если нужно единоразовое подключение, то галочку не ставим, если нужно, чтобы диск подключался автоматически при входе в систему Windows, после перезагрузки, ставим галочку и жмем ОК.
Если имя пользователя и пароль были успешно введены, соответствующий Сетевой диск будет подключен и виден как сетевой диск, так что файлы и папки можно редактировать и совместно использовать так же, как на обычном диске.
По-умолчанию название Сетевого диска будет состоять из сетевого пути, но данный Сетевой диск можно переименовать по своему вкусу.
4. Удаление учетных данных сетевого диска.
Для удаления учетных данных Сетевого диска каталога пользователя подключенного по протоколу WebDAV в Windows 10, нужно удалить данные этой учетный записи в Панель управления —> Диспетчер учетных данных —> Учетные данные Windows —> Общие учетные данные.
Nextcloud 10 User Manual
Nextcloud fully supports the WebDAV protocol, and you can connect and synchronize with your Nextcloud files over WebDAV. In this chapter you will learn how to connect Linux, Mac OS X, Windows, and mobile devices to your Nextcloud server via WebDAV. Before we get into configuring WebDAV, let’s take a quick look at the recommended way of connecting client devices to your Nextcloud servers.
Nextcloud Desktop and Mobile ClientsВ¶
The recommended method for keeping your desktop PC synchronized with your Nextcloud server is by using the Nextcloud/ownCloud sync clients. You can configure the client to save files in any local directory you want, and you choose which directories on the Nextcloud server to sync with. The client displays the current connection status and logs all activity, so you always know which remote files have been downloaded to your PC, and you can verify that files created and updated on your local PC are properly synchronized with the server.
The recommended method for syncing your Nextcloud server with Android and Apple iOS devices is by using the mobile apps.
To connect to your Nextcloud server with the mobile apps, use the base URL and folder only:
In addition to the mobile apps provided by Nextcloud or Nextcloud, you can use other apps to connect to Nextcloud from your mobile device using WebDAV. WebDAV Navigator is a good (proprietary) app for Android devices and iPhones. The URL to use on these is:
WebDAV ConfigurationВ¶
If you prefer, you may also connect your desktop PC to your Nextcloud server by using the WebDAV protocol rather than using a special client application. Web Distributed Authoring and Versioning (WebDAV) is a Hypertext Transfer Protocol (HTTP) extension that makes it easy to create, read, and edit files on Web servers. With WebDAV you can access your Nextcloud shares on Linux, Mac OS X and Windows in the same way as any remote network share, and stay synchronized.
In the following examples, You must adjust example.com/ to the URL of your Nextcloud server installation.
Accessing Files Using LinuxВ¶
You can access files in Linux operating systems using the following methods.
Nautilus File ManagerВ¶
Use the davs:// protocol to connect the Nautilus file manager to your Nextcloud share:
If your server connection is not HTTPS-secured, use dav:// instead of davs:// .
Accessing Files with KDE and Dolphin File ManagerВ¶
To access your Nextcloud files using the Dolphin file manager in KDE, use the webdav:// protocol:
You can create a permanent link to your Nextcloud server:
- Open Dolphin and click “Network” in the left hand “Places” column.
- Click on the icon labeled Add a Network Folder. The resulting dialog should appear with WebDAV already selected.
- If WebDAV is not selected, select it.
- Click Next.
- Enter the following settings:
- Name: The name you want to see in the Places bookmark, for example Nextcloud.
- User: The Nextcloud username you used to log in, for example admin.
- Server: The Nextcloud domain name, for example example.com (without http:// before or directories afterwards).
- Folder – Enter the path nextcloud/remote.php/dav/files/USERNAME/ .
- (Optional) Check the “Create icon checkbox” for a bookmark to appear in the Places column.
- (Optional) Provide any special settings or an SSL certificate in the “Port & Encrypted” checkbox.
Creating WebDAV Mounts on the Linux Command LineВ¶
You can create WebDAV mounts from the Linux command line. This is useful if you prefer to access Nextcloud the same way as any other remote filesystem mount. The following example shows how to create a personal mount and have it mounted automatically every time you log in to your Linux computer.
Install the davfs2 WebDAV filesystem driver, which allows you to mount WebDAV shares just like any other remote filesystem. Use this command to install it on Debian/Ubuntu:
Use this command to install it on CentOS, Fedora, and openSUSE:
Add yourself to the davfs2 group:
Then create an nextcloud directory in your home directory for the mountpoint, and .davfs2/ for your personal configuration file:
Copy /etc/davfs2/secrets to
Set yourself as the owner and make the permissions read-write owner only:
Add your Nextcloud login credentials to the end of the secrets file, using your Nextcloud server URL and your Nextcloud username and password:
Add the mount information to /etc/fstab :
Then test that it mounts and authenticates by running the following command. If you set it up correctly you won’t need root permissions:
You should also be able to unmount it:
Now every time you login to your Linux system your Nextcloud share should automatically mount via WebDAV in your
/nextcloud directory. If you prefer to mount it manually, change auto to noauto in /etc/fstab .
Known IssuesВ¶
ProblemВ¶
Resource temporarily unavailable
SolutionВ¶
If you experience trouble when you create a file in the directory, edit /etc/davfs2/davfs2.conf and add:
ProblemВ¶
SolutionВ¶
If you use a self-signed certificate, you will get a warning. To change this, you need to configure davfs2 to recognize your certificate. Copy mycertificate.pem to /etc/davfs2/certs/ . Then edit /etc/davfs2/davfs2.conf and uncomment the line servercert . Now add the path of your certificate as in this example:
Accessing Files Using Mac OS XВ¶
The Mac OS X Finder suffers from a series of implementation problems and should only be used if the Nextcloud server runs on Apache and mod_php, or Nginx 1.3.8+.
To access files through the Mac OS X Finder:
- Choose Go > Connect to Server.
- Specify the address of the server in the Server Address field.
For example, the URL used to connect to the Nextcloud server from the Mac OS X Finder is:
For added details about how to connect to an external server using Mac OS X, check the vendor documentation
Accessing Files Using Microsoft WindowsВ¶
If you use the native Windows implementation, you can map Nextcloud to a new drive. Mapping to a drive enables you to browse files stored on an Nextcloud server the way you would files stored in a mapped network drive.
Using this feature requires network connectivity. If you want to store your files offline, use the Desktop Client to sync all files on your Nextcloud to one or more directories of your local hard drive.
Prior to mapping your drive, you must permit the use of Basic Authentication in the Windows Registry. The procedure is documented in KB841215 and differs between Windows XP/Server 2003 and Windows Vista/7. Please follow the Knowledge Base article before proceeding, and follow the Vista instructions if you run Windows 7.
Mapping Drives With the Command LineВ¶
The following example shows how to map a drive using the command line. To map the drive:
Open a command prompt in Windows.
Enter the following line in the command prompt to map to the computer Z drive:
For example: net use Z: https://example.com/nextcloud/remote.php/dav/files/USERNAME/ /user:youruser yourpassword
Though not recommended, you can also mount the Nextcloud server using HTTP, leaving the connection unencrypted. If you plan to use HTTP connections on devices while in a public place, we strongly recommend using a VPN tunnel to provide the necessary security.
An alternative command syntax is:
Mapping Drives With Windows ExplorerВ¶
To map a drive using the Microsoft Windows Explorer:
- Migrate to your computer in Windows Explorer.
- Right-click on Computer entry and select Map network drive… from the drop-down menu.
- Choose a local network drive to which you want to map Nextcloud.
- Specify the address to your Nextcloud instance, followed by /remote.php/dav/files/USERNAME/.
For SSL protected servers, check Reconnect at logon to ensure that the mapping is persistent upon subsequent reboots. If you want to connect to the Nextcloud server as a different user, check Connect using different credentials.
Accessing Files Using CyberduckВ¶
Cyberduck is an open source FTP and SFTP, WebDAV, OpenStack Swift, and Amazon S3 browser designed for file transfers on Mac OS X and Windows.
This example uses Cyberduck version 4.2.1.
To use Cyberduck:
- Specify a server without any leading protocol information. For example:
2. Specify the appropriate port. The port you choose depends on whether or not your Nextcloud server supports SSL. Cyberduck requires that you select a different connection type if you plan to use SSL. For example:
443 (for WebDAV (HTTPS/SSL))
3. Use the вЂMore Options’ drop-down menu to add the rest of your WebDAV URL into the вЂPath’ field. For example:
Now Cyberduck enables file access to the Nextcloud server.
Accessing public shares over WebDAVВ¶
Nextcloud provides the possibility to access public shares over WebDAV.
To access the public share, open:
in a WebDAV client, use the share token as username and the (optional) share password as password.
Known ProblemsВ¶
ProblemВ¶
Windows does not connect using HTTPS.
Solution 1В¶
The Windows WebDAV Client might not support Server Name Indication (SNI) on encrypted connections. If you encounter an error mounting an SSL-encrypted Nextcloud instance, contact your provider about assigning a dedicated IP address for your SSL-based server.
Solution 2В¶
The Windows WebDAV Client might not support TSLv1.1 / TSLv1.2 connections. If you have restricted your server config to only provide TLSv1.1 and above the connection to your server might fail. Please refer to the WinHTTP documentation for further information.
ProblemВ¶
You receive the following error message: Error 0x800700DF: The file size exceeds the limit allowed and cannot be saved.
SolutionВ¶
Windows limits the maximum size a file transferred from or to a WebDAV share may have. You can increase the value FileSizeLimitInBytes in HKEY_LOCAL_MacHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters ** by clicking on **Modify.
To increase the limit to the maximum value of 4GB, select Decimal, enter a value of 4294967295, and reboot Windows or restart the WebClient service.
ProblemВ¶
Accessing your files from Microsoft Office via WebDAV fails.
SolutionВ¶
Known problems and their solutions are documented in the KB2123563 article.
ProblemВ¶
Cannot map Nextcloud as a WebDAV drive in Windows using self-signed certificate.
SolutionВ¶
- Go to the your Nextcloud instance via your favorite Web browser.
- Click through until you get to the certificate error in the browser status line.
- View the cert, then from the Details tab, select Copy to File.
- Save to the desktop with an arbitrary name, for example myNextcloud.cer .
- Start, Run, MMC.
- File, Add/Remove Snap-In.
- Select Certificates, Click Add, My User Account, then Finish, then OK.
- Dig down to Trust Root Certification Authorities, Certificates.
- Right-Click Certificate, Select All Tasks, Import.
- Select the Save Cert from the Desktop.
- Select Place all Certificates in the following Store, Click Browse,
- Check the Box that says Show Physical Stores, Expand out Trusted Root Certification Authorities, and select Local Computer there, click OK, Complete the Import.
- Check the list to make sure it shows up. You will probably need to Refresh before you see it. Exit MMC.
- Open Browser, select Tools, Delete Browsing History.
- Select all but In Private Filtering Data, complete.
- Go to Internet Options, Content Tab, Clear SSL State.
- Close browser, then re-open and test.
ProblemВ¶
You cannot download more than 50 MB or upload large Files when the upload takes longer than 30 minutes using Web Client in Windows 7.
SolutionВ¶
Workarounds are documented in the KB2668751 article.
Accessing Files Using cURLВ¶
Since WebDAV is an extension of HTTP cURL can be used to script file operations.
To create a folder with the current date as name:
To upload a file error.log into that directory:
To get the properties of files in the root folder: