hoellen / dockerfiles

Dockerfiles
https://hub.docker.com/u/hoellen
Creative Commons Zero v1.0 Universal
37 stars 17 forks source link

Nextcloud 20 occ stuck #44

Closed lexxxel closed 3 years ago

lexxxel commented 3 years ago

I can't upgrade from nextcloud 19.0 to 20.0 . The run.sh is always stuck with occ upgrade. When I step into the container with docker exec -it nextcloud sh, I can't run occ, even without parameters. The script is just stuck.

waja commented 3 years ago

Hi,

The run.sh is always stuck with occ upgrade. When I step into the container with docker exec -it nextcloud sh, I can't run occ, even without parameters. The script is just stuck.

I can confirm this, even for a new setup.

Cheers, Jan.

hoellen commented 3 years ago

Sorry, I've already submitted a patch upstream. I try to find some time in the evening to apply it to the docker image. For now, you can safely downgrade to 19.0 because occ gets stuck before the upgrade.

lexxxel commented 3 years ago

Unlucky me can't downgrade :innocent: ... I sh into the container, killed the process, triggered the update from the website and ended with a 'working 20.0', only that the cron job get's stuck and boosts my cpu clock while occupying 1 full core :see_no_evil:. I will happily wait for your fix 👍

PS: I read your PR ... and see how it reflects with my experience ❤️

waja commented 3 years ago

For now, you can safely downgrade to 19.0 because occ gets stuck before the upgrade.

If you not killed the PHP process inside the container and not upgraded the instance to 20.0, because you only stoped the container, this should work. At least it worked well for me.

hoellen commented 3 years ago

Okay. I've downgraded the image to PHP 7.3. That will be faster and fixes it, also. Then we wait until the bugfix is released upstream and go back to PHP 7.4.

zerpex commented 3 years ago

Hi,

Is it possible to either upgrade to php 7.4 or give the choice of php version used ? I am using the password app and the last update require php 7.4 !

Regards, zer

hoellen commented 3 years ago

Fix is included in the upstream release and there is also an UID check on start now. So we can use the PHP 7.4 as base image for Nextcloud 20 again (see commit https://github.com/hoellen/dockerfiles/commit/b60120888d0d340f4f88fb2a3cf711dc732748af and https://github.com/hoellen/dockerfiles/commit/ed47c8a632451a3832a6b489198f615d607df8d5).