Odroid XU4 | Nextcloud and ownCloud install hangs Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
PaulPink
Posts: 2
Joined: Sun May 02, 2021 1:45 pm

Odroid XU4 | Nextcloud and ownCloud install hangs

Post by PaulPink »

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

Code: Select all

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?
User avatar
Joulinar
Posts: 4503
Joined: Sat Nov 16, 2019 12:49 am

Re: Problem with Nextcloud and Owncloud installation

Post by Joulinar »

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/issu ... -830237494

Code: Select all

apt purge --autoremove rng-tools-debian rng-tools rng-tools5
apt install haveged
systemctl start haveged
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2917
Joined: Sat Nov 18, 2017 6:21 pm

Re: Problem with Nextcloud and Owncloud installation

Post by MichaIng »

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 :).
PaulPink
Posts: 2
Joined: Sun May 02, 2021 1:45 pm

Re: Odroid XU4 | Nextcloud and ownCloud install hangs

Post by PaulPink »

That was a quick and solid response.
Now everything works fine.
Thank you
User avatar
MichaIng
Site Admin
Posts: 2917
Joined: Sat Nov 18, 2017 6:21 pm

Re: Odroid XU4 | Nextcloud and ownCloud install hangs

Post by MichaIng »

Perfect, thanks for the feedback :)!
Issue btw fixed from next version on + for new XU4 images: https://github.com/MichaIng/DietPi/issu ... -830806406
Post Reply