Giter VIP home page Giter VIP logo

Comments (60)

t3cneo avatar t3cneo commented on June 1, 2024 9

It does work after copying 9.0.0 js folder as @Nikos-Mennecy pointed out

on your server :

1 grab the 9.0 relaease

wget https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.0.0/onlyoffice.tar.gz

2 expend

tar -xf onlyoffice.tar.gz

3 copy js folder to where it should be

sudo cp -R onlyoffice/js/ /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/onlyoffice/js

4 change ownership

sudo chown -R www-data:www-data /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/onlyoffice/js

5 cleanup a bit

rm -rf onlyoffice onlyoffice.tar.gz

6 go to NC webUI > admin settings > OnlyOffice and hit save

Edit :
I guess the new gitignore file is the explanation...

from onlyoffice-nextcloud.

kiwiradler avatar kiwiradler commented on June 1, 2024 3

Wouldn't it be better to release an update to v.9.1.1 or whatever instead of finding workarounds? Not everyone is able to do all this stuff on his server...

from onlyoffice-nextcloud.

HB9HIL avatar HB9HIL commented on June 1, 2024 2

Wouldn't it be better to release an update to v.9.1.1 or whatever instead of finding workarounds? Not everyone is able to do all this stuff on his server...

absolutely! hotfix release please

from onlyoffice-nextcloud.

jdaviescoates avatar jdaviescoates commented on June 1, 2024 2

I find it completely bonkers that such an important and widely used plugin that so many people and organisations depend on was not properly tested before being released πŸ€¦β€β™‚οΈ

from onlyoffice-nextcloud.

vagner-dias avatar vagner-dias commented on June 1, 2024 2

@LinneyS - Please help on this issue - is cause massive problems

from onlyoffice-nextcloud.

stepcellwolf avatar stepcellwolf commented on June 1, 2024 2

It does work after copying 9.0.0 js folder as @Nikos-Mennecy pointed out
on your server :
1 grab the 9.0 relaease

wget https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.0.0/onlyoffice.tar.gz

2 expend

tar -xf onlyoffice.tar.gz

3 copy js folder to where it should be

sudo cp -R onlyoffice/js/ /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/onlyoffice/js

4 change ownership

sudo chown -R www-data:www-data /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/onlyoffice/js

5 cleanup a bit

rm -rf onlyoffice onlyoffice.tar.gz

6 go to NC webUI > admin settings > OnlyOffice and hit save
Edit : I guess the new gitignore file is the explanation...

Using this option it saves the onlyoffice configuration, but when I try to open a document, it keeps trying forever.... Direct tests on the onlyoffice server work normally. Only the integration has a problem following the plugin update.

This is the only solution that worked for me in yunohost and manually install the app to /var/www/nextcloud/apps/ and chown -R nextcloud:www-data onlyoffice and enable it via admin in NC settings and it should work.

from onlyoffice-nextcloud.

alyfilipe avatar alyfilipe commented on June 1, 2024 1

A problem like this for a stable package is quite complicated. We will have to act by migrating the solution to another platform, as the company is completely at a standstill.

from onlyoffice-nextcloud.

arnowelzel avatar arnowelzel commented on June 1, 2024 1

@arnowelzel something seems off, because I cleared the browser data (even tried on incognito mode) and I can see the previous values every time. Those values are clearly empty in the db: https://i.imgur.com/KzWHEIn.jpeg

Strange - for me that worked fine and I have no idea from where else OnlyOffice should get the value from.

Maybe restart php-fpm just to be sure, that also the PHP opcache is flushed?

from onlyoffice-nextcloud.

alyfilipe avatar alyfilipe commented on June 1, 2024 1

It does work after copying 9.0.0 js folder as @Nikos-Mennecy pointed out

on your server :

1 grab the 9.0 relaease

wget https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.0.0/onlyoffice.tar.gz

2 expend

tar -xf onlyoffice.tar.gz

3 copy js folder to where it should be

sudo cp -R onlyoffice/js/ /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/onlyoffice/js

4 change ownership

sudo chown -R www-data:www-data /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/onlyoffice/js

5 cleanup a bit

rm -rf onlyoffice onlyoffice.tar.gz

6 go to NC webUI > admin settings > OnlyOffice and hit save

Edit : I guess the new gitignore file is the explanation...

Using this option it saves the onlyoffice configuration, but when I try to open a document, it keeps trying forever....
Direct tests on the onlyoffice server work normally. Only the integration has a problem following the plugin update.

from onlyoffice-nextcloud.

arnowelzel avatar arnowelzel commented on June 1, 2024 1

Wouldn't it be better to release an update to v.9.1.1 or whatever instead of finding workarounds? Not everyone is able to do all this stuff on his server...

Of course - but until then it might help people what to do to get their installation back running.

from onlyoffice-nextcloud.

JacobMembrino avatar JacobMembrino commented on June 1, 2024 1

same issue :

Luckily all you have to do is uninstall the new version of the connector app and install the last release. The commands to do so are above

from onlyoffice-nextcloud.

Leprazoriy avatar Leprazoriy commented on June 1, 2024 1

Urgently withdraw version 9.1.0! Stopped our office work.

from onlyoffice-nextcloud.

Leprazoriy avatar Leprazoriy commented on June 1, 2024 1

9.1.2 work for me.

from onlyoffice-nextcloud.

SergeyKorneyev avatar SergeyKorneyev commented on June 1, 2024 1

Version 9.1.2 should resolve this issue. If it does not, please let us know.

from onlyoffice-nextcloud.

arnowelzel avatar arnowelzel commented on June 1, 2024 1

It seems, 9.1.2 fixes the issue and also brings back the missing js folder (at least on my test instances). You may have to completely disable and remove your existing installation first (maybe remove the folder apps/onlyoffice from your Nextcloud installation top be sure) and then reinstall 9.1.2 as a new app. If configuration fails, try removing the URL setting, so OnlyOffice allows you reconfigure the URL of the backend in the administrative settings:

update oc_appconfig set configValue='' where appid='onlyoffice' and configKey='DocumentServerUrl';

Thanks for the quick response to @LinneyS.

from onlyoffice-nextcloud.

jdaviescoates avatar jdaviescoates commented on June 1, 2024 1

Just updating to 9.1.2 worked for me. Thanks @LinneyS

from onlyoffice-nextcloud.

Petersoj avatar Petersoj commented on June 1, 2024 1

Thanks for releasing a fast patch release! 9.1.2 fixes this issue on my NC instance.

from onlyoffice-nextcloud.

arnowelzel avatar arnowelzel commented on June 1, 2024 1

I created a pull request yesterday for the fix. Hopefully this will be sorted out with the next update. It seems only to affect widgets not the regular application.

Edit: sorry - wrong issue... I was confusing this with log errors about "desktop.js".

from onlyoffice-nextcloud.

JacobMembrino avatar JacobMembrino commented on June 1, 2024

Having this issue as well. I noticed that restoring the lost files (the entire JS directory under nextcloud/apps/onlyoffice/js) from a backup does not work. These files seem to be generated at install in previous versions but this no longer works.

edit: using a fresh install of onlyoffice 8.0.1-31 and nextcloud 28.0.4 (just updated) with the 9.0.1 plugin.

from onlyoffice-nextcloud.

Nikos-Mennecy avatar Nikos-Mennecy commented on June 1, 2024

Same problem After Upgrade to 9.1.0
Nextcloud 28.0.4
PHP 8.3.4

In the Nextcloud logs :

Could not find resource onlyoffice/js/onlyoffice-listener.js to load
Could not find resource onlyoffice/js/onlyoffice-viewer.js to load
Could not find resource onlyoffice/js/onlyoffice-template.js to load
Could not find resource onlyoffice/js/onlyoffice-main.js to load
Could not find resource onlyoffice/js/onlyoffice-desktop.js to load
Could not find resource onlyoffice/js/desktop.js to load

Since version 9.1.0 the js folder (/apps/onlyoffice/js) has disappeared.

Seems to work good copying the js directory from version 9.0.0 to 9.1.0 ;+)

Thanks !

from onlyoffice-nextcloud.

blcetux avatar blcetux commented on June 1, 2024

Same problem after upgrade to 9.1.0

We've reverted to 8.2.4 in the meantime.

from onlyoffice-nextcloud.

alyfilipe avatar alyfilipe commented on June 1, 2024

Some problem here

from onlyoffice-nextcloud.

waja avatar waja commented on June 1, 2024

Downgrade to the app version 9.0.0 fixed the issue for now.

from onlyoffice-nextcloud.

arnowelzel avatar arnowelzel commented on June 1, 2024

Same issue here. Something went wrong with the 9.1.0 release. But even after downgrading to 9.0.0 it does not work any longer :-(

In fact I can not use OnlyOffice any longer at all! I completely removed the app and reinstalled it - now it only complains that the document server is not available, but this is not correct - it worked fine with version 9.0.0. But somehow the upgrade to 9.1.0 changed something, that even 9.0.0 does not work anymore.

In addition the OnlyOffice settings also don't work any longer. What ever I enter to "ONLYOFFICE Docs address" is just ignored. The whole form is completely without any function:

image

I tried everything including restoring the last known working version from my backup - it does not work any longer.


Got it working again.

I removed the setting for the document server URL in the Nextcloud appconfig table:

update oc_appconfig set configValue='' where appid='onlyoffice' and configKey='DocumentServerUrl';

Then the administration part of OnlyOffice worked again - I could now enter the old URL again and OnlyOffice also realized that the server is available.

Considering what files 9.1.0 tries to install it seems that this is not an correct build but just a plain 1:1 copy of the GitHub repository. The required folder js is missing but other files got included which are not needed:

.gitmodules
package.json
ruleset.xml
webpack.js

from onlyoffice-nextcloud.

JacobMembrino avatar JacobMembrino commented on June 1, 2024

I tried everything including restoring the last known working version from my backup - it does not work any longer.

Run these commands:

$ sudo -u www-data php occ app:disable onlyoffice
$ sudo -u www-data php occ app:remove onlyoffice
$ sudo -u www-data php occ maintenance:repair

Then install the last release, unpack it to the /apps/ directory of nextcloud, and change its ownership to your web hosting user (www-data).

I am getting the "Error connection: Error occurred in the document service: Error while downloading the document file to be converted."' error but I can get the plugin to almost work at least.

from onlyoffice-nextcloud.

arnowelzel avatar arnowelzel commented on June 1, 2024

I am getting the "Error connection: Error occurred in the document service: Error while downloading the document file to be converted."' error but I can get the plugin to almost work at least.

See my last comment edit - I had to remove the URL setting from the appconfig table in Nextcloud, but after that I was able to configure OnlyOffice again.

from onlyoffice-nextcloud.

JacobMembrino avatar JacobMembrino commented on June 1, 2024

See my last comment edit - I had to remove the URL setting from the appconfig table in Nextcloud, but after that I was able to configure OnlyOffice again.

Any thoughts on the Error connection: Error occurred in the document service: Error while downloading the document file to be converted error?

from onlyoffice-nextcloud.

arnowelzel avatar arnowelzel commented on June 1, 2024

See my last comment edit - I had to remove the URL setting from the appconfig table in Nextcloud, but after that I was able to configure OnlyOffice again.

Any thoughts on the Error connection: Error occurred in the document service: Error while downloading the document file to be converted error?

Sorry - no. I don't have this error here. Neither with DOCX nor with ODT or other formats. But there is an older issue which mentions this: #895

from onlyoffice-nextcloud.

stepcellwolf avatar stepcellwolf commented on June 1, 2024

Same here!

from onlyoffice-nextcloud.

a0g83agbc84 avatar a0g83agbc84 commented on June 1, 2024

I unfortunately am experiencing the same issue...

from onlyoffice-nextcloud.

a0g83agbc84 avatar a0g83agbc84 commented on June 1, 2024

This guy seems to be onto something but not even clearing the values from the db empties them from the onlyoffice configuration page, not even after deleting and reinstalling the app: #956 (comment)

from onlyoffice-nextcloud.

arnowelzel avatar arnowelzel commented on June 1, 2024

This guy seems to be onto something but not even clearing the values from the db empties them from the onlyoffice configuration page, not even after deleting and reinstalling the app: #956 (comment)

The database table oc_appconfig is the only place where the app stores the configuration. If removing the value there does not work, then maybe you need to clear the browser cache, so it has to load the value from the DB.

from onlyoffice-nextcloud.

a0g83agbc84 avatar a0g83agbc84 commented on June 1, 2024

@arnowelzel something seems off, because I cleared the browser data (even tried on incognito mode) and I can see the previous values every time. Those values are clearly empty in the db: https://i.imgur.com/KzWHEIn.jpeg

from onlyoffice-nextcloud.

a0g83agbc84 avatar a0g83agbc84 commented on June 1, 2024

@arnowelzel something seems off, because I cleared the browser data (even tried on incognito mode) and I can see the previous values every time. Those values are clearly empty in the db: https://i.imgur.com/KzWHEIn.jpeg

Strange - for me that worked fine and I have no idea from where else OnlyOffice should get the value from.

Maybe restart php-fpm just to be sure, that also the PHP opcache is flushed?

I use docker compose with the nextcloud instance, its db, nginx, onlyoffice and redit. I take it down and then back up -d. Strange.

from onlyoffice-nextcloud.

JacobMembrino avatar JacobMembrino commented on June 1, 2024

Any thoughts on the Error connection: Error occurred in the document service: Error while downloading the document file to be converted error?

If anyone experiences this error, I was able to fix it after adding this line to my config file in nextcloud:

'onlyoffice' => array (
    'verify_peer_off' => false,
  ),

And rebooting the server.

from onlyoffice-nextcloud.

a0g83agbc84 avatar a0g83agbc84 commented on June 1, 2024

@arnowelzel the fact that onlyoffice kept the configuration even though I was deleting the values from the db remains a mystery, but at least I could fix my setup. I could have saved myself almost 1 hour or trial and error if I had gotten enough sleep last night and used the correct custom_apps directory :) Thanks for your help.

from onlyoffice-nextcloud.

vagner-dias avatar vagner-dias commented on June 1, 2024

Same problem here. OnlyOffice is down after the latest upgrade.

from onlyoffice-nextcloud.

Nordlead75 avatar Nordlead75 commented on June 1, 2024

same problem for me too

from onlyoffice-nextcloud.

masterwishx avatar masterwishx commented on June 1, 2024

same issue :

image

from onlyoffice-nextcloud.

HB9HIL avatar HB9HIL commented on June 1, 2024

same issue here...
can't get it to work even with the tips above

from onlyoffice-nextcloud.

jdaviescoates avatar jdaviescoates commented on June 1, 2024

Luckily all you have to do is uninstall the new version of the connector app and install the last release. The commands to do so are above

For many people that is evidently not all you have to do.

An fixed update to this needs to be released urgently.

from onlyoffice-nextcloud.

DragDrop69 avatar DragDrop69 commented on June 1, 2024

same thing.. Nextcloud Snap can't work with Onlyoffice Docs Server aftel last update to 9.1.0

Onlyoffice app version - 9.1.0
Nextcloud Snap version 27.1.7

maybe give me manual about downgrade Onlyoffice app in Nextcloud Snap

from onlyoffice-nextcloud.

Scriptkiddi avatar Scriptkiddi commented on June 1, 2024

Onlyoffice 7.10 is also affected

from onlyoffice-nextcloud.

phreaker0 avatar phreaker0 commented on June 1, 2024

just installed v9.1.2 from the release page and can confirm that it works, thx.

from onlyoffice-nextcloud.

mmallejac avatar mmallejac commented on June 1, 2024

No, not here. Having same issue with v9.1.2

from onlyoffice-nextcloud.

PifPof73 avatar PifPof73 commented on June 1, 2024

@arnowelzel something seems off, because I cleared the browser data (even tried on incognito mode) and I can see the previous values every time. Those values are clearly empty in the db: https://i.imgur.com/KzWHEIn.jpeg

Strange - for me that worked fine and I have no idea from where else OnlyOffice should get the value from.

Maybe restart php-fpm just to be sure, that also the PHP opcache is flushed?

I had the same problem and restarting php-fpm solved it. I could reach the admin page again and type the old value into it. Since than it is running again with Version 9.0.0

from onlyoffice-nextcloud.

PifPof73 avatar PifPof73 commented on June 1, 2024

No, not here. Having same issue with v9.1.2

I think you have to repair the v9.1.0 first - just installing 9.1.2 over it does not worked for me either.
I first downgraded to v9.0.0, deleted the entry in the database (see posts of @arnowelzel ), restarted the php-fpm service and got anything running.
After that, I could upgrade from v9.0.0 -> v9.1.2 and still got everything up and running.

from onlyoffice-nextcloud.

stepcellwolf avatar stepcellwolf commented on June 1, 2024

Even with the latest version, 9.1.2 having a issue:
Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 7.5.1.23)

from onlyoffice-nextcloud.

W3XTR1337 avatar W3XTR1337 commented on June 1, 2024

Upgrade to 9.1.2 didn't work. Running cloud 27.1.8 on Ubuntu 20.04. Common settings reappeared and I can change them, but now I have missing area with extensions which OnlyOffice should open and he is still downloading files.
Screenshot 2024-04-09 at 10 54 03

UPD: Forgot about error in logs
"foreach() argument must be of type array|object, null given at /var/snap/nextcloud/41512/nextcloud/extra-apps/onlyoffice/lib/AppConfig.php#1282"

from onlyoffice-nextcloud.

mmallejac avatar mmallejac commented on June 1, 2024

I have reverted to app v9.0.0 and now is ok
https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.0.0/onlyoffice.tar.gz

from onlyoffice-nextcloud.

ostasevych avatar ostasevych commented on June 1, 2024

For me the upgrade from 8.x to 9.1.2 passed without errors and it works fine. Thanks for raising this issue, so I have waited for the fixed update.

from onlyoffice-nextcloud.

rchaconmolero avatar rchaconmolero commented on June 1, 2024

After updating from 9.0.0 to 9.1.2 we got this message.

After uninstalling the app and reinstalling, this message continues to appear. After uninstalling we verified that the nextloud folder does not exist in app folders.

After installing again, we see that the onlyoffice/js folder exists with all the .js files, but the message still appears.

I
,"app":"jsresourceloader","method":"GET","url":"/apps/dashboard/","message":"Could not find resource onlyoffice/js/desktop.js to load

from onlyoffice-nextcloud.

osm-frasch avatar osm-frasch commented on June 1, 2024

We also have the following error message in the Nextcloud log

jsresourceloader
Could not find resource onlyoffice/js/desktop.js to load

We have installed the hotfix.
In general, OnlyOffice is running again. (Nextcloud 28.0.4)

from onlyoffice-nextcloud.

MichaelHeimann avatar MichaelHeimann commented on June 1, 2024

fixed by:

  1. disable onlyoffice addon in nextcloud
  2. remove onlyoffice addon in nextcloud
  3. "sudo mysql nextcloud" on nextcloud server
  4. "update oc_appconfig set configValue='' where appid='onlyoffice' and configKey='DocumentServerUrl';" to remove the url
  5. sudo apache2ctl reload
  6. sudo restart php-fpm
  7. add onlyoffice addon and configure it again

from onlyoffice-nextcloud.

masterwishx avatar masterwishx commented on June 1, 2024

Version 9.1.2 should resolve this issue. If it does not, please let us know.

Thanks , working Fine now

from onlyoffice-nextcloud.

vagner-dias avatar vagner-dias commented on June 1, 2024

@LinneyS - Please help on this issue - is cause massive problems

V9.1.2 fixed my issue. Thanks @LinneyS !

from onlyoffice-nextcloud.

alyfilipe avatar alyfilipe commented on June 1, 2024

For me not function. Save configuration with sucess, but if i try open a document:

Error richdocuments GuzzleHttp\Exception\ConnectException: cURL error 28: Connection timed out after 45001 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) 2024-04-10T02:37:49+00:00
for http://onlyoffice.'masked'.com.br:9980/hosting/discovery at .../guzzlehttp/guzzle/src/Handler/CurlFactory.php line 210

With 9.0.0 plugin and NC version 27.1.3, work fine, but the snap update to 27.1.4 and today to 27.1.8 and now no version works anymore

from onlyoffice-nextcloud.

LinneyS avatar LinneyS commented on June 1, 2024

Thanks to everyone for reporting the problem.
Release 9.1.2 fixes this issue
A separate issue #981 has been created regarding the problem with the desktop file.

from onlyoffice-nextcloud.

joskapista44 avatar joskapista44 commented on June 1, 2024

We also have the following error message in the Nextcloud log

jsresourceloader Could not find resource onlyoffice/js/desktop.js to load

We have installed the hotfix. In general, OnlyOffice is running again. (Nextcloud 28.0.4)

Yes, I still have this in my log. The app works, but I get the error message in my log really often.

from onlyoffice-nextcloud.

stephan1827 avatar stephan1827 commented on June 1, 2024

Anybody knows when the docker is updated?

from onlyoffice-nextcloud.

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.