Collabora CODE + Nextcloud Office = death

Support intro

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version: 23.0.0
Operating system and version: cloudlinux 7
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.25
PHP version (eg, 7.4): 7.4

The issue you are facing:

The combination of installing the Collabora CODE and Nextcloud Office apps breaks nextcloud, resulting in a 500 error. Either can be installed individually, but once the second is installed, that’s all she wrote and the entire site goes down. Disabling either restores usability.

Is this the first time you’ve seen this error? (Y/N): Yes. First time attempting to install these apps.

Steps to replicate it:

  1. Download either of the two apps.
  2. Download the remaining app.

The output of your Nextcloud log in Admin > Logging:

None

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

<?php
$CONFIG = array (
  REDACTED
  ),
  'datadirectory' => REDACTED
  'dbtype' => 'mysql',
  'version' => '23.0.0.10',
  'overwrite.cli.url' => REDACTED
  'dbname' => REDACTED
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => REDACTED
  'dbpassword' => REDACTED
  'installed' => true,
  'mail_from_address' => REDACTED
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => REDACTED
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => REDACTED
  'mail_smtpsecure' => 'ssl',
  'mail_smtpport' => '465',
  'mail_smtpname' => REDACTED
  'mail_smtppassword' => REDACTED
  'htaccess.RewriteBase' => '/',
  'simpleSignUpLink.shown' => false,
  'maintenance' => false,
  'mysql.utf8mb4' => true,
  'memcache.local' => '\\OC\\Memcache\\ArrayCache',
  'default_phone_region' => 'US',
  'trashbin_retention_obligation' => '0, 7',
);

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

[11-Feb-2022 19:03:14 UTC] PHP Warning:  include(): Failed opening '/home/**MY_DOMAIN_HERE**/lib/composer/composer/../../../lib/private/Log/ExceptionSerializer.php' for inclusion (include_path='/home/**MY_DOMAIN_HERE**/3rdparty/pear/archive_tar:/home/**MY_DOMAIN_HERE**/3rdparty/pear/console_getopt:/home/**MY_DOMAIN_HERE**/3rdparty/pear/pear-core-minimal/src:/home/**MY_DOMAIN_HERE**/3rdparty/pear/pear_exception:/home/**MY_DOMAIN_HERE**/apps') in /home/**MY_DOMAIN_HERE**/lib/composer/composer/ClassLoader.php on line 571
[11-Feb-2022 19:03:14 UTC] {"reqId":"YgayxfpFP82sS3sf3HGpDQAAAVU","level":3,"time":"2022-02-11T19:03:14+00:00","remoteAddr":"96.234.205.3","user":"--","app":"PHP","method":"GET","url":"/apps/theming/styles?v=6","message":"Error: Class 'OC\\Log\\ExceptionSerializer' not found at /home/**MY_DOMAIN_HERE**/lib/private/Log.php#316","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0","version":"23.0.0.10"}
[11-Feb-2022 19:03:14 UTC] {"reqId":"YgayxfpFP82sS3sf3HGpDQAAAVU","level":3,"time":"2022-02-11T19:03:14+00:00","remoteAddr":"96.234.205.3","user":"--","app":"PHP","method":"GET","url":"/apps/theming/styles?v=6","message":"include(): Failed opening '/home/**MY_DOMAIN_HERE**/lib/composer/composer/../../../lib/private/Log/ExceptionSerializer.php' for inclusion (include_path='/home/**MY_DOMAIN_HERE**/3rdparty/pear/archive_tar:/home/**MY_DOMAIN_HERE**/3rdparty/pear/console_getopt:/home/**MY_DOMAIN_HERE**/3rdparty/pear/pear-core-minimal/src:/home/**MY_DOMAIN_HERE**/3rdparty/pear/pear_exception:/home/**MY_DOMAIN_HERE**/apps') at /home/**MY_DOMAIN_HERE**/lib/composer/composer/ClassLoader.php#571","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0","version":"23.0.0.10"}
[11-Feb-2022 19:03:14 UTC] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0
[11-Feb-2022 19:03:14 UTC] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0
[11-Feb-2022 19:03:14 UTC] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0
[11-Feb-2022 19:03:14 UTC] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0
[11-Feb-2022 19:03:14 UTC] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0
[11-Feb-2022 19:03:14 UTC] PHP Warning:  include(): Failed opening '/home/**MY_DOMAIN_HERE**/lib/composer/composer/../../../lib/private/Log/ExceptionSerializer.php' for inclusion (include_path='/home/**MY_DOMAIN_HERE**/3rdparty/pear/archive_tar:/home/**MY_DOMAIN_HERE**/3rdparty/pear/console_getopt:/home/**MY_DOMAIN_HERE**/3rdparty/pear/pear-core-minimal/src:/home/**MY_DOMAIN_HERE**/3rdparty/pear/pear_exception:/home/**MY_DOMAIN_HERE**/apps') in /home/**MY_DOMAIN_HERE**/lib/composer/composer/ClassLoader.php on line 571
[11-Feb-2022 19:03:14 UTC] {"reqId":"YgayxU_FVcvdSwvdyko10gAAAQ8","level":3,"time":"2022-02-11T19:03:14+00:00","remoteAddr":"96.234.205.3","user":"--","app":"PHP","method":"GET","url":"/apps/theming/image/logo?useSvg=1&v=6","message":"Error: Class 'OC\\Log\\ExceptionSerializer' not found at /home/**MY_DOMAIN_HERE**/lib/private/Log.php#316","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0","version":"23.0.0.10"}
[11-Feb-2022 19:03:14 UTC] {"reqId":"YgayxU_FVcvdSwvdyko10gAAAQ8","level":3,"time":"2022-02-11T19:03:14+00:00","remoteAddr":"96.234.205.3","user":"--","app":"PHP","method":"GET","url":"/apps/theming/image/logo?useSvg=1&v=6","message":"include(): Failed opening '/home/**MY_DOMAIN_HERE**/lib/composer/composer/../../../lib/private/Log/ExceptionSerializer.php' for inclusion (include_path='/home/**MY_DOMAIN_HERE**/3rdparty/pear/archive_tar:/home/**MY_DOMAIN_HERE**/3rdparty/pear/console_getopt:/home/**MY_DOMAIN_HERE**/3rdparty/pear/pear-core-minimal/src:/home/**MY_DOMAIN_HERE**/3rdparty/pear/pear_exception:/home/**MY_DOMAIN_HERE**/apps') at /home/**MY_DOMAIN_HERE**/lib/composer/composer/ClassLoader.php#571","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0","version":"23.0.0.10"}
[11-Feb-2022 19:03:15 UTC] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0
[11-Feb-2022 19:03:15 UTC] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0
[11-Feb-2022 19:03:25 UTC] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0

Which versions of Office and Collabora are you using?

Have you checked your nextcloud.log ?

I downloaded both apps from the app market about a week ago. So, the most recent versions, unless either has been updated in the past few days. As already stated, there were no logs in Nextcloud.

Nextcloud has a log and you can adjust log level and more.

For documentation please see https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html

Hopefully you are able to find the cause for internal server error 500.

Yes, I am well aware that Nextcloud has a log. As I have said multiple times now, there was nothing there.

But forget it.

RaspPi 4 running RaspPi OS 64bit
Nginx
Mariadb
php 8.0
Redis

Just had same thing happen to me. Fresh install of nextcloud 23.0.2. Nextcloud optimized. All running great. Then install Collabora Code Arm64 and Nextcloud Office bricks entire nextcloud. It becomes unresponsive and unreachable.

I had to connect to server via ssh and disable the apps via occ command line. Once disabled, nextcloud came back to life. I then was able to delete the 2 apps.

I just upgraded my server to 64bit OS for the primary reason to install the nextcloud office which wasn’t available on 32bit arm.

This is so disappointing as I was looking forward to this feature.

Hopefully this will get resolved soon. Thank you!