Open supreme-kode opened 3 years ago
I had the same error, here is my error log:
[settings] Error: Exception: Could not extract app files_external_onedrive at <
same issue here Could not extract app files_external_onedrive: Out-of-path file extraction {/tmp/oc_tmp_HAKpOK-folder/files_external_onedrive/vendor/bin/phpunit --> ../phpunit/phpunit/phpunit}
same here:
{"reqId":"YEz4GafjMg@Nc2NBbokTVwAACAA","level":3,"time":"2021-03-13T17:36:26+00:00","remoteAddr":"84.114.153.214","user":"mstroehle","app":"settings","method":"POST","url":"/index.php/settings/apps/enable","message":{"Exception":"Exception","Message":"Could not extract app files_external_onedrive","Code":0,"Trace":[{"file":"[path-to-nextcloud]/apps/settings/lib/Controller/AppSettingsController.php","line":445,"function":"downloadApp","class":"OC\Installer","type":"->","args":["files_external_onedrive"]},{"file":"[path-to-nextcloud]/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"enableApps","class":"OCA\Settings\Controller\AppSettingsController","type":"->","args":[["files_external_onedrive"],[]]},{"file":"[path-to-nextcloud]/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[{"class":"OCA\Settings\Controller\AppSettingsController"},"enableApps"]},{"file":"[path-to-nextcloud]/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[{"class":"OCA\Settings\Controller\AppSettingsController"},"enableApps"]},{"file":"[path-to-nextcloud]/lib/private/Route/Router.php","line":309,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Settings\Controller\AppSettingsController","enableApps",{"class":"OC\AppFramework\DependencyInjection\DIContainer"},{"_route":"settings.AppSettings.enableApps"}]},{"file":"[path-to-nextcloud]/lib/base.php","line":1008,"function":"match","class":"OC\Route\Router","type":"->","args":["/settings/apps/enable"]},{"file":"[path-to-nextcloud]/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"[path-to-nextcloud]/lib/private/Installer.php","Line":297,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36","version":"20.0.7.1","id":"604cf82a60522"}
Hi, I have the same issue and even with hour long research I did not find a solution. All other Apps are working fine and can be installed on nextcloud:
Could not extract app files_external_onedrive: Out-of-path file extraction {/volume2/@tmp/oc_tmp_puiFO7-folder/files_external_onedrive/vendor/bin/phpunit --> ../phpunit/phpunit/phpunit}
As I would like to use nextcloud as single point of access I was hoping to get my One Drive Shares (multiple Accounts) integrated.
same issue here Could not extract app files_external_onedrive: Out-of-path file extraction {/tmp/oc_tmp_E90A1a-folder/files_external_onedrive/vendor/bin/phpunit --> ../phpunit/phpunit/phpunit}
After starting with the ssh command, it shows that it is running: sudo -u #80 php -f occ app:enable files_external_onedrive The process control (PCNTL) extensions are required in case you want to interrupt long running commands-see https://www.php.net/manual/en/book.pcntl.php files_external_onedrive 1.1.0 enabled But in the web settings-management-external disk, you can’t see "files_external_onedrive", go back to the settings-application, you can’t find "files_external_onedrive" on the started column, and find "files_external_onedrive" on the "stopped", which means It has stopped running. I installed Nextcloud on Jails of TrueNAS, the version is 21, mysql is 8.0.23, and the php version is v7.4.16 I hope a great god can solve it for me
Same error ... No idea for a solution ?
Same here for a fresh install of nextcloud (21.0.0.18) running docker on unraid.
Could not extract app files_external_onedrive: Out-of-path file extraction {/tmp/oc_tmp_mnSOyX-folder/files_external_onedrive/vendor/bin/phpunit --> ../phpunit/phpunit/phpunit}
Same here.
same here
That are all 3 Errors from the Protokoll.
I have MariaDB 10.3.25 PHP version Version: 7.4.3 Nextcloud 21.0.1
I hope so you can solve the issue :)
Betriebssystem: | Linux 5.4.0-72-generic x86_64Prozessor: | Common KVM processor (4 cores)
Could not extract app files_external_onedrive
Error: unlink(/var/www/html/nextcloud/data/appdata_oc74dczpjcbl/css/user_status/872c-83f2-user-status-menu.css.deps): No such file or directory at /var/www/html/nextcloud/lib/private/Files/Storage/Local.php#285
<
OC\Log\ErrorHandler::onError()
/var/www/html/nextcloud/lib/private/Files/Storage/Local.php - line 285:
unlink()
<
OC\Files\Storage\Local->unlink()
/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php - line 194:
call_user_func()
/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php - line 103:
OCA\Files_Trashbin\Storage->doDelete()
/var/www/html/nextcloud/apps/files_accesscontrol/lib/StorageWrapper.php - line 195:
OCA\Files_Trashbin\Storage->unlink()
/var/www/html/nextcloud/lib/private/Files/View.php - line 1168:
OCA\FilesAccessControl\StorageWrapper->unlink()
/var/www/html/nextcloud/lib/private/Files/View.php - line 725:
OC\Files\View->basicOperation()
/var/www/html/nextcloud/lib/private/Files/Node/File.php - line 132:
OC\Files\View->unlink()
/var/www/html/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php - line 150:
OC\Files\Node\File->delete()
/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php - line 398:
OC\Files\SimpleFS\SimpleFile->delete()
/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php - line 290:
OC\Template\SCSSCacher->resetCache()
/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php - line 154:
OC\Template\SCSSCacher->variablesChanged()
/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php - line 111:
OC\Template\SCSSCacher->process()
/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php - line 63:
OC\Template\CSSResourceLocator->cacheAndAppendScssIfExist()
/var/www/html/nextcloud/lib/private/Template/ResourceLocator.php - line 79:
OC\Template\CSSResourceLocator->doFind()
/var/www/html/nextcloud/lib/private/TemplateLayout.php - line 330:
OC\Template\ResourceLocator->find()
/var/www/html/nextcloud/lib/private/TemplateLayout.php - line 238:
OC\TemplateLayout::findStylesheetFiles()
/var/www/html/nextcloud/lib/private/legacy/OC_Template.php - line 183:
OC\TemplateLayout->__construct()
/var/www/html/nextcloud/lib/private/Template/Base.php - line 132:
OC_Template->fetchPage()
/var/www/html/nextcloud/lib/base.php - line 780:
OC\Template\Base->printPage()
/var/www/html/nextcloud/lib/base.php - line 1076:
OC::init()
/var/www/html/nextcloud/remote.php - line 115:
require_once("/var/www/ht ... p")
{"reqId":"JxmTyueps1OP5PmQRiq0","level":3,"time":"2021-04-18T19:04:15+00:00","remoteAddr":"91.184.168.251","user":"--","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/calendars/ncp/personal/","message":{"Exception":"Error","Message":"unlink(/var/www/html/nextcloud/data/appdata_oc74dczpjcbl/css/user_status/872c-83f2-user-status-menu.css.deps): No such file or directory at /var/www/html/nextcloud/lib/private/Files/Storage/Local.php#285","Code":0,"Trace":[{"function":"onError","class":"OC\Log\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/Files/Storage/Local.php","line":285,"function":"unlink"},{"function":"unlink","class":"OC\Files\Storage\Local","type":"->"},{"file":"/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php","line":194,"function":"call_user_func"},{"file":"/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php","line":103,"function":"doDelete","class":"OCA\Files_Trashbin\Storage","type":"->"},{"file":"/var/www/html/nextcloud/apps/files_accesscontrol/lib/StorageWrapper.php","line":195,"function":"unlink","class":"OCA\Files_Trashbin\Storage","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":1168,"function":"unlink","class":"OCA\FilesAccessControl\StorageWrapper","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":725,"function":"basicOperation","class":"OC\Files\View","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/Node/File.php","line":132,"function":"unlink","class":"OC\Files\View","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":150,"function":"delete","class":"OC\Files\Node\File","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php","line":398,"function":"delete","class":"OC\Files\SimpleFS\SimpleFile","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php","line":290,"function":"resetCache","class":"OC\Template\SCSSCacher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php","line":154,"function":"variablesChanged","class":"OC\Template\SCSSCacher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php","line":111,"function":"process","class":"OC\Template\SCSSCacher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php","line":63,"function":"cacheAndAppendScssIfExist","class":"OC\Template\CSSResourceLocator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/ResourceLocator.php","line":79,"function":"doFind","class":"OC\Template\CSSResourceLocator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TemplateLayout.php","line":330,"function":"find","class":"OC\Template\ResourceLocator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TemplateLayout.php","line":238,"function":"findStylesheetFiles","class":"OC\TemplateLayout","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/legacy/OC_Template.php","line":183,"function":"__construct","class":"OC\TemplateLayout","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/html/nextcloud/lib/base.php","line":780,"function":"printPage","class":"OC\Template\Base","type":"->"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1076,"function":"init","class":"OC","type":"::"},{"file":"/var/www/html/nextcloud/remote.php","line":115,"args":["/var/www/html/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"eMClient/8.2.1237.0","version":"21.0.1.1","id":"607c82b04dcc8"}
Error: unlink(/var/www/html/nextcloud/data/appdata_oc74dczpjcbl/css/user_status/872c-83f2-user-status-menu.css): No such file or directory at /var/www/html/nextcloud/lib/private/Files/Storage/Local.php#285
<
OC\Log\ErrorHandler::onError()
/var/www/html/nextcloud/lib/private/Files/Storage/Local.php - line 285:
unlink()
<
OC\Files\Storage\Local->unlink()
/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php - line 194:
call_user_func()
/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php - line 103:
OCA\Files_Trashbin\Storage->doDelete()
/var/www/html/nextcloud/apps/files_accesscontrol/lib/StorageWrapper.php - line 195:
OCA\Files_Trashbin\Storage->unlink()
/var/www/html/nextcloud/lib/private/Files/View.php - line 1168:
OCA\FilesAccessControl\StorageWrapper->unlink()
/var/www/html/nextcloud/lib/private/Files/View.php - line 725:
OC\Files\View->basicOperation()
/var/www/html/nextcloud/lib/private/Files/Node/File.php - line 132:
OC\Files\View->unlink()
/var/www/html/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php - line 150:
OC\Files\Node\File->delete()
/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php - line 398:
OC\Files\SimpleFS\SimpleFile->delete()
/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php - line 290:
OC\Template\SCSSCacher->resetCache()
/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php - line 154:
OC\Template\SCSSCacher->variablesChanged()
/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php - line 111:
OC\Template\SCSSCacher->process()
/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php - line 63:
OC\Template\CSSResourceLocator->cacheAndAppendScssIfExist()
/var/www/html/nextcloud/lib/private/Template/ResourceLocator.php - line 79:
OC\Template\CSSResourceLocator->doFind()
/var/www/html/nextcloud/lib/private/TemplateLayout.php - line 330:
OC\Template\ResourceLocator->find()
/var/www/html/nextcloud/lib/private/TemplateLayout.php - line 238:
OC\TemplateLayout::findStylesheetFiles()
/var/www/html/nextcloud/lib/private/legacy/OC_Template.php - line 183:
OC\TemplateLayout->__construct()
/var/www/html/nextcloud/lib/private/Template/Base.php - line 132:
OC_Template->fetchPage()
/var/www/html/nextcloud/lib/base.php - line 780:
OC\Template\Base->printPage()
/var/www/html/nextcloud/lib/base.php - line 1076:
OC::init()
/var/www/html/nextcloud/remote.php - line 115:
require_once("/var/www/ht ... p")
{"reqId":"JxmTyueps1OP5PmQRiq0","level":3,"time":"2021-04-18T19:04:15+00:00","remoteAddr":"91.184.168.251","user":"--","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/calendars/ncp/personal/","message":{"Exception":"Error","Message":"unlink(/var/www/html/nextcloud/data/appdata_oc74dczpjcbl/css/user_status/872c-83f2-user-status-menu.css): No such file or directory at /var/www/html/nextcloud/lib/private/Files/Storage/Local.php#285","Code":0,"Trace":[{"function":"onError","class":"OC\Log\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/Files/Storage/Local.php","line":285,"function":"unlink"},{"function":"unlink","class":"OC\Files\Storage\Local","type":"->"},{"file":"/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php","line":194,"function":"call_user_func"},{"file":"/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php","line":103,"function":"doDelete","class":"OCA\Files_Trashbin\Storage","type":"->"},{"file":"/var/www/html/nextcloud/apps/files_accesscontrol/lib/StorageWrapper.php","line":195,"function":"unlink","class":"OCA\Files_Trashbin\Storage","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":1168,"function":"unlink","class":"OCA\FilesAccessControl\StorageWrapper","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":725,"function":"basicOperation","class":"OC\Files\View","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/Node/File.php","line":132,"function":"unlink","class":"OC\Files\View","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":150,"function":"delete","class":"OC\Files\Node\File","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php","line":398,"function":"delete","class":"OC\Files\SimpleFS\SimpleFile","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php","line":290,"function":"resetCache","class":"OC\Template\SCSSCacher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php","line":154,"function":"variablesChanged","class":"OC\Template\SCSSCacher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php","line":111,"function":"process","class":"OC\Template\SCSSCacher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php","line":63,"function":"cacheAndAppendScssIfExist","class":"OC\Template\CSSResourceLocator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/ResourceLocator.php","line":79,"function":"doFind","class":"OC\Template\CSSResourceLocator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TemplateLayout.php","line":330,"function":"find","class":"OC\Template\ResourceLocator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TemplateLayout.php","line":238,"function":"findStylesheetFiles","class":"OC\TemplateLayout","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/legacy/OC_Template.php","line":183,"function":"__construct","class":"OC\TemplateLayout","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/html/nextcloud/lib/base.php","line":780,"function":"printPage","class":"OC\Template\Base","type":"->"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1076,"function":"init","class":"OC","type":"::"},{"file":"/var/www/html/nextcloud/remote.php","line":115,"args":["/var/www/html/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"eMClient/8.2.1237.0","version":"21.0.1.1","id":"607c82b04dd21"}
Error: unlink(/var/www/html/nextcloud/data/appdata_oc74dczpjcbl/css/serverinfo/39b9-83f2-style.css.gzip): No such file or directory at /var/www/html/nextcloud/lib/private/Files/Storage/Local.php#285
<
OC\Log\ErrorHandler::onError()
/var/www/html/nextcloud/lib/private/Files/Storage/Local.php - line 285:
unlink()
<
OC\Files\Storage\Local->unlink()
/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php - line 194:
call_user_func()
/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php - line 103:
OCA\Files_Trashbin\Storage->doDelete()
/var/www/html/nextcloud/apps/files_accesscontrol/lib/StorageWrapper.php - line 195:
OCA\Files_Trashbin\Storage->unlink()
/var/www/html/nextcloud/lib/private/Files/View.php - line 1168:
OCA\FilesAccessControl\StorageWrapper->unlink()
/var/www/html/nextcloud/lib/private/Files/View.php - line 725:
OC\Files\View->basicOperation()
/var/www/html/nextcloud/lib/private/Files/Node/File.php - line 132:
OC\Files\View->unlink()
/var/www/html/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php - line 150:
OC\Files\Node\File->delete()
/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php - line 398:
OC\Files\SimpleFS\SimpleFile->delete()
/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php - line 290:
OC\Template\SCSSCacher->resetCache()
/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php - line 154:
OC\Template\SCSSCacher->variablesChanged()
/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php - line 111:
OC\Template\SCSSCacher->process()
/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php - line 63:
OC\Template\CSSResourceLocator->cacheAndAppendScssIfExist()
/var/www/html/nextcloud/lib/private/Template/ResourceLocator.php - line 79:
OC\Template\CSSResourceLocator->doFind()
/var/www/html/nextcloud/lib/private/TemplateLayout.php - line 330:
OC\Template\ResourceLocator->find()
/var/www/html/nextcloud/lib/private/TemplateLayout.php - line 238:
OC\TemplateLayout::findStylesheetFiles()
/var/www/html/nextcloud/lib/private/legacy/OC_Template.php - line 183:
OC\TemplateLayout->__construct()
/var/www/html/nextcloud/lib/private/Template/Base.php - line 132:
OC_Template->fetchPage()
/var/www/html/nextcloud/lib/base.php - line 780:
OC\Template\Base->printPage()
/var/www/html/nextcloud/lib/base.php - line 1076:
OC::init()
/var/www/html/nextcloud/remote.php - line 115:
require_once("/var/www/ht ... p")
{"reqId":"ApuZo1blvqgbXIonQSzI","level":3,"time":"2021-04-18T19:04:15+00:00","remoteAddr":"91.184.168.251","user":"--","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/calendars/ncp/test/","message":{"Exception":"Error","Message":"unlink(/var/www/html/nextcloud/data/appdata_oc74dczpjcbl/css/serverinfo/39b9-83f2-style.css.gzip): No such file or directory at /var/www/html/nextcloud/lib/private/Files/Storage/Local.php#285","Code":0,"Trace":[{"function":"onError","class":"OC\Log\ErrorHandler","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/Files/Storage/Local.php","line":285,"function":"unlink"},{"function":"unlink","class":"OC\Files\Storage\Local","type":"->"},{"file":"/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php","line":194,"function":"call_user_func"},{"file":"/var/www/html/nextcloud/apps/files_trashbin/lib/Storage.php","line":103,"function":"doDelete","class":"OCA\Files_Trashbin\Storage","type":"->"},{"file":"/var/www/html/nextcloud/apps/files_accesscontrol/lib/StorageWrapper.php","line":195,"function":"unlink","class":"OCA\Files_Trashbin\Storage","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":1168,"function":"unlink","class":"OCA\FilesAccessControl\StorageWrapper","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":725,"function":"basicOperation","class":"OC\Files\View","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/Node/File.php","line":132,"function":"unlink","class":"OC\Files\View","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":150,"function":"delete","class":"OC\Files\Node\File","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php","line":398,"function":"delete","class":"OC\Files\SimpleFS\SimpleFile","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php","line":290,"function":"resetCache","class":"OC\Template\SCSSCacher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/SCSSCacher.php","line":154,"function":"variablesChanged","class":"OC\Template\SCSSCacher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php","line":111,"function":"process","class":"OC\Template\SCSSCacher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php","line":63,"function":"cacheAndAppendScssIfExist","class":"OC\Template\CSSResourceLocator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/ResourceLocator.php","line":79,"function":"doFind","class":"OC\Template\CSSResourceLocator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TemplateLayout.php","line":330,"function":"find","class":"OC\Template\ResourceLocator","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TemplateLayout.php","line":238,"function":"findStylesheetFiles","class":"OC\TemplateLayout","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/legacy/OC_Template.php","line":183,"function":"__construct","class":"OC\TemplateLayout","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/html/nextcloud/lib/base.php","line":780,"function":"printPage","class":"OC\Template\Base","type":"->"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1076,"function":"init","class":"OC","type":"::"},{"file":"/var/www/html/nextcloud/remote.php","line":115,"args":["/var/www/html/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"eMClient/8.2.1237.0","version":"21.0.1.1","id":"607c82b04dd7a"}
Try to install the app manually. This worked for me. You may have to adjust the Nextcloud app path:
wget https://github.com/hevelius/files_external_onedrive/releases/download/v1.1.0/files_external_onedrive.tar.gz
tar -zxvf files_external_onedrive.tar.gz
sudo mv files_external_onedrive /var/www/nextcloud/apps
sudo -u www-data php /var/www/nextcloud/occ app:enable files_external_onedrive
Thanks that helps. I hope I can update it with the Dashboard :D Thank you :)
Manual install did install, however now I have issue #51
Manual install did install, however now I have issue #51
Same here did a manual install and now I am having the exact issue described in #51
error here (is possibly the same as cited above):
{
"reqId": "4YhzSN7NwIzkAwEXPVtG",
"level": 3,
"time": "2021-05-10T18:23:33+00:00",
"remoteAddr": "109.192.201.39",
"user": "admin",
"app": "settings",
"method": "POST",
"url": "/nextcloud/index.php/settings/apps/enable",
"message": {
"Exception": "Exception",
"Message": "Could not extract app files_external_onedrive",
"Code": 0,
"Trace": [
{
"file": "/opt/nextcloud/apps/settings/lib/Controller/AppSettingsController.php",
"line": 445,
"function": "downloadApp",
"class": "OC\\Installer",
"type": "->",
"args": [
"files_external_onedrive"
]
},
{
"file": "/opt/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 169,
"function": "enableApps",
"class": "OCA\\Settings\\Controller\\AppSettingsController",
"type": "->",
"args": [
[
"files_external_onedrive"
],
[]
]
},
{
"file": "/opt/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 100,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{
"__class__": "OCA\\Settings\\Controller\\AppSettingsController"
},
"enableApps"
]
},
{
"file": "/opt/nextcloud/lib/private/AppFramework/App.php",
"line": 152,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
{
"__class__": "OCA\\Settings\\Controller\\AppSettingsController"
},
"enableApps"
]
},
{
"file": "/opt/nextcloud/lib/private/Route/Router.php",
"line": 309,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OCA\\Settings\\Controller\\AppSettingsController",
"enableApps",
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
{
"_route": "settings.AppSettings.enableApps"
}
]
},
{
"file": "/opt/nextcloud/lib/base.php",
"line": 1008,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/settings/apps/enable"
]
},
{
"file": "/opt/nextcloud/index.php",
"line": 37,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/opt/nextcloud/lib/private/Installer.php",
"Line": 297,
"CustomMessage": "--"
},
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:88.0) Gecko/20100101 Firefox/88.0",
"version": "20.0.9.1"
}
嘗試手動安裝該應用程序。這對我有用。您可能需要調整Nextcloud應用程序路徑:
wget https://github.com/hevelius/files_external_onedrive/releases/download/v1.1.0/files_external_onedrive.tar.gz tar -zxvf files_external_onedrive.tar.gz sudo mv files_external_onedrive / var / www / nextcloud / apps sudo -u www-data php / var / www / nextcloud / occ應用程序:啟用files_external_onedrive
sudo -u www-data php /var/www/nextcloud/occ app:enable files_external_onedrive
When I use'sudo -u www-www php /var/www/nextcloud/occ app:enable files_external_onedrive' (because the user of my database folder is www, and the group is www), it returns'sudo: unknown user: www- www', how can I solve this error?
Me too!
I ran the commands posted by @silas229 above. The mv command fails with
cannot move 'files_external_onedrive' to '/var/www/nextcloud/apps': No such file or directory
But I have this path mapped in docker /var/www/html/custom_apps. so I changed to:
sudo mv files_external_onedrive /var/www/html/apps
That command then succeeded
but running occ app:enable files_external_onedrive
resulted in this error:
Could not extract app files_external_onedrive: Out-of-path file extraction {/tmp/oc_tmp_iamMEG-folder/files_external_onedrive/vendor/bin/phpunit --> ../phpunit/phpunit/phpunit}
but running
occ app:enable files_external_onedrive
resulted in this error:Could not extract app files_external_onedrive: Out-of-path file extraction {/tmp/oc_tmp_iamMEG-folder/files_external_onedrive/vendor/bin/phpunit --> ../phpunit/phpunit/phpunit}
This seems to be a common problem @uSlackr : https://github.com/nextcloud/social/issues/1203 https://github.com/nextcloud/updater/issues/135
but running
occ app:enable files_external_onedrive
resulted in this error:Could not extract app files_external_onedrive: Out-of-path file extraction {/tmp/oc_tmp_iamMEG-folder/files_external_onedrive/vendor/bin/phpunit --> ../phpunit/phpunit/phpunit}
This seems to be a common problem @uSlackr : nextcloud/social#1203 nextcloud/updater#135
Yes - hopefully someone jumps in the thread to explain.
i am having the same issue as well
After installing the app manually, I can see in the logs, that the app is trying to access some odd location: nextcloud_root/files_external/js/../../..//apps/files_external_onedrive/js/onedrive.json & nextcloud_root/files_external/js/../../..//apps/files_external_onedrive/js/onedrive.js
Which throws the "open_basedir restriction in effect" error
Edit1: I have looked around and a "onedrive.json" file doesn't even exist. Only onedrive.js which someone else reported having issue with aswell.
Same issue here.
This used to not work for me using the snap (snapcraft) version of nextcloud. I fixed it by cloning the repo into /var/snap/nextcloud/current/nextcloud/extra-apps/files_external_onedrive
, then enabling it with occ.
Commands:
sudo git clone https://github.com/hevelius/files_external_onedrive /var/snap/nextcloud/current/nextcloud/extra-apps/files_external_onedrive
sudo nextcloud.occ app:enable files_external_onedrive
Same problem for me. NC 21.0.3, php 7.3.20 Apache 2.4.6, Redis5, MariaDB 10.4
`[settings] Error: Exception: Could not extract app files_external_onedrive: Out-of-path file extraction {/tmp/oc_tmp_yeer7d-folder/files_external_onedrive/vendor/bin/phpunit --> ../phpunit/phpunit/phpunit} at <
POST /index.php/settings/apps/enable ` I checked in /tmp and nextcloud/apps and don't see any files. Run find from / and also don't see any files - at least seems things are cleaned up after it fails to install. Would be nice to understand if this is app specific or a general NC issue with installing some apps. I want to avoid any manual app install on a production system, and assumed that things listed in the NC official apps store would at least install correctly when listed as updated for a specific NC version.
Is this getting any attention?
I haven't seen any author updates since Dec. I get the sense that this project has been abandoned. If the author could confirm or deny, that would be helpful. It's puzzled me for years why such a fundamental feature as reliable and supported OneDrive folder integration into NextCloud has been of no interest to either the NextCloud developers or 3rd-party developers. (I would do it if I had the skills and ability.) Perhaps someone could fork this project?
I have some issue when i try to download and enable on NC, i got error notification: "Could not extract app files_external_onedrive: Out-of-path file extraction {/tmp/oc_tmp_gaPFPJ-folder/files_external_onedrive/vendor/bin/phpunit --> ../phpunit/phpunit/phpunit}"