You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG]: Upgrading from 30.0.4 to 30.0.6 nextcloud - An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1932 Table 'nextcloud.oc_news_items' doesn't exist in engine
#50983
Closed
5 of 8 tasks
FungY911 opened this issue
Feb 23, 2025
· 2 comments
Repair info: All tables already have the correct collation -> nothing to do
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 4000Date20250109163840 for app app_api An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1932 Table 'nextcloud.oc_news_items' doesn't exist in engine
Steps to reproduce
Expected behavior
Run upgrade smoothly
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
FungY911
changed the title
[Bug]: Upgrading from 30.0.4 to 30.0.6
[BUG]: Upgrading from 30.4 to 30.6 nextcloud - An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1932 Table 'nextcloud.oc_news_items' doesn't exist in engine
Feb 23, 2025
FungY911
changed the title
[BUG]: Upgrading from 30.4 to 30.6 nextcloud - An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1932 Table 'nextcloud.oc_news_items' doesn't exist in engine
[BUG]: Upgrading from 30.0.4 to 30.0.6 nextcloud - An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1932 Table 'nextcloud.oc_news_items' doesn't exist in engine
Feb 23, 2025
An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1932 Table 'nextcloud.oc_news_items' doesn't exist in engine
The error is coming from a table used by the News app. It suggests the table was removed (perhaps manually).
Bug description
Debug: Preparing update
Set log level to debug
Turned on maintenance mode
Repair step: Repair MySQL collation
Repair info: All tables already have the correct collation -> nothing to do
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 4000Date20250109163840 for app app_api An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1932 Table 'nextcloud.oc_news_items' doesn't exist in engine
Steps to reproduce
Expected behavior
Run upgrade smoothly
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: