# Can not create doc, docx and odt

**URL:** <https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025>\
**Category:** Uncategorized\
**Created:** [April 11, 2022, 8:25am UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025 "2022-04-11T08:25:48Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alternativend](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/alternativend/32/387_2.png) [@Alternativend](https://forum.collaboraonline.com/u/Alternativend)\
**Post date:** [April 11, 2022, 8:25am UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/1 "2022-04-11T08:25:48Z")

</div>

Hello community,  
first of all i would like to thank you a lot for Collabora as a product/service we really like to use it here.

Now we have updated our environment it to Nextcloud 23.0.3 and COOLWSD to 21.11.3.6 with Collabora OfficeDev 21.06.26.1 on Debian Bullseye.

Im not able to create new doc, doc or odt files anymore. It looks like this:

 ![collaberr1](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/9bad5041f4ce7a721ab5db1a9afd08f398ab41b7.png)

Is this a bug caused by Nextcloud or Collabora?

Edit:  
Found the issue. I had to switch back to “notebookbar” in the coolwsd.xml, afterwards the documents got opened again as they should and everything is working again normal.

---

<div class="post-metadata">

**Author:** ![bearon](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@bearon](https://forum.collaboraonline.com/u/bearon)\
**Post date:** [April 11, 2022, 12:19pm UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/2 "2022-04-11T12:19:10Z")

</div>

For me it works fine even when `<user_interface> / <mode>` is set to `default` or `classic`.  
It might be worth checking if you see any errors in the browser console if you switch the setting back.

---

<div class="post-metadata">

**Author:** ![Alternativend](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/alternativend/32/387_2.png) [@Alternativend](https://forum.collaboraonline.com/u/Alternativend)\
**Post date:** [April 15, 2022, 5:19pm UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/3 "2022-04-15T17:19:21Z")

</div>

Problem still persists, but only with Firefox. Chromium is fine. For me it also seems that it is only happening with .doc, docx, and .odt files, or so to say with Writer. Calc and Impress seem to be fine.

Here are some screenshots from the console, hope it helps.

 ![Bildschirmfoto_2022-04-15_19-10-44](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/5444c2e33f53e565f4fc207e20f078e7c0653881.jpeg)

---

<div class="post-metadata">

**Author:** ![Alternativend](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/alternativend/32/387_2.png) [@Alternativend](https://forum.collaboraonline.com/u/Alternativend)\
**Post date:** [April 15, 2022, 5:25pm UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/4 "2022-04-15T17:25:55Z")

</div>

![Bildschirmfoto_2022-04-15_19-18-28](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/a7b342b15a58f85ad53588ab1da5dd62f704cde7.png)

---

<div class="post-metadata">

**Author:** ![Alternativend](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/alternativend/32/387_2.png) [@Alternativend](https://forum.collaboraonline.com/u/Alternativend)\
**Post date:** [April 15, 2022, 5:27pm UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/5 "2022-04-15T17:27:55Z")

</div>

![Bildschirmfoto_2022-04-15_19-22-06](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/6db84c7be9e218abb6b2a22a205f35e9b4ea8132.png)

Hope that helps. Sorry for posting again and again, but im only allowed to upload one pic at a time.

I am using a Reverse Proxy (NGINX), separate machine for CODE and Nextcloud 23 with Apache, everything running on Debian Bullseye.

@bearon I could share a link with you to an example file if you would like to debug it with me.

---

<div class="post-metadata">

**Author:** ![Alternativend](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/alternativend/32/387_2.png) [@Alternativend](https://forum.collaboraonline.com/u/Alternativend)\
**Post date:** [April 15, 2022, 5:29pm UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/6 "2022-04-15T17:29:05Z")

</div>

![Bildschirmfoto_2022-04-15_19-22-48](https://europe1.discourse-cdn.com/flex013/uploads/collaboraonline/original/1X/ff18094566e63148a9aed20ca3dbf9cf71fa5ef2.png)

Edit:  
Believe it or not, this “hanging up” does not happen with a public link generated by Nextcloud itself. It only happens when im actually logged in. I have no clue…

---

<div class="post-metadata">

**Author:** ![mmeeks](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/mmeeks/32/371_2.png) [@mmeeks](https://forum.collaboraonline.com/u/mmeeks)\
**Post date:** [April 29, 2022, 5:17pm UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/7 "2022-04-29T17:17:44Z")

</div>

> [@Alternativend](#):
>
> Firefox

Any chance of an account on your box for testing ? if so mail [michael.meeks@collabora.com](mailto:michael.meeks@collabora.com) - thanks ! I’d say use a shared-link, but seemingly that works. Very odd that it is FF specific.

---

<div class="post-metadata">

**Author:** ![mmeeks](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/mmeeks/32/371_2.png) [@mmeeks](https://forum.collaboraonline.com/u/mmeeks)\
**Post date:** [April 30, 2022, 3:29pm UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/8 "2022-04-30T15:29:07Z")

</div>

The hideWizard error is here:

```auto

    _hideWizard: function () {
      this.removeContainer();
      if (app.sectionContainer) {
        app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).removeHighlighters();
        app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).layout()
      }
    },

```

at this point L.CSections.CommentList.name is “comment list” and app.sectionContainer is non-null, but its members sectionContainers.sections is an empty list, sectionsDirty is false and windowSectionList is also []

So looks like rather an under-initialized CanvasSectionsContainer. So - I guess some early start race (?). Stack trace is:

```auto
_hideWizard (https://thanks.de/browser/5e2e1b630/bundle.js:formatted#91674)
   EventListener.handleEvent - presumably setup here:
onAdd (https://thanks.de/browser/5e2e1b630/bundle.js:formatted#91657)
addControl (https://thanks.de/browser/5e2e1b630/bundle.js:formatted#77218)
initializeBasicUI (https://thanks.de/browser/5e2e1b630/bundle.js:formatted#96869)
<anonymous> (https://thanks.de/browser/5e2e1b630/bundle.js:formatted#109808)
<anonymous> (https://thanks.de/browser/5e2e1b630/bundle.js:formatted#109823)
<anonymous> (https://thanks.de/browser/5e2e1b630/bundle.js:formatted#109824)

```

So ultimately from onAdd’s handler getting called for:

```
  window.addEventListener('resize', this._hideWizard.bind(this));
```

---

<div class="post-metadata">

**Author:** ![mmeeks](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/mmeeks/32/371_2.png) [@mmeeks](https://forum.collaboraonline.com/u/mmeeks)\
**Post date:** [April 30, 2022, 3:51pm UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/9 "2022-04-30T15:51:51Z")

</div>

Frustratingly Firefox appears not to have an easy way to override server-delivered JS - so (no doubt) there is another bug underneath this one that may cause some grief but: [Don't try to hide comment section if mobile wizard not enabled. by mmeeks · Pull Request #4712 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/pull/4712) may help as/when it gets in.  
Gokay also has this one which is not merged yet which may help: [Private/gokay/ff improvements by gokaysatir · Pull Request #4711 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/pull/4711)

---

<div class="post-metadata">

**Author:** ![Alternativend](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/alternativend/32/387_2.png) [@Alternativend](https://forum.collaboraonline.com/u/Alternativend)\
**Post date:** [May 2, 2022, 12:42pm UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/10 "2022-05-02T12:42:59Z")

</div>

Thanks for your engagement!  
I will try as soon as it lands!

---

<div class="post-metadata">

**Author:** ![Alternativend](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/alternativend/32/387_2.png) [@Alternativend](https://forum.collaboraonline.com/u/Alternativend)\
**Post date:** [May 18, 2022, 4:16pm UTC](https://forum.collaboraonline.com/t/can-not-create-doc-docx-and-odt/1025/11 "2022-05-18T16:16:05Z")

</div>

I don´t want to shout it out too early, but it seems that the problem is fixed.  
The update to Nextcloud Office 5.0.5 seemed to made the difference.

However… i have opened a few dozen documents without any trouble in Firefox. It is still laggy, but it opens without issues.

Edit:  
Even scrolling is working, but CPU is high and it´s far not as good as it is with Chromium.  
[https://share.firefox.dev/3PFoqwW](https://share.firefox.dev/3PFoqwW)
