Error updating 31.0.10 to 32.0.1 -- **Solved

Hi I’m trying to upgrade nextcloud 31.0.10 to 32.0.1. Nextcloud running on freebsd 13.2-RELEASE-p10. Installed natively without docker with redis/mariadb.

Anyway during the upgrade process I’m getting error:

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

Repair step: Repair MySQL collation

Repair info: All tables already have the correct collation -> nothing to do

Repair step: Clean tags and favorites

Repair info: 0 tags of deleted users have been removed.

Repair info: 0 tags for delete files have been removed.

Repair info: 0 tag entries for deleted tags have been removed.

Repair info: 0 tags with no entries have been removed.

Repair step: Repair invalid shares

Repair step: Move .step file of updater to backup location

Repair step: Add move avatar background job

Repair info: Repair step already executed

Repair step: Add preview cleanup background jobs

Repair step: Migrate oc_properties table to nextcloud schema

Repair info: oc_properties table does not exist.

Repair step: Migrate oauth2_clients table to nextcloud schema

Repair info: Update the oauth2_access_tokens table schema.

Repair info: Update the oauth2_clients table schema.

Repair info: Delete clients (and their related access tokens) with the redirect_uri starting with oc:// or ending with *

Repair step: Repair language codes

Repair step: Add log rotate job

Repair step: Clear frontend caches

Repair info: Image cache cleared

Repair info: JS cache cleared

Repair step: Clear every generated avatar

Repair step: Add preview background cleanup job

Repair step: Queue a one-time job to cleanup old backups of the updater

Repair step: Cleanup invalid photocache files for carddav

Repair step: Add background job to cleanup login flow v2 tokens

Repair step: Remove potentially over exposing share links

Repair info: No need to remove link shares.

Repair step: Clear access cache of projects

Repair step: Reset generated avatar flag

Repair step: Keep legacy encryption enabled

Repair step: Check encryption key format

Repair step: Remove old dashboard app config data

Repair step: Add job to cleanup the bruteforce entries

Repair step: Queue a one-time job to check for user uploaded certificates

Repair step: Repair DAV shares

Repair step: Add background job to set the lookup server share state for users

Repair step: Add token cleanup job

Repair step: Clean up abandoned apps

Repair step: Add possibly missing system config

Repair step: Add AI tasks cleanup jobs

Repair step: Queue a job to generate metadata

Repair step: Cache logo dimension to fix size in emails on Outlook

Repair info: Theming is not used to provide a logo

Repair step: Remove legacy ".ocdata" file

Repair step: Add cleanup-deleted-users background job

Repair step: Validate account properties and store phone numbers in a known format for search

Repair info: Queued background to validate account properties.

Repair step: Migrate config keys

Starting code integrity check

OCP\App\AppPathNotFoundException: Could not find path for eb       

Looking in the logs further for this mysterious “eb” I’m not finding much:

{"reqId":"xtEN5trPz24KXUmvpsk9","level":3,"time":"November 12, 2025 04:10:38","remoteAddr":"10.99.210.2","user":"--","app":"no app in context","method":"GET","url":"/core/ajax/update.php?requesttoken=UWFXkhlyL0Md3a8WyzRoP7%2BiGKJJUDZtlXmGc6nLsZQ%3D%3AaTQmxCk%2FdwV2hcNboX0GePvlQvc6MnlYpQPfK%2Fv43fA%3D","message":"Could not find path for eb","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0","version":"31.0.10.2","exception":{"Exception":"OCP\\App\\AppPathNotFoundException","Message":"Could not find path for eb","Code":0,"Trace":[{"file":"/usr/local/www/nextcloud/lib/private/IntegrityCheck/Checker.php","line":546,"function":"getAppPath","class":"OC\\App\\AppManager","type":"->","args":["eb"]},{"file":"/usr/local/www/nextcloud/lib/private/Updater.php","line":271,"function":"runInstanceVerification","class":"OC\\IntegrityCheck\\Checker","type":"->","args":[]},{"file":"/usr/local/www/nextcloud/lib/private/Updater.php","line":100,"function":"doUpgrade","class":"OC\\Updater","type":"->","args":["32.0.1.2","31.0.10.2"]},{"file":"/usr/local/www/nextcloud/core/ajax/update.php","line":126,"function":"upgrade","class":"OC\\Updater","type":"->","args":[]}],"File":"/usr/local/www/nextcloud/lib/private/App/AppManager.php","Line":707,"message":"Could not find path for eb","exception":{},"CustomMessage":"Could not find path for eb"}}

Could someone help me find what “eb” is referring to in this context?

It’s referring to the name of an installed app. Without more details about your environment/config/etc such as requested in the support template I’m afraid we can’t be more helpful.

Hey @kevdog you’ve left out all the important stuff in your log excerpts, but it looks like a failed integrity check due to some app.

without Support template. Please use this when you request support were blind and guessing

Steps to resolve integrity check failure

1. Find the files causing the issue

Review your logs or by following the link list of invalid files in the message and discover which app (<appname>) those files reference

2. Double check the app name in question:

occ app:list

3. Remove the app causing the integrity check failure:

occ app::remove <appname>

4. Reinstall the app:

occ app:enable <appname>

5. Run the integrity check manually and see output:

occ integrity:check-core

6. Run the integrity check on the app:

occ integrity:check-app <appname>

7. Manually update = retry update

The message should disappear.

Hey thanks for all the useful hints, and I’d like to walk through the steps I’ve gone trying to solve the issue. Since I’m using bsd, the nextcloud user is www and the nextcloud home directory is /usr/local/www/nextcloud.

Just as a quick check – within /usr/local/www/nextcloud/apps – I absolutely have no application known as “eb”. The only app I have than even begins with an “e” is encryption.

Walking through your suggestions:

# sudo -u www php occ app:list
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Enabled:
  - activity: 5.0.0-dev.0
  - admin_audit: 1.22.0
  - app_api: 32.0.0
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - comments: 1.22.0
  - contactsinteraction: 1.13.1
  - dashboard: 7.12.0
  - dav: 1.34.2
  - drawio: 3.1.2
  - federatedfilesharing: 1.22.0
  - federation: 1.22.0
  - files: 2.4.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_pdfviewer: 5.0.0-dev.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.0
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - logreader: 5.0.0-dev.0
  - lookup_server_connector: 1.20.0
  - nextcloud_announcements: 4.0.0-dev.0
  - notifications: 5.0.0-dev.0
  - oauth2: 1.20.0
  - onlyoffice: 9.11.0
  - password_policy: 4.0.0-dev.0
  - photos: 5.0.0-dev.1
  - previewgenerator: 5.10.0
  - privacy: 4.0.0-dev.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - recommendations: 5.0.0-dev.0
  - related_resources: 3.0.0-dev.0
  - serverinfo: 4.0.0-dev.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - systemtags: 1.22.0
  - text: 6.0.1
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - twofactor_totp: 14.0.0
  - updatenotification: 1.22.0
  - user_ldap: 1.23.0
  - user_status: 1.12.0
  - viewer: 5.0.0-dev.0
  - weather_status: 1.12.0
  - webhook_listeners: 1.3.0
  - workflowengine: 2.14.0
Disabled:
  - OCCWeb: 0
  - bruteforcesettings: 5.0.0-dev.0 (installed 2.2.0)
  - calendar: 5.5.5 (installed 5.5.5)
  - encryption: 2.20.0
  - files_external: 1.24.0
  - files_markdown: 2.4.1 (installed 2.4.0)
  - files_rightclick: 0.15.1 (installed 1.6.0)
  - firstrunwizard: 5.0.0-dev.0 (installed 2.4.0)
  - registration: 2.8.0 (installed 2.8.0)
  - richdocuments: 8.7.5 (installed 8.7.5)
  - richdocumentscode: 25.4.504 (installed 6.4.601)
  - socialsharing_email: 3.3.0 (installed 3.3.0)
  - support: 4.0.0-dev.0 (installed 1.0.0)
  - survey_client: 4.0.0-dev.0 (installed 1.3.0)
  - suspicious_login: 10.0.0-dev.0
  - twofactor_nextcloud_notification: 6.0.0-dev.0

I’d remove and/or reinstall the app if I knew what “eb” was referring to.

Here is the integrity check (produces no output):

# sudo -u www php occ integrity:check-core
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade

In terms or trying to upgrade from the CLI vs web interface:

# sudo -u www php occ upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Starting code integrity check...
OCP\App\AppPathNotFoundException: Could not find path for eb
Update failed
Maintenance mode is kept active
Resetting log level

Sooo - I’m kind of at a loss here. Logs are not helpful in the slightest. I have no app I’m aware that is called eb. I don’t know how to remove or enable the app:

# sudo -u www php occ app:remove eb
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
eb is not enabled

# sudo -u www php occ app:enable eb
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Could not download app eb, it was not found on the appstore

So what is eb referring to??

Here’s my config with some sections changed to protect passwords and such:

<?php
$CONFIG = array (
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/usr/local/www/nextcloud/apps',
      'url' => '/apps',
      'writable' => true,
    ),
  ),
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'loglevel' => 1,
  'logdateformat' => 'F d, Y H:i:s',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'instanceid' => 'ocny42d5quk3',
  'passwordsalt' => 'x8uK3h5S+3ii2EMGej1Af5RmU5uF9F',
  'secret' => '<secret>',
  'trusted_domains' =>
  array (
    0 => 'nextcloud.domain.com',
    1 => '10.0.1.158',
    2 => 'test.domain.com',
    3 => 'nc.domain.com',
  ),
  'trusted_proxies' =>
  array (
    0 => '10.0.0.1/23',
  ),
  'forwarded_for_headers' =>
  array (
    0 => 'X-Forwarded-For',
    1 => 'HTTP_X_FORWARDED_FOR',
  ),
  'datadirectory' => '/mnt/data',
  'dbtype' => 'mysql',
  'version' => '31.0.10.2',
  'overwrite.cli.url' => 'https://nextcloud.domain.com',
  'overwritehost' => '',
  'overwriteprotocol' => '',
  'overwritewebroot' => '',
  'overwritecondaddr' => '',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/var/run/mysql/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud_admin',
  'dbpassword' => '<db_password>',
  'installed' => true,
  'default_language' => 'en',
  'default_locale' => 'en_US',
  'default_phone_region' => 'US',
  'redis' =>
  array (
    'host' => '/tmp/redis.sock',
    'port' => 0,
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'maintenance' => true,
  'maintenance_window_start' => 1,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '587',
  'theme' => '',
  'mail_smtpdebug' => true,
  'mail_smtpsecure' => 'tls',
  'mail_from_address' => 'nextcloud_admin',
  'mail_domain' => 'domain.com',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'user@gmail.com',
  'mail_smtppassword' => '<gmail password>',
  'updater.release.channel' => 'stable',
  'app_install_overwrite' =>
  array (
    0 => 'occweb',
    1 => 'previewgenerator',
    2 => 'richdocuments',
    3 => 'onlyoffice',
  ),
  'updater.secret' => '$2y$10$2fN8KTPItO10U8gkreheXuyV.vBmuwMkwcDqWewN7ldu.hXSwQ43W',
);

This looks bogus. And it contains the eb string.

1 Like

I don’t understand – looks bogus?

But here are things I’ve tried:

# sudo -u www php occ app:enable OCCWeb
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
OCCWeb not found
# sudo -u www php occ app:remove OCCweb
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
OCCweb is not enabled
# sudo -u www php occ app:install OCCweb
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Error: Could not find path for web

I realized I might have been typing a zero “0” or “O” – so I just cut and pasted from the app list command I now I have:

# sudo -u www php occ app:install OCCWeb
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Error: Could not find path for eb

So looking within nextcloud/apps, I see two directories named: occweb and OCCWeb. So I just moved these directories out of the nextcloud tree and then upgraded. I then just reintalled OCCWeb from apps.

So long story short thanks for your help

OCCWeb (mixed case) plus the version being listed as 0 suggests something is weird with that app’s installation. Not sure how that happened in your case, but check if you even have a /usr/local/www/nextcloud/apps/OCCWeb folder. If so, try:

  • renaming it to all lowercase
  • moving it entirely outside of your Nextcloud installation folder (which should effectively disable it)

I edited my post above and just moved the OCCWeb out of nextcloud installation folder and then simply reinstalled to make sure I was getting the most recent version.

Thanks for pointing me in the right direction. The error message was confusing me since it wasn’t complete. Now I’m rolling.

1 Like

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