Lighttpd SSL failures after upgrade from Buster to Bullseye

The same errors as You see the versions of Mariadb is problem.

root@DietPi:/var/log/mysql# cat error.log 
2021-10-09  9:35:15 0 [Note] InnoDB: Using Linux native AIO
2021-10-09  9:35:15 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-10-09  9:35:15 0 [Note] InnoDB: Uses event mutexes
2021-10-09  9:35:15 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-10-09  9:35:15 0 [Note] InnoDB: Number of pools: 1
2021-10-09  9:35:15 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-10-09  9:35:15 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2021-10-09  9:35:15 0 [Note] InnoDB: Completed initialization of buffer pool
2021-10-09  9:35:15 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-10-09  9:35:15 0 [ERROR] InnoDB: Unsupported redo log format. The redo log was created with MariaDB 10.5.11.
2021-10-09  9:35:15 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2021-10-09  9:35:15 0 [Note] InnoDB: Starting shutdown...
2021-10-09  9:35:16 0 [ERROR] Plugin 'InnoDB' init function returned error.
2021-10-09  9:35:16 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-10-09  9:35:16 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-10-09  9:35:16 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2021-10-09  9:35:16 0 [ERROR] Aborting

2021-10-09  9:39:26 0 [Note] InnoDB: Using Linux native AIO
2021-10-09  9:39:26 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-10-09  9:39:26 0 [Note] InnoDB: Uses event mutexes
2021-10-09  9:39:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-10-09  9:39:26 0 [Note] InnoDB: Number of pools: 1
2021-10-09  9:39:26 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-10-09  9:39:27 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2021-10-09  9:39:27 0 [Note] InnoDB: Completed initialization of buffer pool
2021-10-09  9:39:27 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-10-09  9:39:27 0 [ERROR] InnoDB: Unsupported redo log format. The redo log was created with MariaDB 10.5.11.
2021-10-09  9:39:27 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2021-10-09  9:39:27 0 [Note] InnoDB: Starting shutdown...
2021-10-09  9:39:28 0 [ERROR] Plugin 'InnoDB' init function returned error.
2021-10-09  9:39:28 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-10-09  9:39:28 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-10-09  9:39:28 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2021-10-09  9:39:28 0 [ERROR] Aborting

2021-10-09  9:39:40 0 [Note] InnoDB: Using Linux native AIO
2021-10-09  9:39:40 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-10-09  9:39:40 0 [Note] InnoDB: Uses event mutexes
2021-10-09  9:39:40 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-10-09  9:39:40 0 [Note] InnoDB: Number of pools: 1
2021-10-09  9:39:40 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-10-09  9:39:40 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2021-10-09  9:39:40 0 [Note] InnoDB: Completed initialization of buffer pool
2021-10-09  9:39:40 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-10-09  9:39:40 0 [ERROR] InnoDB: Unsupported redo log format. The redo log was created with MariaDB 10.5.11.
2021-10-09  9:39:40 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2021-10-09  9:39:40 0 [Note] InnoDB: Starting shutdown...
2021-10-09  9:39:41 0 [ERROR] Plugin 'InnoDB' init function returned error.
2021-10-09  9:39:41 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-10-09  9:39:41 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-10-09  9:39:41 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2021-10-09  9:39:41 0 [ERROR] Aborting

I have idea to completly remove nextcloud, upgrade to Bullseye and then install nextcloud and move data folders to new installation.

Regards.

Hi Joulinar Can I just upgrade Mariadb?

I just remove /dietpi_userdata/mysql folder and now I can reinstall nextcloud but it don’t work also.
I see:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

on my https website. Http don’t work also.

When I try to fix with ncc command I see those errors:

root@DietPi:/# ncc
An unhandled exception has been thrown:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_appconfig' doesn't exist in /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php:82
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php(82): PDO->query('SELECT * FROM `...')
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1035): Doctrine\DBAL\Driver\PDO\Connection->query('SELECT * FROM `...')
#2 /var/www/nextcloud/lib/private/DB/Connection.php(226): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM `...', Array, Array, NULL)
#3 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(210): OC\DB\Connection->executeQuery('SELECT * FROM `...', Array, Array)
#4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /var/www/nextcloud/lib/private/AppConfig.php(345): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/AppConfig.php(110): OC\AppConfig->loadConfigValues()
#7 /var/www/nextcloud/lib/private/AppConfig.php(301): OC\AppConfig->getApps()
#8 /var/www/nextcloud/lib/private/legacy/OC_App.php(965): OC\AppConfig->getValues(false, 'installed_versi...')
#9 /var/www/nextcloud/lib/private/Server.php(682): OC_App::getAppVersions()
#10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#11 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#12 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Memcache\\Fac...')
#13 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...', false)
#14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Memcache\\Fac...')
#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(177): OC\AppFramework\Utility\SimpleContainer->get('OC\\Memcache\\Fac...')
#16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#17 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\ICacheFacto...')
#19 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\ICacheFacto...', false)
#20 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\ICacheFacto...')
#21 /var/www/nextcloud/lib/private/Server.php(1041): OC\AppFramework\Utility\SimpleContainer->get('OCP\\ICacheFacto...')
#22 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#23 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\Lock\\ILocki...')
#25 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\Lock\\ILocki...', false)
#26 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\Lock\\ILocki...')
#27 /var/www/nextcloud/lib/private/Server.php(2000): OC\AppFramework\Utility\SimpleContainer->get('OCP\\Lock\\ILocki...')
#28 /var/www/nextcloud/lib/private/Files/View.php(119): OC\Server->getLockingProvider()
#29 /var/www/nextcloud/lib/private/Server.php(430): OC\Files\View->__construct()
#30 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#31 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#32 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Files\\Node\\H...')
#33 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Files\\Node\\H...', false)
#34 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Files\\Node\\H...')
#35 /var/www/nextcloud/lib/private/Server.php(1363): OC\AppFramework\Utility\SimpleContainer->get('OC\\Files\\Node\\H...')
#36 /var/www/nextcloud/lib/base.php(588): OC\Server->boot()
#37 /var/www/nextcloud/lib/base.php(1076): OC::init()
#38 /var/www/nextcloud/console.php(49): require_once('/var/www/nextcl...')
#39 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#40 {main}

Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_appconfig' doesn't exist in /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php:26
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php(87): Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1035): Doctrine\DBAL\Driver\PDO\Connection->query('SELECT * FROM `...')
#2 /var/www/nextcloud/lib/private/DB/Connection.php(226): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM `...', Array, Array, NULL)
#3 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(210): OC\DB\Connection->executeQuery('SELECT * FROM `...', Array, Array)
#4 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /var/www/nextcloud/lib/private/AppConfig.php(345): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/AppConfig.php(110): OC\AppConfig->loadConfigValues()
#7 /var/www/nextcloud/lib/private/AppConfig.php(301): OC\AppConfig->getApps()
#8 /var/www/nextcloud/lib/private/legacy/OC_App.php(965): OC\AppConfig->getValues(false, 'installed_versi...')
#9 /var/www/nextcloud/lib/private/Server.php(682): OC_App::getAppVersions()
#10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#11 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#12 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Memcache\\Fac...')
#13 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...', false)
#14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Memcache\\Fac...')
#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(177): OC\AppFramework\Utility\SimpleContainer->get('OC\\Memcache\\Fac...')
#16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#17 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\ICacheFacto...')
#19 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\ICacheFacto...', false)
#20 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\ICacheFacto...')
#21 /var/www/nextcloud/lib/private/Server.php(1041): OC\AppFramework\Utility\SimpleContainer->get('OCP\\ICacheFacto...')
#22 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#23 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\Lock\\ILocki...')
#25 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\Lock\\ILocki...', false)
#26 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\Lock\\ILocki...')
#27 /var/www/nextcloud/lib/private/Server.php(2000): OC\AppFramework\Utility\SimpleContainer->get('OCP\\Lock\\ILocki...')
#28 /var/www/nextcloud/lib/private/Files/View.php(119): OC\Server->getLockingProvider()
#29 /var/www/nextcloud/lib/private/Server.php(430): OC\Files\View->__construct()
#30 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#31 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#32 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Files\\Node\\H...')
#33 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Files\\Node\\H...', false)
#34 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Files\\Node\\H...')
#35 /var/www/nextcloud/lib/private/Server.php(1363): OC\AppFramework\Utility\SimpleContainer->get('OC\\Files\\Node\\H...')
#36 /var/www/nextcloud/lib/base.php(588): OC\Server->boot()
#37 /var/www/nextcloud/lib/base.php(1076): OC::init()
#38 /var/www/nextcloud/console.php(49): require_once('/var/www/nextcl...')
#39 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#40 {main}

Next Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_appconfig' doesn't exist in /var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:47
Stack trace:
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1728): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(Object(Doctrine\DBAL\Driver\PDO\Exception), Object(Doctrine\DBAL\Query))
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1667): Doctrine\DBAL\Connection->handleDriverException(Object(Doctrine\DBAL\Driver\PDO\Exception), Object(Doctrine\DBAL\Query))
#2 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1040): Doctrine\DBAL\Connection->convertExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDO\Exception), 'SELECT * FROM `...', Array, Array)
#3 /var/www/nextcloud/lib/private/DB/Connection.php(226): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM `...', Array, Array, NULL)
#4 /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(210): OC\DB\Connection->executeQuery('SELECT * FROM `...', Array, Array)
#5 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(287): Doctrine\DBAL\Query\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/AppConfig.php(345): OC\DB\QueryBuilder\QueryBuilder->execute()
#7 /var/www/nextcloud/lib/private/AppConfig.php(110): OC\AppConfig->loadConfigValues()
#8 /var/www/nextcloud/lib/private/AppConfig.php(301): OC\AppConfig->getApps()
#9 /var/www/nextcloud/lib/private/legacy/OC_App.php(965): OC\AppConfig->getValues(false, 'installed_versi...')
#10 /var/www/nextcloud/lib/private/Server.php(682): OC_App::getAppVersions()
#11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#12 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#13 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Memcache\\Fac...')
#14 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...', false)
#15 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Memcache\\Fac...')
#16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(177): OC\AppFramework\Utility\SimpleContainer->get('OC\\Memcache\\Fac...')
#17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#18 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#19 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\ICacheFacto...')
#20 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\ICacheFacto...', false)
#21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\ICacheFacto...')
#22 /var/www/nextcloud/lib/private/Server.php(1041): OC\AppFramework\Utility\SimpleContainer->get('OCP\\ICacheFacto...')
#23 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#24 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OCP\\Lock\\ILocki...')
#26 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OCP\\Lock\\ILocki...', false)
#27 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OCP\\Lock\\ILocki...')
#28 /var/www/nextcloud/lib/private/Server.php(2000): OC\AppFramework\Utility\SimpleContainer->get('OCP\\Lock\\ILocki...')
#29 /var/www/nextcloud/lib/private/Files/View.php(119): OC\Server->getLockingProvider()
#30 /var/www/nextcloud/lib/private/Server.php(430): OC\Files\View->__construct()
#31 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(155): OC\Server->OC\{closure}(Object(OC\Server))
#32 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(Pimple\Container))
#33 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(122): Pimple\Container->offsetGet('OC\\Files\\Node\\H...')
#34 /var/www/nextcloud/lib/private/ServerContainer.php(137): OC\AppFramework\Utility\SimpleContainer->query('OC\\Files\\Node\\H...', false)
#35 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(56): OC\ServerContainer->query('OC\\Files\\Node\\H...')
#36 /var/www/nextcloud/lib/private/Server.php(1363): OC\AppFramework\Utility\SimpleContainer->get('OC\\Files\\Node\\H...')
#37 /var/www/nextcloud/lib/base.php(588): OC\Server->boot()
#38 /var/www/nextcloud/lib/base.php(1076): OC::init()
#39 /var/www/nextcloud/console.php(49): require_once('/var/www/nextcl...')
#40 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#41 {main}root@DietPi:/#

Regards

Can I upgrade Mariadb on Dietpi?

basically you could do the upgrade with the system as is. Once done, uninstall NextCloud. This should create a database backup. Afterwards try to perform a new install of NextCloud. The database backup should be loaded automatically.

Can You tell me why on my Dietpi that first command don’t work:

 sudo sed -i 's/buster/bullseye/g' /etc/apt/sources.list{,.d/*.list}
sed: nie można odczytać /etc/apt/sources.list.d/*.list: Nie ma takiego pliku ani katalogu

?
It says there’s no file or folder.
Regards.

can you have a look to the folder

ls -la /etc/apt/sources.list.d/
dietpi@DietPi:~$ ls -la /etc/apt/sources.list.d/
razem 8
drwxr-xr-x 2 root root 4096 cze 21 13:31 .
drwxr-xr-x 7 root root 4096 paź  9 23:12 ..

you could have a look to your backup if thee was a source list existing or not. If not you should be fine.

Hi, I make upgrade to bullseye onece again. Can You tell me do I need that commands at the end after full-upgrade?

/boot/dietpi/func/dietpi-obtain_hw_model
. /boot/dietpi/func/dietpi-globals

I’m afraid to not broke my GRUB again.
I reboot and system is up.
Now I uninstall Nextcloud and install again but still the same errors.
I remove everything (nextcloud_data filder and mysql folder) but when I see services status I mariadb is failed. Can I purge maraidb and lighttpd?
Will my Emby works after that?


Regards.

Of caus MariaDB is failing if you removed mysql folder as it contains the database files.

Yes you could remove everything if you like using dietpi-software

The following is loading the new environment for DietPi script. It will not install anything. Same is done on a reboot.

/boot/dietpi/func/dietpi-obtain_hw_model
. /boot/dietpi/func/dietpi-globals

Emby has an own web server and us not using Lighttpd.

I purge mysql and alll folders. I don’t see lighttpd and mariadb services and now when I try to install Nextcloud or Pydio I see error:

 [FAILED] File does not exist or cannot be written to by current user                                                 │ 
                                                               │                                                                                                                      │ 
                                                               │ Please verify the existence of the file $3                                                                           │ 
                                                               │         /etc/lighttpd/lighttpd.conf                                                                                  │ 
                                                               │                                                                                                                      │ 
                                                               │ Retry with proper permissions or apply the setting manually:                                                         │ 
                                                               │         "mod_access",

I want to fresh install of Nextcloud. Can I fix that?

Regards.

did you run the uninstall via dietpi-software or did you just removed the folder?

OK I finally make fresh install. Thanks for Your time and help.

Regards.

ok at least it’s working again now

Hi, I do have a related issue since lighttpd fails to start when I use the same ssl configuration as in buster. Within my new bullseye Installation it does not work anymore. I did some research but could not find a solution where to put the code to enable certbot/SSL certificate config. Within buster I created a pem file:

cd etc/lighttpd
mkdir certs
cd /certs
openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 365 -nodes
chmod 400 lighttpd.pem

Then I inserted

$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/lighttpd/certs/lighttpd.pem"
}

In /etc/lighttpd/lighttpd.conf.

This works fine in buster but not in bullseye Installation. Im aware that config files changed in bullseye but I have no idea where to put the above code lines. Help is appreciated.

you can verify your configuration as follow

/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf

Btw: what is the benefit of using self-signed certificates. Every web browser will complain about it.

Did you apt install lighttpd-mod-openssl? Needed since Bullseye. Also I’m not sure whether the combined key+cert file is still supported, at least not needed anymore. Try to split them with the config block looking like that:

ssl.pemfile = "/etc/lighttpd/certs/fullchain.pem"
ssl.privkey = "/etc/lighttpd/certs/privkey.pem"
ssl.ca-file = "/etc/lighttpd/certs/fullchain.pem"

Hi, MichaIng

Thanks for immediate reply.

Here is what I did, (as far as I understand it) but lighttpd still fails:

  1. Installed mod-openssl
  2. Split the pemfile
  3. Modified the lighttpd.conf. Modified section looks like this
server.modules += (
        "mod_dirlisting",
        "mod_staticfile",
        "mod_openssl",
# I added here "mod_openssl"
)


$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/lighttpd/certs/fullchain.pem"
ssl.privkey = "/etc/lighttpd/certs/privkey.pem"
ssl.ca-file = "/etc/lighttpd/certs/fullchain.pem"
# ssl.cipher = "HIGH"
# include_shell "/usr/share/lighttpd/use-ipv6.pl 443"
}

Lighttpd service fails to start. Any mistakes in here?

Not needed, this is done automatically, probably it even causes the startup failure because of the duplicate. Check

/etc/lighttpd/conf-enabled/10-ssl.conf

It should be a symlink to

/etc/lighttpd/conf-available/10-ssl.conf

If not =>

lighty-enable-mod ssl

and remove the modification you did to lighttpd.conf.

Did you check configuration as stated above?