Local folder does not exist, but it does

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 9 (30.0.5)
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04 server
    • Fedora 41 desktop
  • Web server and version (e.g, Apache 2.4.25):
    • default snap config
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • default snap config
  • PHP version (e.g, 8.3):
    • default snap config
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Immediately upon configuring
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • VM, snap
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No
    • direct HTTP connection over LAN

Summary of the issue you are facing:

Folder sync connection is not working for certain paths on Fedora Linux. The path /.var/app/com.adamcake.Bolt/data/bolt-launcher/.runelite/screenshots seems to configure correctly, however it never syncs and presents an error upon restarting nextcloud desktop.

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

  1. Configure a folder sync connection with a path similar to above
  2. Observe the green check mark, indicating a successful configuration
  3. Notice that the contents of the folder are not syncing
  4. Restart Nextcloud desktop
  5. Observe the error in the screenshot above

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!):

<?php
$CONFIG = array (
  'check_data_directory_permissions' => false,
  '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,
  'maintenance_window_start' => 1,
  'instanceid' => 'oc1y5nw1ud96',
  'passwordsalt' => '74AD0i6FYbxsv1GZpHTQ3y7kroRFAo',
  'secret' => 'RPJdqph8C6rBrV+x74NyuR+N0JCDOnxVtMIpDdzLgrbhQ8Gx',
  'trusted_domains' => 
  array (
    0 => 'cloud.home',
  ),
  'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '30.0.5.1',
  'overwrite.cli.url' => 'http://cloud.home',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'gsi176mcrTixyDM6qAbyWQX8k7kKgad2kXFzlgyzUlT3mYcZPTcZtTjVN_ad71O_',
  'installed' => true,
  'maintenance' => false,
);

I don’t think it’s a good idea to synchronise point folders or point files. But as I don’t use it myself, I don’t know how problematic it really is. Somehow the folder seems strange to me. What do you really want to synchronise? Why isn’t it completely normal in your HOME folder?

Hey there, thanks for the reply.

Background: I play a lot of Old School RuneScape, using the Runelite client via a Flatpak installation.

The folder in my original post is the screenshots directory for the game client. There aren’t any settings to update it, so I’m stuck with that folder path. The strange part is that it is working on my Desktop PC which is using Fedora 41 with KDE, but on my laptop (described above) it never works. It’s the same folder path on both computers.