-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal server error #229
Comments
Nextcloud 28 is not tested yet. There is nothing you can do - KeeWeb needs to be changed to support Nextcloud 28 as well. So far I can only recommend sticking with Nextcloud 27 until KeeWeb is also updated for Nextcloud 28. |
It seems, Nextcloud 28 removed However, https://docs.nextcloud.com/server/latest/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_28.html does not contain any hint what to use instead. So if no one else has an idea how to fix this, KeeWeb will not work in Nextcloud 28 or newer any longer, sorry. Since the upstream of KeeWeb is also not maintained any longer, I consider this app as "dead" (also see #204 and #221) |
0.6.14 fixes the mentioned issue. |
Hi!
When opening keeweb in NC28RC, I got an internal server error.
This should be the relevant log:
`{"reqId":"TaQzngMHMg5YWUCpkleC","level":3,"time":"2023-12-09T16:46:54+01:00","remoteAddr":"10.20.0.2","user":"xxx",
"app":"index","method":"GET","url":"/apps/keeweb/","message":"Call to undefined method OCP\AppFramework\Http\EmptyCo
ntentSecurityPolicy::allowInlineScript() in file '/var/www/nextcloud/apps/keeweb/lib/Controller/PageController.php' lin
e 143","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0","version":"28.0.0.8","excep
tion":{"Exception":"Exception","Message":"Call to undefined method OCP\AppFramework\Http\EmptyContentSecurityPolicy:
:allowInlineScript() in file '/var/www/nextcloud/apps/keeweb/lib/Controller/PageController.php' line 143","Code":0,"Tra
ce":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFra
mework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":
"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1069,"function":"m
atch","class":"OC\Route\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":37,"function":"handleReque
st","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Pre
vious":{"Exception":"Error","Message":"Call to undefined method OCP\AppFramework\Http\EmptyContentSecurityPolicy::al
lowInlineScript()","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/keeweb/lib/Controller/PageController.php","line":
56,"function":"getCSP","class":"OCA\Keeweb\Controller\PageController","type":"->"},{"file":"/var/www/nextcloud/lib/p
rivate/AppFramework/Http/Dispatcher.php","line":230,"function":"index","class":"OCA\Keeweb\Controller\PageController
","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"execute
Controller","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramew
ork/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/w
ww/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\AppFramework
\App","type":"::"},{"
file":"/var/www/nextcloud/lib/base.php","line":1069,"function":"match","class":"OC\Route\Router","type":"->"},{"file"
:"/var/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcl
oud/apps/keeweb/lib/Controller/PageController.php","Line":143},"message":"Call to undefined method OCP\AppFramework\H
ttp\EmptyContentSecurityPolicy::allowInlineScript() in file '/var/www/nextcloud/apps/keeweb/lib/Controller/PageControl
ler.php' line 143","exception":{},"CustomMessage":"Call to undefined method OCP\AppFramework\Http\EmptyContentSecuri
tyPolicy::allowInlineScript() in file '/var/www/nextcloud/apps/keeweb/lib/Controller/PageController.php' line 143"}}`
Additional Info:
Desktop (please complete the following information):
Server (please complete the following information):
Disabled:
"system": {
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"vmd64337.contaboserver.net",
"luckyshadows.net",
"power.ddnss.org"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "28.0.0.8",
"overwrite.cli.url": "https://vmd64337.contaboserver.net",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"instanceid": "REMOVED SENSITIVE VALUE",
"activity_expire_days": 14,
"auth.bruteforce.protection.enabled": true,
"blacklisted_files": [
".htaccess",
"Thumbs.db",
"thumbs.db"
],
"cron_log": true,
"enable_previews": true,
"enabledPreviewProviders": [
"OC\Preview\PNG",
"OC\Preview\JPEG",
"OC\Preview\GIF",
"OC\Preview\BMP",
"OC\Preview\XBitmap",
"OC\Preview\Movie",
"OC\Preview\PDF",
"OC\Preview\MP3",
"OC\Preview\TXT",
"OC\Preview\MarkDown"
],
"filesystem_check_changes": 0,
"filelocking.enabled": "true",
"htaccess.RewriteBase": "/",
"integrity.check.disabled": false,
"knowledgebaseenabled": false,
"log_rotate_size": 104857600,
"logfile": "/daten/nextcloud.log",
"logtimezone": "Europe/Berlin",
"memcache.local": "\OC\Memcache\APCu",
"memcache.locking": "\OC\Memcache\Redis",
"preview_max_x": 1024,
"preview_max_y": 768,
"preview_max_scale_factor": 1,
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 0,
"timeout": 0
},
"quota_include_external_storage": false,
"share_folder": "/Freigaben",
"skeletondirectory": "",
"trashbin_retention_obligation": "auto, 7",
"app_install_overwrite": [
"keeweb",
"deck",
"spreed",
"bookmarks",
"music",
"unsplash",
"onlyoffice",
"breezedark",
"documentserver_community",
"bruteforcesettings",
"news",
"riotchat"
],
"maintenance": false,
"theme": "",
"loglevel": 2,
"updater.release.channel": "beta",
"default_phone_region": "DE",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtpsecure": "tls",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "587",
"mail_smtpauthtype": "PLAIN",
"mail_smtpauth": 1,
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE"
}
}
Web server error log
Please advice, what information you/we might need to solve this issue, happy to help.
The text was updated successfully, but these errors were encountered: