No notebookbar shown in Nextcloud using CODE App and own collabora server

Hello to all!

First of all many thanks for all the work, you have done. This could bee a real alternative for all who love there own data and save them against misuse and hold them in private clouds.

I am testing collabora office and have the following environment:

-(K)ubuntu 20.04.03 with latest updates

  • apache2 2.4.41-4ubuntu3.9
  • mariadb-server 1:10.3.32-0ubuntu0.20.04.1
  • libapache2-mod-php7.4 7.4.3-4ubuntu2.8
  • kernel 5.4.0-100-generic #113-Ubuntu SMP Thu Feb 3 18:43:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Nextcloud Hub II (23.0.2)
  • coolwsd 21.11.2.2-1 amd64
  • collaboraoffice 21.06.17-1

In this environment i did the following:

  1. Installing the App Nextcloud Office and Collabora Online - Built-in CODE Server
    21.11.103
    Result: The Built-in CODE Server runs perfectly out of the box. The new notebookbar was shown while working with ODT-documents.
    After reboot the Built-in CODE Server didn’t work anymore, even though the apps are activated. After deacticating both apps and reactivating them and tried to switch to own server (whichs falls back to the build in server) every thing work fine, but with showing the notebookbar. Instead the old office menu was shown.
    The behavior continued after every reboot. The notebookbar was nevermore displayed.

  2. Installation the oft the own collabora server with help of https://sdk.collaboraonline.com/docs/installation/index.htmlBuilt-in CODE Server
    Result: After correct configuring (without ssl for testing only) and deactivating the Built-in CODE Server App and switching to own server everything runs perfectly out of the box. The new notebookbar was shown while working with ODT-documents.
    After reboot the coolwsd is running:

root@server:~# systemctl status coolwsd
● coolwsd.service - Collabora Online WebSocket Daemon
Loaded: loaded (/lib/systemd/system/coolwsd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-02-22 16:54:28 CET; 2min 19s ago
Main PID: 1253 (coolwsd)
Tasks: 7 (limit: 9258)
Memory: 492.5M
CGroup: /system.slice/coolwsd.service
├─1253 /usr/bin/coolwsd --version --o:sys_template_path=/opt/cool/systemplate --o:child_root_path=/opt/cool/child-roots --o:file_server_root_path=/usr/share/coolwsd
├─1580 /usr/bin/coolforkit --losubpath=lo --systemplate=/opt/cool/systemplate --lotemplate=/opt/collaboraoffice --childroot=/opt/cool/child-roots/ --clientport=9980 --masterpo>
└─1662 /usr/bin/coolforkit --losubpath=lo --systemplate=/opt/cool/systemplate --lotemplate=/opt/collaboraoffice --childroot=/opt/cool/child-roots/ --clientport=9980 --masterpo>

Feb 22 16:54:32 server coolwsd[1253]: wsd-01253-01579 2022-02-22 16:54:32.136647 +0100 [ prisoner_poll ] DBG #17 resetting thread affinity while in transit (was 0x7f754e5eb700)| ./ne>
Feb 22 16:54:32 server coolwsd[1253]: wsd-01253-01579 2022-02-22 16:54:32.136654 +0100 [ prisoner_poll ] TRC Calling addNewChild in disposition’s move thing to add to NewChildren| ws>
Feb 22 16:54:32 server coolwsd[1253]: wsd-01253-01579 2022-02-22 16:54:32.136661 +0100 [ prisoner_poll ] TRC Adding one child to NewChildren| wsd/COOLWSD.cpp:516
Feb 22 16:54:32 server coolwsd[1253]: wsd-01253-01579 2022-02-22 16:54:32.136668 +0100 [ prisoner_poll ] INF Have 1 spare child after adding [1662].| wsd/COOLWSD.cpp:519
Feb 22 16:54:32 server coolwsd[1253]: wsd-01253-01579 2022-02-22 16:54:32.136675 +0100 [ prisoner_poll ] TRC Notifying NewChildrenCV| wsd/COOLWSD.cpp:523
Feb 22 16:54:32 server coolwsd[1253]: wsd-01253-01579 2022-02-22 16:54:32.136688 +0100 [ prisoner_poll ] TRC Removing socket #17 (at 2 of 3) from prisoner_poll| net/Socket.cpp:487
Feb 22 16:54:32 server coolwsd[1253]: wsd-01253-01579 2022-02-22 16:54:32.136694 +0100 [ prisoner_poll ] TRC ppoll start, timeoutMicroS: 5000000 size 2| net/Socket.cpp:355
Feb 22 16:54:32 server coolwsd[1253]: wsd-01253-01253 2022-02-22 16:54:32.136694 +0100 [ coolwsd ] TRC Have 1 new children.| wsd/COOLWSD.cpp:4289
Feb 22 16:54:32 server coolwsd[1253]: wsd-01253-01253 2022-02-22 16:54:32.136718 +0100 [ coolwsd ] INF WSD initialization complete: setting log-level to [warning] as configured.| wsd>
Feb 22 16:54:32 server coolwsd[1253]: Ready to accept connections on port 9980.

but no document is shown.

When i deactivate the Nextcloud Office app and activate it again and switch to preferences office and click on own server, everything works fine, but without notebookbar.

This is the user_interface part of my coolswsd.xml:

    <user_interface>
      <mode type="string" desc="Controls the user interface style. The 'default' means: Take the value from ui_defaults, or decide for one of classic or notebookbar (default|classic|notebookbar)" default="default">default</mode>
      <use_integration_theme desc="Use theme from the integrator" type="bool" default="true">true</use_integration_theme>
    </user_interface>

Setting the to notebookbar does change nothing. The notebookbar is not displayed.

Every hint is welcome :slight_smile:

Greets KarlT

Hi @KarlT thanks for the kind words : )

so change it to notebookbar should take effect:

    <user_interface>
      <mode type="string" desc="Controls the user interface style. The 'default' means: Take the value from ui_defaults, or decide for one of classic or notebookbar (default|classic|notebookbar)" default="default">notebookbar</mode>
      <use_integration_theme desc="Use theme from the integrator" type="bool" default="true">true</use_integration_theme>
    </user_interface>

if not… then that is indeed strange. But it’s also worth mentioning that as for that version NC Notebookbar mode is still not ready (it will be very soon :wink: ) but meanwhile you can switch off use_integration_theme by setting it to false

Hi Pedro,

who also has to thank (but would probably never do) are all the public in countries around the world … I think Germany is one of those countries. The use a Nextcloud installation in there goverment network. Reasonably they should try to use Collabora to.


Greets
KarlT