Collabora (CODE) not starting - Demo-Server working - Error: ZipArchive::open()

Hello everyone - maybe you can hint me to the right direction what is going wrong in my docker container setop.

I updated my Docker from 22.x (latest Version) to 23.0.0. Collabora was working before.
Now I only get a spinning beachball when I want to create or edit an office file.
Screenshot_1

Nextcloud: Latest Docker image

The issue you are facing:
Just a beachball. Log file is giving me an error:

Fehler PHP Error: ZipArchive::open(): Using empty file as ZipArchive is deprecated at /var/www/html/lib/private/Archive/ZIP.php#50

<<closure>>

OC\Log\ErrorHandler::onError(8192, "ZipArchive: ... d", "/var/www/ht ... p", 50)

/var/www/html/lib/private/Archive/ZIP.php - line 50:

ZipArchive->open("/tmp/oc_tmp_JDCV9H", 1)

/var/www/html/lib/private/Preview/Bundled.php - line 41:

OC\Archive\ZIP->__construct("/tmp/oc_tmp_JDCV9H")

/var/www/html/lib/private/Preview/OpenDocument.php - line 44:

OC\Preview\Bundled->extractThumbnail(OC\Files\Node\File {}, "Thumbnails/thumbnail.png")

/var/www/html/lib/private/Preview/GeneratorHelper.php - line 62:

OC\Preview\OpenDocument->getThumbnail(OC\Files\Node\File {}, 4096, 4096)

/var/www/html/lib/private/Preview/Generator.php - line 245:

OC\Preview\GeneratorHelper->getThumbnail(OC\Preview\OpenDocument {}, OC\Files\Node\File {}, 4096, 4096)

/var/www/html/lib/private/Preview/Generator.php - line 140:

OC\Preview\Generator->getMaxPreview(OC\Files\Sim ... {}, OC\Files\Node\File {}, "application ... n", "")

/var/www/html/lib/private/Preview/Generator.php - line 109:

OC\Preview\Generator->generatePreviews(OC\Files\Node\File {}, [ { width: 2 ... }], "application ... n")

/var/www/html/lib/private/PreviewManager.php - line 212:

OC\Preview\Generator->getPreview(OC\Files\Node\File {}, 250, 250, true, "fill", null)

/var/www/html/core/Controller/PreviewController.php - line 169:

OC\PreviewManager->getPreview(OC\Files\Node\File {}, 250, 250, true, "fill")

/var/www/html/core/Controller/PreviewController.php - line 142:

OC\Core\Controller\PreviewController->fetchPreview(OC\Files\Node\File {}, 250, 250, false, false, "fill")

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 217:

OC\Core\Controller\PreviewController->getPreviewByFileId(354151, 250, 250, false, false, "fill")

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 126:

OC\AppFramework\Http\Dispatcher->executeController(OC\Core\Cont ... {}, "getPreviewByFileId")

/var/www/html/lib/private/AppFramework/App.php - line 157:

OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Cont ... {}, "getPreviewByFileId")

/var/www/html/lib/private/Route/Router.php - line 302:

OC\AppFramework\App::main("OC\\Core\\C ... r", "getPreviewByFileId", OC\AppFramew ... {}, { _route: "c ... "})

/var/www/html/lib/base.php - line 1006:

OC\Route\Router->match("/core/preview")

/var/www/html/index.php - line 36:

OC::handleRequest()
This is my config.php:
<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'instanceid' => 'HELLOANDTHANKS',
  'passwordsalt' => 'HELLOANDTHANKS',
  'secret' => 'HELLOANDTHANKS',
  'trusted_domains' => 
  array (
    0 => 'nc.retouch.one',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '23.0.0.10',
  'overwrite.cli.url' => 'http://nc.retouch.one',
  'dbname' => 'nextcloud',
  'dbhost' => 'db2',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'HELLOANDTHANKS',
  'dbpassword' => 'HELLOANDTHANKS',
  'installed' => true,
  'default_phone_region' => 'DE',
  'theme' => '',
  'loglevel' => 2,
  'maintenance' => false,
  'mail_from_address' => 'nc',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'retouch.one',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'HELLOANDTHANKS',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'HELLOANDTHANKS@retouch.one',
  'mail_smtppassword' => 'HELLOANDTHANKS',
  'mail_smtpsecure' => 'ssl',
  'overwriteprotocol' => 'https',
  'inoodb_read_only_compressed' => false,
);
{"reqId":"bK1HMKS01sheIZRdo8ep","level":3,"time":"2021-12-04T17:10:50+00:00","remoteAddr":"88.153.224.159","user":"Hartmut","app":"PHP","method":"GET","url":"/core/preview?fileId=354128&c=b3d3360a3ff40cf1a35b264245fa5c61&x=250&y=250&forceIcon=0&a=0","message":"ZipArchive::open(): Using empty file as ZipArchive is deprecated at /var/www/html/lib/private/Archive/ZIP.php#50","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"23.0.0.10","exception":{"Exception":"Error","Message":"ZipArchive::open(): Using empty file as ZipArchive is deprecated at /var/www/html/lib/private/Archive/ZIP.php#50","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[8192,"ZipArchive::open(): Using empty file as ZipArchive is deprecated","/var/www/html/lib/private/Archive/ZIP.php",50]},{"file":"/var/www/html/lib/private/Archive/ZIP.php","line":50,"function":"open","class":"ZipArchive","type":"->","args":["/tmp/oc_tmp_RP2tfz",1]},{"file":"/var/www/html/lib/private/Preview/Bundled.php","line":41,"function":"__construct","class":"OC\\Archive\\ZIP","type":"->","args":["/tmp/oc_tmp_RP2tfz"]},{"file":"/var/www/html/lib/private/Preview/OpenDocument.php","line":44,"function":"extractThumbnail","class":"OC\\Preview\\Bundled","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},"Thumbnails/thumbnail.png"]},{"file":"/var/www/html/lib/private/Preview/GeneratorHelper.php","line":62,"function":"getThumbnail","class":"OC\\Preview\\OpenDocument","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},4096,4096]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":245,"function":"getThumbnail","class":"OC\\Preview\\GeneratorHelper","type":"->","args":[{"__class__":"OC\\Preview\\OpenDocument"},{"__class__":"OC\\Files\\Node\\File"},4096,4096]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":140,"function":"getMaxPreview","class":"OC\\Preview\\Generator","type":"->","args":[{"__class__":"OC\\Files\\SimpleFS\\SimpleFolder"},{"__class__":"OC\\Files\\Node\\File"},"application/vnd.oasis.opendocument.text",""]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":109,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},[{"width":250,"height":250,"crop":true,"mode":"fill"}],"application/vnd.oasis.opendocument.text"]},{"file":"/var/www/html/lib/private/PreviewManager.php","line":212,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},250,250,true,"fill",null]},{"file":"/var/www/html/core/Controller/PreviewController.php","line":169,"function":"getPreview","class":"OC\\PreviewManager","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},250,250,true,"fill"]},{"file":"/var/www/html/core/Controller/PreviewController.php","line":142,"function":"fetchPreview","class":"OC\\Core\\Controller\\PreviewController","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},250,250,false,false,"fill"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"getPreviewByFileId","class":"OC\\Core\\Controller\\PreviewController","type":"->","args":[354128,250,250,false,false,"fill"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\PreviewController"},"getPreviewByFileId"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\PreviewController"},"getPreviewByFileId"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\PreviewController","getPreviewByFileId",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"core.Preview.getPreviewByFileId"}]},{"file":"/var/www/html/lib/base.php","line":1006,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/core/preview"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}

Thanks a lot,
Hartmut

Hello Hartmut,

I had the same problem with a manual Installation. V 5 of Collabora doesn’t work with the CODE server. Unfortunately, the soution is to downgrade to the previous version as described here: