Error updating from 29.0.8 to 30.0.1

I successfully updated from 29.0.7 to 29.0.8 and then immediately proceeded to update to 30.0.1

I received the following error message during the update.

Update to 30.0.1

Doctrine\DBAL\Exception\TableExistsException: An exception occurred while executing a query: SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘oc_ex_apps_daemons’ already exists

Detailed logs

Preparing update

Set log level to debug

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

Doctrine\DBAL\Exception\TableExistsException: An exception occurred while executing a query: SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘oc_ex_apps_daemons’ already exists

The update was unsuccessful. Please report this issue to the Nextcloud community.

However, Nextcloud seems to be running fine. Is this something to be worried about?

1 Like

I only found references for AIO containers for this table. Did you install Nextcloud AIO? Then we can tag this topic and the guys from AIO can take a closer look.

No this is not Nextcloud AIO. Just a ‘regular’ install, not containerized or anything. Still seems to be running fine despite this error message while upgrading.

Not sure where this table is coming from. What apps do you use? Can you guess from the content of the table?

@iamhives

apparently it has to do with “external apps”-app (check your admin account right underneath “apps”)

perhaps you have AI-apps installed? pls give a list of all installed apps on your instance.

or maybe (no guarantee given) it would help if you’d disable external apps-app remove it, run NC-update and reinstall external-apps-app.

remember: always take backups!

The ‘oc_ex_apps_daemons’ table is empty. Similarly there are the ‘oc_ex_apps’ and ‘oc_ex_apps_routes’ tables which are also empty.

Not sure what ‘oc_ex_apps’ refers to.

Would this error cause any problems with my ‘core’ Nextcloud installation - everything on the surface seems to be running fine

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.