shozen
1
Hello,
after migration from OwnCloud (9.4) to Nextcloud (10.0) I can not access next cloud anymore, if files sharing is enabled.
nextcloud.log
{âreqIdâ:âV@jYrVUNmfwAAB8yZOoAAAAYâ,âremoteAddrâ:â91.65.110.181â,âappâ:âindexâ,âmessageâ:âException: {âExceptionâ:âInvalidArgumentExceptionâ,âMessageâ:â",âCodeâ:0,âTraceâ:"#0 \/www\/htdocs\/w934x71z\/nextcloud\/lib\/private\/Share20\/DefaultShareProvider.php(758): OC\\Share20\\Share->setSharedBy(NULL)\n#1 \/www\/htdocs\/w934x71z\/nextcloud\/lib\/private\/Share20\/DefaultShareProvider.php(675): OC\\Share20\\DefaultShareProvider->createShare(Array)\n#2 \/www\/htdocs\/w934x71z\/nextcloud\/lib\/private\/Share20\/Manager.php(957): OC\\Share20\\DefaultShareProvider->getSharedWith(âUserXXXâ, 1, NULL, -1, 0)\n#3 \/www\/htdocs\/w934x71z\/nextcloud\/apps\/files_sharing\/lib\/MountProvider.php(72): OC\\Share20\\Manager->getSharedWith(âUserXXXâ, 1, NULL, -1)\n#4 \/www\/htdocs\/w934x71z\/nextcloud\/lib\/private\/Files\/Config\/MountProviderCollection.php(77): OCA\\Files_Sharing\\MountProvider->getMountsForUser(Object(OC\\User\\User), Object(OC\\Files\\Storage\\StorageFactory))\n#5 [internal function]: OC\\Files\\Config\\MountProviderCollection->OC\\Files\\Config\\{closure}(Object(OCA\\Files_Sharing\\MountProvider))\n#6 \/www\/htdocs\/w934x71z\/nextcloud\/lib\/private\/Files\/Config\/MountProviderCollection.php(78): array_map(Object(Closure), Array)\n#7 \/www\/htdocs\/w934x71z\/nextcloud\/lib\/private\/Files\/Filesystem.php(423): OC\\Files\\Config\\MountProviderCollection->getMountsForUser(Object(OC\\User\\User))\n#8 \/www\/htdocs\/w934x71z\/nextcloud\/lib\/private\/Files\/Filesystem.php(371): OC\\Files\\Filesystem::initMountPoints(âUserXXXâ)\n#9 \/www\/htdocs\/w934x71z\/nextcloud\/lib\/private\/legacy\/util.php(227): OC\\Files\\Filesystem::init(âUserXXXâ, â\/UserXXX\/filesâ)\n#10 \/www\/htdocs\/w934x71z\/nextcloud\/lib\/base.php(966): OC_Util::setupFS()\n#11 \/www\/htdocs\/w934x71z\/nextcloud\/index.php(48): OC::handleRequest()\n#12 {main}",âFileâ:"\/www\/htdocs\/w934x71z\/nextcloud\/lib\/private\/Share20\/Share.php",âLineâ:288}",âlevelâ:3,âtimeâ:âSeptember 26, 2016 10:13:33â,âmethodâ:âGETâ,âurlâ:"/index.php/apps/files/?dir=/&fileid=7415",âuserâ:âUserXXXâ}
Does anyone have a solution for this error?
Thx
tflidd
2
Do you mean the file-sharing app? Once it is enabled, you get this error?
Can you check on the webinterface on your admin page, if the code-integrity test failed (should also show you a warning on login)?
I have exactly the same problem
{
âreqIdâ: âLKvaC+Kz7nso1/gavP/Nâ,
âremoteAddrâ: â46.126.208.79â,
âappâ: âindexâ,
âmessageâ: âException: {âExceptionâ:âInvalidArgumentExceptionâ,âMessageâ:â",âCodeâ:0,âTraceâ:"#0 \/var\/www\/nextcloud\/lib\/private\/Share20\/DefaultShareProvider.php(758): OC\\Share20\\Share->setSharedBy(NULL)\n#1 \/var\/www\/nextcloud\/lib\/private\/Share20\/DefaultShareProvider.php(622): OC\\Share20\\DefaultShareProvider->createShare(Array)\n#2 \/var\/www\/nextcloud\/lib\/private\/Share20\/Manager.php(957): OC\\Share20\\DefaultShareProvider->getSharedWith(âevernichonâ, 0, NULL, -1, 0)\n#3 \/var\/www\/nextcloud\/apps\/files_sharing\/lib\/MountProvider.php(71): OC\\Share20\\Manager->getSharedWith(âevernichonâ, 0, NULL, -1)\n#4 \/var\/www\/nextcloud\/lib\/private\/Files\/Config\/MountProviderCollection.php(77): OCA\\Files_Sharing\\MountProvider->getMountsForUser(Object(OC\\User\\User), Object(OC\\Files\\Storage\\StorageFactory))\n#5 [internal function]: OC\\Files\\Config\\MountProviderCollection->OC\\Files\\Config\\{closure}(Object(OCA\\Files_Sharing\\MountProvider))\n#6 \/var\/www\/nextcloud\/lib\/private\/Files\/Config\/MountProviderCollection.php(78): array_map(Object(Closure), Array)\n#7 \/var\/www\/nextcloud\/lib\/private\/Files\/Filesystem.php(426): OC\\Files\\Config\\MountProviderCollection->getMountsForUser(Object(OC\\User\\User))\n#8 \/var\/www\/nextcloud\/lib\/private\/Files\/Filesystem.php(374): OC\\Files\\Filesystem::initMountPoints(âevernichonâ)\n#9 \/var\/www\/nextcloud\/lib\/private\/legacy\/util.php(227): OC\\Files\\Filesystem::init(âevernichonâ, â\/evernichon\/filâŠâ)\n#10 \/var\/www\/nextcloud\/lib\/base.php(997): OC_Util::setupFS()\n#11 \/var\/www\/nextcloud\/index.php(48): OC::handleRequest()\n#12 {main}",âFileâ:"\/var\/www\/nextcloud\/lib\/private\/Share20\/Share.php",âLineâ:288}",
âlevelâ: 3,
âtimeâ: â2018-12-11T15:12:36+00:00â,
âmethodâ: âGETâ,
âurlâ: â/index.php/apps/files/â,
âuserâ: âevernichonâ,
âversionâ: â9.1.6.1â
}
If I enable files_sharing
Erreur interne du serveur
Le serveur est incapable dâexĂ©cuter votre requĂȘte.
Si cela se reproduit, veuillez envoyer les dĂ©tails techniques ci-dessous Ă lâadministrateur du serveur.
Le fichier journal du serveur peut fournir plus de renseignements.
Renseignements techniques
- Adresse distante : XXXX
- ID de la demande : uuj6DM4EInJQRsnMSTh7
tflidd
4
I found this topic related to the problem:
but they havenât seen issues since NC 11. So if it still exists, please open a new bug report on the bug tracker.
On newer setups, there is also a command to clean invalid shares (in case this is creating your problems):
sharing
sharing:cleanup-remote-storages Cleanup shared storage entries that have no matching entry in the shares_external table