Nextcloud shows Internal Server Error after updated module

NethServer Version: 7.9.2009
Module: nextcloud 1.17

Hi everyone!

My server installs updates by itself and I haven’t had any problem so far. Except now. A few months ago, I updated Nextcloud to 21.0.1.1, had issues with version number but it was working perfectly after that. Yesterday, it was working fine but today morning, it shows me Internal Server Error. I also got an error email at 6:20 AM. Every line of warning is about /usr/share/nextcloud and no such file or directory. I will try to paste the whole email here but it’s quite long.

I found out that 1.17 of the nextcloud module was released and I’m thinking that maybe it has problems with the versions or something. I couldn’t find any useful information in any log file.
Is there any way to roll back the nethserver-module to the previous version?

Can’t paste the whole email, too long but here is a portion of it:
/etc/cron.daily/0yum-daily.cron:

warning: file /usr/share/nextcloud/lib/public/User/Events/CreateUserEvent.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/lib/public/Settings/ISection.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/lib/public/AppFramework/Http/OCSResponse.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/lib/private/Hooks/LegacyEmitter.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/lib/private/Hooks/ForwardingEmitter.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/lib/private/DB/MDB2SchemaWriter.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/user_ldap/appinfo/update.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/user_ldap/appinfo/register_command.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/user_ldap/appinfo/install.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/text/js/vendor.js.map: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/text/js/vendor.js: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/text/js/highlight/tex.js.map: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/text/js/highlight/tex.js: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/text/js/highlight/nimrod.js.map: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/text/js/highlight/nimrod.js: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/text/js/highlight/cs.js.map: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/text/js/highlight/cs.js: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/settings/js/vue-vendors-settings-users-bcea665d3ab241c6619f.js.map: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/settings/js/vue-vendors-settings-users-bcea665d3ab241c6619f.js: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/settings/js/vue-vendors-settings-apps-settings-users-feb6e6add9aee6bcda40.js.map: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/settings/js/vue-vendors-settings-apps-settings-users-feb6e6add9aee6bcda40.js: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/settings/js/vue-vendors-settings-apps-0e3130278180acc1bb58.js.map: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/settings/js/vue-vendors-settings-apps-0e3130278180acc1bb58.js: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/settings/js/vue-settings-users-f21df1de93ddcf45e13b.js.map: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/settings/js/vue-settings-users-f21df1de93ddcf45e13b.js: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/settings/js/vue-settings-apps-489d5f46c67b4e8fbf67.js.map: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/settings/js/vue-settings-apps-489d5f46c67b4e8fbf67.js: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_sharing/css/sharedfilelist.css: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/treeitem-collapsed-rtl@2x.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/treeitem-collapsed-rtl.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/toolbarButton-viewOutline-rtl@2x.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/toolbarButton-viewOutline-rtl.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/toolbarButton-sidebarToggle-rtl@2x.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/toolbarButton-sidebarToggle-rtl.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/toolbarButton-secondaryToolbarToggle-rtl@2x.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/toolbarButton-secondaryToolbarToggle-rtl.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/toolbarButton-pageUp-rtl@2x.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/toolbarButton-pageUp-rtl.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/toolbarButton-pageDown-rtl@2x.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/toolbarButton-pageDown-rtl.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/findbarButton-previous-rtl@2x.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/findbarButton-previous-rtl.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/findbarButton-next-rtl@2x.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/apps/files_pdfviewer/js/pdfjs/web/images/findbarButton-next-rtl.png: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/web-auth/webauthn-lib/README.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/web-auth/metadata-service/README.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/web-auth/cose-lib/README.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-util/composer.json: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-util/TestListenerTrait.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-util/TestListener.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-util/README.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-util/LegacyTestListener.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-util/LICENSE: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-util/BinaryOnFuncOverload.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-util/BinaryNoFuncOverload.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-util/Binary.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-util: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-php56/composer.json: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-php56/bootstrap.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-php56/README.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-php56/Php56.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-php56/LICENSE: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/symfony/polyfill-php56: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/swiftmailer/swiftmailer/.github/PULL_REQUEST_TEMPLATE.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/swiftmailer/swiftmailer/.github/ISSUE_TEMPLATE.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/swiftmailer/swiftmailer/.github: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/scssphp/scssphp/src/SourceMap/Base64VLQEncoder.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/sabre/dav/CONTRIBUTING.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/sabre/dav/CHANGELOG.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/sabre/dav/.gitignore: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/react/promise/src/functions_include.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/react/promise/src/functions.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/mtdowling/jmespath.php/phpunit.xml.dist: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/mtdowling/jmespath.php/Makefile: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/mtdowling/jmespath.php/CHANGELOG.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/mtdowling/jmespath.php/.gitignore: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/reflection/docs/en/reference: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/reflection/docs/en/index.rst: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/reflection/docs/en: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/reflection/docs: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/reflection/composer.json: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/reflection/README.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/reflection/LICENSE: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/reflection/.scrutinizer.yml: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/reflection: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/PropertyChangedListener.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Proxy.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/PersistentObject.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/ObjectRepository.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/ObjectManagerAware.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/ObjectManager.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/StaticReflectionService.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/ReflectionService.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/MappingException.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/SymfonyFileLocator.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/StaticPHPDriver.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/PHPDriver.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriverChain.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/MappingDriver.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/FileLocator.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/DefaultFileLocator.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/Driver: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/ClassMetadataFactory.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/ClassMetadata.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/ManagerRegistry.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Event/OnClearEventArgs.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Event/ManagerEventArgs.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Event/LoadClassMetadataEventArgs.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Event/LifecycleEventArgs.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/Event: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/ConnectionRegistry.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence/AbstractManagerRegistry.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/Persistence: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common/NotifyPropertyChanged.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine/Common: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib/Doctrine: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/lib: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/composer.json: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/README.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/LICENSE: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence/.doctrine-project.json: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/persistence: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/inflector/lib/Doctrine/Common/Inflector/Inflector.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/inflector/lib/Doctrine/Common/Inflector: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/inflector/lib/Doctrine/Common: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/inflector/lib/Doctrine: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/inflector/lib: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/inflector/composer.json: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/inflector/README.md: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/inflector/LICENSE: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/inflector: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/psalm.xml: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/VersionAwarePlatformDriver.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Version.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/VarDateTimeType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/VarDateTimeImmutableType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/Types.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/TypeRegistry.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/Type.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/TimeType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/TimeImmutableType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/TextType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/StringType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/SmallIntType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/SimpleArrayType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/PhpIntegerMappingType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/PhpDateTimeMappingType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/ObjectType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/JsonType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/JsonArrayType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/IntegerType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/GuidType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/FloatType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/DecimalType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/DateType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/DateTimeTzType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/DateTimeTzImmutableType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/DateTimeType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/DateTimeImmutableType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/DateIntervalType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/DateImmutableType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/BooleanType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/BlobType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/BinaryType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/BigIntType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Types: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/TransactionIsolationLevel.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Tools/Dumper.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Tools/Console/Helper/ConnectionHelper.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Tools/Console/Helper: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Tools/Console/ConsoleRunner.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Tools/Console/Command/RunSqlCommand.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Tools/Console/Command/ReservedWordsCommand.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Tools/Console/Command/ImportCommand.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Tools/Console/Command: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Tools/Console: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Tools: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Statement.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/ShardingException.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/ShardManager.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/ShardChoser/ShardChoser.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/ShardChoser/MultiTenantShardChoser.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/ShardChoser: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/SQLAzure/Schema/MultiTenantVisitor.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/SQLAzure/Schema: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureFederationsSynchronizer.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/SQLAzure: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/PoolingShardManager.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding/PoolingShardConnection.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Sharding: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/Visitor/Visitor.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/Visitor/SchemaDiffVisitor.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/Visitor/RemoveNamespacedAssets.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/Visitor/NamespaceVisitor.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/Visitor/Graphviz.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/Visitor/DropSchemaSqlCollector.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/Visitor/CreateSchemaSqlCollector.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/Visitor/AbstractVisitor.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/Visitor: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/View.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/TableDiff.php: remove failed: No such file or directory
warning: file /usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Schema/Table.php: remove failed: No such file or directory

Tried running yum downgrade nethserver-nextcloud-1.16.7-1.ns7 but still not working. :frowning:

Now, I found this error:

An unhandled exception has been thrown:

Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory in /usr/share/nextcloud/lib/private/DB/Connection.php:72

EDIT: Also found this error:

An unhandled exception has been thrown:

Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'oc_admin2'@'localhost' (using password: YES) in /usr/share/nextcloud/lib/private/DB/Connection.php:85

EDIT 2:
The first error is gone.

EDIT 3:
First error is back but second error is gone after downgrading again and creating a new user in mysql.

I assume you did a manual update of Nextcloud, that’s not recommended. Nextcloud 21 is still testing, see Nextcloud 21 is here and needs your tests

In the wiki are some troubleshooting hints.

I updated to 21.0.1 months ago manually. Now I know, I shouldn’t update with its own updater. Had issues back then but I got it working and was working fine until today morning. The server updated the nextcloud module to 1.17 and broke something. Maybe it was a miracle that 21.0.1 was running and maybe it shouldn’t have working but somehow, it worked.

So there is no way to fix this error?
An unhandled exception has been thrown: Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory in /usr/share/nextcloud/lib/private/DB/Connection.php:72

Don’t really want to reinstall the whole cloud system. Mysql and php are working fine.

Hi Martin,
I’m running the same problem. I just upgraded the server using the server panel and ended it up in the same situation.
I’m afraid it has to do with the updated mariadb.

Anyhow, did you manage to fix yours?

Thanks,

Can you describe current status and provide some more details?

systemctl | grep mariadb
systemctl | grep mysqld

systemctl status -l rh-mariadb105-mariadb@nextcloud.service

/opt/rh/rh-mariadb105/root/bin/mysqlshow --socket="/var/run/rh-mariadb105-mariadb/nextcloud-mysql.sock"
mysqlshow

/opt/rh/rh-mariadb105/root/bin/mysql --socket="/var/run/rh-mariadb105-mariadb/nextcloud-mysql.sock" -e 'SELECT user FROM mysql.user'
mysql -e 'SELECT user FROM mysql.user'

grep \'db /usr/share/nextcloud/config/config.php |grep -v dbpass

occ status

At the end, I just reinstalled the whole cloud system as I was the only one who used it and important data was backed up to other servers.

Sorry for not providing any useful information for fixing the problem. :frowning:

Hi, Jean. If you need help open a new topic and we can continue from there.
Regards.

Hi Marc,
Since this is related to @scania471 problem as well, let’s keep in this topic if you don’t mind.
I ran the above commands as you requested:

Blockquote
systemctl | grep mariadb
mariadb.service loaded active running MariaDB database server
rh-mariadb105-mariadb@nextcloud.service loaded active running MariaDB 10.5 database server
system-rh\x2dmariadb105\x2dmariadb.slice loaded active active system-rh\x2dmariadb105\x2dmariadb.slice
systemctl status -l rh-mariadb105-mariadb@nextcloud.service
● rh-mariadb105-mariadb@nextcloud.service - MariaDB 10.5 database server
Loaded: loaded (/etc/systemd/system/rh-mariadb105-mariadb@.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/rh-mariadb105-mariadb@nextcloud.service.d
└─nethserver.conf
Active: active (running) since Sun 2021-06-27 11:33:19 -03; 6h ago
Docs: man:mysqld(8)
systemd - MariaDB Knowledge Base
Process: 4628 ExecStartPost=/usr/bin/scl enable $RH_MARIADB105_SCLS_ENABLED – /opt/rh/rh-mariadb105/root/usr/libexec/mysql-check-upgrade --defaults-group-suffix=.%I (code=exited, status=0/SUCCESS)
Process: 2903 ExecStartPre=/usr/bin/scl enable $RH_MARIADB105_SCLS_ENABLED – /opt/rh/rh-mariadb105/root/usr/libexec/mysql-prepare-db-dir --defaults-group-suffix=.%I %n (code=exited, status=0/SUCCESS)
Process: 2235 ExecStartPre=/usr/bin/scl enable $RH_MARIADB105_SCLS_ENABLED – /opt/rh/rh-mariadb105/root/usr/libexec/mysql-check-socket --defaults-group-suffix=.%I (code=exited, status=0/SUCCESS)
Process: 1948 ExecStartPre=/usr/bin/scl enable $RH_MARIADB105_SCLS_ENABLED – /usr/bin/scl_enabled rh-mariadb105 (code=exited, status=0/SUCCESS)
Main PID: 2952 (mysqld)
Status: “Taking your SQL requests now…”
CGroup: /system.slice/system-rh\x2dmariadb105\x2dmariadb.slice/rh-mariadb105-mariadb@nextcloud.service
└─2952 /opt/rh/rh-mariadb105/root/usr/libexec/mysqld --defaults-group-suffix=.nextcloud --basedir=/opt/rh/rh-mariadb105/root/usr

Jun 27 11:32:30 server systemd[1]: Starting MariaDB 10.5 database server…
Jun 27 11:32:39 server scl[2903]: Database MariaDB is probably initialized in /var/opt/rh/rh-mariadb105/lib/mysql-nextcloud already, nothing is done.
Jun 27 11:32:39 server scl[2903]: If this is not the case, make sure the /var/opt/rh/rh-mariadb105/lib/mysql-nextcloud is empty before running mysql-prepare-db-dir.
Jun 27 11:32:52 server mysqld-scl-helper[2952]: 2021-06-27 11:32:52 0 [Note] /opt/rh/rh-mariadb105/root/usr/libexec/mysqld (mysqld 10.5.8-MariaDB) starting as process 2952 …
Jun 27 11:33:19 server systemd[1]: Started MariaDB 10.5 database server.

Can you paste the error you get?
Also the output of:

occ upgrade

Blockquote
nextcloud]# sudo -u apache /opt/remi/php74/root/usr/bin/php ./occ upgrade

An unhandled exception has been thrown:

Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1698] Access denied for user ‘oc_jfranco’@‘localhost’ in /usr/share/nextcloud/lib/private/DB/Connection.php:85

Stack trace:

So we know the database upgrade may have caused the problem.
I saw that @stephdl is testing with the latest version.
Maybe I should go for it?

Thanks,

Can you give us some more background on the installation?
Initial Nextcloud installation from NethServer module or something else?
Last Nextcloud upgrade was a manual upgrade (not from NethServer updates)?
Also, from the previous post there were missing commands related to the config and database

I see a user that probably isn’t in the new mysql/mariadb version.

Sorry Marc,

Here they are:

Blockquote nextcloud]# /opt/rh/rh-mariadb105/root/bin/mysqlshow --socket=“/var/run/rh-mariadb105-mariadb/nextcloud-mysql.sock”
±-------------------+
| Databases |
±-------------------+
| information_schema |
| mysql |
| nextcloud |
| performance_schema |
±-------------------+

Blockquote mysqlshow
±-------------------+
| Databases |
±-------------------+
| information_schema |
| mysql |
| nextcloud-old |
| nextclouddb |

As you can see I’m using a new database, but have the old one renamed.

nextcloud]# grep 'db /usr/share/nextcloud/config/config.php |grep -v dbpass
‘dbtype’ => ‘mysql’,
‘dbname’ => ‘nextclouddb’,
‘dbhost’ => ‘localhost:/run/rh-mariadb105-mariadb/nextcloud-mysql.sock’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘oc_jfranco’,

Thanks,

Your nextcloud config file points to the old mysql database.
About the dbuser on your config file I guess it is not on the new mariadb instance but in the old one.

1 Like

A-ha, so the upgrade must have migrated but since I’m using a custom db that’s why it’s not working! Do you think?

I’ll export and import on the new mariadb and report back.

Thanks,

Many thanks Marc,

That was it!!!
So now I’m officially running 21.0.2

There are still some errors with the nextcloud app that I also see happering with the folks running on the post above. I’ll reply on the other thread!

Best regards,