Could not find resource file, apps/files_external/js/../../..//cloud/apps/
Will737 opened this issue · comments
It doesn't seem to do anything when I press the grant access button. Nextcloud is installed in a folder named cloud and not on the root directory and I installed the onedrive plugin through the apps store built in to Nextcloud.
[files_external] Debug: Could not find resource file "/cloud/apps/files_external/js/../../..//cloud/apps/files_external_onedrive/js/onedrive.js"
GET /cloud/index.php/settings/admin/externalstorages
Any help would be appreciated
Solved by changing the file in /apps/files_external_onedrive/lib/Backend/OneDrive.php
I changed this line from: ->addCustomJs("../../../$appWebPath/js/onedrive");
Updated line: ->addCustomJs("../../files_external_onedrive/js/onedrive");