There is a problem with the cloud server installation

image

Fatal error: Uncaught ValueError: Invalid or uninitialized Zip object in /www/wwwroot/iuuang.next/setup-nextcloud.php:156 Stack trace: #0 /www/wwwroot/iuuang.next/setup-nextcloud.php(156): ZipArchive->extractTo() #1 /www/wwwroot/iuuang.next/setup-nextcloud.php(711): Setup::install() #2 /www/wwwroot/iuuang.next/setup-nextcloud.php(754): Setup::showInstall() #3 {main} thrown in /www/wwwroot/iuuang.next/setup-nextcloud.php on line 156

How to solve it, help me, kindhearted people thank you

Hello, if you found this message, script installer is trying to extract file called nc.zip but for some reason nc.zip is corrupted and unreadable.

Alternative solution is remove nc.zip under your public_html folder ie. /var/www/html and re-run the script.

Otherwise, remove nc.zip and download manually nextcloud latest version ZIP version from https://download.nextcloud.com/server/releases/ and rename to nc.zip, then re-run again the script installer.

This worked for me.