Cannot Delete Folders After Upgrading to NC 27

So after upgrading to Nextcloud 27 I am unable to delete folders. I can create folders and files, I can rename files and can even rename folders, but I cannot delete folders, even if they are empty.

OS: Debian 12 (Bookworm)
Server is hosted using Apache and the download-able archive version of Nextcloud software. Permissions on data directory are www-data:www-data and 750 . I get the green check on the admin page telling me no problems are found.

I “think” it has something to do with having to install Redis for “transactional” file locking, which I hadn’t done in the past, but I’m not convinced that’s the issue because even when I delete the lines for “file.locking” and “memcache.locking” entirely, like it was before the upgrade, I still can’t delete any folders.

Here’s a copy of my config.php file:

<?php
$CONFIG = array (
  'instanceid' => 'sanitized',
  'passwordsalt' => 'sanitized',
  'secret' => 'sanitized',
  'trusted_domains' => 
  array (
    0 => '10.1.1.2',
    1 => 'marcusandash.net',
    2 => 'apocrypha',
    3 => 'adams-server',
  ),
  'datadirectory' => '/mnt/storage/Nextcloud',
  'dbtype' => 'mysql',
  'version' => '27.0.0.8',
  'overwrite.cli.url' => 'https://marcusandash.net',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextclouduser',
  'dbpassword' => 'sanitized',
  'installed' => true,
  'app_install_overwrite' => 
  array (
    0 => 'spgverein',
    1 => 'dicomviewer',
    2 => 'files_external_onedrive',
    3 => 'keeweb',
    4 => 'tasks',
    5 => 'duplicatefinder',
    6 => 'audioplayer',
    7 => 'socialsharing_facebook',
    8 => 'onlyoffice',
    9 => 'talk_matterbridge',
    10 => 'twofactor_totp',
    11 => 'qownnotesapi',
    12 => 'documentserver_community',
    13 => 'metadata',
    14 => 'bruteforcesettings',
    15 => 'files_antivirus',
    16 => 'music',
    17 => 'phonetrack',
    18 => 'news',
    19 => 'socialsharing_email',
    20 => 'richdocumentscode',
    21 => 'socialsharing_twitter',
  ),
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'nextcloud.adams',
  'mail_domain' => 'outlook.com',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.office365.com',
  'mail_smtpname' => 'nextcloud.adams@outlook.com',
  'mail_smtppassword' => 'sanitized',
  'mail_smtpport' => '587',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'updater.release.channel' => 'stable',
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' => 
  array (
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),
  'mail_smtpauthtype' => 'LOGIN',
  'trashbin_retention_obligation' => '30, 60',
  'versions_retention_obligation' => '30, 180',
  'default_phone_region' => 'US',
  'updater.secret' => 'sanitized',
);

Hi, see Can't delete folders while the app is enabled · Issue #1068 · owncloud/music · GitHub

3 Likes

Oh wow that’s random as hell. Disabled the music app and that fixed it. Not sure how fond my son will be of that, he’s autistic and uses Subsonic on his phone to stream his music from our Nextcloud server, but I’m sure I can find another solution for him if this is going to be a permanent issue. Thanks for responding, :slight_smile:

1 Like