Bug 121126 - can't open files with Cyrillic (Russian) file names
Summary: can't open files with Cyrillic (Russian) file names
Status: RESOLVED DUPLICATE of bug 122327
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 12:31 UTC by MuhammadMurphy
Modified: 2019-02-03 23:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MuhammadMurphy 2018-11-02 12:31:41 UTC
Hello.
I install Nextcloud 14.0.3 on Ubuntu 18.04 server.  
Then i install CODE from Ubuntu 18.04 repo.
Package: loolwsd
Version: 3.4.0-8

Office files with english names open fine, but with Cyrillic (Russian)  file names do not open at all.
I try open file with name "Тест.odt"
Log follow:
Nov  2 17:07:22 ubuntu-server loolwsd[1054]: wsd-01054-01943 2018-11-02 12:07:22.521210 [ websrv_poll ] WRN  WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:611
Nov  2 17:07:22 ubuntu-server loolwsd[1054]: kit-02716-06567 2018-11-02 12:07:22.764619 [ lokit_007 ] ERR  Failed to load: file:///user/docs/v9TM9WKr9B9QXHNy/%D0%A2%D0%B5%D1%81%D1%82.odt, error: Unsupported URL <file:///user/docs/v9TM9WKr9B9QXHNy/%D0%A2%D0%B5%D1%81%D1%82.odt>: "type detection failed"| kit/Kit.cpp:1554
Nov  2 17:07:22 ubuntu-server loolwsd[1054]: kit-02716-06567 2018-11-02 12:07:22.764961 [ lokit_007 ] ERR  Failed to get LoKitDocument instance for [file:///user/docs/v9TM9WKr9B9QXHNy/%D0%A2%D0%B5%D1%81%D1%82.odt].| kit/ChildSession.cpp:370
Nov  2 17:07:22 ubuntu-server loolwsd[1054]: kit-02716-06567 2018-11-02 12:07:22.765235 [ lokit_007 ] WRN  Document::ViewCallback. Session [-1] is no longer active to process [ERROR] [{
Nov  2 17:07:22 ubuntu-server loolwsd[1054]:     "classification": "error",
Nov  2 17:07:22 ubuntu-server loolwsd[1054]:     "cmd": "load",
Nov  2 17:07:22 ubuntu-server loolwsd[1054]:     "kind": "io",
Nov  2 17:07:22 ubuntu-server loolwsd[1054]:     "code": "770",
Nov  2 17:07:22 ubuntu-server loolwsd[1054]:     "message": ""
Nov  2 17:07:22 ubuntu-server loolwsd[1054]: }
Nov  2 17:07:22 ubuntu-server loolwsd[1054]: ] message to Master Session.| kit/Kit.cpp:1868
Nov  2 17:07:22 ubuntu-server loolwsd[1054]: kit-02716-06567 2018-11-02 12:07:22.792978 [ lokit_007 ] WRN  Skipping unload on incomplete view.| kit/ChildSession.cpp:72
Nov  2 17:07:22 ubuntu-server loolwsd[1054]: kit-02716-06567 2018-11-02 12:07:22.793049 [ lokit_007 ] ERR  No socket associated with WebSocketHandler 0x0x560614caba30| ./net/WebSocketHandler.hpp:107
Nov  2 17:07:23 ubuntu-server loolwsd[1054]: kit-02716-01710 2018-11-02 12:07:23.794866 [ loolkit ] FTL  Document [/nextcloud/index.php/apps/richdocuments/wopi/files/215_ocp5v523u18v] has no more views, exiting bluntly.| kit/Kit.cpp:834
Nov  2 17:07:30 ubuntu-server loolwsd[1054]: wsd-01054-01705 2018-11-02 12:07:30.525068 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_007], started: true, finished: true| ./net/Socket.hpp:551
Nov  2 17:07:30 ubuntu-server loolwsd[1054]: wsd-01054-01705 2018-11-02 12:07:30.525121 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_007], started: true, finished: true| ./net/Socket.hpp:551
Nov  2 17:07:30 ubuntu-server loolwsd[1054]: wsd-01054-01705 2018-11-02 12:07:30.525138 [ prisoner_poll ] WRN  Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1654
Nov  2 17:07:30 ubuntu-server loolwsd[1054]: wsd-01054-01705 2018-11-02 12:07:30.525170 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_007], started: false, finished: true| ./net/Socket.hpp:551
Nov  2 17:07:30 ubuntu-server loolwsd[1054]: wsd-01054-01705 2018-11-02 12:07:30.525187 [ prisoner_poll ] WRN  Waking up dead poll thread [docbroker_007], started: false, finished: true| ./net/Socket.hpp:551
^C
Comment 1 Aron Budea 2018-11-09 16:36:58 UTC
Your issue seems similar to this, please check if the same solution works for you:
https://github.com/nextcloud/richdocuments/issues/91
Comment 2 MuhammadMurphy 2018-12-03 05:09:03 UTC
Hello.
I did 
root@ubuntu-server:~# update-locale LANG=C.UTF-8
then reboot. 
root@ubuntu-server:~# locale
LANG=C.UTF-8
The problem stays:
Dec  3 10:04:06 ubuntu-server loolwsd[1090]: kit-02223-02231 2018-12-03 05:04:06.101669 [ lokit_006 ] ERR  Failed to load: file:///user/docs/YiZb8BVbc85mdLbt/%D0%A2%D0%B5%D1%81%D1%82.odt, error: Unsupported URL <file:///user/docs/YiZb8BVbc85mdLbt/%D0%A2%D0%B5%D1%81%D1%82.odt>: "type detection failed"| kit/Kit.cpp:1554
Dec  3 10:04:06 ubuntu-server loolwsd[1090]: kit-02223-02231 2018-12-03 05:04:06.102098 [ lokit_006 ] ERR  Failed to get LoKitDocument instance for [file:///user/docs/YiZb8BVbc85mdLbt/%D0%A2%D0%B5%D1%81%D1%82.odt].| kit/ChildSession.cpp:370
Comment 3 Xisco Faulí 2018-12-05 10:19:15 UTC
putting back to UNCONFIRMED
Comment 4 MuhammadMurphy 2018-12-21 06:09:38 UTC
Hello.
I upgraded today with apt-get update to latest versions
collaboraoffice6.0/unknown,now 6.0.10.18-18 amd64 [installed,automatic]
loolwsd/unknown,now 4.0.0-4 amd64 [installed]

This not helped.
After searching i try this
root@ubuntu-server:~# apt install locales-all

and it helps me!

I think this need to be mentioned at https://www.collaboraoffice.com/code/linux-packages/
Comment 5 Aron Budea 2019-02-03 23:41:36 UTC
Thanks for the hint about adding mention of installing the locales-all package, it will be considered.
In the meantime, let's close this as dupe of bug 122327.

*** This bug has been marked as a duplicate of bug 122327 ***