Comments (7)
Same for me:
[PHP] Error: call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\Files\Storage\Home' does not have a method 'checkPath' at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php#506
GET /core/preview?fileId=13180&c=dbf8-1-5908acdca2b36&x=250&y=250&forceIcon=0
from xx.xx.xx.xx by xx@xx at 2019-08-21T09:26:30+00:00
{"reqId":"VtZSqr94E20E0wRvHvvF","level":3,"time":"2019-08-21T09:26:30+00:00","remoteAddr":"xx.xx.xx.xx","user":"xx@xx","app":"PHP","method":"GET","url":"/core/preview?fileId=13180&c=dbf8-1-5908acdca2b36&x=250&y=250&forceIcon=0","message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\Files\Storage\Home' does not have a method 'checkPath' at /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php#506","userAgent":"Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0","version":"16.0.3.0","id":"5d5d1dde6b0a6"}
from guests.
Got the same here, from somebody using the nextcloud client:
{"reqId":"GCs2Lnf2wFkeaGOxBMez","level":3,"time":"2019-08-21T11:57:26+00:00","remoteAddr":"XXX","user":"guest_XXX","app":"PHP","method":"PROPFIND","url":"\/remote.php\/dav\/files\/guest_XXX\/","message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\\Files\\Storage\\Home' does not have a method 'checkPath' at \/data\/nextcloud_16\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php#506","userAgent":"Mozilla\/5.0 (Macintosh) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"16.0.4.1"}'
from guests.
Yes, we got the same issues with Guests:
- Nextcloud 16.0.4.1
- Guest App 1.1.1
- Created guest account in sharing menu
- Guest is using Chrome
- Guest's App-Whitelist: files_trashbin, files_versions, files_sharing, files_texteditor, activity, firstrunwizard, gallery, onlyoffice, text, groupfolders
{"reqId":"Hj2FPp9Vb2dDcBWgQavh","level":3,"time":"2019-09-11T07:57:34+00:00","remoteAddr":"XXX","user":"XXX"app":"PHP","method":"GET","url":"\/apps\/files\/?dir=\/XXX=Test.xlsx","message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\\Files\\Storage\\Home' does not have a method 'checkPath' at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php#506","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko\/20100101 Firefox\/69.0","version":"16.0.4.1"}
And guests can't create onlyoffice files in their home path (1G of space allowed):
{"reqId":"WncrOugXeczKooYcXXHm","level":3,"time":"2019-09-11T08:08:28+00:00","remoteAddr":"XXXX","user":"[email protected]","app":"index","method":"POST","url":"\/apps\/onlyoffice\/ajax\/new","message":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create path","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/apps\/onlyoffice\/controller\/editorcontroller.php","line":241,"function":"newFile","class":"OC\\Files\\Node\\Folder","type":"->","args":["CreateDoc.docx"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"create","class":"OCA\\Onlyoffice\\Controller\\EditorController","type":"->","args":["CreateDoc.docx","\/",null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Onlyoffice\\Controller\\EditorController"},"create"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":126,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Onlyoffice\\Controller\\EditorController"},"create"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Onlyoffice\\Controller\\EditorController","create",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"onlyoffice.editor.create"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"onlyoffice.editor.create"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"onlyoffice.editor.create"}]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":975,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/onlyoffice\/ajax\/new"]},{"file":"\/var\/www\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Folder.php","Line":185,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko\/20100101 Firefox\/69.0","version":"16.0.4.1"}
from guests.
And guests can't create onlyoffice files in their home path (1G of space allowed):
As far as I know, it is intended that guests can only write in shared folders. See here.
from guests.
As far as I know, it is intended that guests can only write in shared folders. See here.
Accepted!
But another issue we have is that guests can't open existing documents with onlyoffice if the document wasn't opened by a "real user":
{"reqId":"lCmyPMm72Or0Yb7w2BDb","level":3,"time":"2019-09-11T15:15:27+00:00","remoteAddr":"XXXX","user":"XXXX","app":"PHP","method":"GET","url":"\/apps\/onlyoffice\XXXX%2FTest.xlsx","message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'OC\\Files\\Storage\\Home' does not have a method 'checkPath' at \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php#506","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko\/20100101 Firefox\/69.0","version":"16.0.4.1"}
After a "real user" opens the doc with in onlyoffice the guest is able to open it as well.
from guests.
Solved my issues with guests and onlyoffice. Because guests seems not working well with groups folders, group permissions and onlyoffice, I changed the sharing for the guests:
- removed group folder
- removed extended permissions
- use "normal" shares and permissions for guests now
The error message 'OC\\Files\\Storage\\Home' does not have a method 'checkPath'
still exists.
from guests.
Fixed in #184
from guests.
Related Issues (20)
- Guests needs application system folders
- Guests App will not be compatible with NC29 in its current state
- `occ guests:list` execute return type exception
- Guests have no access to shared folders in NC28 HOT 5
- Guests cannot invite other guests inside their circle to planned meetings
- Unable to create and add files and folders HOT 12
- App restrictions in the admin UI don't wrap
- Deleted files do not show up in trashbin of guest users
- Guest users cannot upload files in their root folders even if they have quota HOT 1
- Shared Calenders for Guest Users HOT 1
- Custom permissions to disallow downloads doesn't allow files to be opened in readers
- Guests w/o password to permit auto-login via a link
- Convert existing users to guest users HOT 1
- Missing index for guest display name lookup
- when share_folder parameter is set in config.php, guests are unable to see incoming shares as the share_folder define cannot be created HOT 2
- How to add guests to Collectives HOT 3
- Sharing folders will sent email share accept invites, which are causing issues
- Not able to create or assign user to Guests group HOT 2
- New guest transfer feature : "conversion" notion is better (IMO) than "transfer" notion + quota remains zero HOT 9
- After transfer process, the new regular user still has a "0" quota
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guests.