Nextcloud Hub 9 (30.0.1)
CentOS 7
PHP 8.2.20
After update, directories shared by email (no local user) arent’t working anymore.
I already did:
sudo -u apache php /var/www/html/nextcloud/occ files:scan-app-data
Scanning AppData for files
±--------±------±-------------+
| Folders | Files | Elapsed time |
±--------±------±-------------+
| 289 | 6 | 00:01:16 |
±--------±------±-------------+
sudo -u apache php /var/www/html/nextcloud/occ maintenance:repair
I’m a Linux Sysadmin, i have a hard time figuring this one out…
User enter the site with the provided URL. After he enters his password, he gets “Internal Server Error” along with an error “Zx8HznurdAksEqJ1jeKsTgAAAAg”.
So i did:
grep Zx8HznurdAksEqJ1jeKsTgAAAAg /var/www/html/nextcloud/data/nextcloud.log|jq
{
“reqId”: “Zx8HznurdAksEqJ1jeKsTgAAAAg”,
“level”: 0,
“time”: “2024-10-27T23:41:02-04:00”,
“remoteAddr”: “SNIP”,
“user”: “–”,
“app”: “no app in context”,
“method”: “GET”,
“url”: “/index.php/s/54isZ4tKZHoGWKQ”,
“message”: “The loading of lazy AppConfig values have been requested”,
“userAgent”: “Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0”,
“version”: “30.0.1.2”,
“exception”: {
“Exception”: “RuntimeException”,
“Message”: “ignorable exception”,
“Code”: 0,
“Trace”: [
{
“file”: “/var/www/html/nextcloud/lib/private/AppConfig.php”,
“line”: 1180,
“function”: “loadConfig”,
“class”: “OC\AppConfig”,
“type”: “->”,
“args”: [
null
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/AppConfig.php”,
“line”: 100,
“function”: “loadConfigAll”,
“class”: “OC\AppConfig”,
“type”: “->”,
“args”:
},
{
“file”: “/var/www/html/nextcloud/lib/private/AllConfig.php”,
“line”: 169,
“function”: “getKeys”,
“class”: “OC\AppConfig”,
“type”: “->”,
“args”: [
“bruteForce”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/Security/Bruteforce/Throttler.php”,
“line”: 95,
“function”: “getAppKeys”,
“class”: “OC\AllConfig”,
“type”: “->”,
“args”: [
“bruteForce”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/Security/Bruteforce/Throttler.php”,
“line”: 175,
“function”: “isBypassListed”,
“class”: “OC\Security\Bruteforce\Throttler”,
“type”: “->”,
“args”: [
“69.159.90.108”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/Security/Bruteforce/Throttler.php”,
“line”: 192,
“function”: “getAttempts”,
“class”: “OC\Security\Bruteforce\Throttler”,
“type”: “->”,
“args”: [
“69.159.90.108”,
“ShareController::showShare”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/Security/Bruteforce/Throttler.php”,
“line”: 265,
“function”: “getDelay”,
“class”: “OC\Security\Bruteforce\Throttler”,
“type”: “->”,
“args”: [
“69.159.90.108”,
“ShareController::showShare”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/AppFramework/Middleware/PublicShare/PublicShareMiddleware.php”,
“line”: 39,
“function”: “sleepDelayOrThrowOnMax”,
“class”: “OC\Security\Bruteforce\Throttler”,
“type”: “->”,
“args”: [
“69.159.90.108”,
“ShareController::showShare”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php”,
“line”: 73,
“function”: “beforeController”,
“class”: “OC\AppFramework\Middleware\PublicShare\PublicShareMiddleware”,
“type”: “->”,
“args”: [
[
“OCA\Files_Sharing\Controller\ShareController”
],
“showShare”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,
“line”: 106,
“function”: “beforeController”,
“class”: “OC\AppFramework\Middleware\MiddlewareDispatcher”,
“type”: “->”,
“args”: [
[
“OCA\Files_Sharing\Controller\ShareController”
],
“showShare”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/AppFramework/App.php”,
“line”: 161,
“function”: “dispatch”,
“class”: “OC\AppFramework\Http\Dispatcher”,
“type”: “->”,
“args”: [
[
“OCA\Files_Sharing\Controller\ShareController”
],
“showShare”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/Route/Router.php”,
“line”: 302,
“function”: “main”,
“class”: “OC\AppFramework\App”,
“type”: “::”,
“args”: [
“OCA\Files_Sharing\Controller\ShareController”,
“showShare”,
[
“OC\AppFramework\DependencyInjection\DIContainer”
],
[
“54isZ4tKZHoGWKQ”,
“files_sharing.share.showshare”
]
]
},
{
“file”: “/var/www/html/nextcloud/lib/base.php”,
“line”: 1001,
“function”: “match”,
“class”: “OC\Route\Router”,
“type”: “->”,
“args”: [
“/s/54isZ4tKZHoGWKQ”
]
},
{
“file”: “/var/www/html/nextcloud/index.php”,
“line”: 24,
“function”: “handleRequest”,
“class”: “OC”,
“type”: “::”,
“args”:
}
],
“File”: “/var/www/html/nextcloud/lib/private/AppConfig.php”,
“Line”: 1194,
“message”: “The loading of lazy AppConfig values have been requested”,
“exception”: {},
“CustomMessage”: “The loading of lazy AppConfig values have been requested”
}
}
{
“reqId”: “Zx8HznurdAksEqJ1jeKsTgAAAAg”,
“level”: 2,
“time”: “2024-10-27T23:41:02-04:00”,
“remoteAddr”: “SNIP”,
“user”: “–”,
“app”: “no app in context”,
“method”: “GET”,
“url”: “/index.php/s/54isZ4tKZHoGWKQ”,
“message”: “Invalid label data provided to provideInitialState by files_sharing”,
“userAgent”: “Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0”,
“version”: “30.0.1.2”,
“data”:
}
{
“reqId”: “Zx8HznurdAksEqJ1jeKsTgAAAAg”,
“level”: 3,
“time”: “2024-10-27T23:41:02-04:00”,
“remoteAddr”: “SNIP”,
“user”: “–”,
“app”: “index”,
“method”: “GET”,
“url”: “/index.php/s/54isZ4tKZHoGWKQ”,
“message”: “OCP\AppFramework\Http\Template\PublicTemplateResponse::setHeaderTitle(): Argument #1 ($title) must be of type string, null given, called in /var/www/html/nextcloud/apps/files_sharing/lib/DefaultPublicShareTemplateProvider.php on line 235 in file ‘/var/www/html/nextcloud/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php’ line 45”,
“userAgent”: “Mozilla/5.0 (X11; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0”,
“version”: “30.0.1.2”,
“exception”: {
“Exception”: “Exception”,
“Message”: “OCP\AppFramework\Http\Template\PublicTemplateResponse::setHeaderTitle(): Argument #1 ($title) must be of type string, null given, called in /var/www/html/nextcloud/apps/files_sharing/lib/DefaultPublicShareTemplateProvider.php on line 235 in file ‘/var/www/html/nextcloud/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php’ line 45”,
“Code”: 0,
“Trace”: [
{
“file”: “/var/www/html/nextcloud/lib/private/AppFramework/App.php”,
“line”: 161,
“function”: “dispatch”,
“class”: “OC\AppFramework\Http\Dispatcher”,
“type”: “->”,
“args”: [
[
“OCA\Files_Sharing\Controller\ShareController”
],
“showShare”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/Route/Router.php”,
“line”: 302,
“function”: “main”,
“class”: “OC\AppFramework\App”,
“type”: “::”,
“args”: [
“OCA\Files_Sharing\Controller\ShareController”,
“showShare”,
[
“OC\AppFramework\DependencyInjection\DIContainer”
],
[
“54isZ4tKZHoGWKQ”,
“files_sharing.share.showshare”
]
]
},
{
“file”: “/var/www/html/nextcloud/lib/base.php”,
“line”: 1001,
“function”: “match”,
“class”: “OC\Route\Router”,
“type”: “->”,
“args”: [
“/s/54isZ4tKZHoGWKQ”
]
},
{
“file”: “/var/www/html/nextcloud/index.php”,
“line”: 24,
“function”: “handleRequest”,
“class”: “OC”,
“type”: “::”,
“args”:
}
],
“File”: “/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,
“Line”: 146,
“Previous”: {
“Exception”: “TypeError”,
“Message”: “OCP\AppFramework\Http\Template\PublicTemplateResponse::setHeaderTitle(): Argument #1 ($title) must be of type string, null given, called in /var/www/html/nextcloud/apps/files_sharing/lib/DefaultPublicShareTemplateProvider.php on line 235”,
“Code”: 0,
“Trace”: [
{
“file”: “/var/www/html/nextcloud/apps/files_sharing/lib/DefaultPublicShareTemplateProvider.php”,
“line”: 235,
“function”: “setHeaderTitle”,
“class”: “OCP\AppFramework\Http\Template\PublicTemplateResponse”,
“type”: “->”,
“args”: [
null
]
},
{
“file”: “/var/www/html/nextcloud/apps/files_sharing/lib/Controller/ShareController.php”,
“line”: 308,
“function”: “renderPage”,
“class”: “OCA\Files_Sharing\DefaultPublicShareTemplateProvider”,
“type”: “->”,
“args”: [
[
“OC\Share20\Share”
],
“54isZ4tKZHoGWKQ”,
“”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,
“line”: 208,
“function”: “showShare”,
“class”: “OCA\Files_Sharing\Controller\ShareController”,
“type”: “->”,
“args”: [
“”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,
“line”: 114,
“function”: “executeController”,
“class”: “OC\AppFramework\Http\Dispatcher”,
“type”: “->”,
“args”: [
[
“OCA\Files_Sharing\Controller\ShareController”
],
“showShare”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/AppFramework/App.php”,
“line”: 161,
“function”: “dispatch”,
“class”: “OC\AppFramework\Http\Dispatcher”,
“type”: “->”,
“args”: [
[
“OCA\Files_Sharing\Controller\ShareController”
],
“showShare”
]
},
{
“file”: “/var/www/html/nextcloud/lib/private/Route/Router.php”,
“line”: 302,
“function”: “main”,
“class”: “OC\AppFramework\App”,
“type”: “::”,
“args”: [
“OCA\Files_Sharing\Controller\ShareController”,
“showShare”,
[
“OC\AppFramework\DependencyInjection\DIContainer”
],
[
“54isZ4tKZHoGWKQ”,
“files_sharing.share.showshare”
]
]
},
{
“file”: “/var/www/html/nextcloud/lib/base.php”,
“line”: 1001,
“function”: “match”,
“class”: “OC\Route\Router”,
“type”: “->”,
“args”: [
“/s/54isZ4tKZHoGWKQ”
]
},
{
“file”: “/var/www/html/nextcloud/index.php”,
“line”: 24,
“function”: “handleRequest”,
“class”: “OC”,
“type”: “::”,
“args”:
}
],
“File”: “/var/www/html/nextcloud/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php”,
“Line”: 45
},
“message”: “OCP\AppFramework\Http\Template\PublicTemplateResponse::setHeaderTitle(): Argument #1 ($title) must be of type string, null given, called in /var/www/html/nextcloud/apps/files_sharing/lib/DefaultPublicShareTemplateProvider.php on line 235 in file ‘/var/www/html/nextcloud/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php’ line 45”,
“exception”: {},
“CustomMessage”: “OCP\AppFramework\Http\Template\PublicTemplateResponse::setHeaderTitle(): Argument #1 ($title) must be of type string, null given, called in /var/www/html/nextcloud/apps/files_sharing/lib/DefaultPublicShareTemplateProvider.php on line 235 in file ‘/var/www/html/nextcloud/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php’ line 45”
}
}