Try the fastest and simplest way to install ONLYOFFICE

Missing locale JSON file, cannot edit documents.

Any issues about docs (uploading, editing and etc.)

Missing locale JSON file, cannot edit documents.

Postby jakobssystems » Thu May 18, 2017 9:46 pm

My setup:

Router with port-forwarding 443, 80 to Nextcloud (192.168.0.171, FQDN: cloud.XXX.de) Host in DMZ.
On Nextcloud Host Apache Reverse Proxy to Onlyoffice Document Editor (IP 192.168.0.170, FQDN: office.XXX.de)

When trying to open a document, the editor is shown and I see OnlyOffice loading and loading and loading. After a while I get this error message:

Image

/var/log/onlyoffice/nginx.error.log throws this error: No such file or directory.

2017/05/18 20:42:25 [error] 26729#26729: *259 open() "/var/www/onlyoffice/documentserver/web-apps/apps/documenteditor/main/locale/de_DE.json" failed (2: No such file or directory), client: 192.168.0.171, server: , request: "GET /2017-05-12-13-36/web-apps/apps/documenteditor/main/locale/de_DE.json HTTP/1.1", host: "192.168.0.170", referrer: "https://office.XXX.de/2017-05-12-13-36/web-apps/apps/documenteditor/main/index.html?_dc=2017-05-12-13-36&lang=de_DE&customer=ONLYOFFICE&frameEditorId=iframeEditor"

What I am missing?
jakobssystems
 
Posts: 20
Joined: Mon May 01, 2017 7:09 am

Re: Missing locale JSON file, cannot edit documents.

Postby jakobssystems » Thu May 18, 2017 10:06 pm

in addition /var/log/onlyoffice/documentserver/docservice/out.log shows:

[native code]
a@https://office.XXX.de/2017-05-12-13-36/web-apps/apps/documenteditor/main/app.js:8:191424
dispatch@https://office.XXX.de/2017-05-12-13-36/web-apps/apps/documenteditor/main/app.js:8:70195
handle@https://office.XXX.de/2017-05-12-13-36/web-apps/apps/documenteditor/main/app.js:8:68096
[2017-05-18 20:26:48.563] [ERROR] nodeJS - changesError: docId = 3046811495129840 Error: TypeError: undefined is not an object (evaluating 'this.mode.isEdit') Script: https://office.XXX.de/2017-05-12-13-36/ ... ain/app.js Line: 8:344014 userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4 platform: MacIntel StackTrace: show@https://office.XXX.de/2017-05-12-13-36/web-apps/apps/documenteditor/main/app.js:8:344014
showMenu@https://office.XXX.de/2017-05-12-13-36/web-apps/apps/documenteditor/main/app.js:8:353513
https://office.XXX.de/2017-05-12-13-36/ ... :8:1331844
jakobssystems
 
Posts: 20
Joined: Mon May 01, 2017 7:09 am

Re: Missing locale JSON file, cannot edit documents.

Postby Maxim » Fri May 19, 2017 10:39 am

Hello jakobssystems!
You need to configure URLs correctly
Accessible URL from Document Server.png
Accessible URL from Document Server.png (21.12 KiB) Viewed 523 times
Maxim
 
Posts: 1179
Joined: Tue Oct 11, 2016 2:34 pm

Re: Missing locale JSON file, cannot edit documents.

Postby jakobssystems » Fri May 19, 2017 7:29 pm

Maxim wrote:Hello jakobssystems!
You need to configure URLs correctly
Accessible URL from Document Server.png


oh it was much more stupid than that... in /etc/network/interfaces on OnlyOffice Document Server I've written dns-nameserver instead of dns-nameservers... it took me 3 days to find it... and I have initially thought it could be something with redis... but no it was just a typo... sigh... now everything works...

have a nice weekend...
jakobssystems
 
Posts: 20
Joined: Mon May 01, 2017 7:09 am

Re: Missing locale JSON file, cannot edit documents.

Postby Maxim » Mon May 22, 2017 8:31 am

Hello jakobssystems!
It's great! Did you just rename the file dns-nameservers to dns-nameserver?
Maxim
 
Posts: 1179
Joined: Tue Oct 11, 2016 2:34 pm


Return to Documents

Who is online

Users browsing this forum: No registered users and 1 guest

cron