-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Log errors related to doctrine (but nothings broken?) #10521
Comments
GitMate.io thinks possibly related issues are #3768 (Error logged when creating a new share), #2304 (Config error should not lead to user passwords in log), #10090 (Improved logging of smb connection errors), and #9265 (postgres db conversion - value out of range). |
Could you reproduce the error when you execute above in your terminal? Stacktrace shows that someone is doing a webdav search (like described here https://docs.nextcloud.com/server/12/developer_manual/client_apis/WebDAV/search.html) with lastmodified -62104229268 (which is 1762-09-14). Replace Username and Password with your credentials. There is some input validation here but -62104229268 is valid for an integer. Could you share oc_filecache schema? (its describe oc_filecache in mysql but i dont know in pqsql) |
I am able to reproduce with the above steps.
Nextcloud configuration: Config report{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"loglevel": "0",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Memcached",
"memcached_servers": [
[
"***REMOVED SENSITIVE VALUE***",
11211
]
],
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "13.0.4.0",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"apps_paths": [
{
"path": "\/usr\/local\/www\/nextcloud\/apps",
"url": "\/apps",
"writable": true
},
{
"path": "\/usr\/local\/www\/nextcloud\/apps-pkg",
"url": "\/apps-pkg",
"writable": false
}
],
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"maintenance": false,
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25"
}
} Nextcloud log (data/nextcloud.log)Nextcloud log
|
Could you post oc_filecache schema (http://www.postgresqltutorial.com/postgresql-describe-table/)? |
Here's my
|
And yeah, I also get this:
|
Yep. Value "-6857199850" does not fit for mtime. Do you migrated to BigInt (https://docs.nextcloud.com/server/13/admin_manual/configuration_database/bigint_identifiers.html)? |
|
As the migrations shows "mtime" should be a bigint column. I will try tomorrow with nextcloud/vm. |
@danielkesselberg Thanks for taking your time! |
It's added in the update script. So issue will solve itself? |
Yes. Type for "mtime" is changed from integer to bigint and a value like "-6857199850" is not longer out of range. |
Another fix for this is coming to 13.0.6 #10837 |
Steps to reproduce
Expected behaviour
No error output
Actual behaviour
Running Ubuntu 16.04 with
Version: PostgreSQL 9.6.9 on x86_64-pc-linux-gnu (Ubuntu 9.6.9-2.pgdg16.04+1), compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609, 64-bit
I still got this in my logs:It happens randomly but seems to be related to cron.php as it's happening close to every run most often.
Seems to be the exact same issue here: https://help.nextcloud.com/t/log-errors-related-to-doctrine-but-nothings-broken/33065
Server configuration detail
Operating system: Linux 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86_64
Webserver: Apache/2.4.18 (Ubuntu) (apache2handler)
Database: pgsql PostgreSQL 9.6.9 on x86_64-pc-linux-gnu (Ubuntu 9.6.9-2.pgdg16.04+1), compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609, 64-bit
PHP version: 7.0.30-0ubuntu0.16.04.1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, PDO, xml, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, imagick, imap, intl, json, ldap, exif, mcrypt, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache
Nextcloud version: 13.0.5 - 13.0.5.2
Updated from an older Nextcloud/ownCloud or fresh install:
Updated since start of 9 something something...
Where did you install Nextcloud from: My scripts (Nextcloud VM)
Signing status
Array
List of activated apps
Configuration (config/config.php)
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
Client configuration
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Operating system:
Logs
Browser log
Nextcloud log
Browser log
Insert your browser log here, this could for example include:
The text was updated successfully, but these errors were encountered: