integration_whiteboard
integration_whiteboard copied to clipboard
cronjob stops working after update to nextcloud 21.0.3
On Nextcloud 21.0.2 cronjobs worked with whiteboard_integration but stoped working after update to nextcloud 21.0.3
This is the error message i have on several instances: {"reqId":"jHa0W93syows6QyJ8nVs","level":3,"time":"2021-07-06T06:33:32+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"ArgumentCountError","Message":"in_array() expects at least 2 arguments, 1 given","Code":0,"Trace":[{"file":"/var/www/ingenstans/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php","line":398,"function":"in_array","args":[4033]},{"file":"/var/www/ingenstans/nextcloud/lib/private/User/Manager.php","line":646,"function":"OCA\Spacedeck\Service\{closure}","class":"OCA\Spacedeck\Service\SpacedeckAPIService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/ingenstans/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php","line":402,"function":"callForSeenUsers","class":"OC\User\Manager","type":"->","args":[{"class":"Closure"}]},{"file":"/var/www/ingenstans/nextcloud/apps/integration_whiteboard/lib/BackgroundJob/CleanupSpacedeck.php","line":72,"function":"cleanupSpacedeckStorage","class":"OCA\Spacedeck\Service\SpacedeckAPIService","type":"->","args":["http://localhost:9666","super_secret_token"]},{"file":"/var/www/ingenstans/nextcloud/lib/public/BackgroundJob/Job.php","line":80,"function":"run","class":"OCA\Spacedeck\BackgroundJob\CleanupSpacedeck","type":"->","args":[null]},{"file":"/var/www/ingenstans/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":61,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->","args":[{"class":"OC\BackgroundJob\JobList"},{"class":"OC\Log"}]},{"file":"/var/www/ingenstans/nextcloud/cron.php","line":128,"function":"execute","class":"OCP\BackgroundJob\TimedJob","type":"->","args":[{"class":"OC\BackgroundJob\JobList"},{"class":"OC\Log"}]}],"File":"/var/www/ingenstans/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php","Line":398,"CustomMessage":"--"},"userAgent":"--","version":"21.0.3.1"}
Also reporting this error with Whiteboard Integration 0.0.14 on Nextcloud 22.2.0
Server details
Operating system: Ubuntu 18.04.6 Server LTS
Web server: nginx 1.18.0
Database: PostgreSQL psql 10.18
PHP version: PHP 8.0.11
Nextcloud version: (see Nextcloud admin page) Nextcloud 22.2.0
Where did you install Nextcloud from: nextcloud.com
Signing status:
No errors have been found.
List of activated apps:
Enabled:
- accessibility: 1.8.0
- activity: 2.15.0
- admin_audit: 1.12.0
- announcementcenter: 6.0.0
- apporder: 0.13.0
- bruteforcesettings: 2.2.0
- calendar: 2.3.4
- camerarawpreviews: 0.7.12
- circles: 22.1.1
- cloud_federation_api: 1.5.0
- cms_pico: 1.0.16
- comments: 1.12.0
- dav: 1.19.0
- deck: 1.5.3
- drawio: 1.0.1
- event_update_notification: 1.3.0
- external: 3.9.0
- extract: 1.3.2
- federatedfilesharing: 1.12.0
- files: 1.17.0
- files_downloadactivity: 1.11.1
- files_linkeditor: 1.1.6
- files_pdfviewer: 2.3.0
- files_readmemd: 1.2.0
- files_rightclick: 1.1.0
- files_sharing: 1.14.0
- files_texteditor: 2.14.0
- files_trashbin: 1.12.0
- files_versions: 1.15.0
- files_videoplayer: 1.11.0
- firstrunwizard: 2.11.0
- forms: 2.3.0
- groupfolders: 10.0.0
- impersonate: 1.9.0
- integration_whiteboard: 0.0.14
- logreader: 2.7.0
- lookup_server_connector: 1.10.0
- metadata: 0.14.0
- notes: 4.1.1
- notifications: 2.10.1
- oauth2: 1.10.0
- onlyoffice: 7.1.2
- password_policy: 1.12.0
- passwords: 2021.10.20
- photos: 1.4.0
- privacy: 1.6.0
- provisioning_api: 1.12.0
- quota_warning: 1.11.0
- ransomware_protection: 1.11.0
- recommendations: 1.1.0
- serverinfo: 1.12.0
- settings: 1.4.0
- sharebymail: 1.12.0
- systemtags: 1.12.0
- tasks: 0.14.2
- text: 3.3.0
- theming: 1.13.0
- twofactor_backupcodes: 1.11.0
- updatenotification: 1.12.0
- viewer: 1.6.0
- workflowengine: 2.4.0
Disabled:
- contactsinteraction
- dashboard
- encryption
- federation
- files_external
- nextcloud_announcements
- previewgenerator
- support
- survey_client
- user_ldap
- user_status
- weather_status
Nextcloud configuration:
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"tempdirectory": "***REMOVED SENSITIVE VALUE***\/__temp",
"skeletondirectory": "***REMOVED SENSITIVE VALUE***\/__skeleton",
"templatedirectory": "***REMOVED SENSITIVE VALUE***\/__templates",
"dbtype": "pgsql",
"version": "22.2.0.2",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"log_type": "file",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"loglevel": 2,
"logtimezone": "Australia\/Melbourne",
"mail_smtpmode": "smtp",
"remember_login_cookie_lifetime": 0,
"log_rotate_size": "10485760",
"trashbin_retention_obligation": "auto, 14",
"versions_retention_obligation": "auto, 365",
"simpleSignUpLink.shown": false,
"login_form_autocomplete": true,
"filelocking.enabled": true,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": "6379",
"dbindex": "0",
"timeout": "1.5"
},
"maintenance": false,
"default_phone_region": "AU",
"default_locale": "en_AU",
"force_locale": "en_AU",
"default_language": "en",
"force_language": "en",
"defaultapp": "activity,files",
"activity_expire_days": 180,
"session_lifetime": 14400,
"session_keepalive": false,
"auth.webauthn.enabled": false,
"overwriteprotocol": "https",
"app_install_overwrite": [
"activitylog",
"files_readmemd",
"files_texteditor"
],
"updater.release.channel": "stable",
"theme": "",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"forwarded_for_headers": [
"HTTP_CF_CONNECTING_IP"
],
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No
{"reqId":"hHhVnUnmX9zwTrExkzDY","level":3,"time":"2021-10-06T14:05:34+11:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"in_array() expects at least 2 arguments, 1 given","userAgent":"--","version":"22.2.0.2","exception":{"Exception":"ArgumentCountError","Message":"in_array() expects at least 2 arguments, 1 given","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php","line":398,"function":"in_array"},{"file":"/var/www/nextcloud/lib/private/User/Manager.php","line":646,"function":"OCA\\Spacedeck\\Service\\{closure}","class":"OCA\\Spacedeck\\Service\\SpacedeckAPIService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php","line":402,"function":"callForSeenUsers","class":"OC\\User\\Manager","type":"->"},{"file":"/var/www/nextcloud/apps/integration_whiteboard/lib/BackgroundJob/CleanupSpacedeck.php","line":72,"function":"cleanupSpacedeckStorage","class":"OCA\\Spacedeck\\Service\\SpacedeckAPIService","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":79,"function":"run","class":"OCA\\Spacedeck\\BackgroundJob\\CleanupSpacedeck","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":63,"function":"execute","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/apps/integration_whiteboard/lib/Service/SpacedeckAPIService.php","Line":398,"CustomMessage":"--"},"id":"615d2edef35b5"}