I have set up Nextcloud and Collabora on NS8, and connected it to the AD Domain. Works great.
However, when I connect to my SMB file shares and try to edit a Spreadsheet using Collabora, I get a failure message.
If I copy the same file to Nextcloud storage, I can edit it using Collabora without any problems.
It seems to be a known issue in some older versions of NextCloud - does anyone have any ideas about how I can go about fixing this?
mrmarkuz
(Markus Neuberger)
April 21, 2024, 9:01am
2
Hi and welcome to NethServer Community,
I tried to reproduce your issue but opening documents in Nextcloud on a connected SMB share (via external storage app) are working in Collabora and Onlyoffice.
Which permissions did you set for the share?
Are you using local AD on NS8 or remote AD?
I am using the local AD, and my SMB server is a member of that domain.
I am using my credentials to mount the SMB share, and I have tested full user access to those files. As I say, I can copy files to the SMB share.
Having figured out how to get sh access into the nextcloud-nginx container, I have checked and discounted some common causes of this sort of issue.
2024-04-21T22:28:30+12:00 [1:nextcloud1:nextcloud-nginx] 2024/04/21 10:28:30 [info] 27#27: *4976 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 10.0.0.178, server: , request: "PROPFIND /remote.php/dav/files/EDBCE46D-9F47-440B-8589-0510B0267DB5/me HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.xxxxx.online"
2024-04-21T22:28:30+12:00 [1:nextcloud1:nextcloud-nginx] 2024/04/21 10:28:30 [info] 27#27: *4972 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 10.0.0.178, server: , request: "GET /ocs/v2.php/apps/text/workspace?path=%2Fme HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "cloud.xxxxx.online"
OK - so I found the relevant error log, and it looks to be somewhere I didn’t expect.
And I enabled Sharing on the external storage SMB mount,and we are in business.
Thanks for the assistance.
Simon
1 Like