Bullseyes upgrade nextcloud error

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Bullseyes upgrade nextcloud error

Post by eglider86 »

Hi,
After upgrade my dietpi system manually to Bullseyes by following provided instruction nextcloud service fails. It seems it got stocked in maintainence mode :

Code: Select all

 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
User avatar
MichaIng
Site Admin
Posts: 3357
Joined: Sat Nov 18, 2017 6:21 pm

Re: Bullseyes upgrade nextcloud error

Post by MichaIng »

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):

Code: Select all

dietpi-software reinstall 114
If it doesn't say 6, please do the following and see whether it then does:

Code: Select all

/boot/dietpi/func/dietpi-obtain_hw_model
. /boot/dietpi/.hw_model
echo $G_DISTRO
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Re: Bullseyes upgrade nextcloud error

Post by eglider86 »

It says 6 so i have reinstalled nc as you recommended. Now maintenance mode is off. However 503 error service unavailable
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: Bullseyes upgrade nextcloud error

Post by Joulinar »

Could you check all services running

Code: Select all

dietpi-services status
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Re: Bullseyes upgrade nextcloud error

Post by eglider86 »

i have done it

Code: Select all

 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
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Re: Bullseyes upgrade nextcloud error

Post by eglider86 »

i have migrate data folder to a new location before reinstall. Can that be a problem?
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: Bullseyes upgrade nextcloud error

Post by Joulinar »

could you check if there are error messages inside the nextcloud.log file

Code: Select all

cat /mnt/dietpi_userdata/nextcloud_data/nextcloud.log
Don't get confused, the output could be cryptic (if something is logged)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Re: Bullseyes upgrade nextcloud error

Post by eglider86 »

I think i make a fresh install, i have managed to save nextcloud content.
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Re: Bullseyes upgrade nextcloud error

Post by eglider86 »

thank you
User avatar
MichaIng
Site Admin
Posts: 3357
Joined: Sat Nov 18, 2017 6:21 pm

Re: Bullseyes upgrade nextcloud error

Post by MichaIng »

Don't forget to migrate the database as well, along with the actual data files :).
Post Reply