Can't access NCP Web-UI after nc-import-ncp

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 24.0.3
Operating system and version (eg, Ubuntu 20.04): ncp 1.49.0
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing:

After using nc-import-ncp I can no longer reach the Web UI.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Fresh Setup, did some harddrive stuff but this does not seem to be the issue.
  2. used nc-export-ncp from the Web-UI
  3. used nc-import-ncp from the Web-UI to see if it works
  4. It seems to go through the steps. No errors.
  5. I can no longer reach the Web-UI. I can still reach the NC-Web-UI and directly on the pi use ncp-config.

Restarted from scratch, same thing happened again.

The output of your Nextcloud log in Admin > Logging:

[no app in context] Fatal: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a query: SQLSTATE[70100]: <<Unknown error>>: 1927 Connection was killed at <<closure>>

 0. /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php line 1780
    Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
 1. /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php line 1719
    Doctrine\DBAL\Connection->handleDriverException()
 2. /var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php line 1067
    Doctrine\DBAL\Connection->convertExceptionDuringQuery()
 3. /var/www/nextcloud/lib/private/DB/Connection.php line 261
    Doctrine\DBAL\Connection->executeQuery()
 4. /var/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php line 345
    OC\DB\Connection->executeQuery()
 5. /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php line 281
    Doctrine\DBAL\Query\QueryBuilder->execute()
 6. /var/www/nextcloud/apps/workflowengine/lib/Manager.php line 164
    OC\DB\QueryBuilder\QueryBuilder->execute()
 7. /var/www/nextcloud/apps/workflowengine/lib/AppInfo/Application.php line 75
    OCA\WorkflowEngine\Manager->getAllConfiguredEvents()
 8. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php line 67
    OCA\WorkflowEngine\AppInfo\Application->registerRuleListeners()
 9. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php line 51
    OC\AppFramework\Bootstrap\FunctionInjector->injectFn()
10. /var/www/nextcloud/apps/workflowengine/lib/AppInfo/Application.php line 67
    OC\AppFramework\Bootstrap\BootContext->injectFn()
11. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php line 190
    OCA\WorkflowEngine\AppInfo\Application->boot()
12. /var/www/nextcloud/lib/private/legacy/OC_App.php line 207
    OC\AppFramework\Bootstrap\Coordinator->bootApp()
13. /var/www/nextcloud/lib/private/legacy/OC_App.php line 140
    OC_App::loadApp()
14. /var/www/nextcloud/lib/private/Console/Application.php line 119
    OC_App::loadApps()
15. /var/www/nextcloud/console.php line 99
    OC\Console\Application->loadCommands()
16. /var/www/nextcloud/occ line 11
    require_once("/var/www/nextcloud/console.php")

at 2022-09-30T16:09:37+00:00

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

Can't paste, since SSL is not active but will type from screen what's requested

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE