Skip to content
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

Updating to NC 26 - "This version of Nextcloud requires at least PHP 8.0" #1781

Open
chronohart opened this issue May 27, 2023 · 13 comments
Open

Comments

@chronohart
Copy link

Attempting to update from NC 25 to NC 26 through the cli, the process aborts and reverts back to NC 25 with the message "This version of Nextcloud requires at least PHP 8.0
You are currently running 7.4.33. Please update your PHP version.Abort".

Output from nc-update-nextcloud

Running nc-update-nextcloud
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Current Nextcloud version 25.0.3.2
Available Nextcloud version 26.0.1
Download Nextcloud 26.0.1...
Back up current instance...
Cannot load Zend OPcache - it was already loaded
check free space...
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Maintenance mode enabled
backup database...
backup files...
backup /var/www/nextcloud-bkp_20230527_1685197459.tar.gz generated
Cannot load Zend OPcache - it was already loaded
Maintenance mode disabled
Storing backup at '/var/www/nextcloud-bkp_20230527_1685197459-25.0.3.2.tar.gz'...
Install Nextcloud 26.0.1...
Fix permissions...
Upgrade...
Cannot load Zend OPcache - it was already loaded
This version of Nextcloud requires at least PHP 8.0
You are currently running 7.4.33. Please update your PHP version.Abort
Clean up...
Rolling back to backup /var/www/nextcloud-bkp_20230527_1685197459-25.0.3.2.tar.gz...
check free space...
extracting backup file /var/www/nextcloud-bkp_20230527_1685197459-25.0.3.2.tar.gz...
restore files...
restore database...
Cannot load Zend OPcache - it was already loaded
No datadir found in backup
Cannot load Zend OPcache - it was already loaded
Maintenance mode disabled
Cannot load Zend OPcache - it was already loaded
Starting scan for user 1 out of 4 (chronohart)
Starting scan for user 2 out of 4 (guest)
Starting scan for user 3 out of 4 (jgturbin)
Starting scan for user 4 out of 4 (ncp)
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 152 | 2311 | 00:00:03 |
+---------+-------+--------------+
Installing template 'php/opcache.ini.sh'...
Cannot load Zend OPcache - it was already loaded
System config value tempdirectory set to string /media/myCloudDrive/ncdata/tmp
Cannot load Zend OPcache - it was already loaded
System config value logfile set to string /media/myCloudDrive/ncdata/nextcloud.log
Cannot load Zend OPcache - it was already loaded
System config value trusted_domains => 11 set to string 74.97.29.229
Cannot load Zend OPcache - it was already loaded
System config value trusted_domains => 1 set to string 192.168.1.10
Cannot load Zend OPcache - it was already loaded
System config value trusted_domains => 14 set to string nextcloudpi
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Cannot load Zend OPcache - it was already loaded
Scanning AppData for files

+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 9946 | 2568 | 00:00:53 |
+---------+-------+--------------+
Cleanup...
Rollback successful. Nothing was updated
Done. Press any key...

System information

NextcloudPi diagnostics

NextcloudPi version  v1.52.0
NextcloudPi image    NextCloudPi_11-27-20
OS                   Debian GNU/Linux 11. 5.15.32-v8+ (aarch64)
automount            yes
USB devices          sda 
datadir              /media/myCloudDrive/ncdata
data in SD           no
data filesystem      btrfs
data disk usage      17G/932G
rootfs usage         7.0G/30G
swapfile             /var/swap
dbdir                /media/USBdrive/ncdatabase
Nextcloud check      ok
Nextcloud version    25.0.3.2
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          up
Postfix service      up
Internet check       ok
Public IPv4          ***REMOVED SENSITIVE VALUE***
Public IPv6          ***REMOVED SENSITIVE VALUE***
Port 80              open
Port 443             open
IP                   ***REMOVED SENSITIVE VALUE***
Gateway              ***REMOVED SENSITIVE VALUE***
Interface            eth0
Certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               2:10

Nextcloud configuration

Cannot load Zend OPcache - it was already loaded
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "11": "74.97.29.229",
            "1": "192.168.1.10",
            "12": "chronohart.com",
            "13": "nextcloud.chronohart.com",
            "3": "nextcloudpi",
            "14": "nextcloudpi",
            "20": "nextcloud.chronohart.com",
            "21": "www.nextcloud.chronohart.com"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "25.0.3.2",
        "overwrite.cli.url": "https:\/\/nextcloudpi\/",
        "default_phone_region": "US",
        "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***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/myCloudDrive\/ncdata\/tmp",
        "mail_smtpmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/myCloudDrive\/ncdata\/nextcloud.log",
        "loglevel": "2",
        "log_type": "file",
        "htaccess.RewriteBase": "\/",
        "theme": "",
        "app_install_overwrite": [
            "occweb"
        ],
        "mail_sendmailmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "data-fingerprint": "00b9d69292bff3fea0b6635eb96f067f"
    }
}

HTTPd logs

[Sat May 27 10:50:09.464102 2023] [authz_host:error] [pid 667:tid 548208431488] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /js/ncp.js failed, reason: unable to get the remote host name
[Sat May 27 10:50:09.663715 2023] [authz_host:error] [pid 667:tid 548073959808] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/toggle.svg failed, reason: unable to get the remote host name
[Sat May 27 10:50:09.685090 2023] [authz_host:error] [pid 667:tid 548090777984] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/poweroff.svg failed, reason: unable to get the remote host name
[Sat May 27 10:50:09.706554 2023] [authz_host:error] [pid 667:tid 548116005248] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/defaults.svg failed, reason: unable to get the remote host name
[Sat May 27 10:50:09.728972 2023] [authz_host:error] [pid 667:tid 548132823424] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/reboot.svg failed, reason: unable to get the remote host name
[Sat May 27 10:50:10.045248 2023] [authz_host:error] [pid 667:tid 548040323456] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/search.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.10:4443/css/ncp.css
[Sat May 27 10:50:10.066677 2023] [authz_host:error] [pid 667:tid 548124414336] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/nc-button.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.10:4443/css/ncp.css
[Sat May 27 10:50:10.089182 2023] [authz_host:error] [pid 667:tid 548048732544] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/dashboard.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.10:4443/css/ncp.css
[Sat May 27 10:50:10.110576 2023] [authz_host:error] [pid 667:tid 548166459776] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/defaults-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.10:4443/css/ncp.css
[Sat May 27 10:50:10.131992 2023] [authz_host:error] [pid 667:tid 548099187072] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/settings-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.10:4443/css/ncp.css
[Sat May 27 10:50:10.154321 2023] [authz_host:error] [pid 667:tid 548141232512] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/logs.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.10:4443/css/ncp.css
[Sat May 27 10:50:10.219874 2023] [authz_host:error] [pid 667:tid 548216824192] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/wizard.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.10:4443/css/ncp.css
[Sat May 27 10:50:10.242308 2023] [authz_host:error] [pid 667:tid 548149641600] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/info-white.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.10:4443/css/ncp.css
[Sat May 27 10:50:10.265703 2023] [authz_host:error] [pid 667:tid 548107596160] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/files.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.10:4443/css/ncp.css
[Sat May 27 10:50:10.289107 2023] [authz_host:error] [pid 667:tid 548174860672] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Sat May 27 10:50:10.312602 2023] [authz_host:error] [pid 667:tid 548200038784] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Sat May 27 10:50:10.566210 2023] [authz_host:error] [pid 667:tid 548191646080] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/favicon.png failed, reason: unable to get the remote host name
[Sat May 27 10:50:30.121789 2023] [authz_host:error] [pid 667:tid 548057141632] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Sat May 27 10:50:30.193826 2023] [authz_host:error] [pid 667:tid 548183253376] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Sat May 27 10:51:38.558633 2023] [authz_host:error] [pid 667:tid 548031914368] [remote 192.168.1.20:46994] AH01753: access check of 'localhost' to /img/info.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.10:4443/css/ncp.css

Database logs

2022-04-13 12:21:51 0 [Note] /usr/sbin/mysqld (initiated by: unknown): Normal shutdown
2022-04-13 12:21:51 0 [Note] InnoDB: FTS optimize thread exiting.
2022-04-13 12:21:51 0 [Note] Event Scheduler: Purging the queue. 0 events
2022-04-13 12:21:51 0 [Note] InnoDB: Starting shutdown...
2022-04-13 12:21:51 0 [Note] InnoDB: Dumping buffer pool(s) to /media/myCloudDrive/ncdatabase/ib_buffer_pool
2022-04-13 12:21:51 0 [Note] InnoDB: Buffer pool(s) dump completed at 220413 12:21:51
2022-04-13 12:21:53 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2022-04-13 12:21:53 0 [Note] InnoDB: Shutdown completed; log sequence number 9039974527; transaction id 42958802
2022-04-13 12:21:53 0 [Note] /usr/sbin/mysqld: Shutdown complete


Nextcloud logs

{"reqId":"p5xZMTbpuGYW6DBXA72Z","level":3,"time":"2023-05-27T15:05:02+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user \"chronohart\"","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials k16-20020a0cd690000000b006166a48357asm2042654qvi.60 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":415,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":165,"function":"sendEmailToUser","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/BackgroundJob/EmailNotification.php","line":61,"function":"sendEmails","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\Activity\\BackgroundJob\\EmailNotification","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed sending activity email to user \"{user}\"","CustomMessage":"Failed sending activity email to user \"chronohart\""}}
{"reqId":"p5xZMTbpuGYW6DBXA72Z","level":2,"time":"2023-05-27T15:05:02+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user 'chronohart'.","userAgent":"--","version":"25.0.3.2","data":{"app":"activity"}}
{"reqId":"p5xZMTbpuGYW6DBXA72Z","level":3,"time":"2023-05-27T15:05:02+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user \"jgturbin\"","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials w16-20020a05622a191000b003ef13aa5b0bsm2177018qtc.82 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":415,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":165,"function":"sendEmailToUser","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/BackgroundJob/EmailNotification.php","line":61,"function":"sendEmails","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\Activity\\BackgroundJob\\EmailNotification","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed sending activity email to user \"{user}\"","CustomMessage":"Failed sending activity email to user \"jgturbin\""}}
{"reqId":"p5xZMTbpuGYW6DBXA72Z","level":2,"time":"2023-05-27T15:05:02+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user 'jgturbin'.","userAgent":"--","version":"25.0.3.2","data":{"app":"activity"}}
{"reqId":"p5xZMTbpuGYW6DBXA72Z","level":3,"time":"2023-05-27T15:05:03+00:00","remoteAddr":"","user":"--","app":"notifications","method":"","url":"--","message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials kh16-20020a056214515000b006236eda0299sm2038010qvb.109 - gsmtp\r\n\".","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials kh16-20020a056214515000b006236eda0299sm2038010qvb.109 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/MailNotifications.php","line":217,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/MailNotifications.php","line":168,"function":"sendEmailToUser","class":"OCA\\Notifications\\MailNotifications","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/BackgroundJob/SendNotificationMails.php","line":49,"function":"sendEmails","class":"OCA\\Notifications\\MailNotifications","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\Notifications\\BackgroundJob\\SendNotificationMails","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials kh16-20020a056214515000b006236eda0299sm2038010qvb.109 - gsmtp\r\n\".","exception":{},"CustomMessage":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials kh16-20020a056214515000b006236eda0299sm2038010qvb.109 - gsmtp\r\n\"."}}
{"reqId":"dknwhy94inHpkWrqZldR","level":3,"time":"2023-05-27T15:10:03+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user \"chronohart\"","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials k15-20020ad4450f000000b006260e7361ebsm879856qvu.1 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":415,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":165,"function":"sendEmailToUser","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/BackgroundJob/EmailNotification.php","line":61,"function":"sendEmails","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\Activity\\BackgroundJob\\EmailNotification","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed sending activity email to user \"{user}\"","CustomMessage":"Failed sending activity email to user \"chronohart\""}}
{"reqId":"dknwhy94inHpkWrqZldR","level":2,"time":"2023-05-27T15:10:03+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user 'chronohart'.","userAgent":"--","version":"25.0.3.2","data":{"app":"activity"}}
{"reqId":"dknwhy94inHpkWrqZldR","level":3,"time":"2023-05-27T15:10:03+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user \"jgturbin\"","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials x16-20020a0ce0d0000000b0062593051073sm2068725qvk.111 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":415,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":165,"function":"sendEmailToUser","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/BackgroundJob/EmailNotification.php","line":61,"function":"sendEmails","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\Activity\\BackgroundJob\\EmailNotification","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed sending activity email to user \"{user}\"","CustomMessage":"Failed sending activity email to user \"jgturbin\""}}
{"reqId":"dknwhy94inHpkWrqZldR","level":2,"time":"2023-05-27T15:10:03+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user 'jgturbin'.","userAgent":"--","version":"25.0.3.2","data":{"app":"activity"}}
{"reqId":"dknwhy94inHpkWrqZldR","level":3,"time":"2023-05-27T15:10:04+00:00","remoteAddr":"","user":"--","app":"notifications","method":"","url":"--","message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials mn6-20020a0562145ec600b0060530c942f4sm2095800qvb.46 - gsmtp\r\n\".","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials mn6-20020a0562145ec600b0060530c942f4sm2095800qvb.46 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/MailNotifications.php","line":217,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/MailNotifications.php","line":168,"function":"sendEmailToUser","class":"OCA\\Notifications\\MailNotifications","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/BackgroundJob/SendNotificationMails.php","line":49,"function":"sendEmails","class":"OCA\\Notifications\\MailNotifications","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\Notifications\\BackgroundJob\\SendNotificationMails","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials mn6-20020a0562145ec600b0060530c942f4sm2095800qvb.46 - gsmtp\r\n\".","exception":{},"CustomMessage":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials mn6-20020a0562145ec600b0060530c942f4sm2095800qvb.46 - gsmtp\r\n\"."}}
{"reqId":"6hKXNmWgNbmB2HhmaSNr","level":3,"time":"2023-05-27T15:15:02+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user \"chronohart\"","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials u18-20020a0562140b1200b006210e0365f7sm2048678qvj.69 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":415,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":165,"function":"sendEmailToUser","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/BackgroundJob/EmailNotification.php","line":61,"function":"sendEmails","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\Activity\\BackgroundJob\\EmailNotification","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed sending activity email to user \"{user}\"","CustomMessage":"Failed sending activity email to user \"chronohart\""}}
{"reqId":"6hKXNmWgNbmB2HhmaSNr","level":2,"time":"2023-05-27T15:15:02+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user 'chronohart'.","userAgent":"--","version":"25.0.3.2","data":{"app":"activity"}}
{"reqId":"6hKXNmWgNbmB2HhmaSNr","level":3,"time":"2023-05-27T15:15:03+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user \"jgturbin\"","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials c2-20020a05620a164200b0075b3631eb91sm1950452qko.132 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":415,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":165,"function":"sendEmailToUser","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/BackgroundJob/EmailNotification.php","line":61,"function":"sendEmails","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\Activity\\BackgroundJob\\EmailNotification","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed sending activity email to user \"{user}\"","CustomMessage":"Failed sending activity email to user \"jgturbin\""}}
{"reqId":"6hKXNmWgNbmB2HhmaSNr","level":2,"time":"2023-05-27T15:15:03+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user 'jgturbin'.","userAgent":"--","version":"25.0.3.2","data":{"app":"activity"}}
{"reqId":"6hKXNmWgNbmB2HhmaSNr","level":3,"time":"2023-05-27T15:15:04+00:00","remoteAddr":"","user":"--","app":"notifications","method":"","url":"--","message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials b8-20020a05620a126800b0074df2ac52f8sm1987124qkl.21 - gsmtp\r\n\".","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials b8-20020a05620a126800b0074df2ac52f8sm1987124qkl.21 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/MailNotifications.php","line":217,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/MailNotifications.php","line":168,"function":"sendEmailToUser","class":"OCA\\Notifications\\MailNotifications","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/BackgroundJob/SendNotificationMails.php","line":49,"function":"sendEmails","class":"OCA\\Notifications\\MailNotifications","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\Notifications\\BackgroundJob\\SendNotificationMails","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials b8-20020a05620a126800b0074df2ac52f8sm1987124qkl.21 - gsmtp\r\n\".","exception":{},"CustomMessage":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials b8-20020a05620a126800b0074df2ac52f8sm1987124qkl.21 - gsmtp\r\n\"."}}
{"reqId":"Wf7jABfi8AZIRTf3bXYV","level":3,"time":"2023-05-27T15:20:02+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user \"chronohart\"","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials c14-20020a05620a11ae00b0075cce93818csm409062qkk.90 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":415,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":165,"function":"sendEmailToUser","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/BackgroundJob/EmailNotification.php","line":61,"function":"sendEmails","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\Activity\\BackgroundJob\\EmailNotification","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed sending activity email to user \"{user}\"","CustomMessage":"Failed sending activity email to user \"chronohart\""}}
{"reqId":"Wf7jABfi8AZIRTf3bXYV","level":2,"time":"2023-05-27T15:20:02+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user 'chronohart'.","userAgent":"--","version":"25.0.3.2","data":{"app":"activity"}}
{"reqId":"Wf7jABfi8AZIRTf3bXYV","level":3,"time":"2023-05-27T15:20:03+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user \"jgturbin\"","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials cb17-20020a05622a1f9100b003f7a54fa72fsm2205996qtb.0 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":415,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/MailQueueHandler.php","line":165,"function":"sendEmailToUser","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/apps/activity/lib/BackgroundJob/EmailNotification.php","line":61,"function":"sendEmails","class":"OCA\\Activity\\MailQueueHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\Activity\\BackgroundJob\\EmailNotification","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed sending activity email to user \"{user}\"","CustomMessage":"Failed sending activity email to user \"jgturbin\""}}
{"reqId":"Wf7jABfi8AZIRTf3bXYV","level":2,"time":"2023-05-27T15:20:03+00:00","remoteAddr":"","user":"--","app":"activity","method":"","url":"--","message":"Failed sending activity email to user 'jgturbin'.","userAgent":"--","version":"25.0.3.2","data":{"app":"activity"}}
{"reqId":"Wf7jABfi8AZIRTf3bXYV","level":3,"time":"2023-05-27T15:20:04+00:00","remoteAddr":"","user":"--","app":"notifications","method":"","url":"--","message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials z25-20020a05620a101900b007463509f94asm1968522qkj.55 - gsmtp\r\n\".","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Swift_TransportException","Message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials z25-20020a05620a101900b007463509f94asm1968522qkj.55 - gsmtp\r\n\".","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php","line":371,"function":"afterEhlo","class":"Swift_Transport_Esmtp_AuthHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php","line":148,"function":"doHeloCommand","class":"Swift_Transport_EsmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php","line":65,"function":"start","class":"Swift_Transport_AbstractSmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":191,"function":"send","class":"Swift_Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/MailNotifications.php","line":217,"function":"send","class":"OC\\Mail\\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/MailNotifications.php","line":168,"function":"sendEmailToUser","class":"OCA\\Notifications\\MailNotifications","type":"->"},{"file":"/var/www/nextcloud/apps/notifications/lib/BackgroundJob/SendNotificationMails.php","line":49,"function":"sendEmails","class":"OCA\\Notifications\\MailNotifications","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\Notifications\\BackgroundJob\\SendNotificationMails","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php","Line":191,"message":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials z25-20020a05620a101900b007463509f94asm1968522qkj.55 - gsmtp\r\n\".","exception":{},"CustomMessage":"Failed to authenticate on SMTP server with username \"[email protected]\" using 1 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8  https://support.google.com/mail/?p=BadCredentials z25-20020a05620a101900b007463509f94asm1968522qkj.55 - gsmtp\r\n\"."}}

@mayermart
Copy link
Contributor

I may have had a similar issue. Check your ncp.cfg file and try set the line for php version from 8.1 to 7.4.
After that i think i ran ncp-update which then updated php to 8.1.

@chronohart
Copy link
Author

Thanks for the reponse @mayermart . Can you point me to where I can find the ncp.cfg file? I'm still very much learning my way around nextcloudpi and I'm having trouble figuring that out.

@mayermart
Copy link
Contributor

Sure, that file ist located at /usr/local/etc/ncp.cfg
I'm currently on my mobile, so i can't verify what i did that time.

@chronohart
Copy link
Author

Found the solution! Long story short, I had to update specifically to NC 25.0.6 through the terminal before trying to update to NC latest (26.0.1). Apparently going to 25.0.6 is the way to get PHP correctly updated.

Credit goes to: https://help.nextcloud.com/t/i-have-latest-nextcloudpi-version-but-dated-php-version/161951. Not sure why I couldn't find that post until now.

@monolyf
Copy link

monolyf commented Jun 16, 2023

I too was getting the same PHP version error

Updating to version 25.0.7 via the terminal triggered PHP to update to version 8.x and then I was successfully able to update to NC 26

Edit: Just read the change log "[v1.51.3] Add support for Nextcloud 25.0.6" so might be best to update to 25.0.6 instead of 25.0.7

@TiPi-Miou-Miou
Copy link

Hi.

Happy to see I'm not the only one in this loop hole !
I only do ncp updates via web page.
I'll try the way indicated by @chronohart
Fingers cross...

@githubtefo
Copy link

What should we do the ones that skipped 5.0.26 and are already in 5.0.28 with PHP7.4?

@mwip
Copy link

mwip commented Jul 19, 2023

I, too, face this issue now through auto update. Are there any solutions by now. AFAIK, Debian 11 which OP and I are running does not ship PHP8. Will NCP bring its own PHP?

All input is appreciated.

@FadeFx
Copy link

FadeFx commented Jul 23, 2023

@chronohart according to your logs you suffer from an old issue as well, there is a duplicate symlink to Zend opcache... see details hrere: #416 (comment)

@chronohart
Copy link
Author

@chronohart according to your logs you suffer from an old issue as well, there is a duplicate symlink to Zend opcache... see details hrere: #416 (comment)

Thanks for spotting that! I'll look into it.

@mcsitter
Copy link

mcsitter commented Sep 5, 2023

I may have had a similar issue. Check your ncp.cfg file and try set the line for php version from 8.1 to 7.4. After that i think i ran ncp-update which then updated php to 8.1.

Changing the line did not change the behavior of ncp-update-nc for me. The ncp-update-nc script checks if the PHPVER (set in library.sh which reads from ncp.cfg file) is more recent than 8.1. Even though 8.1 is not installed, the ncp.cfg indicates so and does so again after every attempt to upgrade nc. The "Upgrading PHP..." line never gets echoed as you can see in the attached log. I had upgraded from 24.something to 25.0.6 (which installed 25.0.6.1). The attempt to update to 26.0.3 failed. An attempt to upgrade to 25.0.7 did not fix the issue and I still cant install 26.0.3.

I feel like this is a bug in the update script. The linked forum post indicated a solution with an updated script, which apparently put the Upgrading of PHP at the top of the script. Maybe this is a potential fix?

I am on the current ncp version v1.52.4, which runs on by Raspberry Pi.

log.txt

@AlphaX2
Copy link

AlphaX2 commented Jan 15, 2024

Hi,

I've the same problem. I'm at Nextcloud version 25.0.13.2 and PHP 7.4.33. And I can't update to v26.0.3, because of this error. Is there any way to upgrade PHP version?

I came from v20 and updated all versions including dist-upgrade and everything was working very well so far. I guess there is any way to solve this.

Thanks in advance.

@githubtefo
Copy link

Hi there - we are still stuck in NC 25 and support is an unsupported version.
Please, we need a safe way to update to PHP8 and therefore NC26 the users that skipped 5.0.28 without noticing it was the one updating PHP.
Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants