Comments (60)
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.
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.
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.
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.
@LinneyS - Please help on this issue - is cause massive problems
from onlyoffice-nextcloud.
It does work after copying 9.0.0 js folder as @Nikos-Mennecy pointed out
on your server :
1 grab the 9.0 relaeasewget https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.0.0/onlyoffice.tar.gz2 expend
tar -xf onlyoffice.tar.gz3 copy js folder to where it should be
sudo cp -R onlyoffice/js/ /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/onlyoffice/js4 change ownership
sudo chown -R www-data:www-data /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/onlyoffice/js5 cleanup a bit
rm -rf onlyoffice onlyoffice.tar.gz6 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.
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 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.
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.gz2 expend
tar -xf onlyoffice.tar.gz3 copy js folder to where it should be
sudo cp -R onlyoffice/js/ /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/onlyoffice/js4 change ownership
sudo chown -R www-data:www-data /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/custom_apps/onlyoffice/js5 cleanup a bit
rm -rf onlyoffice onlyoffice.tar.gz6 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.
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.
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.
Urgently withdraw version 9.1.0! Stopped our office work.
from onlyoffice-nextcloud.
9.1.2 work for me.
from onlyoffice-nextcloud.
Version 9.1.2 should resolve this issue. If it does not, please let us know.
from onlyoffice-nextcloud.
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.
Just updating to 9.1.2 worked for me. Thanks @LinneyS
from onlyoffice-nextcloud.
Thanks for releasing a fast patch release! 9.1.2
fixes this issue on my NC instance.
from onlyoffice-nextcloud.
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.
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.
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.
Same problem after upgrade to 9.1.0
We've reverted to 8.2.4 in the meantime.
from onlyoffice-nextcloud.
Some problem here
from onlyoffice-nextcloud.
Downgrade to the app version 9.0.0 fixed the issue for now.
from onlyoffice-nextcloud.
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:
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.
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.
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.
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.
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.
Same here!
from onlyoffice-nextcloud.
I unfortunately am experiencing the same issue...
from onlyoffice-nextcloud.
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.
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.
@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.
@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.
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.
@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.
Same problem here. OnlyOffice is down after the latest upgrade.
from onlyoffice-nextcloud.
same problem for me too
from onlyoffice-nextcloud.
same issue :
from onlyoffice-nextcloud.
same issue here...
can't get it to work even with the tips above
from onlyoffice-nextcloud.
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.
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.
Onlyoffice 7.10 is also affected
from onlyoffice-nextcloud.
just installed v9.1.2 from the release page and can confirm that it works, thx.
from onlyoffice-nextcloud.
No, not here. Having same issue with v9.1.2
from onlyoffice-nextcloud.
@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.
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.
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.
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.
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.
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.
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.
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.
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.
fixed by:
- disable onlyoffice addon in nextcloud
- remove onlyoffice addon in nextcloud
- "sudo mysql nextcloud" on nextcloud server
- "update oc_appconfig set configValue='' where appid='onlyoffice' and configKey='DocumentServerUrl';" to remove the url
- sudo apache2ctl reload
- sudo restart php-fpm
- add onlyoffice addon and configure it again
from onlyoffice-nextcloud.
Version 9.1.2 should resolve this issue. If it does not, please let us know.
Thanks , working Fine now
from onlyoffice-nextcloud.
@LinneyS - Please help on this issue - is cause massive problems
V9.1.2 fixed my issue. Thanks @LinneyS !
from onlyoffice-nextcloud.
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.
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.
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.
Anybody knows when the docker is updated?
from onlyoffice-nextcloud.
Related Issues (20)
- Open app full screen HOT 1
- Problem when specifying the IP address of the OnlyOffice Docs Server HOT 2
- Version History in shared view HOT 3
- Trouble Previewing XLSX Sheets Tabs on Mobile in Integrating OnlyOffice with Nextcloud
- impossible to configure the app HOT 8
- Extension seems to break opening Office files on Mobile Apps HOT 1
- OnlyOffice Connector only accepts ether DNS or local Ip address only. Can't use one for the other or we'll recieve an 403 Forbidden error HOT 2
- OnlyOffice Document Editor (web) doesnβt resume auto-save after being offline HOT 2
- Mail merge from Nextcloud contacts HOT 1
- Size of onlyoffice editor embed is scrolling - you can scroll the document editor ribbons out of the screen HOT 7
- After Upgrade to 7.10 Nextcloud not connected to onlyoffice server HOT 2
- PHP Error after upgrading to 9.1.2 HOT 1
- After Upgrade to 9.1.2 from 9.0.0 error in log ""Could not find resource onlyoffice/js/desktop.js" HOT 13
- Cannot edit/open documents (only download) via shared URL after upgrade to 9.1.2 HOT 9
- Support for Nextcloud 29 HOT 1
- can't save saettings of nextcloud client HOT 13
- Can't integrate in Nextcloud 28
- Nextcloud App settings can not be saved HOT 2
- ONLYOFFICE is currently not available 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 onlyoffice-nextcloud.