HPB Service is getting down Constantly in NextcloudPi

HPB Service is always down.
I can up going to nc-webui (by terminal through ssh connection) and click in Apply even when I already did it before and even when YES .
But few minutes after, it downs again.

Below the screen shots (check the time at the clock in images).

Nextcloud version (eg, 26.0.1): 26.0.1 - 26.0.1.1
Operating system and version (eg, Ubuntu 22.04): Linux 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64
Apache or nginx version (eg, Apache 2.4.25): Apache (fpm-fcgi)
PHP version (eg, 8.1): 8.1.18
Database (sqlite or MariaDB or Postgres) mysql 10.5.19
Docker (compose)
Snap
Is this the first time you’ve seen this error? yes

The issue you are facing:

  • Steps to replicate it:
  1. Burn the image (https://github.com/nextcloud/nextcloudpi/releases/download/v1.52.0/NextCloudPi_RaspberryPi_v1.52.0.zip) on a 32GB microSDCard using Balena Etcher and put it on a Raspberry Pi 4 B (4GB) and plugged only one USB External Hard Drive (SSD Sandisk 240GB);
  2. Activate it through https://nextcloud.local and did the wizard procedure;
  3. The USB External Hard Drive was formated during wizard procedure as so External Acess was authorized;
  4. After that, in nextcloud.local:4443 page I enabled SSH and reboot the system using the buttom on top right corner;
  5. After this reboot I have changed nc-datadir and nc-databse for β€œ/media/myCloudDrive/ncdata” and β€œ/media/myCloudDrive/ncdatabase” (both paths exists);
  6. I shutdown the system using the top right corner;
  7. Then I plugged a second USB, now a USB Flash Drive Sandisk of 256GB and turn the system on;
  8. I have change nc-back-auto and nc-backup Destination Directory for β€œ/media/myCloudBackup” and active them;
  9. Reboot again using the button on top right corner;
  10. After reboot I active duckdns, letencrypt and nc-webui. Both were OK and no problem;
  11. I reboot again using the button on top right corner and the problem happens (HPB Service was down);
  12. I went to nc-webui again, active it (again), and HPB Service goes up
  • The output of your Nextcloud log in Admin > Logging:

NextCloudPi logs

[ nc-limits ] (Thu 22 Dec 11:55:59 GMT 2022)
Using 2984008704 for PHP max memory
Installing template 'php/90-ncp.ini.sh'...
Using 37 PHP threads
Installing template 'php/pool.d.www.conf.sh'...
Installing template 'mysql/91-ncp.cnf.sh'...
System config value trusted_domains => 3 set to string nextcloudpi
An unhandled exception has been thrown:
PDOException: SQLSTATE[70100]: <>: 1927 Connection was killed in /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php:101
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php(101): PDOStatement->execute()
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1045): Doctrine\DBAL\Driver\PDO\Statement->execute()
#2 /var/www/nextcloud/lib/private/DB/Connection.php(264): Doctrine\DBAL\Connection->executeQuery()
#3 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\DB\Connection->executeQuery()
#4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(280): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /var/www/nextcloud/lib/private/Files/Cache/StorageGlobal.php(80): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/Files/Cache/Storage.php(98): OC\Files\Cache\StorageGlobal->getStorageInfo()
#7 /var/www/nextcloud/lib/private/Files/Cache/Storage.php(76): OC\Files\Cache\Storage::getStorageById()
#8 /var/www/nextcloud/lib/private/Files/Cache/Cache.php(123): OC\Files\Cache\Storage->__construct()
#9 /var/www/nextcloud/lib/private/Files/Storage/Common.php(343): OC\Files\Cache\Cache->__construct()
#10 /var/www/nextcloud/lib/private/Files/View.php(1343): OC\Files\Storage\Common->getCache()
#11 /var/www/nextcloud/lib/private/Files/View.php(1394): OC\Files\View->getCacheEntry()
#12 /var/www/nextcloud/lib/private/Files/Node/Root.php(205): OC\Files\View->getFileInfo()
#13 [internal function]: OC\Files\Node\Root->get()
#14 /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php(72): call_user_func_array()
#15 /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php(149): OC\Files\Node\LazyFolder->__call()
#16 /var/www/nextcloud/lib/private/Files/AppData/AppData.php(132): OC\Files\Node\LazyFolder->get()
#17 /var/www/nextcloud/apps/photos/lib/Service/ReverseGeoCoderService.php(51): OC\Files\AppData\AppData->getFolder()
#18 [internal function]: OCA\Photos\Service\ReverseGeoCoderService->__construct()
#19 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): ReflectionClass->newInstanceArgs()
#20 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(124): OC\AppFramework\Utility\SimpleContainer->buildClass()
#21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(142): OC\AppFramework\Utility\SimpleContainer->resolve()
#22 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(493): OC\AppFramework\Utility\SimpleContainer->query()
#23 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(465): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(97): OC\AppFramework\DependencyInjection\DIContainer->query()
#25 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#26 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): array_map()
#27 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(124): OC\AppFramework\Utility\SimpleContainer->buildClass()
#28 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(142): OC\AppFramework\Utility\SimpleContainer->resolve()
#29 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(493): OC\AppFramework\Utility\SimpleContainer->query()
#30 /var/www/nextcloud/lib/private/ServerContainer.php(155): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#31 /var/www/nextcloud/lib/private/Console/Application.php(221): OC\ServerContainer->query()
#32 /var/www/nextcloud/lib/private/Console/Application.php(131): OC\Console\Application->loadCommandsFromInfoXml()
#33 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#34 /var/www/nextcloud/occ(11): require_once('...')
#35 {main}

Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[70100]: <>: 1927 Connection was killed in /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php:30
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php(103): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1045): Doctrine\DBAL\Driver\PDO\Statement->execute()
#2 /var/www/nextcloud/lib/private/DB/Connection.php(264): Doctrine\DBAL\Connection->executeQuery()
#3 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\DB\Connection->executeQuery()
#4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(280): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /var/www/nextcloud/lib/private/Files/Cache/StorageGlobal.php(80): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/Files/Cache/Storage.php(98): OC\Files\Cache\StorageGlobal->getStorageInfo()
#7 /var/www/nextcloud/lib/private/Files/Cache/Storage.php(76): OC\Files\Cache\Storage::getStorageById()
#8 /var/www/nextcloud/lib/private/Files/Cache/Cache.php(123): OC\Files\Cache\Storage->__construct()
#9 /var/www/nextcloud/lib/private/Files/Storage/Common.php(343): OC\Files\Cache\Cache->__construct()
#10 /var/www/nextcloud/lib/private/Files/View.php(1343): OC\Files\Storage\Common->getCache()
#11 /var/www/nextcloud/lib/private/Files/View.php(1394): OC\Files\View->getCacheEntry()
#12 /var/www/nextcloud/lib/private/Files/Node/Root.php(205): OC\Files\View->getFileInfo()
#13 [internal function]: OC\Files\Node\Root->get()
#14 /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php(72): call_user_func_array()
#15 /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php(149): OC\Files\Node\LazyFolder->__call()
#16 /var/www/nextcloud/lib/private/Files/AppData/AppData.php(132): OC\Files\Node\LazyFolder->get()
#17 /var/www/nextcloud/apps/photos/lib/Service/ReverseGeoCoderService.php(51): OC\Files\AppData\AppData->getFolder()
#18 [internal function]: OCA\Photos\Service\ReverseGeoCoderService->__construct()
#19 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): ReflectionClass->newInstanceArgs()
#20 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(124): OC\AppFramework\Utility\SimpleContainer->buildClass()
#21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(142): OC\AppFramework\Utility\SimpleContainer->resolve()
#22 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(493): OC\AppFramework\Utility\SimpleContainer->query()
#23 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(465): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(97): OC\AppFramework\DependencyInjection\DIContainer->query()
#25 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#26 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): array_map()
#27 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(124): OC\AppFramework\Utility\SimpleContainer->buildClass()
#28 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(142): OC\AppFramework\Utility\SimpleContainer->resolve()
#29 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(493): OC\AppFramework\Utility\SimpleContainer->query()
#30 /var/www/nextcloud/lib/private/ServerContainer.php(155): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#31 /var/www/nextcloud/lib/private/Console/Application.php(221): OC\ServerContainer->query()
#32 /var/www/nextcloud/lib/private/Console/Application.php(131): OC\Console\Application->loadCommandsFromInfoXml()
#33 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#34 /var/www/nextcloud/occ(11): require_once('...')
#35 {main}

Next Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a query: SQLSTATE[70100]: <>: 1927 Connection was killed in /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:119
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1814): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1749): Doctrine\DBAL\Connection->handleDriverException()
#2 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1055): Doctrine\DBAL\Connection->convertExceptionDuringQuery()
#3 /var/www/nextcloud/lib/private/DB/Connection.php(264): Doctrine\DBAL\Connection->executeQuery()
#4 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\DB\Connection->executeQuery()
#5 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(280): Doctrine\DBAL\Query\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/Files/Cache/StorageGlobal.php(80): OC\DB\QueryBuilder\QueryBuilder->execute()
#7 /var/www/nextcloud/lib/private/Files/Cache/Storage.php(98): OC\Files\Cache\StorageGlobal->getStorageInfo()
#8 /var/www/nextcloud/lib/private/Files/Cache/Storage.php(76): OC\Files\Cache\Storage::getStorageById()
#9 /var/www/nextcloud/lib/private/Files/Cache/Cache.php(123): OC\Files\Cache\Storage->__construct()
#10 /var/www/nextcloud/lib/private/Files/Storage/Common.php(343): OC\Files\Cache\Cache->__construct()
#11 /var/www/nextcloud/lib/private/Files/View.php(1343): OC\Files\Storage\Common->getCache()
#12 /var/www/nextcloud/lib/private/Files/View.php(1394): OC\Files\View->getCacheEntry()
#13 /var/www/nextcloud/lib/private/Files/Node/Root.php(205): OC\Files\View->getFileInfo()
#14 [internal function]: OC\Files\Node\Root->get()
#15 /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php(72): call_user_func_array()
#16 /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php(149): OC\Files\Node\LazyFolder->__call()
#17 /var/www/nextcloud/lib/private/Files/AppData/AppData.php(132): OC\Files\Node\LazyFolder->get()
#18 /var/www/nextcloud/apps/photos/lib/Service/ReverseGeoCoderService.php(51): OC\Files\AppData\AppData->getFolder()
#19 [internal function]: OCA\Photos\Service\ReverseGeoCoderService->__construct()
#20 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): ReflectionClass->newInstanceArgs()
#21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(124): OC\AppFramework\Utility\SimpleContainer->buildClass()
#22 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(142): OC\AppFramework\Utility\SimpleContainer->resolve()
#23 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(493): OC\AppFramework\Utility\SimpleContainer->query()
#24 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(465): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(97): OC\AppFramework\DependencyInjection\DIContainer->query()
#26 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#27 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): array_map()
#28 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(124): OC\AppFramework\Utility\SimpleContainer->buildClass()
#29 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(142): OC\AppFramework\Utility\SimpleContainer->resolve()
#30 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(493): OC\AppFramework\Utility\SimpleContainer->query()
#31 /var/www/nextcloud/lib/private/ServerContainer.php(155): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#32 /var/www/nextcloud/lib/private/Console/Application.php(221): OC\ServerContainer->query()
#33 /var/www/nextcloud/lib/private/Console/Application.php(131): OC\Console\Application->loadCommandsFromInfoXml()
#34 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#35 /var/www/nextcloud/occ(11): require_once('...')
#36 {main}
[ nc-admin ] (Thu Jun 15 14:36:58 BST 2023)
Successfully reset password for ncp

