Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not support a php8 version #60

Open
joaopinto14 opened this issue May 3, 2021 · 4 comments
Open

Does not support a php8 version #60

joaopinto14 opened this issue May 3, 2021 · 4 comments

Comments

@joaopinto14
Copy link

When installing it gives the indication that it only supports up to php version 7

@Cathgao
Copy link

Cathgao commented May 26, 2021

same issue

@Hankanman
Copy link

Hankanman commented Jun 29, 2021

I suspect I am facing the same issue here, new install of nextcloud and unable to get this running. to install you must run 'composer install --ignore-platform-reqs' as the dependencies are out of date. Once installed i can configure in external storages and authenticate with OneDrive, but not access it, when you try and access via files the following two entries appear in the log:

Error: Undefined index: value at /config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php#237

{"reqId":"5zBquPlg9VlwBV9TljW5","level":3,"time":"2021-06-29T13:10:39+00:00","remoteAddr":"162.158.159.9","user":"Seb","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/Seb/","message":{"Exception":"Error","Message":"Undefined index: value at /config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php#237","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":237,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/lib/Storage/Filesystem.php","line":36,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/lib/Storage/OneDrive.php","line":158,"function":"listContents","class":"OCA\\Files_external_onedrive\\Storage\\Filesystem","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Common.php","line":712,"function":"filemtime","class":"OCA\\Files_external_onedrive\\Storage\\OneDrive","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":581,"function":"getMetaData","class":"OC\\Files\\Storage\\Common","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/PermissionsMask.php","line":141,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":581,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\PermissionsMask","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":444,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":581,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":115,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":153,"function":"getData","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/View.php","line":1490,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":265,"function":"getDirectoryContent","class":"OC\\Files\\View","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php","line":72,"function":"getChildren","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php","line":117,"function":"cacheDirectory","class":"OCA\\DAV\\Connector\\Sabre\\CommentPropertiesPlugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"handleGetProperties","class":"OCA\\DAV\\Connector\\Sabre\\CommentPropertiesPlugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1661,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1646,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/remote.php","line":167,"args":["/config/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 Edg/91.0.864.59","version":"21.0.2.1","id":"60db1c7e2843d"}

Error: count(): Parameter must be an array or an object that implements Countable at /config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php#239

{"reqId":"5zBquPlg9VlwBV9TljW5","level":3,"time":"2021-06-29T13:10:39+00:00","remoteAddr":"162.158.159.9","user":"Seb","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/files/Seb/","message":{"Exception":"Error","Message":"count(): Parameter must be an array or an object that implements Countable at /config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php#239","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":239,"function":"count"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/vendor/hevelius/flysystem-onedrive/src/OneDriveAdapter.php","line":247,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/lib/Storage/Filesystem.php","line":36,"function":"listContents","class":"MarioPerrotta\\FlysystemOneDrive\\OneDriveAdapter","type":"->"},{"file":"/config/www/nextcloud/apps/files_external_onedrive/lib/Storage/OneDrive.php","line":158,"function":"listContents","class":"OCA\\Files_external_onedrive\\Storage\\Filesystem","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Common.php","line":712,"function":"filemtime","class":"OCA\\Files_external_onedrive\\Storage\\OneDrive","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":581,"function":"getMetaData","class":"OC\\Files\\Storage\\Common","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/PermissionsMask.php","line":141,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":581,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\PermissionsMask","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":444,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":581,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":115,"function":"getMetaData","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/Cache/Scanner.php","line":153,"function":"getData","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/config/www/nextcloud/lib/private/Files/View.php","line":1490,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":265,"function":"getDirectoryContent","class":"OC\\Files\\View","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php","line":72,"function":"getChildren","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php","line":117,"function":"cacheDirectory","class":"OCA\\DAV\\Connector\\Sabre\\CommentPropertiesPlugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"handleGetProperties","class":"OCA\\DAV\\Connector\\Sabre\\CommentPropertiesPlugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1661,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1646,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/lib/Server.php","line":332,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/config/www/nextcloud/remote.php","line":167,"args":["/config/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 Edg/91.0.864.59","version":"21.0.2.1","id":"60db1c7e27f1d"}

@JohanPotgieter
Copy link

JohanPotgieter commented Oct 23, 2021

@joaopinto14 are you doing to update this for Nextcloud 22? It uses php8 and we can't enable the app running PHP 7.4
Error: App "External Storage: OneDrive" cannot be installed because it is not compatible with this version of the server.

@NL-TCH
Copy link

NL-TCH commented Feb 26, 2022

same, pls add php version 8.0 and 8.1.3

php -f occ app:enable files_external_onedrive
This version of Nextcloud is not compatible with > PHP 8.0.<br/>You are currently running 8.1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants