Code Monkey home page Code Monkey logo

Comments (12)

timar avatar timar commented on August 18, 2024

Thanks for the bug report, we'll investigate.

from richdocuments.

marxxx avatar marxxx commented on August 18, 2024

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.

billtzim avatar billtzim commented on August 18, 2024

I also have the same problem, any news?

from richdocuments.

marxxx avatar marxxx commented on August 18, 2024

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.

ppetre avatar ppetre commented on August 18, 2024

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.

pranavk avatar pranavk commented on August 18, 2024

This was fixed 24 days ago in 45d76a1

Are you sure that you are using latest version of richdocuments with this fix ?

from richdocuments.

marxxx avatar marxxx commented on August 18, 2024

@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.

zebinho26 avatar zebinho26 commented on August 18, 2024

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.

aHVzY2g avatar aHVzY2g commented on August 18, 2024

same problem here
could this issue be caused by session credentials for smb?

from richdocuments.

averi avatar averi commented on August 18, 2024

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.

santifa avatar santifa commented on August 18, 2024

For reference:
Here is the workaround for the problem.

from richdocuments.

TotallyNotASecret avatar TotallyNotASecret commented on August 18, 2024

Is there an update on this? I am still having this issue with the latest version.

from richdocuments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.