nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.67k stars 4k forks source link

[Bug]: OCP\Files\NotFoundException: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_6a00bfb3.publicKey existing mounts: #32194

Open AndyXheli opened 2 years ago

AndyXheli commented 2 years ago

⚠️ This issue respects the following points: ⚠️

Bug description

Upgraded from 23.0.4 to NC 24.0.0 RC2

Steps to reproduce

NA

Expected behavior

NA

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

What user-backends are you using?

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.0.78",
            "cloud.kb.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/cloud.kb.com",
        "htaccess.RewriteBase": "\/",
        "dbtype": "mysql",
        "version": "24.0.0.10",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "trashbin_retention_obligation": "auto",
        "versions_retention_obligation": "auto,1",
        "has_internet_connection": true,
        "cron_log": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0
        },
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "updater.release.channel": "beta",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "default_phone_region": "US",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "encryption.legacy_format_support": false,
        "app_install_overwrite": [
            "twofactor_admin",
            "ojsxc",
            "twofactor_totp"
        ],
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - admin_audit: 1.14.0
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contactsinteraction: 1.5.0
  - dashboard: 7.4.0
  - dav: 1.22.0
  - encryption: 2.12.0
  - federatedfilesharing: 1.14.0
  - federation: 1.14.0
  - files: 1.19.0
  - files_external: 1.16.1
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - firstrunwizard: 2.13.0
  - impersonate: 1.11.0
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - nextcloud_announcements: 1.13.0
  - notifications: 2.12.0
  - oauth2: 1.12.0
  - officeonline: 1.1.3
  - password_policy: 1.14.0
  - photos: 1.6.0
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - recommendations: 1.3.0
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - support: 1.7.0
  - survey_client: 1.12.0
  - systemtags: 1.14.0
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_admin: 3.2.0
  - twofactor_backupcodes: 1.13.0
  - twofactor_totp: 6.3.0-beta.1
  - updatenotification: 1.14.0
  - user_status: 1.4.0
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflowengine: 2.6.0
Disabled:
  - circles: 23.0.0
  - user_ldap

Nextcloud Signing status

No response

Nextcloud Logs

{"reqId":"5bP3UR0qZ6clLufUEcpl","level":3,"time":"2022-04-27T17:13:00+00:00","remoteAddr":"1.1.1.1","user":"admin","app":"no app in context","method":"GET","url":"/apps/files/","message":"App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_6a00bfb3.publicKey existing mounts: ","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36","version":"24.0.0.10","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_6a00bfb3.publicKey existing mounts: ","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/Filesystem.php","line":320,"function":"find","class":"OC\\Files\\Mount\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1162,"function":"resolvePath","class":"OC\\Files\\Filesystem","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":552,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Encryption/Keys/Storage.php","line":269,"function":"file_exists","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Encryption/Keys/Storage.php","line":229,"function":"getKey","class":"OC\\Encryption\\Keys\\Storage","type":"->"},{"file":"/var/www/nextcloud/lib/private/Encryption/Keys/Storage.php","line":121,"function":"getKeyWithUid","class":"OC\\Encryption\\Keys\\Storage","type":"->"},{"file":"/var/www/nextcloud/apps/encryption/lib/KeyManager.php","line":614,"function":"getSystemUserKey","class":"OC\\Encryption\\Keys\\Storage","type":"->"},{"file":"/var/www/nextcloud/apps/encryption/lib/KeyManager.php","line":170,"function":"getPublicShareKey","class":"OCA\\Encryption\\KeyManager","type":"->"},{"file":"/var/www/nextcloud/apps/encryption/lib/Users/Setup.php","line":62,"function":"validateShareKey","class":"OCA\\Encryption\\KeyManager","type":"->"},{"file":"/var/www/nextcloud/apps/encryption/lib/AppInfo/Application.php","line":55,"function":"setupSystem","class":"OCA\\Encryption\\Users\\Setup","type":"->"},{"file":"/var/www/nextcloud/apps/encryption/appinfo/app.php","line":37,"function":"setUp","class":"OCA\\Encryption\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":305,"args":["/var/www/nextcloud/apps/encryption/appinfo/app.php"],"function":"require_once"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":186,"function":"requireAppFile","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/SetupManager.php","line":325,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/SetupManager.php","line":370,"function":"setupRoot","class":"OC\\Files\\SetupManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Mount/Manager.php","line":95,"function":"setupForPath","class":"OC\\Files\\SetupManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1386,"function":"find","class":"OC\\Files\\Mount\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Root.php","line":205,"function":"getFileInfo","class":"OC\\Files\\View","type":"->"},{"function":"get","class":"OC\\Files\\Node\\Root","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php","line":72,"function":"call_user_func_array"},{"file":"/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php","line":149,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/AppData/AppData.php","line":141,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/var/www/nextcloud/apps/officeonline/lib/WOPI/DiscoveryManager.php","line":58,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"function":"__construct","class":"OCA\\Officeonline\\WOPI\\DiscoveryManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"newInstanceArgs","class":"ReflectionClass","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":437,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":89,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"array_map"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":437,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":89,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"array_map"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":437,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":89,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"array_map"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":437,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/apps/officeonline/lib/AppInfo/Application.php","line":142,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/apps/officeonline/appinfo/app.php","line":63,"function":"updateCSP","class":"OCA\\Officeonline\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":305,"args":["/var/www/nextcloud/apps/officeonline/appinfo/app.php"],"function":"require_once"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":186,"function":"requireAppFile","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/apps/dav/lib/AppInfo/Application.php","line":177,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":190,"function":"boot","class":"OCA\\DAV\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":207,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":140,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1003,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Files/Mount/Manager.php","Line":118,"CustomMessage":"App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_6a00bfb3.publicKey existing mounts: "},"id":"62697b89bdf0e"}

Additional info

No response

punkyard commented 1 year ago

Hi on NC 26.02, AiO 6 on debian 11

[core] Error: OCP\Files\NotFoundException: /USER/files/FOLDER/FILE-NAME.md at <>

  1. /var/www/html/lib/private/Files/Node/Folder.php line 138 OC\Files\Node\Root->get("/USER/files ... d")
  2. /var/www/html/apps/files_versions/lib/Storage.php line 591 OC\Files\Node\Folder->get("/FOLDER")
  3. <> OCA\Files_Versions\Storage::OCA\Files_Versions{closure}(" sensitive parameters replaced ")
  4. /var/www/html/apps/files_versions/lib/Storage.php line 606 array_filter([" sensitive parameters replaced "], ["Closure"])
  5. /var/www/html/apps/files_versions/lib/BackgroundJob/ExpireVersions.php line 69 OCA\Files_Versions\Storage::expireOlderThanMaxForUser("USER")
  6. /var/www/html/lib/private/User/Manager.php line 639 OCA\Files_Versions\BackgroundJob\ExpireVersions->OCA\Files_Versions\BackgroundJob{closure}(" sensitive parameters replaced ")
  7. /var/www/html/apps/files_versions/lib/BackgroundJob/ExpireVersions.php line 70 OC\User\Manager->callForSeenUsers(["Closure"])
  8. /var/www/html/lib/public/BackgroundJob/Job.php line 78 OCA\Files_Versions\BackgroundJob\ExpireVersions->run(null)
  9. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 103 OCP\BackgroundJob\Job->start(["OC\BackgroundJob\JobList"])
  10. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 93 OCP\BackgroundJob\TimedJob->start(["OC\BackgroundJob\JobList"])
    1. /var/www/html/cron.php line 152 OCP\BackgroundJob\TimedJob->execute(["OC\BackgroundJob\JobList"], ["OC\Log"])

at 2023-06-14T12:25:50+00:00

This file and group folder are supposed to be deleted.

punkyard commented 1 year ago

Hi, same thing here with NC 26.0.2 / AiO 6 on Debian 11. The group folder and its content have been by the admin.

[core] Error: OCP\Files\NotFoundException: /USER/files/GROUPFOLDER/FILE-NAME.md at <<closure>>

 0. /var/www/html/lib/private/Files/Node/Folder.php line 138
    OC\Files\Node\Root->get("/USER/files ... d")
 1. /var/www/html/apps/files_versions/lib/Storage.php line 591
    OC\Files\Node\Folder->get("/GROUPFOLDER")
 2. <<closure>>
    OCA\Files_Versions\Storage::OCA\Files_Versions\{closure}("*** sensitive parameters replaced ***")
 3. /var/www/html/apps/files_versions/lib/Storage.php line 606
    array_filter(["*** sensitive parameters replaced ***"], ["Closure"])
 4. /var/www/html/apps/files_versions/lib/BackgroundJob/ExpireVersions.php line 69
    OCA\Files_Versions\Storage::expireOlderThanMaxForUser("USER")
 5. /var/www/html/lib/private/User/Manager.php line 639
    OCA\Files_Versions\BackgroundJob\ExpireVersions->OCA\Files_Versions\BackgroundJob\{closure}("*** sensitive parameters replaced ***")
 6. /var/www/html/apps/files_versions/lib/BackgroundJob/ExpireVersions.php line 70
    OC\User\Manager->callForSeenUsers(["Closure"])
 7. /var/www/html/lib/public/BackgroundJob/Job.php line 78
    OCA\Files_Versions\BackgroundJob\ExpireVersions->run(null)
 8. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 103
    OCP\BackgroundJob\Job->start(["OC\\BackgroundJob\\JobList"])
 9. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 93
    OCP\BackgroundJob\TimedJob->start(["OC\\BackgroundJob\\JobList"])
10. /var/www/html/cron.php line 152
    OCP\BackgroundJob\TimedJob->execute(["OC\\BackgroundJob\\JobList"], ["OC\\Log"])

at 2023-06-14T12:25:50+00:00
bcutter commented 1 year ago

Freshly updated to NC v26.0.2.1:

OCP\Files\NotFoundException: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_XXXXXXXX.publicKey existing mounts:

barrelful commented 1 year ago

@blizzz @solracsf I can confirm I had the same error on 26.0.4 and then upgraded to 27.0.1 and it persists. I am using php 8.1 on Debian Bullseye (11).

The files for privateKey and publicKey are there in the data folder in this path with: -rw-r--r-- www-data www-data

Do we have any workaround? Not sure it is related but my instance contact sync is not working properly for all users.

martini-69 commented 1 year ago

Same problems here with Ubuntu 22.04, PHP 8.1 and NC 27.0.2 Errors startet with update from Ubuntu 20.x LTS to 22.04 LTS and upgrading from NC 25.x

[no app in context] Fehler: OCP\Files\NotFoundException: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_xxx-private-xxx.publicKey existing mounts: at <>

  1. /var/www/xxx-private-xxx/lib/private/Files/Filesystem.php line 306 OC\Files\Mount\Manager->find()
  2. /var/www/xxx-private-xxx/lib/private/Files/View.php line 1127 OC\Files\Filesystem::resolvePath()
  3. /var/www/xxx-private-xxx/lib/private/Files/View.php line 518 OC\Files\View->basicOperation()
  4. /var/www/xxx-private-xxx/lib/private/Encryption/Keys/Storage.php line 268 OC\Files\View->file_exists()
  5. /var/www/xxx-private-xxx/lib/private/Encryption/Keys/Storage.php line 228 OC\Encryption\Keys\Storage->getKey()
  6. /var/www/xxx-private-xxx/lib/private/Encryption/Keys/Storage.php line 120 OC\Encryption\Keys\Storage->getKeyWithUid()
  7. /var/www/xxx-private-xxx/apps/encryption/lib/KeyManager.php line 624 OC\Encryption\Keys\Storage->getSystemUserKey()
  8. /var/www/xxx-private-xxx/apps/encryption/lib/KeyManager.php line 169 OCA\Encryption\KeyManager->getPublicShareKey()
  9. /var/www/xxx-private-xxx/apps/encryption/lib/Users/Setup.php line 62 OCA\Encryption\KeyManager->validateShareKey()
  10. /var/www/xxx-private-xxx/apps/encryption/lib/AppInfo/Application.php line 55 OCA\Encryption\Users\Setup->setupSystem()
    1. /var/www/xxx-private-xxx/apps/encryption/appinfo/app.php line 37 OCA\Encryption\AppInfo\Application->setUp()
    2. /var/www/xxx-private-xxx/lib/private/App/AppManager.php line 525 require_once("/var/www/xxx-private-xxx. ... p")
    3. /var/www/xxx-private-xxx/lib/private/App/AppManager.php line 416 OC\App\AppManager::requireAppFile()
    4. /var/www/xxx-private-xxx/lib/private/App/AppManager.php line 216 OC\App\AppManager->loadApp()
    5. /var/www/xxx-private-xxx/lib/private/legacy/OC_App.php line 126 OC\App\AppManager->loadApps()
    6. /var/www/xxx-private-xxx/lib/private/Files/SetupManager.php line 132 OC_App::loadApps()
    7. /var/www/xxx-private-xxx/lib/private/Files/SetupManager.php line 351 OC\Files\SetupManager->setupBuiltinWrappers()
    8. /var/www/xxx-private-xxx/lib/private/Files/SetupManager.php line 391 OC\Files\SetupManager->setupRoot()
    9. /var/www/xxx-private-xxx/lib/private/Files/Mount/Manager.php line 95 OC\Files\SetupManager->setupForPath()
    10. /var/www/xxx-private-xxx/lib/private/Files/View.php line 1352 OC\Files\Mount\Manager->find()
    11. /var/www/xxx-private-xxx/lib/private/Files/Node/Root.php line 202 OC\Files\View->getFileInfo()
    12. <> OC\Files\Node\Root->get()
    13. /var/www/xxx-private-xxx/lib/private/Files/Node/LazyFolder.php line 74 call_user_func_array()
    14. /var/www/xxx-private-xxx/lib/private/Files/Node/LazyFolder.php line 151 OC\Files\Node\LazyFolder->__call()
    15. /var/www/xxx-private-xxx/lib/private/Files/AppData/AppData.php line 132 OC\Files\Node\LazyFolder->get()
    16. /var/www/xxx-private-xxx/lib/private/Template/JSCombiner.php line 87 OC\Files\AppData\AppData->getFolder()
    17. /var/www/xxx-private-xxx/lib/private/Template/JSResourceLocator.php line 145 OC\Template\JSCombiner->process()
    18. /var/www/xxx-private-xxx/lib/private/Template/JSResourceLocator.php line 75 OC\Template\JSResourceLocator->cacheAndAppendCombineJsonIfExist()
    19. /var/www/xxx-private-xxx/lib/private/Template/ResourceLocator.php line 73 OC\Template\JSResourceLocator->doFind()
    20. /var/www/xxx-private-xxx/lib/private/TemplateLayout.php line 377 OC\Template\ResourceLocator->find()
    21. /var/www/xxx-private-xxx/lib/private/TemplateLayout.php line 222 OC\TemplateLayout::findJavascriptFiles()
    22. /var/www/xxx-private-xxx/lib/private/legacy/OC_Template.php line 182 OC\TemplateLayout->__construct()
    23. /var/www/xxx-private-xxx/lib/private/Template/Base.php line 132 OC_Template->fetchPage()
    24. /var/www/xxx-private-xxx/lib/base.php line 848 OC\Template\Base->printPage()
    25. /var/www/xxx-private-xxx/lib/base.php line 1180 OC::init()
    26. /var/www/xxx-private-xxx/index.php line 34 require_once("/var/www/xxx-private-xxx. ... p")

GET /restore.php from 103.14.26.208 at 2023-08-17T09:07:06+00:00

RphCos commented 1 year ago

Having this issue when saving Onlyoffice connection settings on a recently updated NC 27 php8.2 on Debian 11

EDIT: Just fixed the issue by doing a global chown -R www-data:www-data on all my nextcloud related folders. I don't understand why tho, the permissions were fine on the public shares key .

martini-69 commented 1 year ago

Hi RphCos, thanks for feedback! chown only in the Data-Folder or anything else? LG Martin

RphCos commented 1 year ago

Hello @martini-69, i did the data folder which was on another disk in my case, and the var/www/nextcloud folder, out of despair really, but hey it worked for me .

martini-69 commented 1 year ago

Thx RphCos, tested, but does not work for me...

mr-field commented 1 year ago

I tested this on both the /var/www/nextcloud folder and the data dir, but it didn't work for me either. Still, thanks for the suggestion!

Pazu commented 1 year ago

What are the right permissions on the web root folder? At present I see drwx--x--x.

Pazu commented 1 year ago

FYI, I have this problem, but I do not use external storage.

martini-69 commented 1 year ago

Same for me, no external storage, only a different partition in my ESXi VM.

steffengr commented 11 months ago

Having the same issue and nextcloud goes into maintenance mode after a while. Started to appear after an upgrade from Ubuntu 18.04 to 22.04. Using the snap version of nextcloud.

icewind1991 commented 11 months ago

Please try https://github.com/nextcloud/server/pull/39044 and see if it helps

steffengr commented 11 months ago

Please try #39044 and see if it helps

I'm not entirely sure how to test this patch in my setup. I'm using this snap https://github.com/nextcloud-snap/nextcloud-snap and assume I'd have to somehow build it with the patch but I have no experience in doing so. Can't find a way to patch the code in the running snap.

tgoeg commented 11 months ago

Until now, this was only a minor nuisance with some errors here and there. Updated to 25.0.12 today on the test system. Flawless. Did the same to the live system. Bam!

Updating apps
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
{
   "app" : "no app in context",
   "exception" : {
      "Code" : 0,
      "CustomMessage" : "App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_cafebabe.publicKey existing mounts: ",
      "Exception" : "OCP\\Files\\NotFoundException",
      "File" : "/var/www/mynextcloud.domain/lib/private/Files/Mount/Manager.php",
      "Line" : 118,
      "Message" : "No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_cafebabe.publicKey existing mounts: ",
      "Trace" : [
         {
            "class" : "OC\\Files\\Mount\\Manager",
            "file" : "/var/www/mynextcloud.domain/lib/private/Files/Filesystem.php",
            "function" : "find",
            "line" : 320,
            "type" : "->"
         },
         {
            "class" : "OC\\Files\\Filesystem",
            "file" : "/var/www/mynextcloud.domain/lib/private/Files/View.php",
            "function" : "resolvePath",
            "line" : 1184,
            "type" : "::"
         },
         {
            "class" : "OC\\Files\\View",
            "file" : "/var/www/mynextcloud.domain/lib/private/Files/View.php",
            "function" : "basicOperation",
            "line" : 557,
            "type" : "->"
         },
         {
            "class" : "OC\\Files\\View",
            "file" : "/var/www/mynextcloud.domain/lib/private/Encryption/Keys/Storage.php",
            "function" : "file_exists",
            "line" : 269,
            "type" : "->"
         },
         {
            "class" : "OC\\Encryption\\Keys\\Storage",
            "file" : "/var/www/mynextcloud.domain/lib/private/Encryption/Keys/Storage.php",
            "function" : "getKey",
            "line" : 229,
            "type" : "->"
         },
         {
            "class" : "OC\\Encryption\\Keys\\Storage",
            "file" : "/var/www/mynextcloud.domain/lib/private/Encryption/Keys/Storage.php",
            "function" : "getKeyWithUid",
            "line" : 121,
            "type" : "->"
         },
         {
            "class" : "OC\\Encryption\\Keys\\Storage",
            "file" : "/var/www/mynextcloud.domain/apps/encryption/lib/KeyManager.php",
            "function" : "getSystemUserKey",
            "line" : 614,
            "type" : "->"
         },
         {
            "class" : "OCA\\Encryption\\KeyManager",
            "file" : "/var/www/mynextcloud.domain/apps/encryption/lib/KeyManager.php",
            "function" : "getPublicShareKey",
            "line" : 170,
            "type" : "->"
         },
         {
            "class" : "OCA\\Encryption\\KeyManager",
            "file" : "/var/www/mynextcloud.domain/apps/encryption/lib/Users/Setup.php",
            "function" : "validateShareKey",
            "line" : 62,
            "type" : "->"
         },
         {
            "class" : "OCA\\Encryption\\Users\\Setup",
            "file" : "/var/www/mynextcloud.domain/apps/encryption/lib/AppInfo/Application.php",
            "function" : "setupSystem",
            "line" : 55,
            "type" : "->"
         },
         {
            "class" : "OCA\\Encryption\\AppInfo\\Application",
            "file" : "/var/www/mynextcloud.domain/apps/encryption/appinfo/app.php",
            "function" : "setUp",
            "line" : 37,
            "type" : "->"
         },
         {
            "args" : [
               "/var/www/mynextcloud.domain/apps/encryption/appinfo/app.php"
            ],
            "file" : "/var/www/mynextcloud.domain/lib/private/legacy/OC_App.php",
            "function" : "require_once",
            "line" : 306
         },
         {
            "class" : "OC_App",
            "file" : "/var/www/mynextcloud.domain/lib/private/legacy/OC_App.php",
            "function" : "requireAppFile",
            "line" : 187,
            "type" : "::"
         },
         {
            "class" : "OC_App",
            "file" : "/var/www/mynextcloud.domain/lib/private/legacy/OC_App.php",
            "function" : "loadApp",
            "line" : 141,
            "type" : "::"
         },
         {
            "class" : "OC_App",
            "file" : "/var/www/mynextcloud.domain/lib/private/Files/SetupManager.php",
            "function" : "loadApps",
            "line" : 132,
            "type" : "::"
         },
         {
            "class" : "OC\\Files\\SetupManager",
            "file" : "/var/www/mynextcloud.domain/lib/private/Files/SetupManager.php",
            "function" : "setupBuiltinWrappers",
            "line" : 340,
            "type" : "->"
         },
         {
            "class" : "OC\\Files\\SetupManager",
            "file" : "/var/www/mynextcloud.domain/lib/private/Files/SetupManager.php",
            "function" : "setupRoot",
            "line" : 380,
            "type" : "->"
         },

Glad I am following this issue since months. It's never fun to have a production instance die during updates. This commit https://github.com/nextcloud/server/pull/39044/commits/1eb3293e539f995677c3e3baacff0ccb1ae3da3f (part of the referenced https://github.com/nextcloud/server/pull/39044, had to act fast so changed the most obvious and easiest stuff first) definitely made the occ upgrade run through successfully.

Can all the guys here (@steffengr, @martini-69, @Pazu, @mr-field, @barrelful, @bcutter, @punkyard, @doc75, @xf0e, @AndyXheli, @Zaxooy, @delorean44, @nunesgh, @BMiZEL) that see this problem please try to patch and report back whether it fixes it so we can move forward and get this released? The referenced issue/PR won't apply against NC25.x, use this one here: 39044-NC25.0.12.patch.txt cd /nextcloud/root/dir && patch -p1 < <(curl -L https://github.com/nextcloud/server/files/12728126/39044-NC25.0.12.patch.txt) People on higher versions (NC26+ or probably only NC27+?) can just cd /nextcloud/root/dir && patch -p1 < <(curl -L https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/39044.patch) directly.

Don't know where snap installs stuff, but find / -name console.php should give you a clue.

If you're on some docker setup, get a shell into the container first, probably like this docker exec -it yourcontainername bash. I am not a user nor friend of docker, so sorry if that's not correct and I can't help anymore than this.

Thanks for the fix, @icewind1991!

Zaxooy commented 11 months ago

Thanks for mentioning me, tgoeg!

I'm on 27.1.1 and manually applied the changes. Will come back in some days to report if it changed anything.

There was just one thing that made me wonder: I don't have the folder /apps/files_sharing/tests/ so I couldn't edit the file /apps/files_sharing/tests/External/ManagerTest.php

But since that folder and the files are also not included in the official release, those changes probabaly are not neccessary?

mr-field commented 11 months ago

I've also applied the patch to my 27.1.1 instance and will report back. I've rebased the PR on the v27.1.1 tag just to be safe, but the diff doesn't really change: 39044_from_27.1.1.txt

@Zaxooy I'm pretty sure ManagerTest.php is just an automated test, it would be run before merging a change to check if the change would break something. It's not actually part of the finished app

mr-field commented 11 months ago

After testing the patch for around 3 days, I can safely say it gets rid of the "No mount for path" error in my setup. Before applying the patch the error would be logged around once per hour; after applying it the error messages disappeared completely. Everything else seemed to keep working fine, so I don't think it introduces any regressions.

Zaxooy commented 11 months ago

After testing it for 5 days I am happy to confirm: The bug seems to be gone. Thank you very much for the hard work!

Pazu commented 11 months ago

Please try #39044 and see if it helps

Before I try this, what advice do you have, if any, regarding implementing this patch on a production system for testing?

Also, did it make any actual sense that this error message would be shown when 1) the publicKey file definitely existed, and 2) there were no external filesystem mounts at all, just the default, main one? No external storage or partitions whatsoever?

tgoeg commented 11 months ago

My production system was completely broken without this, so I had no choice but to patch it in production. Given the other feedback here, I wouldn't hesitate too much and go for it. The patch basically makes NC do everything as it did before, but in a different order (i.e. sets up mounts earlier). And adds some error handling/better error messages.

The error message is misleading. The mounts are simply not setup, i.e. files cannot be seen by NC in the moment it tries to access them. The error you see is the first access that fails. Nothing to do with the publicKey or external filesystems whatsoever. I don't have any, either.

Pazu commented 11 months ago

In my case, the impact is cosmetic, at least to date; it just clutters up the log (as does #37921), so I'll hold off presuming #39044 actually gets the review it needs and gets merged to release.

cgomm commented 10 months ago

Hey there, I already patched my nextcloud instance to v27.1.2 (the current last release afaik), the errors is still occuring and I dont know what to.

Short information:

I already tried everything within this post but without any success.

{
  "reqId": "xxx",
  "level": 3,
  "time": "2023-10-23T16:22:08+00:00",
  "remoteAddr": "10.0.0.4",
  "user": "--",
  "app": "no app in context",
  "method": "GET",
  "url": "/v2/barcode/manifests/develop-904d7c6",
  "message": "App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_XXXXXX.publicKey existing mounts: ",
  "userAgent": "containerd/1.7.2",
  "version": "27.1.2.1",
  "exception": {
    "Exception": "OCP\\Files\\NotFoundException",
    "Message": "No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_XXXXXX.publicKey existing mounts: ",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/lib/private/Files/Filesystem.php",
        "line": 306,
        "function": "find",
        "class": "OC\\Files\\Mount\\Manager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Files/View.php",
        "line": 1145,
        "function": "resolvePath",
        "class": "OC\\Files\\Filesystem",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Files/View.php",
        "line": 528,
        "function": "basicOperation",
        "class": "OC\\Files\\View",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Encryption/Keys/Storage.php",
        "line": 268,
        "function": "file_exists",
        "class": "OC\\Files\\View",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Encryption/Keys/Storage.php",
        "line": 228,
        "function": "getKey",
        "class": "OC\\Encryption\\Keys\\Storage",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Encryption/Keys/Storage.php",
        "line": 120,
        "function": "getKeyWithUid",
        "class": "OC\\Encryption\\Keys\\Storage",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/encryption/lib/KeyManager.php",
        "line": 624,
        "function": "getSystemUserKey",
        "class": "OC\\Encryption\\Keys\\Storage",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/encryption/lib/KeyManager.php",
        "line": 169,
        "function": "getPublicShareKey",
        "class": "OCA\\Encryption\\KeyManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/encryption/lib/Users/Setup.php",
        "line": 62,
        "function": "validateShareKey",
        "class": "OCA\\Encryption\\KeyManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/encryption/lib/AppInfo/Application.php",
        "line": 55,
        "function": "setupSystem",
        "class": "OCA\\Encryption\\Users\\Setup",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/encryption/appinfo/app.php",
        "line": 37,
        "function": "setUp",
        "class": "OCA\\Encryption\\AppInfo\\Application",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/App/AppManager.php",
        "line": 525,
        "args": ["/var/www/nextcloud/apps/encryption/appinfo/app.php"],
        "function": "require_once"
      },
      {
        "file": "/var/www/nextcloud/lib/private/App/AppManager.php",
        "line": 416,
        "function": "requireAppFile",
        "class": "OC\\App\\AppManager",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/App/AppManager.php",
        "line": 216,
        "function": "loadApp",
        "class": "OC\\App\\AppManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_App.php",
        "line": 126,
        "function": "loadApps",
        "class": "OC\\App\\AppManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Files/SetupManager.php",
        "line": 116,
        "function": "loadApps",
        "class": "OC_App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Files/SetupManager.php",
        "line": 344,
        "function": "setupBuiltinWrappers",
        "class": "OC\\Files\\SetupManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Files/SetupManager.php",
        "line": 384,
        "function": "setupRoot",
        "class": "OC\\Files\\SetupManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Files/Mount/Manager.php",
        "line": 95,
        "function": "setupForPath",
        "class": "OC\\Files\\SetupManager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Files/View.php",
        "line": 1370,
        "function": "find",
        "class": "OC\\Files\\Mount\\Manager",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Files/Node/Root.php",
        "line": 202,
        "function": "getFileInfo",
        "class": "OC\\Files\\View",
        "type": "->"
      },
      { "function": "get", "class": "OC\\Files\\Node\\Root", "type": "->" },
      {
        "file": "/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php",
        "line": 74,
        "function": "call_user_func_array"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Files/Node/LazyFolder.php",
        "line": 151,
        "function": "__call",
        "class": "OC\\Files\\Node\\LazyFolder",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Files/AppData/AppData.php",
        "line": 132,
        "function": "get",
        "class": "OC\\Files\\Node\\LazyFolder",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Template/JSCombiner.php",
        "line": 87,
        "function": "getFolder",
        "class": "OC\\Files\\AppData\\AppData",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Template/JSResourceLocator.php",
        "line": 145,
        "function": "process",
        "class": "OC\\Template\\JSCombiner",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Template/JSResourceLocator.php",
        "line": 75,
        "function": "cacheAndAppendCombineJsonIfExist",
        "class": "OC\\Template\\JSResourceLocator",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Template/ResourceLocator.php",
        "line": 73,
        "function": "doFind",
        "class": "OC\\Template\\JSResourceLocator",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/TemplateLayout.php",
        "line": 377,
        "function": "find",
        "class": "OC\\Template\\ResourceLocator",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/TemplateLayout.php",
        "line": 222,
        "function": "findJavascriptFiles",
        "class": "OC\\TemplateLayout",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/private/legacy/OC_Template.php",
        "line": 182,
        "function": "__construct",
        "class": "OC\\TemplateLayout",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Template/Base.php",
        "line": 132,
        "function": "fetchPage",
        "class": "OC_Template",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 845,
        "function": "printPage",
        "class": "OC\\Template\\Base",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 1196,
        "function": "init",
        "class": "OC",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/index.php",
        "line": 34,
        "args": ["/var/www/nextcloud/lib/base.php"],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/lib/private/Files/Mount/Manager.php",
    "Line": 118,
    "message": "App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_XXXXXX.publicKey existing mounts: ",
    "exception": {},
    "CustomMessage": "App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_XXXXXX.publicKey existing mounts: "
  }
}
martini-69 commented 10 months ago

Hi Cgom, did you patch before or after updating to newest nc? Update overwrites the patch, so you have to patch again...

LG Martin

cgomm commented 10 months ago

Hi Cgom, did you patch before or after updating to newest nc? Update overwrites the patch, so you have to patch again...

LG Martin

Hi Martin, I didn't see any Patch for v27.1.2. The only one I found rely on v27.1.1 or isn't there any problem to use this patch?

Thank you!

cgomm commented 10 months ago

@martini-69 I applied the patch manually, I will observe the results from now on!


Update: I got rid of the failure before but now I will recieve this error: Exception: No mounts even after explicitly setting up the root mounts

martini-69 commented 10 months ago

I meant the patch in this thread from icewind. Have a look at the 3 files mentioned above: https://github.com/nextcloud/server/files/12728126/39044-NC25.0.12.patch.txt. After updating nc you have to patch again because a nc update overwrites this files.

cgomm commented 10 months ago

Yeah I foudn and applied the changes to my installation, but without any success to make my upload work again without a 500 Internal server error and the message: Exception: No mounts even after explicitly setting up the root mounts

mr-field commented 10 months ago

Hi, that error could indicate a more serious problem with your setup than the one we were facing. In our case Nextcloud was just doing things in the wrong order, but it sounds like it genuinely can't find/mount your storage.

You mentioned that your upload is broken, does it mean that you can see and download all your files but can't upload anything? Or are there some files which you can't even see in the web view?

cgomm commented 10 months ago

Thanks for your response. I don't know how to explain it correctly.

I can upload files to my cloud, but if I delete some or try to move some files around I got a wierd behaviour that these already uploaded files are not movable and these results within this message Exception: No mounts even after explicitly setting up the root mounts, which was before this message: App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_XXXXXX.publicKey existing mounts:.

Further information: I am running the NC on a Ubuntu LXC container (22.04) with the newest NC release v27.1.2. The data path is on linux mounted 4TB harddrive.

martini-69 commented 10 months ago

@tgoeg: Tried the patch with NC 27.1.2 and errors have gone for me too! Big Thanks to you and Icewind

bcutter commented 10 months ago

So can we then finally have this (now confirmed working) patch shipped in a stable?

Pazu commented 10 months ago

So can we then finally have this (now confirmed working) patch shipped in a stable?

It appears their plan is to apply it to 27 and also backport it to 26, though it's also still waiting for some code review. We'll all just have to be patient.

nunesgh commented 9 months ago

Same issue here. Nextcloud version: 24.0.3 PHP version: 7.4.30 MariaDB version: 10.5.15 https://github.com/nextcloud/server/issues/32194#issuecomment-1189546330

The error persists here. I am now running:

Pazu commented 9 months ago

It won't be fixed in 27/Hub 6 until pull request 41090 is merged, so be patient. At present it's targeted for 27.1.5, but that can change.

It is rather inexplicable to me, however, that blizzz appears to be having so much trouble getting anyone to review the commit. Requests for review seem to sit for weeks or months without the requisite attention, like what you'd expect for a project on minimal life support. Perhaps that's what Nextcloud is, at this point.

barrelful commented 9 months ago

I meant the patch in this thread from icewind. Have a look at the 3 files mentioned above: https://github.com/nextcloud/server/files/12728126/39044-NC25.0.12.patch.txt. After updating nc you have to patch again because a nc update overwrites this files.

could you please give me some instruction on how do I apply this patch?

joshtrichards commented 7 months ago

39044 was merged, backported, and released in: