(v16.0.1) share link downloads internal serveur error

Hello.

Since update 16.0.1, i get an internal server error when downloading a share files from a link.

Nextcloud version _16.0.1
Operating system and version _Debian10.0
Apache or nginx version _Apache 2.4.25
PHP version _7.3.5

The issue you are facing:

On a share link like :

https://nextcloud.rkn.ovh/index.php/s/test_dwnld
The link is active, you can use it to test !

Is this the first time you’ve seen this error? YES

Internal log is:

[index] Error: Error: Call to a member function getUID() on null at <>

  1. /var/www/html/apps/groupfolders/lib/Mount/MountProvider.php line 126
    OCA\GroupFolders\Mount\MountProvider->getCurrentUID()
  2. /var/www/html/apps/groupfolders/lib/Mount/MountProvider.php line 90
    OCA\GroupFolders\Mount\MountProvider->getMount(2, “/google-10981/files/PRO”, 31, -3, OC\Files\Cache\CacheEntry {}, OC\Files\Storage\StorageFactory {}, true, OC\User\User {})
  3. <>
    OCA\GroupFolders\Mount\MountProvider->OCA\GroupFolders\Mount{closure}("*** sensitive parameters replaced ***")
  4. /var/www/html/apps/groupfolders/lib/Mount/MountProvider.php line 88
    undefinedundefinedarray_map(Closure {}, ["*** sensitive … }])
  5. /var/www/html/lib/private/Files/Config/MountProviderCollection.php line 103
    OCA\GroupFolders\Mount\MountProvider->getMountsForUser(OC\User\User {}, OC\Files\Storage\StorageFactory {})
  6. /var/www/html/lib/private/Files/Filesystem.php line 447
    OC\Files\Config\MountProviderCollection->addMountForUser(OC\User\User {}, OC\Files\Mount\Manager {})
  7. /var/www/html/lib/private/Files/Node/Root.php line 375
    OC\Files\Filesystem::initMountPoints(“google-10981”)
  8. <>
    OC\Files\Node\Root->getUserFolder(“google-10981”)
  9. /var/www/html/lib/private/Files/Node/LazyRoot.php line 64
    undefinedundefinedcall_user_func_array([OC\Files\Node\Root {},“getUserFolder”], [“google-10981”])
  10. /var/www/html/lib/private/Files/Node/LazyRoot.php line 281
    OC\Files\Node\LazyRoot->__call(“getUserFolder”, [“google-10981”])
  11. /var/www/html/lib/private/Share20/Share.php line 175
    OC\Files\Node\LazyRoot->getUserFolder(“google-10981”)
  12. /var/www/html/apps/files_sharing/lib/Controller/ShareController.php line 269
    OC\Share20\Share->getNode()
  13. /var/www/html/apps/files_sharing/lib/Controller/ShareController.php line 293
    OCA\Files_Sharing\Controller\ShareController->validateShare(OC\Share20\Share {})
  14. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 166
    OCA\Files_Sharing\Controller\ShareController->showShare("")
  15. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 99
    OC\AppFramework\Http\Dispatcher->executeController(OCA\Files_Sharin … {}, “showShare”)
  16. /var/www/html/lib/private/AppFramework/App.php line 126
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Files_Sharin … {}, “showShare”)
  17. /var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
    OC\AppFramework\App::main(“OCA\Files_Shar … r”, “showShare”, OC\AppFramework\ … {}, {token: "test_dw … "})
  18. <>
    OC\AppFramework\Routing\RouteActionHandler->__invoke({token: "test_dw … "})
  19. /var/www/html/lib/private/Route/Router.php line 297
    undefinedundefinedcall_user_func(OC\AppFramework\ … {}, {token: "test_dw … "})
  20. /var/www/html/lib/base.php line 975
    OC\Route\Router->match("/s/test_dwnld")
  21. /var/www/html/index.php line 42
    OC::handleRequest()

yep, hard to follow !! I dont exactly see what you mean …

occ app:list
occ app:disable

https://docs.nextcloud.com/server/15/admin_manual/configuration_server/occ_command.html

I am not sure it is app linked …will try to desirable all of them… Need to time … Be back tonight

so far so good … seem it is fixed.

The faulty app seem to be groupfolder …

i tried disabling /enabling /purging … none did the trick.

open a githug bugs see:

1 Like

Version app 4.0.2 available and fixing this bug !