After Upgrade to NC25 my collective app is showing html source code

Dear Community,
[/details]

Nextcloud version (eg, 25.0.1): 25.0.1
Operating system and version (eg, Ubuntu 20.04): hostes ubuntu
Apache or nginx version (eg, Apache 2.4.25): unknown
PHP version (eg, 7.4): 8.x

The issue you are facing:
after Upgrading to Nextcloud 25.0.1 Community, I have no longer access to the html pages of Collectives. For a fraction of a second the system is showing the html page/formatted page, than the html code appears.

<!DOCTYPE html>
<html class="ng-csp" data-placeholder-focus="false" lang="de" data-locale="de" >
<head data-user="XXX" data-user-displayname="XXX" data-requesttoken="XXX">
<meta charset="utf-8">
<title>
Dashboard - XXX.		</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

			<meta name="apple-itunes-app" content="app-id=1125420102">
			<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-title" content="Dashboard">
	<meta name="mobile-web-app-capable" content="yes">

However after clicking “Edit” (Bearbeiten) and then “Ready” (Fertig) the formatted page is displayed correctly.

Is this the first time you’ve seen this error? Y:

Steps to replicate it:

  1. Open Collectives
  2. fraction of a second formatted page
  3. the html code

The output of your Nextcloud log in Admin > Logging:

The protocol flasches with content for a part od a second, then "white screen"

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

<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' => 
  array (
    0 => 'xxx',
  ),
  'datadirectory' => '/var/www/vhosts/xxx.eu/httpdocs/xxx.eu/data',
  'dbtype' => 'mysql',
  'version' => '25.0.1.1',
  'overwrite.cli.url' => 'https://xxx.eu',
  'dbname' => 'xxx',
  'dbhost' => '10.243.xx.xx:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'simpleSignUpLink.shown' => false,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'xxx',
  'mail_domain' => 'xxx',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '...',
  'mail_smtpname' => 'xxx',
  'mail_smtppassword' => 'xxx',
  'mail_smtpport' => '25',
  'default_phone_region' => 'DE',
  'updater.secret' => 'xxx',
  'app_install_overwrite' => 
  array (
    0 => 'twofactor_u2f',
    1 => 'drawio',
  ),
);

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

2022-11-29 14:18:25	Access	144.2.163.192	200	GET /index.php/apps/logreader/poll?lastReqId=Ef02ILRU7kFbNvIhylkR HTTP/1.0		Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0	1.73 K	SSL/TLS-Zugriff fĂĽr Apache
2022-11-29 14:18:26	Access	185.243.11.117	200	GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.0

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.

2022-11-29 14:18:25	Error	144.2.163.192	404	GET /index.php/apps/theming/image/logoheader?v=12 HTTP/1.0
1 Like

Did you find the solution?