Closed catbou closed 6 years ago
Hello, i have this and other similar bugs too, maybe related to webdav.
When creating folder:
When creating or uploading file have these errors:
When editing txt file from web interface:
have no idea what causing this issues, can't work with this problems!
Server configuration Operating system: Ubuntu 16.04 Web server:Apache 2.4.18 Database: MySQL 5.7.19 PHP version:7.1.10, also tried 5.6.31 Nextcloud version: 12.0.3 Updated from an older Nextcloud/ownCloud or fresh install: Updated from Nextcloud 11 Where did you install Nextcloud from: updated to nextcloud through updater from owncloud
Are you using external storage, if yes which one: none
Are you using encryption: no
Are you using an external user-backend, if yes which one: none
update: found solution - I disabled an app "search_lucene" and all works properly
I don't have this app enabled so it has to be something else.
@catbou what are your enabled apps? what's in the log?
Which log do you mean/need? I appended the error in the nextcloud log above. It's this one:
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'UPDATE "oc_filecache" SET "path_hash" = ?, "path" = ?, "parent" = ?, "name" = ?, "mimepart" = ?, "mimetype" = ?, "size" = ?, "mtime" = ?, "storage_mtime" = ?, "encrypted" = ?, "etag" = ?, "permissions" = ?, "checksum"=? WHERE ("path_hash" <> ? OR "path" <> ? OR "parent" <> ? OR "name" <> ? OR "mimepart" <> ? OR "mimetype" <> ? OR "size" <> ? OR "mtime" <> ? OR "storage_mtime" <> ? OR "encrypted" <> ? OR "etag" <> ? OR "permissions" <> ? OR "checksum" <> ? OR "path_hash" IS NULL OR "path" IS NULL OR "parent" IS NULL OR "name" IS NULL OR "mimepart" IS NULL OR "mimetype" IS NULL OR "size" IS NULL OR "mtime" IS NULL OR "storage_mtime" IS NULL OR "encrypted" IS NULL OR "etag" IS NULL OR "permissions" IS NULL OR "checksum" IS NULL) AND "fileid" = ? ' with params ["f4adb1bc5a0a5eb7955698e65055044c", "files/Openstack/RVTools_tabvCD.csv", 2740, "RVTools_tabvCD.csv", 10, 11, 428529, "1506924557.501", 1508427421, 0, "59e8c69d61745", 27, null, "f4adb1bc5a0a5eb7955698e65055044c", "files/Openstack/RVTools_tabvCD.csv", 2740, "RVTools_tabvCD.csv", 10, 11, 428529, "1506924557.501", 1508427421, 0, "59e8c69d61745", 27, null, 3939]: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "1506924557.501"
These are the enabled apps: Enabled:
Invalid text representation: 7 ERROR: invalid input syntax for integer: "1506924557.501"
For whatever reason the mtime is not an integer, but a float number. I guess you can do it for micro-precision, but I doubt we do it. Unless it comes from the filesystem?
@icewind1991
We haven't seen this since the last report here. I will close this ticket for now. If this is still happening we can look into this again.
Signing status
``` Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed paste the results here. ```App list
``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your Nextcloud installation folder ```Config report
``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder or Insert your config.php content here. Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …) ```Web server error log
``` Insert your webserver log here ```Nextcloud log
``` Insert your Nextcloud log here ``` | Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'UPDATE "oc_filecache" SET "path_hash" = ?, "path" = ?, "parent" = ?, "name" = ?, "mimepart" = ?, "mimetype" = ?, "size" = ?, "mtime" = ?, "storage_mtime" = ?, "encrypted" = ?, "etag" = ?, "permissions" = ?, "checksum"=? WHERE ("path_hash" <> ? OR "path" <> ? OR "parent" <> ? OR "name" <> ? OR "mimepart" <> ? OR "mimetype" <> ? OR "size" <> ? OR "mtime" <> ? OR "storage_mtime" <> ? OR "encrypted" <> ? OR "etag" <> ? OR "permissions" <> ? OR "checksum" <> ? OR "path_hash" IS NULL OR "path" IS NULL OR "parent" IS NULL OR "name" IS NULL OR "mimepart" IS NULL OR "mimetype" IS NULL OR "size" IS NULL OR "mtime" IS NULL OR "storage_mtime" IS NULL OR "encrypted" IS NULL OR "etag" IS NULL OR "permissions" IS NULL OR "checksum" IS NULL) AND "fileid" = ? ' with params ["f4adb1bc5a0a5eb7955698e65055044c", "files\/Openstack\/RVTools_tabvCD.csv", 2740, "RVTools_tabvCD.csv", 10, 11, 428529, "1506924557.501", 1508427421, 0, "59e8c69d61745", 27, null, "f4adb1bc5a0a5eb7955698e65055044c", "files\/Openstack\/RVTools_tabvCD.csv", 2740, "RVTools_tabvCD.csv", 10, 11, 428529, "1506924557.501", 1508427421, 0, "59e8c69d61745", 27, null, 3939]: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "1506924557.501" -- | --Browser log
``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```