Nextcloud install hangs Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
dirtyharrywk
Posts: 15
Joined: Tue Feb 13, 2018 11:25 pm
Location: IL, USA

Nextcloud install hangs

Post by dirtyharrywk »

After flashing the latest Dietpi, when I go into dietpi-launcher to install Nextcloud the install hangs for ever. The following is what I see on my terminal:

DietPi-Software
─────────────────────────────────────────────────────
Mode: Configuring Nextcloud: File sync, sharing and collaboration platform

Code: Select all

[ INFO ] DietPi-Software | Enabling required PHP modules.
[  OK  ] DietPi-Software | phpenmod ctype curl dom gd iconv intl json mbstring pdo_mysql posix simplexml xmlreader xmlwriter zip fileinfo opcache apcu redis exif
[ INFO ] DietPi-Software | Apply PHP override settings for Nextcloud.
[  OK  ] DietPi-Software | phpenmod dietpi-nextcloud
[ INFO ] DietPi-Software | Apache webserver found, enabling Nextcloud specific configuration.
[  OK  ] DietPi-Software | Checking URL: https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/dps_114/apache.nextcloud.conf
[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[  OK  ] DietPi-Software | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/dps_114/apache.nextcloud.conf -o apache.nextcloud.conf
[ INFO ] DietPi-Software | Updating file: /etc/apache2/sites-available/dietpi-nextcloud.conf.dietpi-new
[  OK  ] DietPi-Software | mv apache.nextcloud.conf /etc/apache2/sites-available/dietpi-nextcloud.conf.dietpi-new
[  OK  ] DietPi-Software | systemctl restart mariadb
[  OK  ] DietPi-Software | systemctl restart redis-server
[  OK  ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/nextcloud_data
[  OK  ] DietPi-Software | chown -R www-data:www-data /var/www/nextcloud /mnt/dietpi_userdata/nextcloud_data.
HANGS at the chown command, which should take seconds to do.
User avatar
Joulinar
Posts: 5149
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud install hangs

Post by Joulinar »

Hi,

are you running a Odroid device? If yes, this might be similar issue as this one viewtopic.php?f=11&t=8969
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
dirtyharrywk
Posts: 15
Joined: Tue Feb 13, 2018 11:25 pm
Location: IL, USA

Re: Nextcloud install hangs

Post by dirtyharrywk »

Yes, Odroid xu4, that did not resolve the issue.
User avatar
Joulinar
Posts: 5149
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud install hangs

Post by Joulinar »

Did you performed following and restarted the system afterwards?

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
dirtyharrywk
Posts: 15
Joined: Tue Feb 13, 2018 11:25 pm
Location: IL, USA

Re: Nextcloud install hangs

Post by dirtyharrywk »

Done all that and still it hangs:

Code: Select all

DietPi-Software
─────────────────────────────────────────────────────
 Mode: Configuring Nextcloud: File sync, sharing and collaboration platform

[ INFO ] DietPi-Software | Enabling required PHP modules.
[  OK  ] DietPi-Software | phpenmod ctype curl dom gd iconv intl json mbstring pdo_mysql posix simplexml xmlreader xmlwriter zip fileinfo opcache apcu redis exif
[ INFO ] DietPi-Software | Apply PHP override settings for Nextcloud.
[  OK  ] DietPi-Software | phpenmod dietpi-nextcloud
[ INFO ] DietPi-Software | Apache webserver found, enabling Nextcloud specific configuration.
[  OK  ] DietPi-Software | Checking URL: https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/dps_114/apache.nextcloud.conf
[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[  OK  ] DietPi-Software | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/dps_114/apache.nextcloud.conf -o apache.nextcloud.conf
[  OK  ] DietPi-Software | mv apache.nextcloud.conf /etc/apache2/sites-available/dietpi-nextcloud.conf.dietpi-new
[  OK  ] DietPi-Software | systemctl restart mariadb
[  OK  ] DietPi-Software | systemctl restart redis-server
[  OK  ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/nextcloud_data
[  OK  ] DietPi-Software | chown -R www-data:www-data /var/www/nextcloud /mnt/dietpi_userdata/nextcloud_data
User avatar
Joulinar
Posts: 5149
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud install hangs

Post by Joulinar »

did you restarted the system afterwards?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
dirtyharrywk
Posts: 15
Joined: Tue Feb 13, 2018 11:25 pm
Location: IL, USA

Re: Nextcloud install hangs

Post by dirtyharrywk »

Yes
dirtyharrywk
Posts: 15
Joined: Tue Feb 13, 2018 11:25 pm
Location: IL, USA

Re: Nextcloud install hangs

Post by dirtyharrywk »

I got it installed. haveged failed to load. I got it working, then rebooted and installed Nextcloud via Dietpi-launcher. :D
User avatar
Joulinar
Posts: 5149
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud install hangs

Post by Joulinar »

What was the issue on haveged and how did you fixed it?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
dirtyharrywk
Posts: 15
Joined: Tue Feb 13, 2018 11:25 pm
Location: IL, USA

Re: Nextcloud install hangs

Post by dirtyharrywk »

Haveged status said failed. So I followed the steps here https://github.com/MichaIng/DietPi/iss ... -830237494
Post Reply