OnlyOffice compiled with Mobile Edit Back

Thanks to Thomisus for your great work!
Unfortunately, the combination of Nextcloud 28 and Onlyoffice 7.5 is not stable for me. Every few hours I get an error message that the Onlyoffice server cannot be reached. Nextcloud then permanently deactivates the connection to Onlyoffice. I haven’t discovered the cause yet, so I reactivated the old 7.4 container.

Does anybody have the same Problem?

1 Like

Perhaps share the exact error or your logs.

OK, here are my OO Log. In /var/log/apache2/… there isn’t anysthing suspicious…

Flushing stats at  Mon Jan 01 2024 17:54:02 GMT+0000 (Coordinated Universal Time)
{
  counters: {
    'statsd.bad_lines_seen': 0,
    'statsd.packets_received': 0,
    'statsd.metrics_received': 0
  },
  timers: {},
  gauges: { 'statsd.timestamp_lag': 0 },
  timer_data: {},
  counter_rates: {
    'statsd.bad_lines_seen': 0,
    'statsd.packets_received': 0,
    'statsd.metrics_received': 0
  },
  sets: {},
  pctThreshold: [ 90 ]
}

==> /var/log/onlyoffice/documentserver/converter/out.log <==
[2024-01-01T17:55:05.067] [ERROR] [localhost] [conv_check_767709941_docx] [userId] nodeJS - error downloadFile:url=https://myserver.de/nextcloud/index.php/apps/onlyoffice/empty?doc=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY3Rpb24iOiJlbXB0eSJ9.8HlucZ9-HMlxRx9BUrlnjxvYOlhtZKxr-Xfi0xks_j8;attempt=1;code:null;connect:null Error: Error response: statusCode:404; headers:{"date":"Mon, 01 Jan 2024 17:55:05 GMT","server":"Apache/2.4.56 (Debian)","content-length":"289","keep-alive":"timeout=5, max=100","connection":"Keep-Alive","content-type":"text/html; charset=iso-8859-1"};
    at Request.fResponse (/snapshot/server/build/server/Common/sources/utils.js)
    at Request.emit (events.js:400:28)
    at Request.onRequestResponse (/snapshot/server/build/server/Common/node_modules/request/request.js:1066:10)
    at ClientRequest.emit (events.js:400:28)
    at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:127:17)
    at TLSSocket.socketOnData (_http_client.js:515:22)
    at TLSSocket.emit (events.js:400:28)
    at addChunk (internal/streams/readable.js:293:12)
    at readableAddChunk (internal/streams/readable.js:267:9)
    at TLSSocket.Readable.push (internal/streams/readable.js:206:10)
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:188:23)

My nextcloud instance is reacheable via nextcloud.myserver.de an not as seen in the log via myserver.de/nextcloud… but i don’t know how to chance that nor that i put in this wrong adress anywhere.

Whats also wired… this error occurs every day between 18:30-18:50 UTC

There’s something misconfigured… maybe reverse proxy?
clicking nextcloud.myserver.de shows roundcube login.

ssl certificate shows

webmail.my-server.de
www.webmail.my-server.de

Hi @thomisus ! Would that be possible to ask you to compile back the latest OO version 8.0?

1 Like

Sure, will be ready tomorrow.
I see major change in postgres in changelog ( from 12 to 16 ), backup your data just in case something goes wrong.

https://hub.docker.com/r/thomisus/onlyoffice-documentserver-unlimited/tags

Updated images to 8.0.0

7 Likes

Thanks for all this great work @thomisus

Do you have a magical tutorial to explain how you compile this docker ? In case you are bored to do it one day ^^
Last time i check, Onlyoffice was very poor in documentation for this

4 Likes

is anyone facing problem with editing documents on iphone with onlyoffice

newer version 8.0.1 is out
please provide
changelog:

8.0.1

Fixes