[ nc-passwd ] (Thu Jun 15 14:37:03 BST 2023)
password updated successfully
Site ncp-activation disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enabling site ncp.
Enabling site nextcloud.
To activate the new configuration, you need to run:
systemctl reload apache2
System config value trusted_domains => 11 set to string 177.133.199.7
System config value trusted_domains => 1 set to string 192.168.0.70
System config value trusted_domains => 14 set to string nextcloudpi
System config value trusted_domains => 3 set to string nextcloudpi
System config value overwrite.cli.url set to string https://nextcloudpi/
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string nextcloudpi
System config value trusted_proxies => 14 set to empty string
Setup notify_push (attempt 1/5)
βœ“ redis is configured
βœ“ push server is receiving redis messages
βœ“ push server can load mount info from database
βœ“ push server can connect to the Nextcloud server
βœ“ push server is a trusted proxy
βœ“ push server is running the same version as the app
configuration saved

[ nc-automount ] (Thu Jun 15 14:43:14 BST 2023)
Created symlink /etc/systemd/system/multi-user.target.wants/nc-automount.service β†’ /lib/systemd/system/nc-automount.service.
Created symlink /etc/systemd/system/multi-user.target.wants/nc-automount-links.service β†’ /lib/systemd/system/nc-automount-links.service.
automount enabled

[ nc-format-USB ] (Thu Jun 15 14:43:23 BST 2023)
mmcblk0p2 179:2 0 29.5G 0 part /
/dev/sda: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54
/dev/sda: 8 bytes were erased at offset 0x37e4fffe00 (gpt): 45 46 49 20 50 41 52 54
/dev/sda: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa
Drive sda formatted successfuly and labeled myCloudDrive

[ nc-datadir ] (Thu Jun 15 14:43:32 BST 2023)
Maintenance mode enabled
moving data directory from /opt/ncdata/data to /media/USBdrive/ncdata...
{"reqId":"aNzMj3hWg2ERRSJoLevf","level":2,"time":"2023-06-15T13:43:36+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Temporary directory /opt/ncdata/data/tmp is not present or writable","userAgent":"--","version":"26.0.1.1","data":[]}
Nextcloud is in maintenance mode, hence the database isn't accessible.
Cannot perform any command except 'maintenance:mode --off'

Your data directory is invalid.
Ensure there is a file called ".ocdata" in the root of the data directory.

Cannot create "data" directory.
This can usually be fixed by giving the web server write access to the root directory. See https://docs.nextcloud.com/server/26/go.php?to=admin-dir_permissions

An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('...')
#2 {main}Nextcloud is in maintenance mode, hence the database isn't accessible.
Cannot perform any command except 'maintenance:mode --off'

System config value logfile set to string /media/USBdrive/ncdata/data/nextcloud.log
Nextcloud is in maintenance mode, hence the database isn't accessible.
Cannot perform any command except 'maintenance:mode --off'

System config value tempdirectory set to string /media/USBdrive/ncdata/data/tmp
Installing template 'php/opcache.ini.sh'...
Maintenance mode disabled
Installing template 'ncp-metrics.cfg.sh'...
The NC data directory has been moved successfully.

[ fail2ban ] (Thu Jun 15 14:43:53 BST 2023)
System config value loglevel set to string 2
System config value log_type set to string file
fail2ban enabled

[ SSH ] (Thu Jun 15 14:46:18 BST 2023)
Creating admin & setting password
New password: Retype new password: passwd: password updated successfully
Enabled sudo for admin
Synchronizing state of ssh.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable ssh
Created symlink /etc/systemd/system/sshd.service β†’ /lib/systemd/system/ssh.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service β†’ /lib/systemd/system/ssh.service.
SSH enabled

[ nc-limits ] (Thu 15 Jun 14:49:00 BST 2023)
Using 2984008704 for PHP max memory
Installing template 'php/90-ncp.ini.sh'...
Using 37 PHP threads
Installing template 'php/pool.d.www.conf.sh'...
System config value trusted_domains => 3 set to string nextcloudpi
System config value overwrite.cli.url set to string https://nextcloudpi/
Installing template 'mysql/91-ncp.cnf.sh'...

System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string nextcloudpi
System config value trusted_proxies => 14 set to empty string
Setup notify_push (attempt 1/5)
βœ“ redis is configured
βœ“ push server is receiving redis messages
βœ“ push server can load mount info from database
βœ“ push server can connect to the Nextcloud server
βœ“ push server is a trusted proxy
βœ“ push server is running the same version as the app
configuration saved
[ nc-limits ] (Thu 15 Jun 15:02:21 BST 2023)
Using 2984008704 for PHP max memory
Installing template 'php/90-ncp.ini.sh'...
Using 37 PHP threads
Installing template 'php/pool.d.www.conf.sh'...
System config value trusted_domains => 3 set to string nextcloudpi
System config value overwrite.cli.url set to string https://nextcloudpi/
Installing template 'mysql/91-ncp.cnf.sh'...

System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string nextcloudpi
System config value trusted_proxies => 14 set to empty string
Setup notify_push (attempt 1/5)
βœ“ redis is configured
βœ“ push server is receiving redis messages
βœ“ push server can load mount info from database
βœ“ push server can connect to the Nextcloud server
βœ“ push server is a trusted proxy
βœ“ push server is running the same version as the app
configuration saved
[ nc-datadir ] (Thu Jun 15 15:04:55 BST 2023)
Maintenance mode enabled
moving data directory from /media/USBdrive/ncdata/data to /media/myCloudDrive/ncdata...
BTRFS filesystem detected
Create subvolume '/media/myCloudDrive/ncdata'
{"reqId":"wgnSxfV54g0KAVC81veu","level":2,"time":"2023-06-15T14:05:00+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Temporary directory /media/USBdrive/ncdata/data/tmp is not present or writable","userAgent":"--","version":"26.0.1.1","data":[]}
Nextcloud is in maintenance mode, hence the database isn't accessible.
Cannot perform any command except 'maintenance:mode --off'

Your data directory is invalid.
Ensure there is a file called ".ocdata" in the root of the data directory.

Cannot create "data" directory.
This can usually be fixed by giving the web server write access to the root directory. See https://docs.nextcloud.com/server/26/go.php?to=admin-dir_permissions

An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:167
Stack trace:
#0 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('...')
#2 {main}Nextcloud is in maintenance mode, hence the database isn't accessible.
Cannot perform any command except 'maintenance:mode --off'

System config value logfile set to string /media/myCloudDrive/ncdata/data/nextcloud.log
Nextcloud is in maintenance mode, hence the database isn't accessible.
Cannot perform any command except 'maintenance:mode --off'

System config value tempdirectory set to string /media/myCloudDrive/ncdata/data/tmp
Installing template 'php/opcache.ini.sh'...
Maintenance mode disabled
Installing template 'ncp-metrics.cfg.sh'...
The NC data directory has been moved successfully.

[ nc-database ] (Thu Jun 15 15:06:50 BST 2023)
Maintenance mode enabled
moving database to /media/myCloudDrive/ncdatabase...
Installing template 'mysql/90-ncp.cnf.sh'...
Maintenance mode disabled

[ nc-limits ] (Thu 15 Jun 15:10:50 BST 2023)
Using 2984008704 for PHP max memory
Installing template 'php/90-ncp.ini.sh'...
Using 37 PHP threads
Installing template 'php/pool.d.www.conf.sh'...
System config value trusted_domains => 3 set to string nextcloudpi
System config value overwrite.cli.url set to string https://nextcloudpi/
Installing template 'mysql/91-ncp.cnf.sh'...
An unhandled exception has been thrown:
RedisException: Connection lost in /var/www/nextcloud/lib/private/Memcache/Redis.php:56
Stack trace:
#0 /var/www/nextcloud/lib/private/Memcache/Redis.php(56): Redis->get()
#1 /var/www/nextcloud/lib/autoloader.php(154): OC\Memcache\Redis->get()
#2 [internal function]: OC\Autoloader->load()
#3 /var/www/nextcloud/lib/private/ServerContainer.php(106): class_exists()
#4 /var/www/nextcloud/lib/private/ServerContainer.php(186): OC\ServerContainer->getAppContainer()
#5 /var/www/nextcloud/lib/private/ServerContainer.php(153): OC\ServerContainer->getAppContainerForService()
#6 /var/www/nextcloud/lib/private/Console/Application.php(221): OC\ServerContainer->query()
#7 /var/www/nextcloud/lib/private/Console/Application.php(131): OC\Console\Application->loadCommandsFromInfoXml()
#8 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#9 /var/www/nextcloud/occ(11): require_once('...')
#10 {main}
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string nextcloudpi
System config value trusted_proxies => 14 set to empty string
Setup notify_push (attempt 1/5)
βœ“ redis is configured
βœ“ push server is receiving redis messages
βœ“ push server can load mount info from database
βœ“ push server can connect to the Nextcloud server
βœ“ push server is a trusted proxy
βœ“ push server is running the same version as the app
configuration saved
[ nc-limits ] (Thu 15 Jun 15:13:20 BST 2023)
Using 2984008704 for PHP max memory
Installing template 'php/90-ncp.ini.sh'...
Using 37 PHP threads
Installing template 'php/pool.d.www.conf.sh'...
System config value trusted_domains => 3 set to string nextcloudpi
System config value overwrite.cli.url set to string https://nextcloudpi/
Installing template 'mysql/91-ncp.cnf.sh'...

System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string nextcloudpi
System config value trusted_proxies => 14 set to empty string
Setup notify_push (attempt 1/5)
βœ“ redis is configured
βœ“ push server is receiving redis messages
βœ“ push server can load mount info from database
βœ“ push server can connect to the Nextcloud server
βœ“ push server is a trusted proxy
βœ“ push server is running the same version as the app
configuration saved
[ nc-limits ] (Thu 15 Jun 15:17:17 BST 2023)
Using 2984008704 for PHP max memory
Installing template 'php/90-ncp.ini.sh'...
Using 37 PHP threads
Installing template 'php/pool.d.www.conf.sh'...
System config value trusted_domains => 3 set to string nextcloudpi
System config value overwrite.cli.url set to string https://nextcloudpi/
Installing template 'mysql/91-ncp.cnf.sh'...

System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string nextcloudpi
System config value trusted_proxies => 14 set to empty string
Setup notify_push (attempt 1/5)
βœ“ redis is configured
βœ“ push server is receiving redis messages
βœ“ push server can load mount info from database
βœ“ push server can connect to the Nextcloud server
βœ“ push server is a trusted proxy
βœ“ push server is running the same version as the app
configuration saved
[ nc-backup-auto ] (Thu Jun 15 15:19:30 BST 2023)
Installing template 'ncp-metrics.cfg.sh'...
automatic backups enabled

[ nc-backup ] (Thu Jun 15 15:21:21 BST 2023)
Installing template 'ncp-metrics.cfg.sh'...
check free space...
Maintenance mode enabled
backup database...
backup files...
backup /media/myCloudBackup/nextcloud-bkp_20230615_1686838890.tar.gz generated
Maintenance mode disabled

[ duckDNS ] (Thu Jun 15 15:24:37 BST 2023)
DuckDNS is enabled

[ letsencrypt ] (Thu Jun 15 15:26:18 BST 2023)
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Account registered.
Requesting a certificate for amorlindo.duckdns.org and login.amorlindo.duckdns.org
Performing the following challenges:
http-01 challenge for amorlindo.duckdns.org
http-01 challenge for login.amorlindo.duckdns.org
Using the webroot path /var/www/nextcloud for all unmatched domains.
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/amorlindo.duckdns.org/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/amorlindo.duckdns.org/privkey.pem
Your certificate will expire on 2023-09-13. To obtain a new or
tweaked version of this certificate in the future, simply run
certbot again. To non-interactively renew *all* of your
certificates, run "certbot renew"
- If you like Certbot, please consider supporting our work by:

Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le

Installing template 'nextcloud.conf.sh'...
INFO: Letsencrypt domain is amorlindo.duckdns.org
INFO: Metrics enabled: no
Apache self check:
Syntax OK
System config value trusted_domains => 11 set to string amorlindo.duckdns.org
System config value trusted_domains => 3 set to string amorlindo.duckdns.org
System config value overwrite.cli.url set to string https://amorlindo.duckdns.org/
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string amorlindo.duckdns.org
System config value trusted_proxies => 14 set to string 177.133.199.7
Setup notify_push (attempt 1/5)
βœ“ redis is configured
βœ“ push server is receiving redis messages
βœ“ push server can load mount info from database
βœ“ push server can connect to the Nextcloud server
βœ“ push server is a trusted proxy
βœ“ push server is running the same version as the app
configuration saved

[ nc-limits ] (Thu 15 Jun 15:30:18 BST 2023)
Using 2984008704 for PHP max memory
Installing template 'php/90-ncp.ini.sh'...
Using 37 PHP threads
Installing template 'php/pool.d.www.conf.sh'...
System config value trusted_domains => 3 set to string amorlindo.duckdns.org
Installing template 'mysql/91-ncp.cnf.sh'...
System config value overwrite.cli.url set to string https://amorlindo.duckdns.org/
An unhandled exception has been thrown:
RedisException: read error on connection to /var/run/redis/redis.sock:0 in /var/www/nextcloud/lib/private/RedisFactory.php:143
Stack trace:
#0 /var/www/nextcloud/lib/private/RedisFactory.php(143): Redis->auth()
#1 /var/www/nextcloud/lib/private/RedisFactory.php(178): OC\RedisFactory->create()
#2 /var/www/nextcloud/lib/private/Memcache/Redis.php(50): OC\RedisFactory->getInstance()
#3 /var/www/nextcloud/lib/private/Memcache/Redis.php(56): OC\Memcache\Redis->getCache()
#4 /var/www/nextcloud/lib/private/App/InfoParser.php(58): OC\Memcache\Redis->get()
#5 /var/www/nextcloud/lib/private/App/AppManager.php(506): OC\App\InfoParser->parse()
#6 /var/www/nextcloud/lib/private/legacy/OC_App.php(607): OC\App\AppManager->getAppInfo()
#7 /var/www/nextcloud/lib/private/AppFramework/App.php(71): OC_App::getAppInfo()
#8 /var/www/nextcloud/lib/private/legacy/OC_App.php(291): OC\AppFramework\App::buildAppNamespace()
#9 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(119): OC_App::registerAutoloading()
#10 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(90): OC\AppFramework\Bootstrap\Coordinator->registerApps()
#11 /var/www/nextcloud/lib/base.php(688): OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()
#12 /var/www/nextcloud/lib/base.php(1165): OC::init()
#13 /var/www/nextcloud/console.php(48): require_once('...')
#14 /var/www/nextcloud/occ(11): require_once('...')
#15 {main}
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string amorlindo.duckdns.org
System config value trusted_proxies => 14 set to string 177.133.199.7
Setup notify_push (attempt 1/5)
βœ“ redis is configured
βœ“ push server is receiving redis messages
βœ“ push server can load mount info from database
βœ“ push server can connect to the Nextcloud server
βœ“ push server is a trusted proxy
βœ“ push server is running the same version as the app
configuration saved
[ nc-webui ] (Thu Jun 15 15:36:19 BST 2023)
Site ncp already enabled
ncp-web enabled

[ nc-limits ] (Thu 15 Jun 15:39:01 BST 2023)
Using 2984008704 for PHP max memory
Installing template 'php/90-ncp.ini.sh'...
Using 37 PHP threads
Installing template 'php/pool.d.www.conf.sh'...
System config value trusted_domains => 3 set to string amorlindo.duckdns.org
Installing template 'mysql/91-ncp.cnf.sh'...
System config value overwrite.cli.url set to string https://amorlindo.duckdns.org/

An unhandled exception has been thrown:
RedisException: Redis server /var/run/redis/redis.sock:0 went away in /var/www/nextcloud/lib/private/Memcache/Redis.php:56
Stack trace:
#0 /var/www/nextcloud/lib/private/Memcache/Redis.php(56): Redis->get()
#1 /var/www/nextcloud/lib/autoloader.php(154): OC\Memcache\Redis->get()
#2 [internal function]: OC\Autoloader->load()
#3 /var/www/nextcloud/lib/private/ServerContainer.php(106): class_exists()
#4 /var/www/nextcloud/lib/private/ServerContainer.php(186): OC\ServerContainer->getAppContainer()
#5 /var/www/nextcloud/lib/private/ServerContainer.php(153): OC\ServerContainer->getAppContainerForService()
#6 /var/www/nextcloud/lib/private/Console/Application.php(221): OC\ServerContainer->query()
#7 /var/www/nextcloud/lib/private/Console/Application.php(131): OC\Console\Application->loadCommandsFromInfoXml()
#8 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#9 /var/www/nextcloud/occ(11): require_once('...')
#10 {main}System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string amorlindo.duckdns.org
System config value trusted_proxies => 14 set to string 177.133.199.7
Setup notify_push (attempt 1/5)
βœ“ redis is configured
βœ“ push server is receiving redis messages
βœ“ push server can load mount info from database
βœ“ push server can connect to the Nextcloud server
βœ“ push server is a trusted proxy
βœ“ push server is running the same version as the app
configuration saved
[ nc-limits ] (Thu 15 Jun 16:07:38 BST 2023)
Using 2984008704 for PHP max memory
Installing template 'php/90-ncp.ini.sh'...
Using 37 PHP threads
Installing template 'php/pool.d.www.conf.sh'...
System config value trusted_domains => 3 set to string amorlindo.duckdns.org
Installing template 'mysql/91-ncp.cnf.sh'...
System config value overwrite.cli.url set to string https://amorlindo.duckdns.org/
An unhandled exception has been thrown:
RedisException: read error on connection to /var/run/redis/redis.sock:0 in /var/www/nextcloud/lib/private/RedisFactory.php:143
Stack trace:
#0 /var/www/nextcloud/lib/private/RedisFactory.php(143): Redis->auth()
#1 /var/www/nextcloud/lib/private/RedisFactory.php(178): OC\RedisFactory->create()
#2 /var/www/nextcloud/lib/private/Memcache/Redis.php(50): OC\RedisFactory->getInstance()
#3 /var/www/nextcloud/lib/private/Memcache/Redis.php(56): OC\Memcache\Redis->getCache()
#4 /var/www/nextcloud/lib/private/App/InfoParser.php(58): OC\Memcache\Redis->get()
#5 /var/www/nextcloud/lib/private/App/AppManager.php(506): OC\App\InfoParser->parse()
#6 /var/www/nextcloud/lib/private/legacy/OC_App.php(607): OC\App\AppManager->getAppInfo()
#7 /var/www/nextcloud/lib/private/AppFramework/App.php(71): OC_App::getAppInfo()
#8 /var/www/nextcloud/lib/private/legacy/OC_App.php(291): OC\AppFramework\App::buildAppNamespace()
#9 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(119): OC_App::registerAutoloading()
#10 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(90): OC\AppFramework\Bootstrap\Coordinator->registerApps()
#11 /var/www/nextcloud/lib/base.php(688): OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()
#12 /var/www/nextcloud/lib/base.php(1165): OC::init()
#13 /var/www/nextcloud/console.php(48): require_once('...')
#14 /var/www/nextcloud/occ(11): require_once('...')
#15 {main}
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string amorlindo.duckdns.org
System config value trusted_proxies => 14 set to string 177.133.199.7
Setup notify_push (attempt 1/5)
βœ“ redis is configured
πŸ—΄ can't connect to push server: cURL error 7: Failed to connect to amorlindo.duckdns.org port 443: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://amorlindo.duckdns.org/push/test/cookie
Setup notify_push (attempt 2/5)
βœ“ redis is configured
πŸ—΄ can't connect to push server: cURL error 7: Failed to connect to amorlindo.duckdns.org port 443: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://amorlindo.duckdns.org/push/test/cookie
Setup notify_push (attempt 3/5)
βœ“ redis is configured
πŸ—΄ can't connect to push server: cURL error 7: Failed to connect to amorlindo.duckdns.org port 443: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://amorlindo.duckdns.org/push/test/cookie
Setup notify_push (attempt 4/5)
βœ“ redis is configured
πŸ—΄ can't connect to push server: cURL error 7: Failed to connect to amorlindo.duckdns.org port 443: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://amorlindo.duckdns.org/push/test/cookie
Setup notify_push (attempt 5/5)
βœ“ redis is configured
πŸ—΄ can't connect to push server: cURL error 7: Failed to connect to amorlindo.duckdns.org port 443: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://amorlindo.duckdns.org/push/test/cookie
[ duckDNS ] (Thu Jun 15 16:11:22 BST 2023)
DuckDNS is enabled

[ nc-limits ] (Thu 15 Jun 17:14:18 BST 2023)
Using 2984008704 for PHP max memory
Installing template 'php/90-ncp.ini.sh'...
Using 37 PHP threads
Installing template 'php/pool.d.www.conf.sh'...
System config value trusted_domains => 3 set to string amorlindo.duckdns.org
System config value overwrite.cli.url set to string https://amorlindo.duckdns.org/
Installing template 'mysql/91-ncp.cnf.sh'...

System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
System config value trusted_proxies => 13 set to string amorlindo.duckdns.org
System config value trusted_proxies => 14 set to string 177.133.199.7
Setup notify_push (attempt 1/5)
βœ“ redis is configured
βœ“ push server is receiving redis messages
βœ“ push server can load mount info from database
βœ“ push server can connect to the Nextcloud server
βœ“ push server is a trusted proxy
βœ“ push server is running the same version as the app
configuration saved
[ nc-maintenance ] (Thu 15 Jun 17:22:22 BST 2023)
Maintenance mode enabled

[ nc-update ] (Thu 15 Jun 17:23:10 BST 2023)
Downloading updates
Performing updates
NextCloudPi updated to version v1.52.0

[ nc-maintenance ] (Thu 15 Jun 17:25:46 BST 2023)
Maintenance mode disabled

[ nc-webui ] (Thu 15 Jun 17:28:18 BST 2023)
Site ncp already enabled
ncp-web enabled

[ nc-webui ] (Thu Jun 15 18:12:01 BST 2023)
Site ncp already enabled
ncp-web enabled


  • The output of your config.php file in /path/to/nextcloud**
    (use https://.../settings/admin/support which auto-removes identifying information!):
{
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": {
        "0": "localhost",
        "7": "nextcloudpi",
        "5": "nextcloudpi.local",
        "8": "nextcloudpi.lan",
        "3": "amorlindo.duckdns.org",
        "11": "177.133.199.7",
        "1": "192.168.0.70",
        "14": "nextcloudpi"
    },
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "26.0.1.1",
    "overwrite.cli.url": "https:\/\/amorlindo.duckdns.org\/",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "memcache.local": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0,
        "timeout": 0,
        "password": "***REMOVED SENSITIVE VALUE***"
    },
    "tempdirectory": "\/media\/myCloudDrive\/ncdata\/data\/tmp",
    "mail_smtpmode": "sendmail",
    "mail_smtpauthtype": "LOGIN",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "preview_max_x": "2048",
    "preview_max_y": "2048",
    "jpeg_quality": "60",
    "overwriteprotocol": "https",
    "maintenance": false,
    "logfile": "\/media\/myCloudDrive\/ncdata\/data\/nextcloud.log",
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "loglevel": "2",
    "log_type": "file"
}
  • for Docker/Podman list environment variables ( run β€œdocker inspect {container name}”)**
Not using docker
  • The output of your Apache/nginx/system log in /var/log/____:
  • For Docker/Podman post STDOUT of the container (run docker logs {container name})
Couldn't find this log (see image below)

  • errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors.
Erro	index	Exception: OCA\Text\Service\DocumentService::getFileForSession(): Argument #1 ($session) must be of type OCA\Text\Db\Session, bool given, called in /var/www/nextcloud/apps/text/lib/Service/ApiService.php on line 232 in file '/var/www/nextcloud/apps/text/lib/Service/DocumentService.php' line 433	
2023-06-15T14:26:25-0300
Erro	webdav	Sabre\DAV\Exception: Unknown error while seeking content

    /var/www/nextcloud/apps/dav/lib/BulkUpload/MultipartRequestParser.php - line 129:

    OCA\DAV\BulkUpload\MultipartRequestParser->isAt()

    /var/www/nextcloud/apps/dav/lib/BulkUpload/BulkUploadPlugin.php - line 71:

    OCA\DAV\BulkUpload\MultipartRequestParser->isAtLastBoundary()

    /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:

    OCA\DAV\BulkUpload\BulkUploadPlugin->httpPost()

    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 472:

    Sabre\DAV\Server->emit()

    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 253:

    Sabre\DAV\Server->invokeMethod()

    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 321:

    Sabre\DAV\Server->start()

    /var/www/nextcloud/apps/dav/lib/Server.php - line 366:

    Sabre\DAV\Server->exec()

    /var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:

    OCA\DAV\Server->exec()

    /var/www/nextcloud/remote.php - line 172:

    require_once("/var/www/ne ... p")

	
2023-06-15T13:12:48-0300
Erro	webdav	Sabre\DAV\Exception: Unknown error while seeking content

    /var/www/nextcloud/apps/dav/lib/BulkUpload/MultipartRequestParser.php - line 129:

    OCA\DAV\BulkUpload\MultipartRequestParser->isAt()

    /var/www/nextcloud/apps/dav/lib/BulkUpload/BulkUploadPlugin.php - line 71:

    OCA\DAV\BulkUpload\MultipartRequestParser->isAtLastBoundary()

    /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php - line 89:

    OCA\DAV\BulkUpload\BulkUploadPlugin->httpPost()

    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 472:

    Sabre\DAV\Server->emit()

    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 253:

    Sabre\DAV\Server->invokeMethod()

    /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 321:

    Sabre\DAV\Server->start()

    /var/www/nextcloud/apps/dav/lib/Server.php - line 366:

    Sabre\DAV\Server->exec()

    /var/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 35:

    OCA\DAV\Server->exec()

    /var/www/nextcloud/remote.php - line 172:

    require_once("/var/www/ne ... p")

	
2023-06-15T12:59:22-0300
Erro	ocs_api	Failed addUser attempt: User already exists.	
2023-06-15T11:35:01-0300
Erro	ocs_api	Failed addUser attempt: User already exists.	
2023-06-15T11:35:00-0300
Erro	cron	RedisException: read error on connection to /var/run/redis/redis.sock:0

    /var/www/nextcloud/lib/private/Memcache/Redis.php - line 56:

    Redis->get()

    /var/www/nextcloud/lib/private/App/InfoParser.php - line 58:

    OC\Memcache\Redis->get()

    /var/www/nextcloud/lib/private/App/AppManager.php - line 506:

    OC\App\InfoParser->parse()

    /var/www/nextcloud/lib/private/legacy/OC_App.php - line 607:

    OC\App\AppManager->getAppInfo()

    /var/www/nextcloud/lib/private/AppFramework/App.php - line 71:

    OC_App::getAppInfo()

    /var/www/nextcloud/lib/private/legacy/OC_App.php - line 291:

    OC\AppFramework\App::buildAppNamespace()

    /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php - line 119:

    OC_App::registerAutoloading()

    /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php - line 90:

    OC\AppFramework\Bootstrap\Coordinator->registerApps()

    /var/www/nextcloud/lib/base.php - line 688:

    OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()

    /var/www/nextcloud/lib/base.php - line 1165:

    OC::init()

    /var/www/nextcloud/cron.php - line 43:

    require_once("/var/www/ne ... p")

	
2023-06-15T11:15:02-0300
Erro	cron	Exception: Not installed

    /var/www/nextcloud/lib/base.php - line 697:

    OC::checkInstalled()

    /var/www/nextcloud/lib/base.php - line 1165:

    OC::init()

    /var/www/nextcloud/cron.php - line 43:

    require_once("/var/www/ne ... p")

	
2023-05-01T11:10:02-0300
  • Other informations
<details><summary>List of activated apps</summary>

Enabled:
 - activity: 2.18.0
 - calendar: 4.3.3
 - circles: 26.0.0
 - cloud_federation_api: 1.9.0
 - comments: 1.16.0
 - contacts: 5.2.0
 - contactsinteraction: 1.7.0
 - dashboard: 7.6.0
 - dav: 1.25.0
 - federatedfilesharing: 1.16.0
 - federation: 1.16.0
 - files: 1.21.1
 - files_pdfviewer: 2.7.0
 - files_rightclick: 1.5.0
 - files_sharing: 1.18.0
 - files_trashbin: 1.16.0
 - files_versions: 1.19.1
 - firstrunwizard: 2.15.0
 - logreader: 2.11.0
 - lookup_server_connector: 1.14.0
 - news: 21.1.0
 - nextcloud_announcements: 1.15.0
 - nextcloudpi: 0.0.1
 - notes: 4.7.2
 - notifications: 2.14.0
 - notify_push: 0.6.2
 - oauth2: 1.14.0
 - password_policy: 1.16.0
 - photos: 2.2.0
 - previewgenerator: 99.99.99
 - privacy: 1.10.0
 - provisioning_api: 1.16.0
 - recommendations: 1.5.0
 - related_resources: 1.1.0-alpha1
 - serverinfo: 1.16.0
 - settings: 1.8.0
 - sharebymail: 1.16.0
 - support: 1.9.0
 - survey_client: 1.14.0
 - systemtags: 1.16.0
 - tasks: 0.14.5
 - text: 3.7.2
 - theming: 2.1.1
 - twofactor_backupcodes: 1.15.0
 - user_status: 1.6.0
 - viewer: 1.10.0
 - weather_status: 1.6.0
 - workflowengine: 2.8.0
Disabled:
 - admin_audit
 - bruteforcesettings
 - encryption
 - files_external
 - suspicious_login
 - twofactor_totp
 - updatenotification: 1.16.0
 - user_ldap

</details>

Cron Configuration: Array
(
[backgroundjobs_mode] => cron
[lastcron] => 1686849602
)

External storages: files_external is disabled

Encryption: no

User-backends:

OC\User\Database

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, intl, ldap, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache

User JAAP from Telegram NC group helped:

When your HPB is down:
1. Clear your PHP opcache
2. Reboot
3. Enjoy
1 Like