Odroid XU4 | Nextcloud and ownCloud install hangs

Dear community,
I have a problem with the installation of Nextcloud.
First of all, I am trying to install Nextcloud on an Odroid XU4 in a Cloudshell2 case with the latest Dietpi version.
During the installation the routine stops after running the command

chmod -R www-data:www-data /var/www/nextcloud /mnt/dietpi_userdata/nextcloud_data

whithout any error. When I kill the process Nextcloud and his dependencies aren’t installed.
I’ve been able to reproduce the behavior several times, with completely fresh images, with mounted HDD or with previous execution of the command on manually created folders.
Exactly the same behavior occurs when I want to install Owncloud, same tests, same results.
I searched here and in the Nextcloud forum but found nothing.
Is there any insight on this?

Hi,

yes this is already known issue. The system is trying to generate a random database password which is failing on Odroid atm

reference https://github.com/MichaIng/DietPi/issues/4318

Workaround could be this one https://github.com/MichaIng/DietPi/issues/4318#issuecomment-830237494

apt purge --autoremove rng-tools-debian rng-tools rng-tools5
apt install haveged
systemctl start haveged

Many thanks for the report. Looks like the use or /dev/random was a good change to catch those entropy daemon issues, which can cause much worse issues than a hanging install at that point :slight_smile:.

That was a quick and solid response.
Now everything works fine.
Thank you

Perfect, thanks for the feedback :slight_smile:!
Issue btw fixed from next version on + for new XU4 images: https://github.com/MichaIng/DietPi/issues/4318#issuecomment-830806406