Comments (12)
Thanks for the bug report, we'll investigate.
from richdocuments.
Here is more logs about same problem:
Debug no app in context getDiscovery(): Getting discovery.xml from the cache.
2016-07-15T07:20:41+00:00
Warning richdocuments Starting a session failed. Reason: File with id "85816" has not been found. 2016-07-15T07:20:40+00:00
Error PHP Undefined index: fileid at /apps/richdocuments/controller/documentcontroller.php#185 2016-07-15T07:20:40+00:00
Error PHP Undefined index: mimetype at /apps/richdocuments/controller/documentcontroller.php#183 2016-07-15T07:20:40+00:00
Error PHP Undefined index: mimetype at /apps/richdocuments/controller/documentcontroller.php#182 2016-07-15T07:20:40+00:00
Error PHP Undefined index: mimetype at /apps/richdocuments/controller/documentcontroller.php#181 2016-07-15T07:20:40+00:00
Debug no app in context getDiscovery(): Getting discovery.xml from the cache. 2016-07-15T07:20:40+00:00
Error PHP Undefined offset: 0 at /apps/richdocuments/lib/storage.php#81 2016-07-15T07:20:40+00:00
from richdocuments.
I also have the same problem, any news?
from richdocuments.
More info on client side:
TypeError: document.path is undefined
https://owncloud/apps/richdocuments/js/documents.js?v=3d153d42095c93d3f71fda0fa591e95b
Line 45
Happens with documents that are on shared external storage.
from richdocuments.
Same here, problem with excel files on external storage.
I get this to:
Error index Exception: {"Exception":"Exception","Message":"Invalid file path.","Code":0,"Trace":"#0 /srv/www/htdocs/owncloud/apps/richdocuments/controller/documentcontroller.php(391): OCA\Richdocuments\Db\Wopi->getPathForToken('107', '0', 'o62fYF2BowHTU52...')\n#1 [internal function]: OCA\Richdocuments\Controller\DocumentController->wopiCheckFileInfo('107')\n#2 /srv/www/htdocs/owncloud/lib/private/appframework/http/dispatcher.php(159): call_user_func_array(Array, Array)\n#3 /srv/www/htdocs/owncloud/lib/private/appframework/http/dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Richdocuments\Controller\DocumentController), 'wopiCheckFileIn...')\n#4 /srv/www/htdocs/owncloud/lib/private/appframework/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Richdocuments\Controller\DocumentController), 'wopiCheckFileIn...')\n#5 /srv/www/htdocs/owncloud/lib/private/appframework/routing/routeactionhandler.php(45): OC\AppFramework\App::main('DocumentControl...', 'wopiCheckFileIn...', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#6 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#7 /srv/www/htdocs/owncloud/lib/private/route/router.php(291): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#8 /srv/www/htdocs/owncloud/lib/base.php(853): OC\Route\Router->match('/apps/richdocum...')\n#9 /srv/www/htdocs/owncloud/index.php(39): OC::handleRequest()\n#10 {main}","File":"/srv/www/htdocs/owncloud/apps/richdocuments/lib/db/wopi.php","Line":128} 2016-08-09T13:21:45+00:00
Error PHP Undefined index: dir at /srv/www/htdocs/owncloud/apps/richdocuments/controller/documentcontroller.php#258
PS: i updated the CODE to 8.2.7 , all others things works.
Tnx.
from richdocuments.
This was fixed 24 days ago in 45d76a1
Are you sure that you are using latest version of richdocuments with this fix ?
from richdocuments.
@pranavk it fixed for me external storage issue but there is still same issue when external storage is shared.
PS. I have also configured shared folder:
'share_folder' => '/SHARED',
So basically I have mounted external storage as admin user and shared it with some groups but users in this group are unable to open files in this share with the error of my previous post.
from richdocuments.
I have also the same error. All local files working.
only the files on the external storage (smb/cifs) can´t be open.
WOPI::CheckFileInfo is missing JSON payload
wsd-00026-0032 2:08:27.683001 [ client_ws_0025 ] ERR Invalid fileinfo for URI [https://$myserver/apps/richdocuments/wopi/files/366?access_token=uHsLALFu40o3EpBcCtCYfYPlAoRRWCMu&permission=edit].| DocumentBroker.cpp:281
wsd-00026-0032 2:08:27.683026 [ client_ws_0025 ] ERR Failed to load document with URI [https://myserver/apps/richdocuments/wopi/files/366?access_token=uHsLALFu40o3EpBcCtCYfYPlAoRRWCMu&permission=edit].| DocumentBroker.cpp:493
wsd-00026-0032 2:08:27.683076 [ client_ws_0025 ] ERR Error in client request handler: Failed to load document with URI [https://myserver/apps/richdocuments/wopi/files/366?access_token=uHsLALFu40o3EpBcCtCYfYPlAoRRWCMu&permission=edit].| LOOLWSD.cpp:966
from richdocuments.
same problem here
could this issue be caused by session credentials for smb?
from richdocuments.
Experiencing a similar issue in Openshift when the storage is mounted via glusterfs (and the relevant files are shared, this does not happen 100% of the times though):
{"reqId":"2o2UZ17AQzSNLES3WC5T","level":3,"time":"2019-03-06T23:22:18+00:00","remoteAddr":"x.x.x.x","user":"foo","app":"PHP","method":"GET","url":"/apps/richdocuments/settings/check","message":"Undefined offset: 0 at /var/www/html/lib/private/AppFramework/Http.php#150","userAgent":"Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36","version":"13.0.12.1"}
from richdocuments.
For reference:
Here is the workaround for the problem.
from richdocuments.
Is there an update on this? I am still having this issue with the latest version.
from richdocuments.
Related Issues (20)
- [QA] 4.0.0 Testplan HOT 3
- richdocuments 4.0.0 release HOT 16
- Need help with merging lib/Controller/DocumentController.php HOT 1
- After upgrading owncloud to 10.12.2 asking me for Enterprise license HOT 6
- v10.13.0.4 Some files have failed the integrity check: - ransomware_protection - FILE_MISSING - CHANGELOG.md
- [QA] federated sharing with new web UI fails HOT 2
- 'Office' view does not work any more with 4.0.0 HOT 8
- Upload button overlaps with document icon HOT 2
- [QA] german translation "Neue Kalkulationstabelle" overlaps with icon
- loading document exception: Access denied, 403 HOT 8
- Release richdocuments 4.1.0 HOT 3
- [QA] richdocuments 4.1.0 Testplan HOT 1
- Richdocuments complains about incorrect zotero api key HOT 8
- Zotero private key is exposed in the web UI HOT 4
- Documents not loading since 4.1.0 HOT 9
- Release richdocuments 4.2.0 HOT 2
- Richdocuments 4.2.0 Testplan
- [QA] 4.2.0 Testplan HOT 3
- Clipboard access issue HOT 2
- Wrong redirection on Owncloud to open document HOT 1
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 richdocuments.