Nextcloud won't install Collabora Online - Memory limit/timeout

Permissions, domain/LDAP, power, security, notification and more.
User avatar
slyfox
Posts: 16
Joined: 18 Feb 2023, 21:48

Nextcloud won't install Collabora Online - Memory limit/timeout

Post by slyfox »

The app page say "The download is rather big so it is possible you experience a time-out when using the web interface. You can use the OCC command line tool to install the built-in server"
I tried:
sudo -u wwwrun php -d memory_limit=512M ./occ app:install richdocumentscode
but says:
sudo: unknown user: wwwrun
sudo: unable to initialize policy plugin
and
sudo -u [USERNAME] php -d memory_limit=512M ./occ app:install richdocumentscode
but says:
Could not open input file: ./occ
The app page also say "Of course, alternatively you could increase memory usage and PHP time-outs by default"
So how would I do that?
User avatar
TMRyan
TerraMaster Team
Posts: 817
Joined: 01 Dec 2020, 11:50

Re: Nextcloud won't install Collabora Online - Memory limit/timeout

Post by TMRyan »

Is your system TOS 5? The super administrator of TOS 5 is equivalent to the root user, and there is no need to use the sudo command.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement)
User avatar
slyfox
Posts: 16
Joined: 18 Feb 2023, 21:48

Re: Nextcloud won't install Collabora Online - Memory limit/timeout

Post by slyfox »

Yeah, it's TOS 5. The example commands is for a Linux system like Debian so the file structure or config for TOS 5 is probably different.
User avatar
slyfox
Posts: 16
Joined: 18 Feb 2023, 21:48

Re: Nextcloud won't install Collabora Online - Memory limit/timeout

Post by slyfox »

Does anyone know the correct command and file location to either install it manually or increase memory limit (PHP) or time out?
User avatar
slyfox
Posts: 16
Joined: 18 Feb 2023, 21:48

Re: Nextcloud won't install Collabora Online - Memory limit/timeout

Post by slyfox »

Based on the lack of response I guess it's a problem with the TOS 5 operation system that will require an update or patch.
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: Nextcloud won't install Collabora Online - Memory limit/timeout

Post by TMSupport »

Please try to switch to the following path /usr/local/Nextcloud/webui and execute the command again.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
slyfox
Posts: 16
Joined: 18 Feb 2023, 21:48

Re: Nextcloud won't install Collabora Online - Memory limit/timeout

Post by slyfox »

I did finally get it to install with using the command listed above but now Nextcloud is EXTREMELY SLOW to load any page (takes multiple minutes for the dashboard to load). Is there a way to check what errors might be occurring or could it still be due the the php memory limit?
User avatar
slyfox
Posts: 16
Joined: 18 Feb 2023, 21:48

Re: Nextcloud won't install Collabora Online - Memory limit/timeout

Post by slyfox »

I replace the ethernet cable but I get the same issue. Nextcloud takes forever to load to the dashboard after installing Collabora.
User avatar
slyfox
Posts: 16
Joined: 18 Feb 2023, 21:48

Re: Nextcloud won't install Collabora Online - Memory limit/timeout

Post by slyfox »

I guess I will have to install TrueNAS since Nextcloud is broken on TOS.
User avatar
TMroy
TerraMaster Team
Posts: 2578
Joined: 10 Mar 2020, 14:04
China

Re: Nextcloud won't install Collabora Online - Memory limit/timeout

Post by TMroy »

We did not find such an issue happening in our lab. Please update your TOS to 5.1.29, and make sure you have sufficient space on your RAM and Volumes.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Locked