-
-
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
RuntimeException: File entry could not be inserted but could also not be selected with getId() in order to perform an update #21811
Comments
This comment has been minimized.
This comment has been minimized.
I am seeing this when I run occ file:scan --all , on 1 of the user account. |
I had this issue, too. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This can be produced in 22.2.3.0.
|
Same issue here when uploading large files via the web Interface. NC 21.0.5 |
Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you! My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort! If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+ |
This problem stopped when we switched back from SQL Load balancing (MaxScale+Galera) to "monolithic" database. We had this issue when INSERT SQL Statement was executed on "node-1" and SELECT statement, looking for the freshly inserted line, was executed shortly after on "node-2", returning 0 results since the Galera replication is not 100% synchronous. Would be great if Nextcloud could provide more precise guidelines about scaling a multinode replicated Database ! Even the documentations in customer portal are not very helpfull. GS. |
Please open a ticket about this on support.nextcloud.com. Thanks! |
In the case of an asynchronous replication database system, the inserted row might not yet be available in the replicated R/O database. Closes #21811 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
How to use GitHub
Steps to reproduce
Expected behaviour
The folder should open and the content should be accessible
Actual behaviour
Server configuration
Operating system:
Ubuntu 20.04
Web server:
Apache 2.4.29
Database:
PostgreSQL 12.2
PHP version:
7.4.3
Nextcloud version: (see Nextcloud admin page)
19.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
No
Where did you install Nextcloud from:
Nextcloud Hansson VM
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: SMB external storage
Are you using encryption: no
Are you using an external user-backend, if yes which one: ActiveDirectory
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Firefox 78.0.2 / Sync Client Windows Version 2.6.2 stable
Operating system:
Windows 10 1909
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: