nextcloud / officeonline

officeonline
GNU Affero General Public License v3.0
49 stars 14 forks source link

Plugin makes Nextcloud slower #437

Open ddm231 opened 1 year ago

ddm231 commented 1 year ago

Steps to reproduce

  1. Download plugin
  2. Install plugin
  3. Nextcloud is very slow

Expected behaviour

The plugin should not actually affect the performance of Nextcloud. This is the case since the last update.

Actual behaviour

Nextcloud is very slow

Server configuration

Operating system: Cloudron / Ubuntu 20.04

Web server: nginx

Database: MySQL

PHP version: 8.0

Nextcloud version: 25.01

Updated from an older Nextcloud/ownCloud or fresh install: no

Where did you install Nextcloud from: Cloudron

Signing status:

Integrity checker has been disabled. Integrity cannot be verified.

List of activated apps:

App list Office Online

The content of config/config.php:

Config report ``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder or Insert your config.php content here Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …) ```

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

LDAP config ``` With access to your command line run e.g.: sudo -u www-data php occ ldap:show-config from within your Nextcloud installation folder Without access to your command line download the data/owncloud.db to your local computer or access your SQL server remotely and run the select query: SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap'; Eventually replace sensitive data as the name/IP-address of your LDAP server or groups. ```

Client configuration

Browser:

Operating system:

Logs

Web server error log

Web server error log ``` Insert your webserver log here ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` Insert your Nextcloud log here ```

Browser log

Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
olegpror commented 1 year ago

I have the same problem. Checked on versions of Nextcloud: 25, 26, 26 and officeonline versions: 1.1.4 - 2.0.2 If I enable the application, Nextcloud becomes very slow and the settings does not open with a "504 Gateway Time-out error". If I turn it off everything is ok.

olegpror commented 1 year ago

Steps to reproduce

  1. Download plugin
  2. Install plugin
  3. Nextcloud is very slow

Expected behaviour

The plugin should not actually affect the performance of Nextcloud. This is the case since the last update.

Actual behaviour

Nextcloud is very slow

Server configuration

Operating system: Cloudron / Ubuntu 20.04

Web server: nginx

Database: MySQL

PHP version: 8.0

Nextcloud version: 25.01

Updated from an older Nextcloud/ownCloud or fresh install: no

Where did you install Nextcloud from: Cloudron

Signing status:

Integrity checker has been disabled. Integrity cannot be verified. List of activated apps:

App list The content of config/config.php:

Config report Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

LDAP config

Client configuration

Browser:

Operating system:

Logs

Web server error log

Web server error log

Nextcloud log (data/nextcloud.log)

Nextcloud log

Browser log

Browser log

Maybe, you did find how to solve the problem?

olegpror commented 1 year ago

I found the cause of the problem This happens if your officeonline server is not available at the moment, Nextcloud is trying to access it, but get connection timeout.

I solved it by deleting app settings occ config:app:delete officeonline wopi_url After that I turned application on and everything is OK.