Document Editor

  • Fix crash when clicking comment inside a math equation (DocumentServer#2556)
  • Fix crash when using the Insert caption feature with the Include chapter
    number option
  • Fix crash when inserting a copied image using Ctrl
  • Fix a problem with rendering collaboration highlight
  • Fix an issue with highlighting searching results in some DOCX files
  • Fix display of highlighting a comment added to RTL text
  • Fix text label for Table of Contents in the RTL UI
  • Fix an issue with shaping text with different direction (RTL and LTR)
  • Improve the calculation of the cursor position in case when it is between
    text with different directions (RTL and LTR)
  • Fix an issue with correction of a text selection when passing through
    a complex field
  • Fix an issue with calculating the current cursor position while selecting
    elements in table
  • Fix selection for the hidden part of complex fields
  • Fix an issue with selection draw and cursor positioning in complex fields
  • Fix position of diacritics when typing in Arabic
  • Hide non-printing characters in header/footer label
  • Decrease the height of the header/footer label

Spreadsheet Editor

  • Fix stopping work of the editor when exporting some XLSX files to
    PNG/JPEG
  • Fix display of the DBNum1 number format when opening some XLSX files
  • Fix appearing artifacts when inserting an image via Drag-n-Drop and moving it
  • Fix saving the current sheet only when exporting a work book to PNG/JPEG
  • Fix display of the #REF! error when adding the VLOOKUP formula with
    an argument which is a reference to another file

Presentation Editor

Forms

  • Fix crash when expanding the Date field in the forms edited in third-party
    editors
  • Fix closing a drop-down list in some PDF forms with the Turn on screen
    reader support option enabled
  • Change the default date-time format for a DatePicker form

PDF Editor

  • Fix crash when opening some DjVU files
  • Fix annotations offset when exporting to PDF
  • Fix the color of the worksheet borders with the Light interface theme

Security

  • Fixed the vulnerability in ‘PIVOTVIEW::loadContent’ method when converting
    XLS to XLSX
  • Fixed the vulnerability in ‘GlobalsSubstream::UpdateXti()’ method when
    converting XLS to XLSX
  • Fixed the vulnerability in ‘ChartSheetSubstream::recalc’ method when
    converting XLS to XLSX
  • Fixed the vulnerability which leads to buffer overflow when converting
    ODP to PPTX
  • Fixed the vulnerability which allows adding a third party file to a document
    while converting HTML to DOCX
  • Fixed the ability to execute the PowerShell commands when converting
    DOC to PDF

Convert

  • Fixed files corruption after converting some ODT files to DOCX
  • Fixed adding the excess 'Default Extension=“docxf” parameter when converting
    DOCXF to DOCX
  • Fixed display of a date as a number when opening some XLS files
  • Fixed losing contents of the cell with an added comment after exporting to ODS
  • Fixed files corruption after converting some DOC files to DOCX
  • Fixed document appearance in another editors after export some DOCX files
  • Fixed data loss when converting some DOC to DOCX (DocumentServer#2588)
  • Fixed stopping work of some XLS to CSV conversion
  • Fixed files corruption after converting some ODS files to XLSX
  • Fixed data loss on opening some TXT files
  • Fixed files corruption after converting some XLSB files to XLSX

Mobile

  • Fix stopping work of the editor if “document”.“info” is missing in
    the initialization config
  • Fix appearing the keyboard when opening a document in the Reader Mode
  • Fix an issue with selection bounds in the Reader mode
  • Fix text scale in charts for Reader mode
  • Improve the table view in Reader mode
  • Improve the view of table and paragraph in Reader mode
  • Fix display of the toolbar when scrolling a document in the Reader mode
  • Fix the search results position in the RTL UI
  • Fix work of handwriting input in the form fields
  • Fix work of OFORM to PDF conversion

In the next few hours. :wink:

2 Likes
docker pull ghcr.io/thomisus/onlyoffice-documentserver-unlimited:latest
or
docker pull thomisus/onlyoffice-documentserver-unlimited:latest
or
docker pull ghcr.io/thomisus/onlyoffice-documentserver-unlimited:8.0.1
or
docker pull thomisus/onlyoffice-documentserver-unlimited:8.0.1

Package onlyoffice-documentserver-unlimited · GitHub

1 Like

Perfect, working great, thanks

Can you make this patch as a regular install instead of docked? I tried with my install and it only let me edit text files, couldn’t even open doc files.
This is excellent and I can tell would work, but my install isnt done by docker

is anyone facing problem with nextcloud app to edit excel files on iphone?

You might be interested by our build (Debian package): OnlyOffice server with no limits (2023) .

It’s a bit outdated right now though.

I guess one of these days we will release something newer.

What do you mean?

The debian package is here

https://github.com/thomisus/server/releases

If you need mobile apps working you have to manually run

sed -i 's/isSupportEditFeature=function(){return!1}/isSupportEditFeature=function(){return 1}/g'  /var/www/onlyoffice/documentserver/web-apps/apps/*/mobile/dist/js/app.js;

In the docker version this is done automatically.

1 Like

Sorry @thomisus

This post is so docker-centric that I wasn’t aware that you also published debian packages.

@adriangibanelbtactic Hi Adrian, no need to excuse. My work is based on your excellent guide :slight_smile:
I was replying to @Lobo_s_Designs :wink:

I think that sometimes people should start to read git repositories and diffs and try to understand what’s going on and what they are going to install :slight_smile:

BTW, I’ll continue to provide builds for new releases as long there’s interest. Maybe in the future I will provide my semi-automatic build script ( at the moment is not well commented and clean )

Best regards.

4 Likes

Gonna try to deploy the docker in my unraid server to use with nextcloud soon. Just wanted to say thanks!