Hi,
After upgrade my dietpi system manually to Bullseyes by following provided instruction nextcloud service fails. It seems it got stocked in maintainence mode :
DietPi-Services
─────────────────────────────────────────────────────
Mode: restart
[ OK ] DietPi-Services | restart : nmbd
[ OK ] DietPi-Services | restart : smbd
[ OK ] DietPi-Services | restart : redis-server
[ OK ] DietPi-Services | restart : lighttpd
[ OK ] DietPi-Services | restart : cron
[FAILED] DietPi-Services | ncc maintenance:mode --off
How to solve this?
thanks
It seems that PHP was not reinstalled, respectively not upgraded to PHP7.4 as expected. Can you please check whether echo $G_DISTRO days 6? If so, try to again reinstall Nextcloud (which implies PHP):
dietpi-software reinstall 114
If it doesn’t say 6, please do the following and see whether it then does:
/boot/dietpi/func/dietpi-obtain_hw_model
. /boot/dietpi/.hw_model
echo $G_DISTRO
It says 6 so i have reinstalled nc as you recommended. Now maintenance mode is off. However 503 error service unavailable
Could you check all services running
dietpi-services status
i have done it
DietPi-Services
─────────────────────────────────────────────────────
Mode: status
[ OK ] DietPi-Services | nmbd : active (running) since Tue 2021-09-21 23:01:09 BST; 4min 4s ago
[ OK ] DietPi-Services | smbd : active (running) since Tue 2021-09-21 23:01:09 BST; 4min 4s ago
[ OK ] DietPi-Services | redis-server : active (running) since Tue 2021-09-21 23:01:09 BST; 4min 3s ago
[ OK ] DietPi-Services | mariadb : active (running) since Tue 2021-09-21 23:01:12 BST; 4min 1s ago
[ OK ] DietPi-Services | php7.4-fpm : active (running) since Tue 2021-09-21 23:01:13 BST; 4min 0s ago
[ OK ] DietPi-Services | lighttpd : active (running) since Tue 2021-09-21 23:01:13 BST; 3min 59s ago
[ OK ] DietPi-Services | cron : active (running) since Tue 2021-09-21 23:01:13 BST; 3min 59s ago
[ OK ] DietPi-Services | dropbear : active (running) since Tue 2021-09-21 22:53:48 BST; 11min ago
[ OK ] DietPi-Services | fail2ban : active (running) since Tue 2021-09-21 22:53:35 BST; 11min ago
[ INFO ] DietPi-Services | dietpi-vpn : inactive (dead)
[ OK ] DietPi-Services | dietpi-ramlog : active (exited) since Tue 2021-09-21 22:53:31 BST; 11min ago
[ OK ] DietPi-Services | dietpi-preboot : active (exited) since Tue 2021-09-21 22:53:31 BST; 11min ago
[ OK ] DietPi-Services | dietpi-boot : active (exited) since Tue 2021-09-21 22:53:48 BST; 11min ago
[ OK ] DietPi-Services | dietpi-postboot : active (exited) since Tue 2021-09-21 22:53:48 BST; 11min ago
i have migrate data folder to a new location before reinstall. Can that be a problem?
could you check if there are error messages inside the nextcloud.log file
cat /mnt/dietpi_userdata/nextcloud_data/nextcloud.log
Don’t get confused, the output could be cryptic (if something is logged)
I think i make a fresh install, i have managed to save nextcloud content.
Don’t forget to migrate the database as well, along with the actual data files
.