Nextcloud version: 25.0.4
Operating system and version:
Apache or nginx version:
PHP version: 8.0
The issue you are facing: After running automatic update for forms app, the database got corrupted. The updated ended with the following error message:
Update to 25.0.4
Exception: Database error when running migration 030100Date20230202175747 for app forms An exception occurred while executing a query: SQLSTATE[HY000]: General error: 11 malformed database schema (forms_forms_created) - no such table: main.oc_forms_v2_forms
Detailed logs
Preparing update
Set log level to debug
Turned on maintenance mode
Repair step: Repair MySQL collation
Repair info: Not a mysql database -> nothing to do
Repair step: Repair SQLite autoincrement
Repair step: Copy data from accounts table when migrating from ownCloud
Repair step: Drop account terms table when migrating from ownCloud
Updating database schema
Updated database
Exception: Database error when running migration 030100Date20230202175747 for app forms An exception occurred while executing a query: SQLSTATE[HY000]: General error: 11 malformed database schema (forms_forms_created) - no such table: main.o_forms_v2_forms
Is this the first time you’ve seen this error?: Y
Steps to replicate it:
- run forms update
Can’t access logs right now. Could provide a nextcloud.log via dm if needed.
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
PASTE HERE
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
PASTE HERE