Virtual Drive on macOS - can't find config file

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

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:

Nextcloud version (eg, 20.0.5): 24.0.3
Operating system and version (eg, Ubuntu 20.04): centos7.9 nextcloud-snap
Apache or nginx version (eg, Apache 2.4.25): snap-24.0.3
PHP version (eg, 7.4): snap-24.0.3

The issue you are facing:
client in macOS Monterey。 osx-21.6.0
CPU:M1 pro

I can’t find nextcloud.cfg in $HOME/Library/Application Support/Nextcloud
so i can’t use settings for virtual file support

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/snap/nextcloud/current/htdocs/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
      'url' => '/extra-apps',
      'writable' => true,
    ),
  ),
  'supportedDatabases' => 
  array (
    0 => 'mysql',
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/tmp/sockets/redis.sock',
    'port' => 0,
  ),
  'log_type' => 'file',
  'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
  'logfilemode' => 416,
  'instanceid' => 'oc5zimu5ypzy',
  'passwordsalt' => 'NpiPUc9Gt/Jo5DfMObXq7EOArEBUi/',
  'secret' => '2+Se/ZN9eVTZHps/vtJGB57kJbFORhk+QQ1//5KfRiyowhHE',
  'trusted_domains' => 
  array (
    0 => '192.168.11.10',
  ),
  'datadirectory' => '/mnt/data',
  'dbtype' => 'mysql',
  'version' => '24.0.3.2',
  'overwrite.cli.url' => 'http://192.168.11.10',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'Yq5NjPsE8a_G8puxjnsNwCjG06D4kwFJ6jfIEMww0_bZJ88H10k8J20w7cCoX9qE',
  'installed' => true,
);

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

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

That’s the path on the documentation. If you can’t find it there, complain at Issues · nextcloud/desktop · GitHub, so they can update the documentation and tell you where it is.

If this is meant with “the documentation”: that only mentions App Data. After search long I found it in $HOME/Library/Preferences/Nextcloud/, a normally hidden folder.

On Linux (Mint) I found it in /home/<user>/.config/Nextcloud/ But your Linux may vary :wink:

The nice thing on a Mac is that when you start making changes to a document that is already open on another workstation, you get a warning. We’re not seeing that with Virtual Files in the Windows and Linux client.