-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After Upgrade to 9.1.0 Nextcloud not connected to onlyoffice server #977
Comments
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. |
Same problem After Upgrade to 9.1.0 In the Nextcloud logs : Could not find resource onlyoffice/js/onlyoffice-listener.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 ! |
Same problem after upgrade to 9.1.0 We've reverted to 8.2.4 in the meantime. |
Some problem here |
Downgrade to the app version 9.0.0 fixed the issue for now. |
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:
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
|
Run these commands:
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. |
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 |
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 |
Same here! |
I unfortunately am experiencing the same issue... |
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. |
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 |
@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? |
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 use docker compose with the nextcloud instance, its db, nginx, onlyoffice and redit. I take it |
Using this option it saves the onlyoffice configuration, but when I try to open a document, it keeps trying forever.... |
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... |
If anyone experiences this error, I was able to fix it after adding this line to my config file in nextcloud:
And rebooting the server. |
Of course - but until then it might help people what to do to get their installation back running. |
@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 |
Same problem here. OnlyOffice is down after the latest upgrade. |
same problem for me too |
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 |
same thing.. Nextcloud Snap can't work with Onlyoffice Docs Server aftel last update to 9.1.0 Onlyoffice app version - 9.1.0 maybe give me manual about downgrade Onlyoffice app in Nextcloud Snap |
Onlyoffice 7.10 is also affected |
just installed v9.1.2 from the release page and can confirm that it works, thx. |
No, not here. Having same issue with v9.1.2 |
9.1.2 work for me. |
Version 9.1.2 should resolve this issue. If it does not, please let us know. |
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 |
I think you have to repair the v9.1.0 first - just installing 9.1.2 over it does not worked for me either. |
Even with the latest version, 9.1.2 having a issue: |
I have reverted to app v9.0.0 and now is ok |
It seems, 9.1.2 fixes the issue and also brings back the missing
Thanks for the quick response to @LinneyS. |
Just updating to 9.1.2 worked for me. Thanks @LinneyS |
This is the only solution that worked for me in yunohost and manually install the app to |
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. |
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 |
We also have the following error message in the Nextcloud log jsresourceloader We have installed the hotfix. |
fixed by:
|
Thanks , working Fine now |
Thanks for releasing a fast patch release! |
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 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 |
Thanks to everyone for reporting the problem. |
Yes, I still have this in my log. The app works, but I get the error message in my log really often. |
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". |
Anybody knows when the docker is updated? |
After Upgrade to 9.1.0, Nextcloud not connected to onlyoffice server.
Nextcloud 28.0.4
Onlyoffice 8.0.1
Errors
Could not find resource onlyoffice/js/onlyoffice-template.js to load
{"reqId":"t1ol3FPfmGk44gNOLLZ2",
"level":3,
"time":"2024-04-08T17:34:56+03:00",
"remoteAddr":"172.16.0.20",
"user":"12345",
"app":"jsresourceloader",
"method":"GET",
"url":"/settings/admin/onlyoffice","message":"Could not find resource onlyoffice/js/onlyoffice-template.js to load",
"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
"version":"28.0.4.1",
"data":{"app":"jsresourceloader"},
"id":"661400959c75b"}
The text was updated successfully, but these errors were encountered: