nextcloud / documentserver_community

Document server for onlyoffice
https://apps.nextcloud.com/apps/documentserver_community
131 stars 29 forks source link

Fatal process OOM in Zone # Received signal 4 ILL_ILLOPN, no sync back to document #109

Closed berho closed 3 months ago

berho commented 4 years ago

Steps to reproduce

don't know. started once after editing a document

Expected behaviour

changes write back to file in nextcloud

Actual behaviour

changes only saved on documten_server cache

Server configuration detail

Operating system: Linux 4.4.0-ui20007.037-uiabi1-infong-amd64 #1 SMP Debian 4.4.208-1~ui80+2 (2020-01-07) x86_64

Webserver: Apache (cgi-fcgi)

Database: mysql 5.7.28

PHP version:

7.3.16 Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, mbstring, standard, PDO, mysqlnd, pdo_sqlite, Phar, posix, Reflection, imap, shmop, SimpleXML, soap, sodium, pdo_mysql, exif, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, mysqli, cgi-fcgi, Zend OPcache

Nextcloud version: 18.0.3 - 18.0.3.0

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: official download

Signing status Array ( )
List of activated apps ``` Enabled: - accessibility: 1.4.0 - activity: 2.11.0 - analytics: 2.1.1 - apporder: 0.9.0 - bookmarks: 2.3.4 - bruteforcesettings: 1.6.0 - calendar: 2.0.2 - cloud_federation_api: 1.1.0 - comments: 1.8.0 - contacts: 3.2.0 - dav: 1.14.0 - documentserver_community: 0.1.5 - drawio: 0.9.5 - encryption: 2.6.0 - extract: 1.2.3 - federatedfilesharing: 1.8.0 - federation: 1.8.0 - files: 1.13.1 - files_downloadactivity: 1.7.0 - files_external: 1.9.0 - files_markdown: 2.2.0 - files_mindmap: 0.0.20 - files_pdfviewer: 1.7.0 - files_rightclick: 0.15.2 - files_sharing: 1.10.1 - files_trashbin: 1.8.0 - files_versions: 1.11.0 - files_videoplayer: 1.7.0 - firstrunwizard: 2.7.0 - gpxedit: 0.0.13 - gpxmotion: 0.0.11 - gpxpod: 4.2.1 - hsts: 0.4.0 - issuetemplate: 0.6.0 - logreader: 2.3.0 - lookup_server_connector: 1.6.0 - maps: 0.1.6 - nextcloud_announcements: 1.7.0 - notifications: 2.6.0 - oauth2: 1.6.0 - onlyoffice: 4.1.4 - passman: 2.3.5 - password_policy: 1.8.0 - photos: 1.0.0 - privacy: 1.2.0 - provisioning_api: 1.8.0 - recommendations: 0.6.0 - sensorlogger: 0.1.2 - serverinfo: 1.8.0 - settings: 1.0.0 - sharebymail: 1.8.0 - spreed: 8.0.7 - support: 1.1.0 - survey_client: 1.6.0 - suspicious_login: 3.1.0 - systemtags: 1.8.0 - text: 2.0.0 - theming: 1.9.0 - twofactor_backupcodes: 1.7.0 - twofactor_nextcloud_notification: 2.3.0 - twofactor_totp: 4.1.3 - updatenotification: 1.8.0 - viewer: 1.2.0 - workflowengine: 2.0.0 Disabled: - admin_audit - user_ldap ```
Configuration (config/config.php) ``` { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "nc.my.dom" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "skeletondirectory": "\/homepages\/19\/mypath\/htdocs\/CloudData\/skeleton", "overwriteprotocol": "https", "dbtype": "mysql", "version": "18.0.3.0", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "default_language": "de", "default_locale": "de_AT", "installed": true, "mail_smtpmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "maintenance": false, "theme": "", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "onlyoffice": { "jwt_header": "OpenOfficeProleb" }, "app_install_overwrite": [ "issuetemplate", "files_texteditor", "hsts" ], "loglevel": 2, "overwrite.cli.url": "https:\/\/nc.my.dom" } ```

Are you using external storage, if yes which one: local

Are you using encryption: 1

Are you using an external user-backend, if yes which one: Webdav

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

Operating system:

Logs

Nextcloud log ``` OCA\DocumentServer\Document\DocumentConversionException: # # Fatal process OOM in Zone # Received signal 4 ILL_ILLOPN 2aeee662a6b9 ==== C stack trace =============================== [0x2aeee662b902] [0x2aeee810d890] [0x2aeee662a6b9] [0x2aeee5e4614d] [0x2aeee5e4634c] [0x2aeee6297b88] [0x2aeee5e7eaa4] [0x2aeee619e5c3] [0x2aeee618dcd3] [0x2aeee618dfaf] [0x2aeee618e759] [0x2aeee618f644] [0x2aeee618fa6c] [0x2aeee61905c9] [0x2aeee6196e26] [0x2aeee61937aa] [0x2aeee6193e18] [0x2aeee6194a53] [0x2aeee61a96f7] [0x2aeee6191aaf] [0x2aeee619201f] [0x2aeee6197f55] [0x2aeee619d97c] [0x2aeee619e435] [0x2aeee618dcd3] [0x2aeee618dfaf] [0x2aeee618e759] [0x2aeee618f644] [0x2aeee618fa6c] [0x2aeee61905c9] [0x2aeee6196e26] [0x2aeee61937aa] [0x2aeee6194a53] [0x2aeee619300f] [0x2aeee618db9b] [0x2aeee618dfaf] [0x2aeee618e759] [0x2aeee618f644] [0x2aeee618fa6c] [0x2aeee61905c9] [0x2aeee6196e26] [0x2aeee61937aa] [0x2aeee6194a53] [0x2aeee61a96f7] [0x2aeee6191aaf] [0x2aeee619201f] [0x2aeee6197f55] [0x2aeee619d97c] [0x2aeee619e435] [0x2aeee618dcd3] [0x2aeee618dfaf] [0x2aeee618e759] [0x2aeee618f644] [0x2aeee618fa6c] [0x2aeee61905c9] [0x2aeee6196e26] [0x2aeee61937aa] [0x2aeee6194a53] [0x2aeee619300f] [0x2aeee618db9b] [0x2aeee618dfaf] [0x2aeee618e759] [end of stack trace] Illegal instruction /homepages/19/mypath/htdocs/nc/apps/documentserver_community/lib/DocumentConverter.php - line 123: OCA\DocumentServer\Document\ConverterBinary->run("/tmp/oc_tmp_g3gWja-.xml", null) /homepages/19/mypath/htdocs/nc/apps/documentserver_community/lib/DocumentConverter.php - line 78: OCA\DocumentServer\DocumentConverter->runCommand(OCA\Document ... {}) /homepages/19/mypath/htdocs/nc/apps/documentserver_community/lib/Document/DocumentStore.php - line 151: OCA\DocumentServer\DocumentConverter->saveChanges("*** sensiti ... *", [ "78;AgAAAD ... "], "/homepages/ ... x", "docx") /homepages/19/mypath/htdocs/nc/apps/documentserver_community/lib/LocalAppData.php - line 100: OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document\{closure}("*** sensiti ... *") /homepages/19/mypath/htdocs/nc/apps/documentserver_community/lib/Document/DocumentStore.php - line 164: OCA\DocumentServer\LocalAppData->getReadWriteLocalPath(OC\Files\Sim ... {}, Closure {}) /homepages/19/mypath/htdocs/nc/apps/documentserver_community/lib/Document/SaveHandler.php - line 56: OCA\DocumentServer\Document\DocumentStore->saveChanges(2894415886, [ OCA\Docume ... }]) /homepages/19/mypath/htdocs/nc/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 69: OCA\DocumentServer\Document\SaveHandler->flushChanges(2894415886) /homepages/19/mypath/htdocs/nc/lib/public/BackgroundJob/Job.php - line 79: OCA\DocumentServer\BackgroundJob\Cleanup->run(null) /homepages/19/mypath/htdocs/nc/cron.php - line 148: OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {}) : : (!!a lot!! of entries like this) ```
cdjenkins commented 4 years ago

I just received this error. I just changed from ajax-based background task to cron-based. On the first cron job, I saw something similar in my log. I followed the instructions here: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#cron

Rello commented 3 years ago

Hello, did you make any progress here? I have the same issue on 2 instances

berho commented 3 years ago

Sadly I have to tell that I stopped using documten_server app. I use a docker container instead...

tmijieux commented 3 years ago

I have clues to say this is probably related to this https://github.com/nextcloud/documentserver_community/issues/204 , i will update if i find more information about this EDIT: (26 March 2021) see my conclusion at the other thread mentioned.

github-actions[bot] commented 5 months ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!

Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.

github-actions[bot] commented 3 months ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.