Closed EchedelleLR closed 1 week ago
I do have the same issue, but from the cron job:
Error: Call to undefined method OC\DB\ConnectionAdapter::getParams() in /usr/local/www/nextcloud/apps-pkg/survey_client/lib/Categories/Database.php:136
Stack trace:
#0 /usr/local/www/nextcloud/apps-pkg/survey_client/lib/Categories/Database.php(70): OCA\Survey_Client\Categories\Database->databaseSize()
nextcloud/server#1 /usr/local/www/nextcloud/apps-pkg/survey_client/lib/Collector.php(128): OCA\Survey_Client\Categories\Database->getData()
nextcloud/server#2 /usr/local/www/nextcloud/apps-pkg/survey_client/lib/Collector.php(148): OCA\Survey_Client\Collector->getReport()
nextcloud/server#3 /usr/local/www/nextcloud/apps-pkg/survey_client/lib/BackgroundJobs/MonthlyReport.php(48): OCA\Survey_Client\Collector->sendReport()
nextcloud/server#4 /usr/local/www/nextcloud/lib/public/BackgroundJob/Job.php(78): OCA\Survey_Client\BackgroundJobs\MonthlyReport->run(NULL)
nextcloud/server#5 /usr/local/www/nextcloud/lib/public/BackgroundJob/TimedJob.php(103): OCP\BackgroundJob\Job->start(Object(OC\BackgroundJob\JobList))
nextcloud/server#6 /usr/local/www/nextcloud/lib/public/BackgroundJob/TimedJob.php(93): OCP\BackgroundJob\TimedJob->start(Object(OC\BackgroundJob\JobList))
nextcloud/server#7 /usr/local/www/nextcloud/cron.php(152): OCP\BackgroundJob\TimedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log))
nextcloud/server#8 {main}
Seems the app is deprecated?! I try to send reports manual from time to time but I always do get a HTTP 500 error. Last successful report was sent in April 2020.
Fix pending. Only impacted sqlite3. Due to some deprecated code. Sorry about the delay in addressing. :)
⚠️ This issue respects the following points: ⚠️
Bug description
As suggested by the title it seems that the "Usage survey" is not working from a lot time ago several versions before.
I could not report this issue sooner because I almost forgot.
When I call to make the report manually, it seems that the nextcloud log which is accesible online reports me this error.
When I checked other people issues here, it seems that this worked for them.
Steps to reproduce
Expected behavior
The report to be sent successfully.
Installation method
Official Docker image
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database engine version
SQlite
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
This issue started several versions ago, I reported the exact cause of error for log and the server is behind a reverse proxy server which is also Apache HTTPD.