Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collabora Online administration view PHP error messages #665

Closed
TP75 opened this issue Oct 13, 2019 · 2 comments
Closed

Collabora Online administration view PHP error messages #665

TP75 opened this issue Oct 13, 2019 · 2 comments

Comments

@TP75
Copy link

TP75 commented Oct 13, 2019

Describe the bug
The Collabora Online adminstration window in the GUI and the richdocuments App show an unclear code performance and an instable behaviour with PHP error messages.

To Reproduce

The 3.4.2 version of the App was installed and enabled from earlier NC configuration. The App was configured before and the Collabora Online environment is working successfully.

The behaviour in case A was already oberserved in earlier (15.0.11.1, 16.0.4.1) NC versions. Only after upgrade to the NC 16.0.5.1 server and due to an explicit code-check on the commandline the issue #664 was observed.

The behaviour was observed from an Administrator user account.

Case A

No changes to the configuration of the App after upgrade to NC 16.0.5.1 server.

Steps to reproduce the behavior:

  1. GUI go to 'Settings -> Administration'
  2. Click on 'Collabora Online' to select the view
  3. No other action in this view
  4. See error list in 'Logging' view

(see Case A in the Nextcloud Logs below)

Only afterwards and due to a code-check the issue #664 was observed.

Case B

Due to the a.m. observation a more thorough re-installation of the App was performed to avoid side effects from possibly incomplete earlier installations.

Steps to perform the re-installation:

  • set the maintenance mode to ON
  • manual removal of the App
$ sudo -u www-data bash -c ' cd /var/www/nextcloud && php occ app:remove richdocuments '
Nextcloud is in maintenance mode - no apps have been loaded

richdocuments disabled
richdocuments removed
  • stop the Web server
  • perform the following steps by help of an independent directory as applicable
  • manually fetch the current version from the App store
$ wget https://github.com/nextcloud/richdocuments/releases/download/v3.4.2/richdocuments.tar.gz
  • manually make an installation of the App as applicable
$ tar xf richdocuments.tar.gz

$ sudo cp -a richdocuments /var/www/nextcloud/apps/
  • set the correct ownership to the App files
  • start the Web server
  • manually enable the App
$ sudo -u www-data bash -c ' cd /var/www/nextcloud && php occ app:enable richdocuments '
Nextcloud is in maintenance mode - no apps have been loaded

richdocuments enabled
  • set the maintenance mode to OFF again

Steps to reproduce the behavior:

  1. Perform the a.m. installation procedure.
  2. GUI go to 'Settings -> Administration'
  3. Click on 'Collabora Online' to select the view
  4. No other action in this view
  5. See error list in 'Logging' view

(see Case B in the Nextcloud Logs below)

Case C

Steps to reproduce the behavior:

  1. Perform the a.m. installation procedure or just continue from case B.
  2. GUI go to 'Settings -> Administration'
  3. Click on the 'Apply' button of the URL (and Port) of Collabora Online-server entry in the 'Collabora Online' view but without input or changes to the URL (which was pre-configured)
  4. No further action in this view
  5. See error list in 'Logging' view

(see Case C in the Nextcloud Logs below)

Nevertheless the access to the already configured Collabora Online CODE server and editing efforts on documents continue without apparent hassle.

Expected behavior
The Collabora Online adminstration window in the GUI and the richdocuments App should show a reliable code performance and a stable behaviour without PHP error messages.

Screenshots
n.a.

Client details:
n.a.

Server details

Operating system: Debian 10.1 Buster -- Linux cloudX 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux

Web server: apache2-bin/stable,stable,now 2.4.38-3+deb10u1 amd64

Database: mariadb-server-10.3/stable,now 1:10.3.17-0+deb10u1 amd64

PHP version: php7.3/stable,now 7.3.9-1~deb10u1 all

Nextcloud version: 16.0.5.1 and earlier (15.0.11.1, 16.0.4.1)

Version of the richdocuments app: 3.4.2

Version of Collabora Online: collabora / code : 4.0.6.1 from docker
DIGEST: 1b53e1119f92

Logs

Nextcloud log (data/nextcloud.log)

Case A
[PHP] Error: Undefined index: installed_version at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T03:21:56+02:00


[PHP] Error: Undefined index: types at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T03:21:56+02:00


[PHP] Error: Undefined index: wopi_url at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T03:21:56+02:00
Case B
[PHP] Error: Undefined index: enabled at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T10:47:39+02:00


[PHP] Error: Undefined index: installed_version at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T10:47:39+02:00


[PHP] Error: Undefined index: types at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T10:47:39+02:00


[PHP] Error: Undefined index: wopi_url at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T10:47:39+02:00
Case C
[PHP] Error: Undefined index: disable_certificate_verification at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T11:57:08+02:00


[PHP] Error: Undefined index: enabled at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T11:57:08+02:00


[PHP] Error: Undefined index: installed_version at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T11:57:08+02:00


[PHP] Error: Undefined index: types at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T11:57:08+02:00


[PHP] Error: Undefined index: wopi_url at /var/www/nextcloud/apps/richdocuments/lib/AppConfig.php#69

GET /index.php/settings/admin/richdocuments
from <local ip addr> by admin at 2019-10-13T11:57:08+02:00

Browser log

n.a.

@TP75
Copy link
Author

TP75 commented Oct 14, 2019

May be related to Strange APP-config-Issue, Logging-Errors #17139. At least @rgl1234 comment lists almost similar log entries.

@TP75 TP75 changed the title unclear GUI code performance with PHP error messages Collabora Online administration view PHP error messages Oct 14, 2019
@juliusknorr
Copy link
Member

Tracked in #641 fixed in #645

rotdrop pushed a commit to rotdrop/nextcloud-richdocuments that referenced this issue Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants