How to set client path macOS for 34.0.5 desktop client?

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 35,0,1,1
  • Operating system and version (e.g., Ubuntu 24.04):
    • FreeBSD 15.1-RELEASE-p4
  • Web server and version (e.g, Apache 2.4.25):
    • nginx 1.30.5_1,3
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • N/A
  • PHP version (e.g, 8.3):
    • php 8.3.33
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Trying to sync local directory seems no longer to be supported under Nextcloud Desktop Client Version 34.0.5
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • FreeBSD Poudriere on Bare Metal
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I would like to continue to have a local mirror on my Mac workstation as I have had over the years (initially under OwnCloud, before they broke everything by not supporting PHP 8.x and I switched to NextCloud).

However, I cannot find any way to tell the client App where the local tree is. I don’t want to have a virtual network file system, as this is part of my backup strategy! I have just upgraded my CPU and connected the existing external drive array to the new machine.

Steps to replicate it (hint: details matter!):

  1. Establish a local copy of the NextCloud file server using a previous version of the desktop client

  2. Move drive to a new machine with a more recent desktop client (34.0.5 desktop client)

  3. Try to configure the path to the local copy

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

N/A Client, not server issue

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

N/A Web interface works as it should

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

N/A Client, not server issue

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

N/A Client, not server issue

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

Hej!

Easy, just turn off file providers in the general app settings section and you are back to classic synchronization folders. :slightly_smiling_face:

It is not. If you still insist, then you have a fault in your strategy. Nextcloud is not a backup solution but a two-way file synchronization solution.

This helps to get rid of the virtual file system, but won’t allow me to use the existing directory tree:

“Please use a different location. /Volumes/Triton is already being used as a sync folder.”

Seriously?

Do I really have to redownload over a TB of data?

Why do you force me to always start with an empty folder?

I am not an expert for the classic sync engine (but Apple File Providers), I cannot help from here on. Though, I now advise utter caution to avoid data loss. This reminds me on certain support cases we had. You apparently used that folder before and there is residual data (hidden sync metadata databases) from previous use. Using a clean folder is a safety measure to not attempt reconciliation of impossible sync conflicts which can cause data loss.

I have asked my colleagues who are more familiar with that scenario. I do not remember exactly anymore why but there are good reasons why this is prevented. Better safe than sorry.

I understand the possibility of data loss. However, the drive was a fully up to date and synced complete archive of what is on the server. I moved it from my old Mac Studio to my new one. Currently the archive is nearly one TB. Redownloading that on the home network isn’t an issue, however, as I plan on moving the older Mac Studio to another house to replace an Intel based Mac mini I use for off-site backup, the situation will be the same, except that I now may face network usage limits at both ends.

P.S. I ended up working around the folder restriction by creating a new folder, copying the hidden files to the old folder, deleting the new folder and replacing it with a symlink to the old folder. Yes, it (re-)downloaded everything, but there was no data loss. It sure would be great if there was a mechanism, like in rsync, to check if the files were unchanged or different and only download altered files.

Having a third copy (beside the old OwnCloud archive and the previous NextCloud archive) was not an option, even though the RAID array currently has plenty of space. That may not be the case in the future, as the FreeBSD server’s zfs file system has a larger capacity than the Mac’s RAID array.