|
| 1 | +=== |
| 2 | +FAQ |
| 3 | +=== |
| 4 | + |
| 5 | +How the "Edit locally" functionality works |
| 6 | +------------------------------------------ |
| 7 | +This functionality depends on the desktop client ability to register the mime to handle the nc:// scheme. That is the handler used by the server to open a file locally. This will allow the desktop client to open a document with the local editor when you click on the option "Edit locally" in your Nextcloud instance. |
| 8 | + |
| 9 | +.. note:: |
| 10 | + Without properly registering the mime, independent of the browser and distro being used, the desktop client will fail to open a document with the local editor when you click on the option "Edit locally" in your Nextcloud instance. |
| 11 | + |
| 12 | + The browser will warn you of the failure: "Failed to launch 'nc://...' because the scheme does not have a registered handler." |
| 13 | + |
| 14 | +How to enable it |
| 15 | +^^^^^^^^^^^^^^^^^ |
| 16 | + |
| 17 | +In order to do that, you need to install the desktop client with the MSI installer on Windows or use a third party software to integrate the AppImage in your system on Linux. |
| 18 | + |
| 19 | +On Linux |
| 20 | +^^^^^^^^ |
| 21 | + |
| 22 | +We use AppImage due to its universal compatibility but to take full advantage of the desktop client features you will need a third part software to integrate the AppImage in your system: we have tested `AppImageLauncher <https://github.com/TheAssassin/AppImageLauncher>`_ and alternatively there is `Go AppImage <https://github.com/probonopd/go-appimage>`_. |
| 23 | + |
| 24 | +On Windows |
| 25 | +^^^^^^^^^^ |
| 26 | + |
| 27 | +The MSI installer will alter your system registry to register the mime to handle the nc:// scheme. |
| 28 | + |
| 29 | +Alternatively, you can manually register the mime to handle the nc:// scheme: |
| 30 | + |
| 31 | +1. Save the following content to a .reg file: |
| 32 | + |
| 33 | +.. code-block:: none |
| 34 | +
|
| 35 | + Windows Registry Editor Version 5.00 |
| 36 | + |
| 37 | + [HKEY_CLASSES_ROOT\nc\shell\open\command] |
| 38 | + @="\"C:\\Program Files\\Nextcloud\\nextcloud.exe\" \"%1\"" |
| 39 | +
|
| 40 | +2. Double click on the .reg file to import it into the registry. |
| 41 | + |
| 42 | +See https://nextcloud.com/blog/nextcloud-office-release-solves-document-compatibility-overhauls-knowledge-management/ for more information. |
| 43 | + |
| 44 | +Some Files Are Continuously Uploaded to the Server, Even When They Are Not Modified. |
| 45 | +------------------------------------------------------------------------------------ |
| 46 | + |
| 47 | +It is possible that another program is changing the modification date of the file. |
| 48 | +If the file is uses the ``.eml`` extension, Windows automatically and |
| 49 | +continually changes all files, unless you remove |
| 50 | +``\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers`` |
| 51 | +from the windows registry. |
| 52 | +See http://petersteier.wordpress.com/2011/10/22/windows-indexer-changes-modification-dates-of-eml-files/ for more information. |
| 53 | + |
| 54 | +Syncing Stops When Attempting To Sync Deeper Than 100 Sub-directories. |
| 55 | +---------------------------------------------------------------------- |
| 56 | + |
| 57 | +The sync client has been intentionally limited to sync no deeper than 100 |
| 58 | +sub-directories. The hard limit exists to guard against bugs with cycles |
| 59 | +like symbolic link loops. |
| 60 | +When a deeply nested directory is excluded from synchronization it will be |
| 61 | +listed with other ignored files and directories in the "Not synced" tab of |
| 62 | +the "Activity" pane. |
| 63 | + |
| 64 | +There Was A Warning About Changes In Synchronized Folders Not Being Tracked Reliably. |
| 65 | +------------------------------------------------------------------------------------- |
| 66 | + |
| 67 | +On linux when the synchronized folder contains very many subfolders the |
| 68 | +operating system may not allow for enough inotify watches to monitor the |
| 69 | +changes in all of them. |
| 70 | + |
| 71 | +In this case the client will not be able to immediately start the |
| 72 | +synchronization process when a file in one of the unmonitored folders changes. |
| 73 | +Instead, the client will show the warning and manually scan folders for changes |
| 74 | +in a regular interval (two hours by default). |
| 75 | + |
| 76 | +This problem can be solved by setting the fs.inotify.max_user_watches |
| 77 | +sysctl to a higher value. This can usually be done either temporarily:: |
| 78 | + |
| 79 | + echo 524288 > /proc/sys/fs/inotify/max_user_watches |
| 80 | + |
| 81 | +or permanently by adjusting ``/etc/sysctl.conf``. |
| 82 | + |
| 83 | +I Want To Move My Local Sync Folder |
| 84 | +----------------------------------- |
| 85 | + |
| 86 | +The Nextcloud desktop client does not provide a way to change the local sync directory. |
| 87 | +However, it can be done, though it is a bit unorthodox. |
| 88 | +Specifically, you have to: |
| 89 | + |
| 90 | +1. Remove the existing connection which syncs to the wrong directory |
| 91 | +2. Add a new connection which syncs to the desired directory |
| 92 | + |
| 93 | +.. figure:: images/setup/remove.png |
| 94 | + :alt: Remove an existing connection |
| 95 | + |
| 96 | +To do so, in the client UI, which you can see above, click the "**Account**" drop-down menu and then click "Remove". |
| 97 | +This will display a "**Confirm Account Removal**" dialog window. |
| 98 | + |
| 99 | +.. figure:: images/setup/confirm.png |
| 100 | + :alt: Remove existing connection confirmation dialog |
| 101 | + |
| 102 | +If you're sure, click "**Remove connection**". |
| 103 | + |
| 104 | +Then, click the Account drop-down menu again, and this time click "**Add new**". |
| 105 | + |
| 106 | +.. figure:: images/setup/wizard.png |
| 107 | + :alt: Replacement connection wizard |
| 108 | + |
| 109 | +This opens the Nextcloud Connection Wizard, which you can see above, *but* with an extra option. |
| 110 | +This option provides the ability to either: keep the existing data (synced by the previous connection) or to start a clean sync (erasing the existing data). |
| 111 | + |
| 112 | +.. important:: |
| 113 | + |
| 114 | + Be careful before choosing the "Start a clean sync" option. The old sync folder *may* contain a considerable amount of data, ranging into the gigabytes or terabytes. If it does, after the client creates the new connection, it will have to download **all** of that information again. Instead, first move or copy the old local sync folder, containing a copy of the existing files, to the new location. Then, when creating the new connection choose "*keep existing data*" instead. The Nextcloud client will check the files in the newly-added sync folder and find that they match what is on the server and not need to download anything. |
| 115 | + |
| 116 | +Make your choice and click "**Connect...**". |
| 117 | +This will then step you through the Connection Wizard, just as you did when you setup the previous sync connection, but giving you the opportunity to choose a new sync directory. |
0 commit comments