Nextcloud client windows


Accessing Nextcloud Files Using WebDAV — Nextcloud 12 User Manual 12 documentation

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 ownCloud, 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:

example.com/nextcloud/remote.php/dav/files/USERNAME/

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.

Note

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:

davs://example.com/nextcloud/remote.php/dav/files/USERNAME/

Note

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:

webdav://example.com/nextcloud/remote.php/dav/files/USERNAME/

You can create a permanent link to your Nextcloud server:

  1. Open Dolphin and click “Network” in the left hand “Places” column.
  2. Click on the icon labeled Add a Network Folder. The resulting dialog should appear with WebDAV already selected.
  3. If WebDAV is not selected, select it.
  4. Click Next.
  5. 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/.
  6. (Optional) Check the “Create icon checkbox” for a bookmark to appear in the Places column.
  7. (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.

  1. 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:

  2. Use this command to install it on CentOS, Fedora, and openSUSE:

  3. Add yourself to the davfs2 group:

    usermod -aG davfs2 <username>
  1. Then create an nextcloud directory in your home directory for the mountpoint, and .davfs2/ for your personal configuration file:

    mkdir ~/nextcloud mkdir ~/.davfs2
  2. Copy /etc/davfs2/secrets to ~/.davfs2:

    cp /etc/davfs2/secrets ~/.davfs2/secrets
  3. Set yourself as the owner and make the permissions read-write owner only:

    chown <username>:<username> ~/.davfs2/secrets chmod 600 ~/.davfs2/secrets
  4. Add your Nextcloud login credentials to the end of the secrets file, using your Nextcloud server URL and your Nextcloud username and password:

    example.com/nextcloud/remote.php/dav/files/USERNAME/ <username> <password>
  5. Add the mount information to /etc/fstab:

    example.com/nextcloud/remote.php/dav/files/USERNAME/ /home/<username>/nextcloud davfs user,rw,auto 0 0
  6. Then test that it mounts and authenticates by running the following command. If you set it up correctly you won’t need root permissions:

  7. 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

Certificate warnings

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:

servercert /etc/davfs2/certs/mycertificate.pem

Accessing Files Using macOS

To access files through the macOS Finder:

  1. Choose Go > Connect to Server.

The “Connect to Server” window opens.

  1. Specify the address of the server in the Server Address field.

For example, the URL used to connect to the Nextcloud server from the macOS Finder is:

https://example.com/nextcloud/remote.php/dav/files/USERNAME/
  1. Click Connect.

The device connects to the server.

For added details about how to connect to an external server using Mac OS X, check the vendor documentation .

Accessing Files Using Microsoft Windows

It is best to use a suitable WebDAV client from the WebDAV Project page .

If you must 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.

Note

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:

  1. Open a command prompt in Windows.

  2. Enter the following line in the command prompt to map to the computer Z drive:

    net use Z: https://<drive_path>/remote.php/dav/files/USERNAME/ /user:youruser yourpassword

where <drive_path> is the URL to your Nextcloud server.

For example: net use Z: https://example.com/nextcloud/remote.php/dav/files/USERNAME/ /user:youruser yourpassword

The computer maps the files of your Nextcloud account to the drive letter Z.

Note

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:

net use Z: \\[email protected]\nextcloud\remote.php\dav /user:youruser yourpassword

Mapping Drives With Windows Explorer

To map a drive using the Microsoft Windows Explorer:

  1. Migrate to your computer in Windows Explorer.
  2. Right-click on Computer entry and select Map network drive... from the drop-down menu.
  3. Choose a local network drive to which you want to map Nextcloud.
  4. Specify the address to your Nextcloud instance, followed by /remote.php/dav/files/USERNAME/.

For example:

https://example.com/nextcloud/remote.php/dav/files/USERNAME/

Note

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.

  1. Click the Finish button.

Windows Explorer maps the network drive, making your Nextcloud instance available.

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.

Note

This example uses Cyberduck version 4.2.1.

To use Cyberduck:

  1. Specify a server without any leading protocol information. For example:

example.com

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:

80 (for WebDAV)

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:

remote.php/dav/files/USERNAME/

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:

https://example.com/nextcloud/public.php/dav

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

  1. Go to the your Nextcloud instance via your favorite Web browser.
  2. Click through until you get to the certificate error in the browser status line.
  3. View the cert, then from the Details tab, select Copy to File.
  4. Save to the desktop with an arbitrary name, for example myNextcloud.pem.
  5. Start, Run, MMC.
  6. File, Add/Remove Snap-In.
  7. Select Certificates, Click Add, My User Account, then Finish, then OK.
  8. Dig down to Trust Root Certification Authorities, Certificates.
  9. Right-Click Certificate, Select All Tasks, Import.
  10. Select the Save Cert from the Desktop.
  11. Select Place all Certificates in the following Store, Click Browse,
  12. Check the Box that says Show Physical Stores, Expand out Trusted Root Certification Authorities, and select Local Computer there, click OK, Complete the Import.
  13. Check the list to make sure it shows up. You will probably need to Refresh before you see it. Exit MMC.
  14. Open Browser, select Tools, Delete Browsing History.
  15. Select all but In Private Filtering Data, complete.
  16. Go to Internet Options, Content Tab, Clear SSL State.
  17. 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:

$ curl -u user:pass -X MKCOL "https://example.com/nextcloud/remote.php/dav/files/USERNAME/$(date '+%d-%b-%Y')"

To upload a file error.log into that directory:

$ curl -u user:pass -T error.log "https://example.com/nextcloud/remote.php/dav/files/USERNAME/$(date '+%d-%b-%Y')/error.log"

To move a file:

$ curl -u user:pass -X MOVE --header 'Destination: https://example.com/nextcloud/remote.php/dav/files/USERNAME/target.jpg' https://example.com/nextcloud/remote.php/dav/files/USERNAME/source.jpg

To get the properties of files in the root folder:

$ curl -X PROPFIND -H "Depth: 1" -u user:pass https://example.com/nextcloud/remote.php/dav/files/USERNAME/ | xml_pp <?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:oc="http://nextcloud.org/ns" xmlns:s="http://sabredav.org/ns"> <d:response> <d:href>/nextcloud/remote.php/dav/files/USERNAME/</d:href> <d:propstat> <d:prop> <d:getlastmodified>Tue, 13 Oct 2015 17:07:45 GMT</d:getlastmodified> <d:resourcetype> <d:collection/> </d:resourcetype> <d:quota-used-bytes>163</d:quota-used-bytes> <d:quota-available-bytes>11802275840</d:quota-available-bytes> <d:getetag>"561d3a6139d05"</d:getetag> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> <d:response> <d:href>/nextcloud/remote.php/dav/files/USERNAME/welcome.txt</d:href> <d:propstat> <d:prop> <d:getlastmodified>Tue, 13 Oct 2015 17:07:35 GMT</d:getlastmodified> <d:getcontentlength>163</d:getcontentlength> <d:resourcetype/> <d:getetag>"47465fae667b2d0fee154f5e17d1f0f1"</d:getetag> <d:getcontenttype>text/plain</d:getcontenttype> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> </d:multistatus>

docs.nextcloud.com

Accessing Nextcloud Files Using WebDAV — Nextcloud 9 User Manual 9 documentation

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 Nextcloud mobile apps.

To connect to your Nextcloud server with the Nextcloud mobile apps, use the base URL and folder only:

In addition to the mobile apps provided by 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:

example.com/nextcloud/remote.php/dav/files/USERNAME/

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.

Note

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:

davs://example.com/nextcloud/remote.php/dav/files/USERNAME/

Note

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:

webdav://example.com/nextcloud/remote.php/dav/files/USERNAME/

You can create a permanent link to your Nextcloud server:

  1. Open Dolphin and click “Network” in the left hand “Places” column.
  2. Click on the icon labeled Add a Network Folder. The resulting dialog should appear with WebDAV already selected.
  3. If WebDAV is not selected, select it.
  4. Click Next.
  5. 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/.
  6. (Optional) Check the “Create icon checkbox” for a bookmark to appear in the Places column.
  7. (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.

  1. 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:

  2. Use this command to install it on CentOS, Fedora, and openSUSE:

  3. Add yourself to the davfs2 group:

    usermod -aG davfs2 <username>
  1. Then create an nextcloud directory in your home directory for the mountpoint, and .davfs2/ for your personal configuration file:

    mkdir ~/nextcloud mkdir ~/.davfs2
  2. Copy /etc/davfs2/secrets to ~/.davfs2:

    cp /etc/davfs2/secrets ~/.davfs2/secrets
  3. Set yourself as the owner and make the permissions read-write owner only:

    chown <username>:<username> ~/.davfs2/secrets chmod 600 ~/.davfs2/secrets
  4. Add your Nextcloud login credentials to the end of the secrets file, using your Nextcloud server URL and your Nextcloud username and password:

    example.com/nextcloud/remote.php/dav/files/USERNAME/ <username> <password>
  5. Add the mount information to /etc/fstab:

    example.com/nextcloud/remote.php/dav/files/USERNAME/ /home/<username>/nextcloud davfs user,rw,auto 0 0
  6. Then test that it mounts and authenticates by running the following command. If you set it up correctly you won’t need root permissions:

  7. 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

Certificate warnings

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:

servercert /etc/davfs2/certs/mycertificate.pem

Accessing Files Using Mac OS X

Note

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:

  1. Choose Go > Connect to Server.

The “Connect to Server” window opens.

  1. 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:

https://example.com/nextcloud/remote.php/dav/files/USERNAME/
  1. Click Connect.

The device connects to the server.

For added details about how to connect to an external server using Mac OS X, check the vendor documentation

Accessing Files Using Microsoft Windows

It is best to use a suitable WebDAV client from the WebDAV Project page .

If you must 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 Nextcloud Desktop Client to sync all files on your Nextcloud to one or more directories of your local hard drive.

Note

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:

  1. Open a command prompt in Windows.

  2. Enter the following line in the command prompt to map to the computer Z drive:

    net use Z: https://<drive_path>/remote.php/dav/files/USERNAME/ /user:youruser yourpassword

where <drive_path> is the URL to your Nextcloud server.

For example: net use Z: https://example.com/nextcloud/remote.php/dav/files/USERNAME/ /user:youruser yourpassword

The computer maps the files of your Nextcloud account to the drive letter Z.

Note

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:

net use Z: \\[email protected]\nextcloud\remote.php\dav /user:youruser yourpassword

Mapping Drives With Windows Explorer

To map a drive using the Microsoft Windows Explorer:

  1. Migrate to your computer in Windows Explorer.
  2. Right-click on Computer entry and select Map network drive... from the drop-down menu.
  3. Choose a local network drive to which you want to map Nextcloud.
  4. Specify the address to your Nextcloud instance, followed by /remote.php/dav/files/USERNAME/.

For example:

https://example.com/nextcloud/remote.php/dav/files/USERNAME/

Note

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.

  1. Click the Finish button.

Windows Explorer maps the network drive, making your Nextcloud instance available.

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.

Note

This example uses Cyberduck version 4.2.1.

To use Cyberduck:

  1. Specify a server without any leading protocol information. For example:

example.com

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:

80 (for WebDAV)

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:

remote.php/dav/files/USERNAME/

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:

https://example.com/nextcloud/public.php/dav

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

  1. Go to the your Nextcloud instance via your favorite Web browser.
  2. Click through until you get to the certificate error in the browser status line.
  3. View the cert, then from the Details tab, select Copy to File.
  4. Save to the desktop with an arbitrary name, for example myNextcloud.cer.
  5. Start, Run, MMC.
  6. File, Add/Remove Snap-In.
  7. Select Certificates, Click Add, My User Account, then Finish, then OK.
  8. Dig down to Trust Root Certification Authorities, Certificates.
  9. Right-Click Certificate, Select All Tasks, Import.
  10. Select the Save Cert from the Desktop.
  11. Select Place all Certificates in the following Store, Click Browse,
  12. Check the Box that says Show Physical Stores, Expand out Trusted Root Certification Authorities, and select Local Computer there, click OK, Complete the Import.
  13. Check the list to make sure it shows up. You will probably need to Refresh before you see it. Exit MMC.
  14. Open Browser, select Tools, Delete Browsing History.
  15. Select all but In Private Filtering Data, complete.
  16. Go to Internet Options, Content Tab, Clear SSL State.
  17. 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:

$ curl -u user:pass -X MKCOL "https://example.com/nextcloud/remote.php/dav/files/USERNAME/$(date '+%d-%b-%Y')"

To upload a file error.log into that directory:

$ curl -u user:pass -T error.log "https://example.com/nextcloud/remote.php/dav/files/USERNAME/$(date '+%d-%b-%Y')/error.log"

To move a file:

$ curl -u user:pass -X MOVE --header 'Destination: https://example.com/nextcloud/remote.php/dav/files/USERNAME/target.jpg' https://example.com/nextcloud/remote.php/dav/files/USERNAME/source.jpg

To get the properties of files in the root folder:

$ curl -X PROPFIND -H "Depth: 1" -u user:pass https://example.com/nextcloud/remote.php/dav/files/USERNAME/ | xml_pp <?xml version="1.0" encoding="utf-8"?> <d:multistatus xmlns:d="DAV:" xmlns:oc="http://nextcloud.com/ns" xmlns:s="http://sabredav.org/ns"> <d:response> <d:href>/nextcloud/remote.php/dav/files/USERNAME/</d:href> <d:propstat> <d:prop> <d:getlastmodified>Tue, 13 Oct 2015 17:07:45 GMT</d:getlastmodified> <d:resourcetype> <d:collection/> </d:resourcetype> <d:quota-used-bytes>163</d:quota-used-bytes> <d:quota-available-bytes>11802275840</d:quota-available-bytes> <d:getetag>"561d3a6139d05"</d:getetag> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> <d:response> <d:href>/nextcloud/remote.php/dav/files/USERNAME/welcome.txt</d:href> <d:propstat> <d:prop> <d:getlastmodified>Tue, 13 Oct 2015 17:07:35 GMT</d:getlastmodified> <d:getcontentlength>163</d:getcontentlength> <d:resourcetype/> <d:getetag>"47465fae667b2d0fee154f5e17d1f0f1"</d:getetag> <d:getcontenttype>text/plain</d:getcontenttype> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> </d:multistatus>

docs.nextcloud.com

Nextcloud Connect – Nextcloud

Connect your Nextcloud!

Create your own private, secure “Dropbox” with an old laptop and an internet connection with Nextcloud Proxy.

Access your files from any device, anywhere at any time, and collaborate with anyone – all in software completely within your control.

What is it?

Nextcloud: Nextcloud is open source software that you install on your computer to provide anytime, anywhere access to your files via mobile devices, desktop sync clients and web browsers. Nextcloud is managed by you, entirely within your control, allowing you access to files on your storage, no strings attached. Provided in an easy to install virtual appliance (or as bits to be installed and configured), Nextcloud can be up and running on your computer in 3 easy steps: download the virtual appliance, import it into your preferred hypervisor, and boot.

Nextcloud Proxy: Simply put, Nextcloud Proxy enables you to take a laptop and an Internet connection, connect to your privately hosted Nextcloud from anywhere, without requiring you to make any changes to your local network settings – no router configuration, no DNS entries, no domain name registration. The Nextcloud Proxy service relies on a partner who provides the service for a fee. Right now, there is one partner, pageKite. More are coming!

How does it work?

Nextcloud Proxy is both an app inside Nextcloud and a service. The Nextcloud Proxy app is installed in Nextcloud and configured in the Nextcloud admin panel. From the Nextcloud Proxy app, an admin can sign up for an Nextcloud Proxy account with one of the supported providers. Once the account is confirmed, the Nextcloud app initiates and maintains a secure connection to the Nextcloud Proxy service. The service in turn provides a recognizable URL on the web that, when accessed via Nextcloud clients, connects users back to their Nextcloud server residing behind their router on a network at home or at work. Once the server is connected, simply download the desktop sync client from Nextcloud.org, or get the Nextcloud apps from the Apple App Store or Google Play, and get started.

Questions and answers

How about security?

All of the security associated with Nextcloud is at work when you use the Nextcloud Proxy service. Nextcloud is still run by you, on your computer. You can monitor what is happening, manage accounts, check the logs, use your own SSL certificates, enable automatic updates and more. The appliance pre-configures much of Nextcloud for you. All you have to do is start the appliance, complete the setup and log into the web URL it provides. The Nextcloud browser wizard at the provided URL will step you through logging in for the first time. Of course, as you configure accounts for others to share on your Nextcloud, we recommend you use secure and complex passwords for all accounts.

However, we want to be completely transparent about the nature of Nextcloud Proxy. The Nextcloud Proxy app is distributed and the source code is in the Nextcloud repository for review in GitHub. The Nextcloud Proxy service is provided by PageKite. All files transferred through the Nextcloud Proxy service do pass through its data centers, and for a brief time are readable as the Nextcloud Proxy service transfers incoming requests from SSL to a pageKite protocol on the way to the private Nextcloud Server. In theory, if someone wanted to, all files transferred to and from devices using the Nextcloud Proxy service could – for that brief instant of time that they are being moved from the SSL terminated connection to the tunnel in memory – be read by someone with Nextcloud Proxy service server access. While the risk is small, and our terms and conditions cover this situation, it is something we wanted to be clear about. However, there is no way for the Nextcloud Proxy service to access your data on your private server, it can only broker a connection with your private server.

How are Nextcloud Proxy and the Nextcloud Server Appliance different than Nextcloud?

The Nextcloud Server appliance contains the Nextcloud server, an OS and a database, provided in a pre-configured, easy to download, fast to set up package. Nextcloud Proxy is an app inside the Nextcloud appliance that enables an admin to sign up for and manage use of the Nextcloud Proxy Service. This service is simply a connection broker that connects users outside of a network firewall to an Nextcloud instance behind the firewall, with no special configuration required.

Of course, if you already have Nextcloud 8.1 up and running, the Nextcloud Proxy app is available in the Nextcloud app store and can be installed easily in an existing Nextcloud instance to achieve the same overall result.

What if I Want to Disconnect my Nextcloud Proxy Account?

If, at any time, you want to stop using Nextcloud Proxy, simply use the stop button in the GUI and then disable the app in the Nextcloud admin interface and it will stop working permanently.

Does Nextcloud Proxy work with Nextcloud Standard or Enterprise Subscriptions?

No, the Nextcloud Proxy app and service are not designed to work with Nextcloud subscriptions. The service architecture and bandwidth is intended for smaller Nextcloud instances and sized accordingly.

What if I want to dig a little deeper?

While we provide Nextcloud Proxy and the Nextcloud appliance to get you up and running fast, it is in no way limited. If you want to start configuring the components in the appliance for your use case, feel free. If you want to tune the database, or set up your own static IP address and domain name, and disable Nextcloud connect? Go for it! And, for a real challenge, why not try an app from apps.nextcloud.com, or write your own? Nextcloud chat, Nextcloud maps, Nextcloud video streaming, Nextcloud audio streaming – these are all apps built by the community. With Nextcloud, the possibilities to explore are endless.

nextcloud.com

Features – Nextcloud

Features – Nextcloud

Workflow management

With Nextcloud, system administrators can control and direct the flow of data between users on or between servers. Rule based file tagging and responding to these tags as well as other triggers like physical location, user group, file properties and request type enables administrators to specifically deny access to, convert, delete or retain data following business or legal requirements. Nextcloud puts you in control of your data and keeps it safe.

Workflow handling

Tracking changes to your files

The nextcloud Activity app shows file modifications, downloads of shares and changes to comments or tags, providing an overview in the browser, clients or via email notifications and an RSS feed.

Monitoring your Nextcloud server

The Monitoring app enables admins to monitor the health and performance of a Nextcloud system with a graphical UI and an API endpoint for monitoring apps.

Monitoring activity

External storage, securely encrypted

The external storage feature of Nextcloud gives you access to your data wherever it is. Nextcloud can access files stored with a wide variety of popular cloud service providers such as Amazon, Google and Dropbox, but you can also access them using standard protocols such as NFS, (S)FTP, WebDAV and more.

The Encryption App can encrypt data at rest for both local and remote storage, protecting data stored on networks outside of your infrastructure. Keys can be handled by an external key management server or stored locally, on the server. Nextcloud will keep your data where it is and retrieve it over a secure communication channel whenever you need to access it.

Learn more

Calendar and Contacts

The Nextcloud Calendar and Contacts apps allow you to store, sync and share your plans and contacts. You can share with users or groups on your server or sync the calendar or contacts with your devices and access them wherever you are. The Calendar and Contacts app feature:

Easy to use interface with views for days, weeks, months and years

Private and shared calendars and addressbooks with permissions management

CalDAV and CardDAV sync with third party clients both on mobile and desktop (i.e with Thunderbird, iOS and more)

Secure audio and video calls

Operate your own secure and private audio/video communication. You can access it through a browser, invite customers or friends and collaborate in a group through secure, end to end encrypted audio and video communication. The WebRTC, peer to peer communication channel can not be intercepted even by the admin of the server. It provides an easy to use interface.

Communication

View and edit documents with Collabora

Collabora Online is a powerful LibreOffice-based online office suite with collaborative editing that works in all modern browsers.

Collabora Online supports editing your documents in real time with multiple other editors, showing high fidelity, WYSIWYG rendering and preserving the layout and formatting of your documents.

Collabora Online supports dozens of document formats including DOC, DOCX, PPT, PPTX, XLS, XLSX + ODF, Import/View Visio, Publisher and many more...

Collabora Online Office

Add dozens more features through Nextcloud Apps

Nextcloud was designed as a platform, with functionality provided by apps which can be individually enabled and disabled.

The Nextcloud app store contains dozens of apps providing features Nextcloud users and admins might find useful. For users, features like an audio player, password manager, Task manager, Mail app, Ebook reader or the GPX file editor can be of interest. Server administrators looking for certain capabilities would find OpenID Connect SSO integration, more two-factor authentication mechanisms or a registration app useful.

Browse Nextcloud Apps

Extend your cloud

You can extend the functionality of your Nextcloud with extra features from the Nextcloud app store. Among the more than 100 apps you can find features that enhance sharing, including:

  • Groupware apps like Calendar, Contacts, Mail, News, Notes, Bookmarks and Tasks
  • Collaboration and productivity apps Keepass management, Video Calls, a Kanban app, music players, Password managers, Checksums, download manager, a Markdown editor and collaborative text editing.
  • Sysadmin and enterprise features like two-factor authentication mechanisms, SSO, Ransomware protection, admin announcements, Zimbra integration, a tiny CMS app and more.

You have javascript disabled. We tried to make sure the basics of our website work but some functionality will be missing.

nextcloud.com

How to connect the ownCloud desktop client to your Nextcloud server

Image: iStock

Now that Nextcloud has stabilized into what very well might be the future of in-house file sync/share technology, you're probably left wondering what to do about a desktop client. As of yet, a desktop client hasn't surfaced for Nextcloud.

Will chaos ensue? Will cats and dogs live together with both casts of Ghostbusters?

No, and no.

What we're going to do is install the ownCloud desktop client and connect it to a Nextcloud server. On the surface, that seems a bit wrong to install the competition's software, for now that's the only option.

SEE: Speculations on why ownCloud's founder forked its popular product into Nextcloud

Installing the ownCloud desktop client

The installation will vary depending upon your platform; I'll demonstrate installing on Ubuntu 16.04. If Ubuntu or Linux isn't your thing, you can install the client on Windows, Mac, and Linux (CentOS, Debian, Fedora, openSUSE, RHEL, SLE, and Ubuntu).

To install the client on Ubuntu, follow these steps.

  1. Open a terminal window.
  2. Add the necessary repository with the command sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ow.... /' >> /etc/apt/sources.list.d/owncloud-client.list"
  3. Update apt with the command sudo apt-get update.
  4. Install the client with the command sudo apt-get install -y owncloud-client.
  5. Allow the installation to complete.

Connect the client to the server

I assume you have a Nextcloud server up and running, and that you know the server's address; with that said, locate the ownCloud client software in the Unity Dash (or your desktop menu of choice) and click to run.

In the first screen to open (Figure A), enter the full address of your Nextcloud server. For my instance, that address is https://192.168.1.228/nextcloud. Once the information is entered, click Next. If your server is using SSL, depending upon your setup, you might see an untrusted certificate warning. Click the Trust This Certificate Anyway checkbox and click OK.

Figure A

Entering your Nextcloud server address in the ownCloud client setup.

Image: Jack Wallen

The following screen (Figure B) requires a valid Nextcloud username and password. Enter that information and click Next.

Figure B

Entering your Nextcloud credentials.

Image: Jack Wallen

The next window (Figure C) asks what you want to sync. The client will automatically determine how much data you have on the server and if you already have Nextcloud data on your system.

Figure C

Select your syncing options for Nextcloud.

Image: Jack Wallen

The client setup allows you to choose a folder to house the Nextcloud data, as well as what specifically to sync from the server. Once you've chosen your options, click Connect and then Finish.

Enjoy!

Now you can enjoy the benefits of the desktop client with your Nextcloud server, including notifications and drag and drop from your file manager. Although you can connect to the Nextcloud server via a browser, the benefits of the desktop client make working with the server so much easier.

Also see

www.techrepublic.com

Nextcloud - Wikipedia

Nextcloud is a suite of client-server software for creating and using file hosting services. It is functionally similar to Dropbox, although Nextcloud is free and open-source, allowing anyone to install and operate it on a private server. In contrast to proprietary services like Dropbox, the open architecture allows adding additional functionality to the server in form of applications.

Nextcloud is an actively maintained fork of ownCloud.

Overview[edit]

Features[edit]

Nextcloud files are stored in conventional directory structures, and can be accessed via WebDAV if necessary. User files are encrypted during transit and can be encrypted at rest (requires encryption to be turned on). Nextcloud can synchronise with local clients running Windows (Windows XP, Vista, 7 and 8), OS X (10.6 or later), or various Linux distributions.

Nextcloud users can manage calendars (CalDAV), contacts (CardDAV) scheduled tasks and streaming media (Ampache) from within the platform.

From the administration perspective, Nextcloud permits user and group administration (via OpenID or LDAP). Content can be shared by defining granular read/write permissions between users and/or groups. Alternatively, Nextcloud users can create public URLs when sharing files. Logging of file-related actions as well as disallowing access based on file access rules is also available.[2]

Furthermore, users can interact with the browser-based text editor, bookmarking service, URL shortening suite, gallery, RSS feed reader and document viewer tools from within Nextcloud. For additional extensibility, Nextcloud can be augmented with "one-click" applications and connection to Dropbox, Google Drive and Amazon S3.

Nextcloud is introducing new features such as monitoring capabilities, full-text search and Kerberos authentication as well as audio/video conferencing, expanded Federation and smaller UI improvements.[3]

Nextcloud is available in the Linux Fedora repository.[4]

Architecture[edit]

In order for desktop machines to synchronize files with their Nextcloud server, desktop clients are available for PCs running Windows, OS X, FreeBSD or Linux. Mobile clients exist for iOS and Android devices. Files and other data (such as calendars, contacts or bookmarks) can also be accessed, managed, and uploaded using a web browser without any additional software. Any updates to the file system are pushed to all computers and mobile devices connected to a user's account.

The Nextcloud server is written in the PHP and JavaScript scripting languages. For remote access, it employs sabre/dav, an open-source WebDAV server.[5] Nextcloud is designed to work with several database management systems, including SQLite, MariaDB, MySQL, Oracle Database, and PostgreSQL.[6]

With Nextcloud 12, a new architecture was developed with the name Global Scale, with the goal of scaling to hundreds of millions of users. It splits users over separate nodes and introduces components to manage the interaction between them.[7]

Nextcloud Box[edit]

In September 2016, Nextcloud, in cooperation with Western Digital Labs and Canonical (the company behind Ubuntu), released the Nextcloud Box. It had been announced at the Nextcloud conference in 2016 by Jane Silber, CEO of Canonical and Frank Karlitschek.[8]

The Nextcloud box is based around a Raspberry Pi, and runs Ubuntu Core with Snappy; it is intended to serve as a reference device for other vendors.[9]

History of the fork[edit]

Frank Karlitschek, a KDE software developer, announced the development of ownCloud in January 2010, in order to provide a free software replacement to proprietary storage service providers.[10] The company "ownCloud Inc." was founded in 2011 and raised over $10 million in venture capital.[11]

In the year 2011 the first maintenance update "1.2" of ownCloud was released. It contained additional work by Arthur Schiwon, Jan-Christoph Borchardt, Jakob Sack and Robin Appelman.[12] They currently all contribute to or work for Nextcloud as they also discussed on stage at the Nextcloud conference 2016.

Attendees of the very first ownCloud Meetup meet at the Nextcloud Conf 2016

ownCloud Inc. is offering the software under a so-called open core business model, providing paying customers with closed source functionalities and a proprietary license.[13]

In April 2016 Karlitschek and most core contributors left ownCloud Inc.[14] These included many of ownCloud's top staff according to sources near to the ownCloud community.[15]

The fork was preceded by a blog post of Karlitschek, asking questions such as "Who owns the community? Who owns ownCloud itself? And what matters more, short term money or long term responsibility and growth?"[14] There have been no official statements about the reason for the fork, but among the most believable speculations is internal bickering about the value of community vs. quarterly commercial results.[16]

On June 2, within 12 hours of the announcement of the fork, the American entity "ownCloud Inc." announced that it is shutting down with immediate effect, stating that "[…] main lenders in the US have cancelled our credit. Following American law, we are forced to close the doors of ownCloud, Inc. with immediate effect and terminate the contracts of 8 employees.". ownCloud Inc. accused Karlitschek of poaching developers, while Nextcloud developers such as Arthur Schiwon stated that he "decided to quit because not everything in the ownCloud Inc. company world evolved as I imagined".[11]

Despite the fork's young age, the amount of Nextcloud contributions quickly overtook ownCloud's numbers as can be seen by GitHub statistics.[17][18] It has been compared multiple times with the fork of OpenOffice, where engineers left the project to form LibreOffice.[11]

Differences from ownCloud[edit]

While Nextcloud is a fork of the ownCloud project, there are some differences. While ownCloud offers an open-source community edition, they also offer a proprietary Enterprise Edition with additional features and support subscriptions.

In comparison, Nextcloud is completely open source. Karlitschek said in an interview: "The most important difference of Nextcloud compared to other solutions is its complete openness. We don’t require a contributor license agreement from contributors or partners," Karlitschek said. "There will be no closed source code, and all the planning and development happens in the open. The Nextcloud team worked together for many years and is, in fact, the team that has built the technology in the first place".[19]

See also[edit]

References[edit]

External links[edit]

Wikimedia Commons has media related to Nextcloud.

en.wikipedia.org

nextcloud/client_theming: Nextcloud themed desktop client

Theme and build instructions for the Nextcloud desktop client.

Based on https://github.com/owncloud/client/blob/master/doc/building.rst

Installing on Ubuntu

sudo add-apt-repository ppa:nextcloud-devs/client sudo apt-get update sudo apt-get install nextcloud-client

Launchpad: https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client

Beta packages

sudo add-apt-repository ppa:nextcloud-devs/client-beta sudo apt-get update sudo apt-get install nextcloud-client

Launchpad: https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client-beta

If you always want the latest versions (including the betas), add both repositories. If you want only the stable version, add the non-beta repository only.

Installing on Debian

You need to add to sources.list or a separate source list file one of the source lines below corresponding to your Debian version:

deb http://download.opensuse.org/repositories/home:/ivaradi/Debian_9.0_update/ / deb http://download.opensuse.org/repositories/home:/ivaradi/Debian_9.0/ / deb http://download.opensuse.org/repositories/home:/ivaradi/Debian_8.0/ / deb http://download.opensuse.org/repositories/home:/ivaradi/Debian_7.0/ /

Before installing, you also need to add the respository's key to the list of trusted APT keys with a command line:

wget -q -O - <repository URL>/Release.key | apt-key add -y

For example (as root):

echo 'deb http://download.opensuse.org/repositories/home:/ivaradi/Debian_9.0/ /' > /etc/apt/sources.list.d/nextcloud-client.list wget -q -O - http://download.opensuse.org/repositories/home:/ivaradi/Debian_9.0/Release.key | apt-key add - apt-get update apt-get install nextcloud-client

Beta packages

Beta packages are also available:

deb http://download.opensuse.org/repositories/home:/ivaradi:/beta/Debian_9.0_update/ / deb http://download.opensuse.org/repositories/home:/ivaradi:/beta/Debian_9.0/ / deb http://download.opensuse.org/repositories/home:/ivaradi:/beta/Debian_8.0/ / deb http://download.opensuse.org/repositories/home:/ivaradi:/beta/Debian_7.0/ /

If you always want the latest versions (including the betas), add both the normal and the beta repositories. If you want only the stable version, add the non-beta repository only.

Snaps

Building the snap

Installing via Snap package (supported distributions)

Download the snap package for your architecture

sudo snap install --dangerous nextcloud-client_*.snap

Installing a snap is very quick. Snaps are secure. They are isolated with all of their dependencies. Snaps also auto update when a new version is released. The snap is confined, thus the synced folders will be by default in ~/snap/<version>/, the client can access to the actual home, but not to the .dotted files, use symlinks if you need to.

Building on Linux

Getting repository ready

Run:

git submodule update --init --recursive

Run:

# If building on Ubuntu sudo apt-get install libsqlite3-dev qt5-default libqt5webkit5-dev qt5keychain-dev libssl-dev # All distributions mkdir build-linux cd build-linux cmake -D OEM_THEME_DIR=$(realpath ../nextcloudtheme) ../client make sudo make install

Building on Debian

Install required packages.

sudo apt-get install git libsqlite3-dev qt5-default libqt5webkit5-dev qt5keychain-dev cmake build-essential libowncloudsync0

If you are using Debian 9 install libssl1.0-dev

sudo apt-get install libssl1.0-dev

If you are using Debian 8 install libssl-dev

sudo apt-get install libssl-dev

Then:

git clone https://github.com/nextcloud/client_theming.git cd client_theming git submodule update --init --recursive mkdir build-linux cd build-linux cmake -D OEM_THEME_DIR=$(realpath ../nextcloudtheme) -DCMAKE_INSTALL_PREFIX=/usr ../client make sudo make install

Building on OSX

Attention: When building make sure to use an old Core 2 Duo build machine running OS X 10.10. Otherwise the resulting binary won't work properly for users of an older device. Have at least 180 GB free disk space when compiling Qt. Make sure your user is named "builder".

Install dependencies

  1. Install HomeBrew
  2. brew install openssl wget cmake
  3. wget https://github.com/sparkle-project/Sparkle/releases/download/1.14.0/Sparkle-1.14.0.tar.bz2
  4. tar -xf Sparkle-1.14.0.tar.bz2
  5. mv Sparkle.framework ~/Library/Frameworks/
  6. Install XCode 6.4 from http://adcdownload.apple.com/Developer_Tools/Xcode_6.4/Xcode_6.4.dmg
  7. sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
  8. Generate Sparkle keys: ./bin/generate_keys. Keep those, if you loose it you won't be able to deploy updates anymore.
  9. Store the keys in osx/. Make sure to not make the dsa_priv.pem publicly available.
  10. Install http://s.sudre.free.fr/Software/Packages/about.html

Compile Qt

Because the desktop client comes with some custom patches you have to download the Qt 5.6.2 source and then apply all of them. Make sure to adjust with the login to the cloned client repository.

cd /tmp/ wget http://download.qt.io/official_releases/qt/5.6/5.6.2/single/qt-everywhere-opensource-src-5.6.2.tar.gz tar -xf qt-everywhere-opensource-src-5.6.2.tar.gz cd /tmp/qt-everywhere-opensource-src-5.6.2/qtbase git apply <client>/admin/qt/patches/qtbase/*.patch cd .. ./configure -sdk macosx10.9 -openssl -openssl-linked make -j2 sudo make -j1 install

Build the client

Building on Windows

Building the docker image

The docker image contains the toolchain to build the windows binary. Build it:

docker build -t nextcloud-client-win32:<version> client/admin/win/docker/

Note: if you encounter an error at this step that the MinGW repository was not found, apply the patch at win/opensuse-mingw-repo-location.patch and try again:

cd client patch -p1 < ../win/opensuse-mingw-repo-location.patch cd ..

Building the binary

docker run -v "$PWD:/home/user/" nextcloud-client-win32:2.2.2 /home/user/win/build.sh $(id -u)

Building a release

When we build releases there are two additional cmake parameters to consider:

  • -DMIRALL_VERSION_SUFFIX=<STRING>: for a generic suffix name such as beta or rc1
  • -DMIRALL_VERSION_BUILD=<INT>: an internal build number. Should be strictly increasing. This allows update detection from rc to final

Note that this had mostly usage on Windows and OS X. On Linux the package manager will take care of all this.

github.com


Смотрите также