Onlyoffice 8.0.1 testing

Hi guys,

I’m proud to present the new Onlyoffice app, a web document editor that works with Nextcloud.

Installation is possible using the Software Center by adding my repository, check out the repo webpage for instructions.

Installation on CLI:

add-module ghcr.io/mrmarkuz/onlyoffice:1.0.0-beta.2

After the installation go to the app settings and set a hostname.

Onlyoffice works best using a Letsenrypt certificate but it’s also possible to disable the certificate check, see documentation.

Please help testing and share your feedback and your ideas. Thanks in advance!


12 Likes

Happy Simon Cowell GIF by America's Got Talent

1 Like

now we have options, a user could either choose onlyoffice or the other option

2 Likes

Beta or already Stable?

Beta, it needs testing.

4 Likes

Nice shot @mrmarkuz!
I was trying to do the same thing, but your work is absolutely better than mine! :sweat_smile:.

Just a question: why did you choose not to define the volumes the container needs?

In this way, shouldn’t the volumes be defined anoymously - so you should find them duplicated and reinitalized - any time you restart the module?
I’m afraid this behavior will “eat” disk space without retain the data…

3 Likes

Big thanks for testing!

Because I thought it’s not necessary to save any data as Onlyoffice is just used by Nextcloud.

If retaining the data makes sense in any case, I’ll provide an update including volumes.
In NS7 Onlyoffice didn’t backup files or the database.

Thanks, the hardest part for me was the request header for traefik that’s needed to download documents.

2 Likes

Hello @nrauso great attempting to work kn build NS8 apps. Practise makes perfect, and the more you look into the more you learn.

Installation works, and after reading this, I am a bit confused. A default Nextcloud install does not have OnlyOffice integration app installed by default. Doe you means this Nextcloud app has to be installed within NextCloud? If so, this is an issue for Nextcloud will state that the OnlyOffice integration app makes the server unstable?

A bit lost here.

Thanks!

Yes.

Just with onlyoffice or with any new nextcloud app? Have you checked if the app is enabled disregarding the contradictory warning?

1 Like

Thanks for testing!
It’s the same setup as it was with NS7.
While in NS7 this was done automatically by the package, now one needs to install the ONLYOFFICE app in Nextcloud and configure it manually.

I think it’s just a little NC bug, when you reload the site, the errors are away…

Yes and yes. The Nextcloud OnlyOffice integration app within NextCloud now works. And the NS8 module of OnlyOffice works perfectly with all defaults in place!!

Magic!!

1 Like

What would be the ‘limitations’ of this version of OnlyOffice in terms of usage and concurrent users or any other ‘limitations’ please?

TIA!

We are using the community edition:

We are limited to 20 connections (like 1 user opens 20 docs or 20 users open 1 doc), don’t have good branding options and can’t edit documents from mobile devices but view and support only via “helpcenter”.

2 Likes

Hi,

Would changing the UI interface require manual changes like described here? If so, could this be an ‘advanced option’ to prevent loss during future updates?

TIA

I think that’s something “weird” on it…
I mean, this is the Volume path state I have at very first module execution:

$ ll /home/onlyoffice1/.local/share/containers/storage/volumes/
total 0
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 246c958ca516f43f664ad836f72bc96e557c89d4a7732a42eb99b54f85a2755e
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 4ace48b2164ea345b6651f07c428966b6947ded4e22f3de87f10e80843c3fd0b
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 8100046aac34786ae7513881284f16e217bca517567f6d79c24f10c14aff8d9c
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 888224e485f2a7e8ebc0911fac1156028bfa3ab6352e3812429efeb7ec3eabef
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 9be2a5382b4882adbae0c838e9123b7ea27d4eb532cd825791b226a9a3a254c0
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 e1b638a2e9846b7e423084d8bf3172db7757bf2b1608f1211cce1899be469275
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 e5c756f101ebe674f300fbaf6b4d542fae0c640b3aa44b68dcadfbe44d4f9e31

$ podman unshare du -sh /home/onlyoffice1/.local/share/containers/storage/volumes
778M	/home/onlyoffice1/.local/share/containers/storage/volumes

and this is what I have after a couple of “Save” in “Settings” menu:

]$ ll /home/onlyoffice1/.local/share/containers/storage/volumes/
total 0
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 0bcf64a23b824e6d2b23aacf338ab9e37732e96088ae5d0fd6e2f6d407a1683e
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 1c7f184b407cbad6a16d726f6db4b74fa953839139d28342730221b566851179
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 246c958ca516f43f664ad836f72bc96e557c89d4a7732a42eb99b54f85a2755e
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 25872c5361b12326097662e1f48ecdb8a4a0b898779f7a43bf930b1fccebf118
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 2691e8ad86e86d045fa196a8cf5ecf145848e7e0df7e56b82de3262f474e45a5
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 3f84280beae678378a3b6ce18ccb9d0e9046d8dffef05204fcb7417f526ffc35
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 4ace48b2164ea345b6651f07c428966b6947ded4e22f3de87f10e80843c3fd0b
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 4c85690af95224ea50ed065f057c4b48198ca915994785bbbedcb53028e4a61c
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 57a899c179788905621cf68b8b0af057df767da7162b0ad3541098927cff3489
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 6bbe9cc201ff8f02a39503b21affa203b0360e815fad7f37f1f6433075918c41
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 77bd1670c76858c3a467de4f46343b8590e9d6e30bd311e295e3ca2f289cb1f0
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 8100046aac34786ae7513881284f16e217bca517567f6d79c24f10c14aff8d9c
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 8178e3bb7f1da87f8c95e5ae8c4dabd5f53600740229e44828e2098089c12071
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 863ab9590991015d3816ae757360ff7d5f24b89a1c41495a8b4acb29cf83d4f8
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 888224e485f2a7e8ebc0911fac1156028bfa3ab6352e3812429efeb7ec3eabef
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 9be2a5382b4882adbae0c838e9123b7ea27d4eb532cd825791b226a9a3a254c0
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 e1b638a2e9846b7e423084d8bf3172db7757bf2b1608f1211cce1899be469275
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 e38c32b29d8c81ddded6a76ce00099ba3744b69dcb1861670423010fd96a81ec
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 e5c756f101ebe674f300fbaf6b4d542fae0c640b3aa44b68dcadfbe44d4f9e31
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 ee05975c1c80c64e0e885efc69213ec1116e1537f3d60c53bbbf394242889f28
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 fd889c4c3555cc2beefd0d9ab8be57a956dadd15d8860f5e82277456e4c41dc4

$ podman unshare du -sh /home/onlyoffice1/.local/share/containers/storage/volumes
2.4G	/home/onlyoffice1/.local/share/containers/storage/volumes

and this after a machine reboot:

$ ll /home/onlyoffice1/.local/share/containers/storage/volumes/
total 0
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 0bcf64a23b824e6d2b23aacf338ab9e37732e96088ae5d0fd6e2f6d407a1683e
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 1c7f184b407cbad6a16d726f6db4b74fa953839139d28342730221b566851179
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 246c958ca516f43f664ad836f72bc96e557c89d4a7732a42eb99b54f85a2755e
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 25872c5361b12326097662e1f48ecdb8a4a0b898779f7a43bf930b1fccebf118
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 2691e8ad86e86d045fa196a8cf5ecf145848e7e0df7e56b82de3262f474e45a5
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 3f84280beae678378a3b6ce18ccb9d0e9046d8dffef05204fcb7417f526ffc35
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 4ace48b2164ea345b6651f07c428966b6947ded4e22f3de87f10e80843c3fd0b
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 4c85690af95224ea50ed065f057c4b48198ca915994785bbbedcb53028e4a61c
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 57a899c179788905621cf68b8b0af057df767da7162b0ad3541098927cff3489
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 14:00 6262a3c73ff531e61b162293a61c426f5d930543313dcbacff3a687827839834
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 6bbe9cc201ff8f02a39503b21affa203b0360e815fad7f37f1f6433075918c41
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 77bd1670c76858c3a467de4f46343b8590e9d6e30bd311e295e3ca2f289cb1f0
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 8100046aac34786ae7513881284f16e217bca517567f6d79c24f10c14aff8d9c
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 8178e3bb7f1da87f8c95e5ae8c4dabd5f53600740229e44828e2098089c12071
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 863ab9590991015d3816ae757360ff7d5f24b89a1c41495a8b4acb29cf83d4f8
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 888224e485f2a7e8ebc0911fac1156028bfa3ab6352e3812429efeb7ec3eabef
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 14:00 9357a1f969f56cc96bfafbc198d943eb21c0dd3d212a3047c135c53125078ad2
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 9be2a5382b4882adbae0c838e9123b7ea27d4eb532cd825791b226a9a3a254c0
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 14:00 a36e34e20fa966b97b662ea2ad46508574771e008b36fd7262f34b7b614e80da
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 14:00 b4dd7a313bfa26dfa5e16b33dfa86f2ab27b4da3293e9d22dd2f81b4064a523f
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 e1b638a2e9846b7e423084d8bf3172db7757bf2b1608f1211cce1899be469275
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 e38c32b29d8c81ddded6a76ce00099ba3744b69dcb1861670423010fd96a81ec
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:54 e5c756f101ebe674f300fbaf6b4d542fae0c640b3aa44b68dcadfbe44d4f9e31
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 14:00 e7223070c534fe558f931c12f55cb9bff5fad7e06079a21ba60a886b77dbe60e
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 14:00 eab3dab62c81db3c7c56d8865f1f30c1ef455fccd25d888bb0bce48b95f53e03
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:57 ee05975c1c80c64e0e885efc69213ec1116e1537f3d60c53bbbf394242889f28
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 14:00 fa4ba72cc19ed02d0dd64428b684912aac0aef1ef94dab5bed3ace33c4b12abf
drwx------. 3 onlyoffice1 onlyoffice1 19 Apr 18 13:58 fd889c4c3555cc2beefd0d9ab8be57a956dadd15d8860f5e82277456e4c41dc4

$ podman unshare du -sh /home/onlyoffice1/.local/share/containers/storage/volumes
2.7G	/home/onlyoffice1/.local/share/containers/storage/volumes

Is it correct??

1 Like

aaaand…
What am I doing wrong?? :sweat_smile:
I’m using a SSL self signed cert, so I added:

~]# runagent -m onlyoffice1 cat environment | grep USE_UNAUTHORIZED_STORAGE
USE_UNAUTHORIZED_STORAGE=true

restarted the app:

runagent -m onlyoffice1 systemctl --user restart onlyoffice-app

installed and configured the Onlyoffice connector on Nextcloud (and the connection seems ok):

but when I click on an office file I got this:
onlyoffice02

I found no relevant logs, this is what happens when I click on file:

Apr 18 14:18:24 rl1.nr.nethserver.net traefik[1869]: 95.252.101.248 - - [18/Apr/2024:14:18:24 +0000] "GET /core/img/favicon.ico HTTP/2.0" 200 720 "-" "-" 1623 "nextcloud1-https@file" "http://127.0.0.1:20012" 1ms
Apr 18 14:18:24 rl1.nr.nethserver.net nextcloud-app[2220]: 127.0.0.1 -  18/Apr/2024:14:18:24 +0000 "GET /index.php" 200
Apr 18 14:18:24 rl1.nr.nethserver.net traefik[1869]: 95.252.101.248 - - [18/Apr/2024:14:18:24 +0000] "GET /apps/onlyoffice/206?filePath=%2Ftest.docx&inframe=true HTTP/2.0" 200 8000 "-" "-" 1621 "nextcloud1-https@file" "http://127.0.0.1:20012" 51ms
Apr 18 14:18:24 rl1.nr.nethserver.net nextcloud-app[2220]: 127.0.0.1 -  18/Apr/2024:14:18:24 +0000 "POST /index.php" 200
Apr 18 14:18:24 rl1.nr.nethserver.net traefik[1869]: 95.252.101.248 - - [18/Apr/2024:14:18:24 +0000] "POST /apps/text/session/sync HTTP/2.0" 200 578 "-" "-" 1622 "nextcloud1-https@file" "http://127.0.0.1:20012" 38ms
Apr 18 14:18:24 rl1.nr.nethserver.net traefik[1869]: 95.252.101.248 - - [18/Apr/2024:14:18:24 +0000] "GET /custom_apps/onlyoffice/css/editor.css?v=818da2c8-0 HTTP/2.0" 200 1075 "-" "-" 1624 "nextcloud1-https@file" "http://127.0.0.1:20012" 1ms
Apr 18 14:18:24 rl1.nr.nethserver.net traefik[1869]: 95.252.101.248 - - [18/Apr/2024:14:18:24 +0000] "GET /apps/theming/css/default.css?v=34e90de1-0 HTTP/2.0" 200 1036 "-" "-" 1625 "nextcloud1-https@file" "http://127.0.0.1:20012" 1ms
Apr 18 14:18:24 rl1.nr.nethserver.net traefik[1869]: 95.252.101.248 - - [18/Apr/2024:14:18:24 +0000] "GET /custom_apps/onlyoffice/js/onlyoffice-editor.js?v=44f13936-0 HTTP/2.0" 200 3779 "-" "-" 1626 "nextcloud1-https@file" "http://127.0.0.1:20012" 1ms

What am I missing?? :thinking:

2 Likes

Thanks for testing!

Yeah, the volume creation is crazy. I checked other apps but onlyoffice is the only one that recreates all volumes on every restart.
So I added the following to the service:

ExecStartPre=/usr/bin/podman volume prune --force

This way the volumes get deleted on restart. I updated the app to provide the fix.

Sorry, I forgot to migrate that part of the old documentation in the wiki so I updated the github README.
One needs to allow the self signed certificate of the onlyoffice site in the browser.

1 Like

Seems to work fine.

1 Like

Wishlist:

  • Have an option in (Advanced) settings. To set the interface language. Question is if it possible as an individual user setting opposed to system wide? (DONE!)
1 Like