# Install Nextcloud Error

**URL:** <https://forum.hestiacp.com/t/install-nextcloud-error/19051>\
**Category:** Install & Set-Up\
**Created:** [May 21, 2025, 9:25pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051 "2025-05-21T21:25:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![bestperson](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/b/c2a13f/32.png) [@bestperson](https://forum.hestiacp.com/u/bestperson)\
**Post date:** [May 21, 2025, 9:25pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/1 "2025-05-21T21:25:16Z")

</div>

Hello everyone, I install Nextcloud I get this error

1. Could not open input file: ‘/home/fG9z4bdw3UbR/web/nextcloud.angellife.ru/public\_html/occ’ Error: cmd exited with errors. Data loss warning!  
Your web folder already contains uploaded files. The installer will overwrite these files and / or the application installation may fail.  
Make sure that ~ / web/nextcloud. angellife. com/public\_html is empty!
2. Error: /tmp/hestia-webapp/latest.tar.bz2 was not extracted

What I’m doing

1. Adding a domain [nextcloud.angellife.ru](http://nextcloud.angellife.ru)
2. I don’t issue the certificate and don’t configure anything else
3. Click install NextCloud
4. The first time I get error #1 and do this rm-rf /home/fG9z4bdw3UbR/web/nextcloud. angellife. ru/public\_html / \* clean the folder
5. I try to install again, and once again the result is one that is higher
6. I got error # 2 once  
In the logs I found this

```auto
2025/05/21 21:14:11 [error] 40061#40061: *58 directory index of "/home/fG9z4bdw3UbR/web/nextcloud.angellife.ru/public_html/" is forbidden, client: 34.173.141.205, server: nextcloud.angellife.ru, request: "GET / HTTP/1.1", host: "nextcloud.angellife.ru"
2025/05/21 21:14:11 [error] 40061#40061: *58 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 34.173.141.205, server: nextcloud.angellife.ru, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm-nextcloud.angellife.ru.sock:", host: "nextcloud.angellife.ru

```

Perhaps someone has experience of winning over this, or is it still unresolved [as in this topic?](https://forum.hestiacp.com/t/cant-install-nextcloud/18275/7)  
My system Debian 12.11, and install Nginx+PHP 8.2+MariaDB

 ![Screenshot_20250522_000718](https://forum.hestiacp.com/uploads/default/original/2X/0/0d140ec701930d10d23cda95416afccbaee8d12f.png)  
 ![Screenshot_20250522_000029](https://forum.hestiacp.com/uploads/default/original/2X/2/24c42197701e082c0c6410c4de26eb29e19db93a.png)

I found on the net that you can [install without Apache](https://unit.nginx.org/howto/nextcloud/), but maybe in Hestia it is not installed without Apache?

---

<div class="post-metadata">

**Author:** ![mih](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/m/b782af/32.png) [@mih](https://forum.hestiacp.com/u/mih)\
**Post date:** [May 22, 2025, 4:50am UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/2 "2025-05-22T04:50:51Z")

</div>

occ permissions are not written correctly. Try installing manually.

---

<div class="post-metadata">

**Author:** ![bestperson](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/b/c2a13f/32.png) [@bestperson](https://forum.hestiacp.com/u/bestperson)\
**Post date:** [May 30, 2025, 6:29pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/3 "2025-05-30T18:29:08Z")

</div>

Hello everyone, maybe someone will tell you where to see the NextCloud installation script in Hestia? Perhaps I will correct it. I want to use all the capabilities of Hestia, and all the possibilities of NextCloud)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [May 30, 2025, 6:36pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/4 "2025-05-30T18:36:06Z")

</div>

Use this fix:

> [@Could not open input file: '/home/admin/web/nube.lemarni.lat/public\_html/occ' Error: cmd exited with errors](https://forum.hestiacp.com/t/could-not-open-input-file-home-admin-web-nube-lemarni-lat-public-html-occ-error-cmd-exited-with-errors/19085/2):
>
> Apparently, the installer has issues with the quoteshellarg function. I’m not familiar with PHP, but you could try this fix. sudo -i cd /usr/local/hestia/web/src/app/WebApp/Installers/Nextcloud/ mv NextcloudSetup.php NextcloudSetup.php.ori curl -fsSLm15 https://7j.gg/ncpatch -o NextcloudSetup.php Before trying to install Nextcloud again, clean the publlic\_html of your user/domain and also the temporal files. rm -rf /home/admin/web/nube.lemarni.lat/public\_html/\* rm -rf /home/admin/web/nube.lem…

---

<div class="post-metadata">

**Author:** ![bestperson](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/b/c2a13f/32.png) [@bestperson](https://forum.hestiacp.com/u/bestperson)\
**Post date:** [May 30, 2025, 6:48pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/5 "2025-05-30T18:48:32Z")

</div>

Oh very well, I’ll go try it out. Thank you very much! 😀

---

<div class="post-metadata">

**Author:** ![bestperson](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/b/c2a13f/32.png) [@bestperson](https://forum.hestiacp.com/u/bestperson)\
**Post date:** [May 30, 2025, 8:11pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/6 "2025-05-30T20:11:09Z")

</div>

It doesn’t work (, error  
Could not open input file: ‘/home/jrotgpvnqgswaaudskscia/web/nextcloud.angellife.ru/public\_html/occ’ Error: cmd exited with errors  
I do this,

1. Install Hestia Nginx + PHP+MariaDB on Debian 12
2. Creating a user
3. Adding a domain
4. first installation of nexcloud = error what’s in the theme
5. Fix the installation

```auto
sudo -i
cd /usr/local/hestia/web/src/app/WebApp/Installers/Nextcloud/
mv NextcloudSetup.php NextcloudSetup.php.ori
curl -fsSLm15 https://7j.gg/ncpatch -o NextcloudSetup.php

```

1. Deleting files

```auto
rm -rf /home/jrotgpvnqgswaaudskscia/web/nextcloud.angellife.ru/public_html/*
rm -rf /home/jrotgpvnqgswaaudskscia/web/nextcloud.angellife.ru/public_html/.*
rm -rf /tmp/hestia-webapp/

```

1. Re-installation error

```auto
Could not open input file: '/home/jrotgpvnqgswaaudskscia/web/nextcloud.angellife.ru/public_html/occ' Error: cmd exited with errors

```

1. Tried swapping item 6 and item 5, same error  
What else would you like to try?)

At the same time, I don’t see the occ folder in FileZilla, but in the terminal. Although no, it’s a file

```auto
ls /home/jrotgpvnqgswaaudskscia/web/nextcloud.angellife.ru/public_html
3rdparty composer.json console.php cron.php index.php occ package.json remote.php status.php version.php
apps composer.lock COPYING dist lib ocs package-lock.json resources themes
AUTHORS config core index.html LICENSES ocs-provider public.php robots.txt updater

#!/usr/bin/env php
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

/**
 * Drop privileges when run as root
 */
function dropPrivileges(): void {
	if (posix_getuid() !== 0) {
		return;
	}

	$configPath = __DIR__. '/config/config.php';
	$uid = @fileowner($configPath);
	if ($uid === false) {
		return;
	}
	$info = posix_getpwuid($uid);
	if ($info === false) {
		return;
	}
	posix_setuid($uid);
	posix_setgid($info['gid']);
}

dropPrivileges();
require_once __DIR__. '/console.php';

```

Perhaps this may be related to [permissions?](https://help.nextcloud.com/t/could-not-open-input-file-occ/12604)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [May 30, 2025, 9:16pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/7 "2025-05-30T21:16:57Z")

</div>

I tried it on a fresh Debian 12, Hestia 1.9.3, only Nginx and PHP-FPM:

```auto
❯ curl -fsSLm15 https://7j.gg/hcpver | bash -s --
Software Version
-------- -------
OS Debian 12.11
Hestia 1.9.3
Hestia-nginx 1.27.4
Hestia-php 8.3.17
FileGator 7.13.0
Nginx 1.27.5
PHP8.4 8.4.7
PHP8.3 8.3.21
PHP8.2 8.2.28
PHP8.1 8.1.32
PHP8.0 8.0.30
PHP7.4 7.4.33
Awstats 7.8
Exim4 4.96
Dovecot 2.3.19.1
Dovecot-sieve 2.3.19.1
Spamassassin 4.0.1
Roundcube 1.6.10
Vsftpd 3.0.3
Bind9 9.18.33
Mariadb 11.4.7
phpMyAdmin 5.2.2
Fail2ban 1.0.2

```

 ![imagen](https://forum.hestiacp.com/uploads/default/original/2X/e/ec5dbd9754f16bd0720733d6e697269d3572985d.png)

And here the error:

 ![imagen](https://forum.hestiacp.com/uploads/default/original/2X/6/692ce5c01d516b9efc3974a5fdcafe593bd5709e.png)

Now I’ve applied the fix:

```t
sudo -i
cd /usr/local/hestia/web/src/app/WebApp/Installers/Nextcloud/
mv NextcloudSetup.php NextcloudSetup.php.ori
curl -fsSLm15 https://7j.gg/ncpatch -o NextcloudSetup.php
rm -rf /home/foobar/web/YourDomain/public_html/*
rm -rf /home/foobar/web/YourDomain/public_html/.*
rm -rf /tmp/hestia-webapp

```

And tried to install again:

 ![imagen](https://forum.hestiacp.com/uploads/default/original/2X/6/6eda2fe0affa8834358a540b0dcf398b00ac391c.png)

I think you copied and pasted these four commands at the same time and it didn’t replaced the old `NextcloudSetup.php`

```t
sudo -i
cd /usr/local/hestia/web/src/app/WebApp/Installers/Nextcloud/
mv NextcloudSetup.php NextcloudSetup.php.ori
curl -fsSLm15 https://7j.gg/ncpatch -o NextcloudSetup.php

```

Execute the commands one by one, double check that the md5sum of the new file is this:

```t
❯ md5sum /usr/local/hestia/web/src/app/WebApp/Installers/Nextcloud/NextcloudSetup.php
82abe6c94ab4d6c60393f911e5f90df0 /usr/local/hestia/web/src/app/WebApp/Installers/Nextcloud/NextcloudSetup.php

```

Also, NextCloud needs PHP 8.1, 8.2, 8.3 or 8.4 but it recommends 8.3. I’ve installed it using PHP 8.1.

---

<div class="post-metadata">

**Author:** ![bestperson](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/b/c2a13f/32.png) [@bestperson](https://forum.hestiacp.com/u/bestperson)\
**Post date:** [May 30, 2025, 9:59pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/8 "2025-05-30T21:59:29Z")

</div>

Hooray I installed)

```auto
sudo -i bash -c "cd /usr/local/hestia/web/src/app/WebApp/Installers/Nextcloud/ && mv NextcloudSetup.php NextcloudSetup.php.ori && curl -fsSLm15 https://7j.gg/ncpatch -o NextcloudSetup.php && rm -rf /home/admin/web/nextcloud.example.com/public_html/* && rm -rf /home/admin/web/nextcloud.example.com/public_html/.* && rm -rf /tmp/hestia-webapp/"

```

Changing admin and [nextcloud.example.com](http://nextcloud.example.com), we launch it simply in “one click”.  
Thank you so much, I finally installed it, now I’ll see what’s interesting in it). Thank you again!

---

<div class="post-metadata">

**Author:** ![bestperson](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/b/c2a13f/32.png) [@bestperson](https://forum.hestiacp.com/u/bestperson)\
**Post date:** [June 1, 2025, 1:18pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/9 "2025-06-01T13:18:08Z")

</div>

Hello, sorry to draw your attention, I tested several installations on Debian 12 and Ubuntu 24.04, but everywhere I got a lot of errors after installation, mainly related to PHP, as well as a HASH error, like this. As I can see you used a download from your file storage `cd /usr/local/hestia/web/src/app/WebApp/Installers/Nextcloud/ && mv NextcloudSetup.php NextcloudSetup.php.ori && curl -fsSLm15 https://7j.gg/ncpatch -o NextcloudSetup.php`

Could this be something to do with these errors? Thanks

```auto
Configuration errors were detected.
Your web server does not serve`. mjs ' files using the JavaScript MIME type. This will disrupt some applications by preventing browsers from executing JavaScript files. You should configure the web server to serve'. mjs 'files with the MIME type' text/javascript 'or`application/javascript'.
An exception occured while running the setup check: PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php:71 Stack trace: #0 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php(71): PDO->query() #1 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(1106): Doctrine\DBAL\Driver\PDO\Connection->query() #2 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/Connection.php(419): Doctrine\DBAL\Connection->executeQuery() #3 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(627): OC\DB\Connection->executeQuery() #4 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(267): Doctrine\DBAL\Connection->fetchOne() #5 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(1778): Doctrine\DBAL\Connection->getDatabase() #6 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(406): Doctrine\DBAL\Schema\AbstractSchemaManager->getDatabase() #7 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/MySQLSchemaManager.php(66): Doctrine\DBAL\Schema\AbstractSchemaManager->doListTables() #8 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(1651): Doctrine\DBAL\Schema\MySQLSchemaManager->listTables() #9 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(1663): Doctrine\DBAL\Schema\AbstractSchemaManager->createSchema() #10 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/Migrator.php(77): Doctrine\DBAL\Schema\AbstractSchemaManager->introspectSchema() #11 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/Connection.php(776): OC\DB\Migrator->createSchema() #12 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/SchemaWrapper.php(28): OC\DB\Connection->createSchema() #13 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php(47): OC\DB\SchemaWrapper->__construct() #14 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php(74): OCA\Settings\SetupChecks\DatabaseHasMissingIndices->getMissingIndices() #15 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/SetupCheck/SetupCheckManager.php(34): OCA\Settings\SetupChecks\DatabaseHasMissingIndices->run() #16 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/apps/settings/lib/Controller/CheckSetupController.php(134): OC\SetupCheck\SetupCheckManager->runAll() #17 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/AppFramework/Http/Dispatcher.php(200): OCA\Settings\Controller\CheckSetupController->check() #18 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/AppFramework/Http/Dispatcher.php(114): OC\AppFramework\Http\Dispatcher->executeController() #19 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/AppFramework/App.php(161): OC\AppFramework\Http\Dispatcher->dispatch() #20 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/Route/Router.php(307): OC\AppFramework\App::main() #21 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/base.php(1040): OC\Route\Router->match() #22 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/index.php(24): OC::handleRequest() #23 {main} Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php:24 Stack trace: #0 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php(76): Doctrine\DBAL\Driver\PDO\Exception::new() #1 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(1106): Doctrine\DBAL\Driver\PDO\Connection->query() #2 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/Connection.php(419): Doctrine\DBAL\Connection->executeQuery() #3 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(627): OC\DB\Connection->executeQuery() #4 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(267): Doctrine\DBAL\Connection->fetchOne() #5 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(1778): Doctrine\DBAL\Connection->getDatabase() #6 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(406): Doctrine\DBAL\Schema\AbstractSchemaManager->getDatabase() #7 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/MySQLSchemaManager.php(66): Doctrine\DBAL\Schema\AbstractSchemaManager->doListTables() #8 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(1651): Doctrine\DBAL\Schema\MySQLSchemaManager->listTables() #9 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(1663): Doctrine\DBAL\Schema\AbstractSchemaManager->createSchema() #10 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/Migrator.php(77): Doctrine\DBAL\Schema\AbstractSchemaManager->introspectSchema() #11 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/Connection.php(776): OC\DB\Migrator->createSchema() #12 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/SchemaWrapper.php(28): OC\DB\Connection->createSchema() #13 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php(47): OC\DB\SchemaWrapper->__construct() #14 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php(74): OCA\Settings\SetupChecks\DatabaseHasMissingIndices->getMissingIndices() #15 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/SetupCheck/SetupCheckManager.php(34): OCA\Settings\SetupChecks\DatabaseHasMissingIndices->run() #16 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/apps/settings/lib/Controller/CheckSetupController.php(134): OC\SetupCheck\SetupCheckManager->runAll() #17 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/AppFramework/Http/Dispatcher.php(200): OCA\Settings\Controller\CheckSetupController->check() #18 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/AppFramework/Http/Dispatcher.php(114): OC\AppFramework\Http\Dispatcher->executeController() #19 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/AppFramework/App.php(161): OC\AppFramework\Http\Dispatcher->dispatch() #20 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/Route/Router.php(307): OC\AppFramework\App::main() #21 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/base.php(1040): OC\Route\Router->match() #22 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/index.php(24): OC::handleRequest() #23 {main} Next Doctrine\DBAL\Exception\ConnectionLost: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:105 Stack trace: #0 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(1976): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert() #1 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(1918): Doctrine\DBAL\Connection->handleDriverException() #2 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(1111): Doctrine\DBAL\Connection->convertExceptionDuringQuery() #3 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/Connection.php(419): Doctrine\DBAL\Connection->executeQuery() #4 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(627): OC\DB\Connection->executeQuery() #5 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Connection.php(267): Doctrine\DBAL\Connection->fetchOne() #6 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(1778): Doctrine\DBAL\Connection->getDatabase() #7 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(406): Doctrine\DBAL\Schema\AbstractSchemaManager->getDatabase() #8 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/MySQLSchemaManager.php(66): Doctrine\DBAL\Schema\AbstractSchemaManager->doListTables() #9 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(1651): Doctrine\DBAL\Schema\MySQLSchemaManager->listTables() #10 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/3rdparty/doctrine/dbal/src/Schema/AbstractSchemaManager.php(1663): Doctrine\DBAL\Schema\AbstractSchemaManager->createSchema() #11 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/Migrator.php(77): Doctrine\DBAL\Schema\AbstractSchemaManager->introspectSchema() #12 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/Connection.php(776): OC\DB\Migrator->createSchema() #13 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/DB/SchemaWrapper.php(28): OC\DB\Connection->createSchema() #14 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php(47): OC\DB\SchemaWrapper->__construct() #15 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/apps/settings/lib/SetupChecks/DatabaseHasMissingIndices.php(74): OCA\Settings\SetupChecks\DatabaseHasMissingIndices->getMissingIndices() #16 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/SetupCheck/SetupCheckManager.php(34): OCA\Settings\SetupChecks\DatabaseHasMissingIndices->run() #17 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/apps/settings/lib/Controller/CheckSetupController.php(134): OC\SetupCheck\SetupCheckManager->runAll() #18 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/AppFramework/Http/Dispatcher.php(200): OCA\Settings\Controller\CheckSetupController->check() #19 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/AppFramework/Http/Dispatcher.php(114): OC\AppFramework\Http\Dispatcher->executeController() #20 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/AppFramework/App.php(161): OC\AppFramework\Http\Dispatcher->dispatch() #21 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/private/Route/Router.php(307): OC\AppFramework\App::main() #22 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/lib/base.php(1040): OC\Route\Router->match() #23 /home/yzfyqocpxmdiaigyhyfaqy/web/nextcloud.angellife.ru/public_html/index.php(24): OC::handleRequest() #24 {main}

```

Some files did not pass the integrity check. List of invalid files… Rescan… For more information, see the documentation for ↗.

[https://nextcloud.angellife.ru/index.php/settings/integrity/failed](https://nextcloud.angellife.ru/index.php/settings/integrity/failed)

```auto
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- core
	- INVALID_HASH
		- .user.ini

Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [.user.ini] => Array
                        (
                            [expected] => eaf886ee0d71dbfe3e3585b5c2e40f36ed61bedaf6dadd20295f39a5fa24f40d7df948ff4dc2d481c8e435769ac7c12b115834b34cfbd1419fecc8511310eedb
                            [current] => 065ad067e8cf02d6703d186d2c81c935bc2629f2c527bea5af947a17631c278c93a55fcb6be1cafd5368b42494e4ed0f3b091996d8c96957f4e5030603bb9c07
                        )

                )

        )

)

```

 ![Screenshot_20250601_161428](https://forum.hestiacp.com/uploads/default/original/2X/2/2dc9531344ed4132d0165b4547797cfefadb322b.png)

I’ve already fixed Opcache, cron,and redis

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [June 1, 2025, 4:45pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/10 "2025-06-01T16:45:05Z")

</div>

> [@bestperson](#):
>
> As I can see you used a download from your file storage

I don’t use Nextcloud; I think it’s bloated software. For those links, I only use YOURLS as a URL shortener along with Nginx.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [July 1, 2025, 4:45pm UTC](https://forum.hestiacp.com/t/install-nextcloud-error/19051/11 "2025-07-01T16:45:17Z")

</div>

Closed on July 1, 2025, 4:45pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
