You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"reqId":"jf3L9MoS0gYuUbmERDpQ","level":2,"time":"2021-12-15T10:59:16+00:00","remoteAddr":"45.13.104.179","user":"--","app":"no app in context","method":"HEAD","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"python-requests/2.25.1","version":""}
{"reqId":"jf3L9MoS0gYuUbmERDpQ","level":2,"time":"2021-12-15T10:59:16+00:00","remoteAddr":"45.13.104.179","user":"--","app":"no app in context","method":"HEAD","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"python-requests/2.25.1","version":""}
{"reqId":"hTWPiUGOeaY4eUiWlR4V","level":2,"time":"2021-12-15T10:59:17+00:00","remoteAddr":"107.189.6.166","user":"--","app":"no app in context","method":"HEAD","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"python-requests/2.25.1","version":""}
{"reqId":"hTWPiUGOeaY4eUiWlR4V","level":2,"time":"2021-12-15T10:59:17+00:00","remoteAddr":"107.189.6.166","user":"--","app":"no app in context","method":"HEAD","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"python-requests/2.25.1","version":""}
{"reqId":"82zvt2LU5CS7BxBOSPzN","level":2,"time":"2021-12-15T10:59:40+00:00","remoteAddr":"45.153.160.137","user":"--","app":"no app in context","method":"HEAD","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"python-requests/2.25.1","version":""}
{"reqId":"82zvt2LU5CS7BxBOSPzN","level":2,"time":"2021-12-15T10:59:40+00:00","remoteAddr":"45.153.160.137","user":"--","app":"no app in context","method":"HEAD","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"python-requests/2.25.1","version":""}
{"reqId":"sWLGDIbBIftVEBGnXkQp","level":2,"time":"2021-12-15T11:10:11+00:00","remoteAddr":"192.168.1.10","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0","version":""}
{"reqId":"sWLGDIbBIftVEBGnXkQp","level":2,"time":"2021-12-15T11:10:11+00:00","remoteAddr":"192.168.1.10","user":"--","app":"no app in context","method":"GET","url":"/","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0","version":""}
{"reqId":"30wwX8ktXrqpLsHua8bs","level":2,"time":"2021-12-15T11:12:49+00:00","remoteAddr":"192.168.1.10","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in https:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0","version":""}
{"reqId":"30wwX8ktXrqpLsHua8bs","level":2,"time":"2021-12-15T11:12:49+00:00","remoteAddr":"192.168.1.10","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Could not detect any host in http:///data/htaccesstest.txt","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0","version":""}
Additional info
No response
The text was updated successfully, but these errors were encountered:
tcitworld
changed the title
cron php -f /var/www/nextcloud/cron.php fails
Call to a member function getEMailAddress() on null in /var/www/nextcloud/apps/firstrunwizard/lib/Notification/Notifier.php:134
Aug 30, 2022
Bug description
When adding php -f /var/www/nextcloud/cron.php to cron according to instructions in Nextcloud www-pages i get email error report:
Error: Call to a member function getEMailAddress() on null in /var/www/nextcloud/apps/firstrunwizard/lib/Notification/Notifier.php:134
Stack trace:
#0 /var/www/nextcloud/apps/firstrunwizard/lib/Notification/Notifier.php(97): OCA\FirstRunWizard\Notification\Notifier->getSubject()
nextcloud/server#1 /var/www/nextcloud/lib/private/Notification/Manager.php(376): OCA\FirstRunWizard\Notification\Notifier->prepare()
nextcloud/server#2 /var/www/nextcloud/apps/notifications/lib/MailNotifications.php(196): OC\Notification\Manager->prepare()
nextcloud/server#3 /var/www/nextcloud/apps/notifications/lib/MailNotifications.php(166): OCA\Notifications\MailNotifications->sendEmailToUser()
nextcloud/server#4 /var/www/nextcloud/apps/notifications/lib/BackgroundJob/SendNotificationMails.php(49): OCA\Notifications\MailNotifications->sendEmails()
nextcloud/server#5 /var/www/nextcloud/lib/public/BackgroundJob/Job.php(79): OCA\Notifications\BackgroundJob\SendNotificationMails->run()
nextcloud/server#6 /var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php(95): OCP\BackgroundJob\Job->execute()
nextcloud/server#7 /var/www/nextcloud/cron.php(151): OCP\BackgroundJob\TimedJob->execute()
nextcloud/server#8 {main}
All users have email addresses.
Steps to reproduce
Add php -f /var/www/nextcloud/cron.php to cron.
Expected behavior
Clarifying what email address is missing.
Installation method
Community Web installer on a VPS or web space
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: