Closed lukemin closed 5 years ago
Could you give me more informations like NC version, OS, DB engine used .... ?
Storage Users: 1
Files: 93
Storages: 2
Free Space: 27.6 GB
Nextcloud Version: 16.0.4.1
Apps installed: 39
Apps updates available: 0
PHP Version: 7.2.21
Memory Limit: 512 MB
Max Execution Time: 3600
Upload max size: 1 GB
Database Type: mysql
Version: 5.7.27
Size: 1.4 MB
Seems to be a problem with your NC installation... Maybe a folder permissions issue... Try to check and fix your permissions accordingly or configure Nextcloud properly.
but files_external_gdrive is ok
First Error log
`[index] Error: OCP\Files\NotPermittedException: Could not create folder at <
GET /index.php/apps/theming/img/core/filetypes/video.svg?v=0`
@lukemin I have installed your same versions for NC and MySql and I had no problems and no errors logs occurred. Your OS?
centos 7
I'm having this error too with only this app, any other app installs fine.
Exception: Could not extract app files_external_onedrive
1. /home/nextcloud/settings/Controller/AppSettingsController.php - line 444:
OC\Installer->downloadApp("files_external_onedrive")
2. /home/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 166:
OC\Settings\Controller\AppSettingsController->enableApps([ "files_external_onedrive"], [])
3. /home/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:
OC\AppFramework\Http\Dispatcher->executeController(OC\Settings\ ... {}, "enableApps")
4. /home/nextcloud/lib/private/AppFramework/App.php - line 126:
OC\AppFramework\Http\Dispatcher->dispatch(OC\Settings\ ... {}, "enableApps")
OC\AppFramework\App::main("OC\\Setting ... r", "enableApps", OC\AppFramew ... {}, { _route: "s ... "})
5. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "s ... "})
6. /home/nextcloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew ... {}, { _route: "s ... "})
7. /home/nextcloud/lib/base.php - line 975:
OC\Route\Router->match("/settings/apps/enable")
8. /home/nextcloud/index.php - line 42:
OC::handleRequest()
FYI, it installs trough the command line:
./occ app:install files_external_onedrive
files_external_onedrive installed
files_external_onedrive enabled
./occ app:install files_external_onedrive
does not work for me!!
[root@instance-2 mysite]# sudo -u www php occ app:install files_external_onedrive Error: Could not extract app files_external_onedrive
due to security reason, I disabled some functions. passthru | 删除 system | 删除 chroot | 删除 chgrp | 删除 chown | 删除 shell_exec | 删除 proc_open | 删除 ini_alter | 删除 ini_restore | 删除 dl | 删除 openlog | 删除 syslog | 删除 readlink | 删除 symlink | 删除 popepassthru| 删除 Which ones I should delete?
manual installion log: Last login: Tue Sep 3 09:23:47 2019 from 112.250.108.111 [google@instance-2 ~]$ sudo su [root@instance-2 google]# git clone https://github.com/hevelius/files_external_onedrive Cloning into 'files_external_onedrive'... remote: Enumerating objects: 110, done. remote: Counting objects: 100% (110/110), done. remote: Compressing objects: 100% (88/88), done. remote: Total 627 (delta 50), reused 41 (delta 15), pack-reused 517 Receiving objects: 100% (627/627), 686.14 KiB | 313.00 KiB/s, done. Resolving deltas: 100% (346/346), done. [root@instance-2 google]# cd files_external_onedrive [root@instance-2 files_external_onedrive]# composer install Warning: This development build of composer is over 60 days old. It is recommended to update it by running "/bin/composer self-update" to get the latest version. Do not run Composer as root/super user! See https://getcomposer.org/root for details Loading composer repositories with package information Updating dependencies (including require-dev) PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in phar:///usr/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 286
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in phar:///usr/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 286
^C
[root@instance-2 files_external_onedrive]# /bin/composer self-update
Updating to version 1.9.0 (stable channel).
Downloading (100%)
Use composer self-update --rollback to return to version e3a23c0047b462f1a443cdb56d3c310a9e4c3b37
[root@instance-2 files_external_onedrive]# composer install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 41 installs, 0 updates, 0 removals
when I enable proc_open fuction, I got this: [root@instance-2 /]# git clone https://github.com/hevelius/files_external_onedrive Cloning into 'files_external_onedrive'... remote: Enumerating objects: 110, done. remote: Counting objects: 100% (110/110), done. remote: Compressing objects: 100% (88/88), done. remote: Total 627 (delta 50), reused 41 (delta 15), pack-reused 517 Receiving objects: 100% (627/627), 686.14 KiB | 313.00 KiB/s, done. Resolving deltas: 100% (346/346), done. [root@instance-2 /]# cd files_external_onedrive [root@instance-2 files_external_onedrive]# composer install Do not run Composer as root/super user! See https://getcomposer.org/root for details Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 41 installs, 0 updates, 0 removals
I get the GREEN mark, but the app did not work at all:
[lib] Error: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO oc_filecache
(mimepart
, mimetype
, mtime
, size
, etag
, storage_mtime
, permissions
, checksum
, path_hash
, path
, parent
, name
, storage
) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["1", "2", {"path":"hildren\/","timestamp":false,"size":null,"bytes":null,"type":"dir","mimetype":null,"link":null}, -1, "5d6e01a231711", {"path":"hildren\/","timestamp":false,"size":null,"bytes":null,"type":"dir","mimetype":null,"link":null}, 23, "", "d41d8cd98f00b204e9800998ecf8427e", "", -1, "", 5]:
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'Array' for column 'mtime' at row 1 at <
PROPFIND /remote.php/dav/files/lukemin/ from 112.250.108.111 by lukemin at 2019-09-03T06:01:06+00:00
@lukemin there is already another thread about that other issue, not related with installation.
@lukemin could you try latest release (v1.0.5)?
The version of this app in nextcloud app store is still V1.0.4.
The version of this app in nextcloud app store is still V1.0.4.
In my NC installations (15 and 16) the version is 1.0.5. The version on https://apps.nextcloud.com/apps/files_external_onedrive is 1.0.5
Cause I have installed V1.0.4 manually, It did not show the newer version. After I removed V1.0.4,but V1.0.5 still did not work.
[settings] Error: Exception: Could not extract app files_external_onedrive at <
POST /index.php/settings/apps/enable
@lukemin there is already another thread about that other issue, not related with installation.
@lukemin I can't reproduce this issue with all my NC installation [14...16] with MySQL/MariaDB 5.5 and 10.x. I suppose it's an issue not releated with files_external_onedrive.
Releated issues: https://github.com/nextcloud/polls/issues/308 https://github.com/nextcloud/mail/issues/951
[settings] Error: Exception: Could not extract app files_external_onedrive at <>
POST /index.php/settings/apps/enable