Skip to content

occ upgrade must be run twice (manually) #2954

@enoch85

Description

@enoch85

Expected behavior

The mail app should be updated when the other apps are updated using ./occ upgrade as usual.

Actual behavior

Several users reported to me that their cloud is in an update stage and they can't update because automatic updates are disabled (the VM use CLI).

In the VM there's an update script which runs ./occ upgrade to update Nextcloud, in a regular manner.

Now as it turns out, all users with the mail app enabled is greeted with this after the upgrade:

image

After som investigation I found that running ./occ upgrade a second time did the trick, and mail got updated.

Is this really how it should be?

This is some of the occ output:

Purify and migrate collected mail addresses

 Done
    0/0 [>---------------------------]   0%
Insert sync background job for all accounts
 Done
 1/1 [============================] 100%
Updated <mail> to 1.3.2

Mail app

After the upgrade its 1.3.2, I don't know the version before that.

Server configuration

Operating system: (e.g. Debian 8)
Ubuntu Server 18.04

Web server: (e.g. Apache, Nginx,...)
Apache

Database: (e.g. MariaDB, SQLite or PostgreSQL)
PostgreSQL

PHP version: (e.g. 7.0)
7.2

Nextcloud Version: (see admin page, e.g. 13.0.2)
18.0.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions