Unable to install Community Document Server on nextcloud / unraid

I am running nextcloud without issue on a Gen8 HP DL 360 dual 12 core intel server .

I have googled this and it looks like I have to download this manually ? is there another way to go about getting this ?

Nextcloud version (eg, 20.0.5): 23.0.3
Operating system and version (eg, Ubuntu 20.04): Unraid 6.9.2

Base distro:

  • docker: version 20.10.5
  • fuse3: version 3.10.2
  • nginx: version 1.19.9
  • samba: verson 4.12.14 (CVE-2020-27840 CVE-2020-27840)

Linux kernel:

  • version 5.10.28
  • include all CONFIG_NF_* modules
  • oot: realtek r8125: version 9.005.01

Apache or nginx version (eg, Apache 2.4.25): nginx: version 1.19.9

PHP version (eg, 7.4) : replace me

The issue you are facing: Unable to complete an enable of “community document server” from app store

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

  1. log in as admin to next cloud web interface.
  2. Click on Apps, and search for “community document server”
  3. Select / click on enable “community document server”
  4. Wheel spins and then after about two minutes it reverts back to the enable button.

The output of your Nextcloud log in Admin > Logging:

Error settings GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 120000 milliseconds with 309886344 out of 467806574 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://objects.githubusercontent.com/github-production-release-asset-2e65be/205429728/107d635e-0fd5-4786-952d-93b78503620a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220506%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220506T140334Z&X-Amz-Expires=300&X-Amz-Signature=e837c56af9a35a21b04fdb41df58cfc17183f247a0c28fa09216bbfd11fb0731&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=205429728&response-content-disposition=attachment%3B%20filename%3Ddocumentserver_community.tar.gz&response-content-type=application%2Foctet-stream

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

root@Tower-3:/var/log/nginx# tail -30 error.log2022/05/05 16:26:06 [error] 4407#4407: *15668 upstream timed out (110: Connection timed out) while reading upstream, client: 192.168.10.182, server: , request: "GET /plugins/dynamix.docker.manager/include/CreateDocker.php?updateContainer=true&ct[]=swag HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "tower-3.local", referrer: "http://tower-3.local/Docker”
root@Tower-3:/var/log# tail -40 syslogMay  6 02:13:11 Tower-3 winbindd[42792]:   daemon_ready: daemon 'winbindd' finished starting up and ready to serve connectionsMay  6 02:13:12 Tower-3 emhttpd: shcmd (5278): smbcontrol smbd close-share 'appdata'May  6 02:13:34 Tower-3 nmbd[42782]: [2022/05/06 02:13:34.852932,  0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)May  6 02:13:34 Tower-3 nmbd[42782]:   *****May  6 02:13:34 Tower-3 nmbd[42782]:   May  6 02:13:34 Tower-3 nmbd[42782]:   Samba name server TOWER-3 is now a local master browser for workgroup WORKGROUP on subnet 172.17.0.1May  6 02:13:34 Tower-3 nmbd[42782]:   May  6 02:13:34 Tower-3 nmbd[42782]:   *****May  6 02:13:34 Tower-3 nmbd[42782]: [2022/05/06 02:13:34.853146,  0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)May  6 02:13:34 Tower-3 nmbd[42782]:   *****May  6 02:13:34 Tower-3 nmbd[42782]:   May  6 02:13:34 Tower-3 nmbd[42782]:   Samba name server TOWER-3 is now a local master browser for workgroup WORKGROUP on subnet 172.18.0.1May  6 02:13:34 Tower-3 nmbd[42782]:   May  6 02:13:34 Tower-3 nmbd[42782]:   *****May  6 03:40:01 Tower-3 crond[2258]: exit status 1 from user root /usr/local/sbin/mover &> /dev/nullMay  6 10:16:26 Tower-3 sshd[21574]: Connection from 192.168.10.182 port 50061 on 192.168.10.146 port 22 rdomain ""May  6 10:16:26 Tower-3 sshd[21574]: Postponed keyboard-interactive for root from 192.168.10.182 port 50061 ssh2 [preauth]May  6 10:16:32 Tower-3 sshd[21574]: Postponed keyboard-interactive/pam for root from 192.168.10.182 port 50061 ssh2 [preauth]May  6 10:16:32 Tower-3 sshd[21574]: Accepted keyboard-interactive/pam for root from 192.168.10.182 port 50061 ssh2May  6 10:16:32 Tower-3 sshd[21574]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)May  6 10:16:32 Tower-3 sshd[21574]: Starting session: shell on pts/0 for root from 192.168.10.182 port 50061 id 0May  6 11:34:54 Tower-3 dhcpcd[2162]: br0: failed to renew DHCP, rebindingMay  6 12:22:20 Tower-3 kernel: br-c4d8f122c534: port 1(veth7341fd3) entered disabled stateMay  6 12:22:20 Tower-3 kernel: veth0ecb22c: renamed from eth0May  6 12:22:20 Tower-3 avahi-daemon[4320]: Interface veth7341fd3.IPv6 no longer relevant for mDNS.May  6 12:22:20 Tower-3 avahi-daemon[4320]: Leaving mDNS multicast group on interface veth7341fd3.IPv6 with address fe80::f841:95ff:fe5c:63b.May  6 12:22:20 Tower-3 kernel: br-c4d8f122c534: port 1(veth7341fd3) entered disabled stateMay  6 12:22:20 Tower-3 kernel: device veth7341fd3 left promiscuous modeMay  6 12:22:20 Tower-3 kernel: br-c4d8f122c534: port 1(veth7341fd3) entered disabled stateMay  6 12:22:20 Tower-3 avahi-daemon[4320]: Withdrawing address record for fe80::f841:95ff:fe5c:63b on veth7341fd3.May  6 12:22:21 Tower-3 kernel: br-c4d8f122c534: port 1(vethe724c30) entered blocking stateMay  6 12:22:21 Tower-3 kernel: br-c4d8f122c534: port 1(vethe724c30) entered disabled stateMay  6 12:22:21 Tower-3 kernel: device vethe724c30 entered promiscuous modeMay  6 12:22:23 Tower-3 kernel: eth0: renamed from veth32a00b9May  6 12:22:23 Tower-3 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): vethe724c30: link becomes readyMay  6 12:22:23 Tower-3 kernel: br-c4d8f122c534: port 1(vethe724c30) entered blocking stateMay  6 12:22:23 Tower-3 kernel: br-c4d8f122c534: port 1(vethe724c30) entered forwarding stateMay  6 12:22:24 Tower-3 avahi-daemon[4320]: Joining mDNS multicast group on interface vethe724c30.IPv6 with address fe80::a0d9:58ff:fe09:5af6.May  6 12:22:24 Tower-3 avahi-daemon[4320]: New relevant interface vethe724c30.IPv6 for mDNS.May  6 12:22:24 Tower-3 avahi-daemon[4320]: Registering new address record for fe80::a0d9:58ff:fe09:5af6 on vethe724c30.*.

PASTE HERE

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

Unsure on the error, but you should be able to install CODE directly from the appstore. You can access it on top right menu as admin. Or, you could install Collabora with Docker. I do not know the particular of unraid so you might want to ask their forum or search their documentation for particulars.

I can connect to the app store and I can click download an enable but it looks like it times out after a while… I have seen a few threads on increasing the timeout value and I have done that on./mnt/user/appdata/nextcloud/www/nextcloud/lib/private/Http/Client

but I think there are other timeouts I need to increase and im not failure with those files or paths .

Hi @dlowings,
You are missing the required support template. Please fill this form out and edit into your post.

Please also include any information on the particulars of how you’ve setup Nextcloud within Unraid. Links and documentation appreciated. Thanks!

This will give us the technical info and logs needed to help you! Thanks.

1 Like

Hi Guys,

I got the same issue, if I tried to open the URL from my pc it downloaded properly without any issues,
I if tried from my Linux over cli it will drop some messages:

[1] 957784
[2] 957785
[3] 957786
[4] 957787
[5] 957788
[6] 957789
[7] 957790
[8] 957791
bash: X-Amz-SignedHeaders=host: command not found
bash: X-Amz-Date=20221115T181023Z: command not found
bash: X-Amz-Expires=300: command not found
bash: X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221115%2Fus-east-1%2Fs3%2Faws4_request: command not found
[9] 957792
[10] 957793
bash: response-content-type=application%2Foctet-stream: command not found
bash: response-content-disposition=attachment%3B%20filename%3Ddocumentserver_community.tar.gz: command not found
bash: X-Amz-Signature=00cc24de201c97e88db310a7083fb5b691e9cbc658afc2a40adfef26f7793270: command not found
[2] Exit 127 X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221115%2Fus-east-1%2Fs3%2Faws4_request
[3] Exit 127 X-Amz-Date=20221115T181023Z
[4] Exit 127 X-Amz-Expires=300
[6] Exit 127 X-Amz-SignedHeaders=host
[7] Done actor_id=0
[8] Done key_id=0
[9]- Done repo_id=205429728

It is helpful in the debugging?

Please let me know if you have a solution or need some help in this case.

BR,
GáborS