-
-
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
[Bug]: Files Versions: Did expect one result but found none when executing: query "SELECT * FROM *PREFIX*files_versions WHERE (file_id = :dcValue1) AND (timestamp = :dcValue2)";
#41174
Comments
This looks more related to files_versions as we just write to a file here. @artonge Maybe you can have a look since you worked on versions recently? Error happens at
|
This comment was marked as outdated.
This comment was marked as outdated.
Hey @AndyXheli, I could not reproduce, and I do not want to make potentially false hypothesis on the root cause here. Were you able to find some reproduction steps? Seems to be linked to editing a file with the text app. |
*PREFIX*files_versions
WHERE (file_id
= :dcValue1) AND (timestamp
= :dcValue2)";"SELECT * FROM
*PREFIX*files_versions WHERE (
file_id = :dcValue1) AND (
timestamp = :dcValue2)";
"SELECT * FROM
*PREFIX*files_versions WHERE (
file_id = :dcValue1) AND (
timestamp = :dcValue2)";
"SELECT * FROM *PREFIX*files_versions WHERE (file_id = :dcValue1) AND (
timestamp = :dcValue2)";
"SELECT * FROM *PREFIX*files_versions WHERE (file_id = :dcValue1) AND (
timestamp = :dcValue2)";
"SELECT * FROM *PREFIX*files_versions WHERE (file_id = :dcValue1) AND (timestamp = :dcValue2)";
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Have the same issue in Nextcloud version 27.0.1 |
Here the same - Nextcloud version 27.0.2 |
Same here. Nextcloud version 27.1.2.1
|
@juliushaertl #38800 did not fix this. This happens while editing a Text app (as originaly reported) file or a OnlyOffice app file (so files that can be edited and saved in real time).
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi all just seen this error on NC 28.0.1 @szaimen can you please update the tag to also reflect 28-feedback
|
I manually insert data to oc_maps_photos, and finally the picture appeared on the map。 I achieved this through the following steps. Log file show Sql no result; I check this table find it is empty, so I insert some date into the table.
After insert data, the picture appeared on the map. It seems that no data is inserted after clicking to upload the image. |
Same here
|
Facing same issue Nextcloud (27.1.4) ; Versions - 1.20.0; Group folders 15.3.2 The entries are not created in oc_files_versions for corresponding entries in oc_filescache in the case of group folder. [webdav] Error: OCP\AppFramework\Db\DoesNotExistException: Did expect one result but found none when executing: query "SELECT * FROM |
I have the same in 28.0.1 and I was wondering: As far as I understood, this happens, when a file exists, but does not have any entry in the versions table. (So I assume the expected state is, that every file existing has at least 1 version record?) Until this is fixed, is there maybe a workaround possible, like:
Just, so that I / we can keep the error log clean / tidy to be able to spot unexpected errors? |
I no longer have this issue (NC 28.0.5). |
I still see this on 28.0.5 |
In my case this happens to pictures that get updated on a client, e.g. tag added, and then that new version gets uploaded to the server. |
Same problem in 28.0.6. |
Still on 29.0.2 |
same here on nextcloud v29.0.4 in a docker-deployment. I am NOT using the Nextcloud AIO docker repo, but the normal docker repo. |
Error still prevalent on v29.0.6. |
Is this only impacting |
This is impacting my rclone google photos sync to NC. Shouldn't be group folders. |
@pannal Please provide your reproduction steps. Aside: My gut is telling me there are several ways to trigger this particular problem. |
I use rclone to sync google photos to the Edit: This is probably related:
|
I am not sure what |
I do not use groupfolders but just a shared folder. The error can be triggered if a metadata change of a photo (tag added by digikam) is synced back to the server. |
Continues with v29.0.7. Reproducable on to NC-instances: Uploading georef. image files and trying to add them to a map. ( see @pannal ) |
Also an issue on v29.0.8 |
For me, this happens with files in a folder managed by git. I have |
This comment has been minimized.
This comment has been minimized.
This is not the same error. This is related to forms app. |
Getting the following error version Nextcloud Hub 9 (30.0.4) |
Do you have a stacktrace? |
since ive turned on previews i have a futher 1000+ errors in my log will have to hunt for it
|
Bug description
Seen this error on Nextcloud 26.0.0
Steps to reproduce
Not sure
Expected behavior
Should not see error in logs
Installation method
Community Manual installation with Archive
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 to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: