[/details]
Nextcloud version: 19.0.5
Operating system and version: Centos 7.8
Apache or nginx version: Apache/2.4
PHP version: 7.4
MariaDB: 10.3
Hello all!
After I have restored my NC into a new domain I have trouble with External storage
app.
Each time I access External storage
in Administration or Personal section I get error
500 Internal Server Error
The server encountered an internal error or mis-
configuration and was unable to complete your
request.
if you are this site's ...
|
... visitor | ... owner
|
contact the owner | visit the manual to
about their site | learn how to enable
or try to reach | and find the error
the site later. | log. For web backends
| check the service logs.
|
In NC logging
I see this ERROR
Exception: HMAC does not match.
I tried to
- disable
External storage
- delete
files_external
from/nextcloud/apps/
- restore
files_external
from installation ZIPnextcloud-19.0.4.zip
into/nextcloud/apps/
- enable
External storage
- klick an
External storage
as admin or user
Nextcloud log:
Exception: HMAC does not match.
/nextcloud/lib/private/Security/CredentialsManager.php - line 94:
OC\Security\Crypto->decrypt("*** sensiti ... *")
/nextcloud/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php - line 56:
OC\Security\CredentialsManager->retrieve("user", "password::global")
/nextcloud/apps/files_external/lib/Settings/Personal.php - line 79:
OCA\Files_External\Lib\Auth\Password\GlobalAuth->getAuth("user")
/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php - line 141:
OCA\Files_External\Settings\Personal->getForm()
/nextcloud/apps/settings/lib/Controller/PersonalSettingsController.php - line 76:
OCA\Settings\Controller\PersonalSettingsController->formatSettings({ 40: [ OCA\ ... ]})
/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php - line 152:
OCA\Settings\Controller\PersonalSettingsController->getSettings("externalstorages")
/nextcloud/apps/settings/lib/Controller/PersonalSettingsController.php - line 67:
OCA\Settings\Controller\PersonalSettingsController->getIndexResponse("personal", "externalstorages")
/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:
OCA\Settings\Controller\PersonalSettingsController->index("externalstorages")
/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:
OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "index")
/nextcloud/lib/private/AppFramework/App.php - line 137:
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "index")
/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
OC\AppFramework\App::main("OCA\\Settin ... r", "index", OC\AppFramew ... {}, { section: " ... "})
<<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({ section: " ... "})
/nextcloud/lib/private/Route/Router.php - line 297:
call_user_func(OC\AppFramew ... {}, { section: " ... "})
/nextcloud/lib/base.php - line 1010:
OC\Route\Router->match("/settings/u ... s")
/nextcloud/index.php - line 37:
OC::handleRequest()
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'STRING',
'passwordsalt' => 'PASSWORD',
'secret' => 'LongSecret',
'trusted_domains' =>
array (
0 => 'damain.net',
),
'datadirectory' => '/nextcloud_data',
'dbtype' => 'mysql',
'version' => '19.0.5.2',
'overwrite.cli.url' => 'https://domain.net/nextcloud',
'dbname' => 'user_nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'user',
'dbpassword' => 'SECRET',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
'mail_from_address' => 'user',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'domain.net',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'domain.net',
'mail_smtpport' => '587',
'mail_smtpname' => 'user',
'mail_smtppassword' => 'SECRET',
'app_install_overwrite' =>
array (
0 => 'files_external_ipfs',
),
'updater.secret' => '$longstring$',
);
Apache log :
199.199.0.0 - - [04/Dec/2020:13:29:32 +0100] "GET /nextcloud/index.php/csrftoken HTTP/2.0" 200 103 "https://domain.net/nextcloud/index.php/settings/admin/overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
199.199.0.0 - - [04/Dec/2020:13:29:33 +0100] "GET /nextcloud/index.php/apps/logreader/poll?lastReqId=X8optnafIQzvmlc3-Tz4dgAAAA8 HTTP/2.0" 499 0 "https://domain.net/nextcloud/index.php/settings/admin/logging" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
199.199.0.0 - - [04/Dec/2020:13:29:33 +0100] "GET /nextcloud/index.php/settings/admin/externalstorages HTTP/2.0" 500 1260 "https://domain.net/nextcloud/index.php/settings/admin/logging" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
199.199.0.0 - - [04/Dec/2020:13:29:36 +0100] "GET /nextcloud/index.php/settings/admin/logging HTTP/2.0" 200 7604 "https://domain.net/nextcloud/index.php/settings/admin/workflow" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
199.199.0.0 - - [04/Dec/2020:13:29:36 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 74 "https://domain.net/nextcloud/index.php/settings/admin/logging" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
199.199.0.0 - - [04/Dec/2020:13:29:36 +0100] "GET /nextcloud/index.php/apps/apporder/getOrder HTTP/2.0" 200 291 "https://domain.net/nextcloud/index.php/settings/admin/logging" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
199.199.0.0 - - [04/Dec/2020:13:29:36 +0100] "GET /nextcloud/index.php/apps/logreader/settings HTTP/2.0" 200 99 "https://domain.net/nextcloud/index.php/settings/admin/logging" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
199.199.0.0 - - [04/Dec/2020:13:29:36 +0100] "GET /nextcloud/index.php/apps/logreader/get?offset=0&count=50&levels=11111 HTTP/2.0" 200 2649 "https://domain.net/nextcloud/index.php/settings/admin/logging" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
199.199.0.0 - - [04/Dec/2020:13:29:47 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "https://domain.net/nextcloud/index.php/settings/admin/overview" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0"
[EDIT 2020/07/12]
Just realized another ERROR I get klicking the APP Flow in Administration section.
Error jsresourceloader Could not find resource core/js/oc-backbone-webdav.js to load
In Personal it seems to be fine. No Error in logging.
cheers, bdream