Upgrade from 25.0.2 to 25.0.3 never completes - multple stuck rsync processes
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 7.4k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
This update has some flaw with the upgrade where rsync is hung indefinitely. Exec into the pod and only these processes are running:
root@nextcloud-server-5f8cb45955-ss5rk:/var/www/html# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2060 1388 ? Ss 05:21 0:00 /bin/sh /entrypoint.sh apache2-foreground
root 43 0.1 0.0 185392 6344 ? S 05:21 0:00 rsync -rlDog --chown www-data:www-data --delete --exclude-from=/upgrade.exclude /usr/src/
root 44 0.7 0.0 155796 5752 ? S 05:21 0:00 rsync -rlDog --chown www-data:www-data --delete --exclude-from=/upgrade.exclude /usr/src/
root 45 0.6 0.0 185656 5536 ? D 05:21 0:00 rsync -rlDog --chown www-data:www-data --delete --exclude-from=/upgrade.exclude /usr/src/
root 46 0.3 0.0 3956 3028 pts/0 Ss 05:23 0:00 /bin/bash
root 53 0.0 0.0 6444 2408 pts/0 R+ 05:23 0:00 ps aux
root@nextcloud-server-5f8cb45955-ss5rk:/var/www/html#
This was left like this for a couple hours and never finished. It appears the rsync commands just hang and never return or exit.
image being used is: 25.0.3-apache
Not sure what was broke in this new version (I have successfully upgraded in the past), but rolling back to 25.0.2 and it's working again.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the 25.0.3-apache image and /entrypoint.sh, focusing on the rsync commands shown in the report. Reproduce the upgrade while comparing 25.0.2 with 25.0.3; done means the upgrade completes and does not leave rsync processes stuck indefinitely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100