Skip to content

occ and cron.php hang after upgrade from 19.0.3 to 19.0.4 #1267

@equinox0815

Description

@equinox0815

Hi,

Today we tried to upgrade several Docker-based Nextcloud instances. Since the upgrade running cron.php as well as occ hangs forever using 100% CPU. We downgraded one of the instances by restoring from a backup and this fixed the problem.

Here is the output of the following command:

docker exec -it e5c2dfc4c9a5 strace php /var/www/html/occ

and the output of running cron.php

docker exec -it e5c2dfc4c9a5 strace php -f /var/www/html/cron.php 

Both commands use up 100% of one CPU core the whole time. Once the output of strace reaches the sequence of mremap() calls that's all that is printed, so no other syscalls are called after that.

Running php alone does work:

# docker exec -it e5c2dfc4c9a5 php --version                                                                                                                                                                             
PHP 7.4.11 (cli) (built: Oct  1 2020 19:35:35) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.11, Copyright (c), by Zend Technologies

regards
christian

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds reviewNeeds confirmation this is still happening or relevantuserRunning containers under a different user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions