[FAILED] DietPi-Services | ncc maintenance:mode --on Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
beohna
Posts: 10
Joined: Mon Oct 25, 2021 2:51 pm

[FAILED] DietPi-Services | ncc maintenance:mode --on

Post by beohna »

I'm new to dietpi. I installed my privat nextcloud with dietpi.

After 2 Weeks I start the upgrade to dietpi V7.7.3 with dietpi-update. The update completed,with this messages:

Code: Select all

─────────────────────────────────────────────────────
 Phase: Completed

[ INFO ] DietPi-Update | Current version : v7.7.3
[ INFO ] DietPi-Update | Latest version  : v7.7.3
[  OK  ] DietPi-Survey | Sending survey data
[ SUB1 ] DietPi-Services > restart
[FAILED] DietPi-Services | ncc maintenance:mode --on
[  OK  ] DietPi-Services | restart : nmbd
[  OK  ] DietPi-Services | restart : smbd
[  OK  ] DietPi-Services | restart : redis-server
[  OK  ] DietPi-Services | restart : mariadb
[  OK  ] DietPi-Services | restart : php7.4-fpm
[  OK  ] DietPi-Services | restart : lighttpd
[  OK  ] DietPi-Services | restart : rpimonitor
[  OK  ] DietPi-Services | restart : cron
---------

What does "[FAILED] DietPi-Services | ncc maintenance:mode --on" mean?
Is there something wrong with my Nextcloud-Installation?

Greetings from Germany
beohna
Greeting
User avatar
Joulinar
Posts: 6525
Joined: Sat Nov 16, 2019 12:49 am

Re: [FAILED] DietPi-Services | ncc maintenance:mode --on

Post by Joulinar »

Is there something wrong with my Nextcloud-Installation?
Probably.

what does following give you back once executed on command line

Code: Select all

ncc maintenance:mode --on
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
beohna
Posts: 10
Joined: Mon Oct 25, 2021 2:51 pm

Re: [FAILED] DietPi-Services | ncc maintenance:mode --on

Post by beohna »

it says:

Code: Select all

Maintenance mode enabled
User avatar
Joulinar
Posts: 6525
Joined: Sat Nov 16, 2019 12:49 am

Re: [FAILED] DietPi-Services | ncc maintenance:mode --on

Post by Joulinar »

And what about switching it off

Code: Select all

ncc maintenance:mode --off
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
beohna
Posts: 10
Joined: Mon Oct 25, 2021 2:51 pm

Re: [FAILED] DietPi-Services | ncc maintenance:mode --on

Post by beohna »

Code: Select all

Maintenance mode disabled
User avatar
Joulinar
Posts: 6525
Joined: Sat Nov 16, 2019 12:49 am

Re: [FAILED] DietPi-Services | ncc maintenance:mode --on

Post by Joulinar »

Are you able to access Nextcloud now?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
beohna
Posts: 10
Joined: Mon Oct 25, 2021 2:51 pm

Re: [FAILED] DietPi-Services | ncc maintenance:mode --on

Post by beohna »

Yes. Normal working.
User avatar
Joulinar
Posts: 6525
Joined: Sat Nov 16, 2019 12:49 am

Re: [FAILED] DietPi-Services | ncc maintenance:mode --on

Post by Joulinar »

In this case I guess it was a temp issue.

You could do a last test

Code: Select all

dietpi-services stop
dietpi-services start
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
beohna
Posts: 10
Joined: Mon Oct 25, 2021 2:51 pm

Re: [FAILED] DietPi-Services | ncc maintenance:mode --on

Post by beohna »

───────────────────────────────────

Code: Select all

root@Server:~# dietpi-services stop

 DietPi-Services
─────────────────────────────────────────────────────
 Mode: stop

[  OK  ] DietPi-Services | ncc maintenance:mode --on
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : rpimonitor
[  OK  ] DietPi-Services | stop : lighttpd
[  OK  ] DietPi-Services | stop : php7.4-fpm
[  OK  ] DietPi-Services | stop : mariadb
[  OK  ] DietPi-Services | stop : redis-server
[  OK  ] DietPi-Services | stop : smbd
[  OK  ] DietPi-Services | stop : nmbd

Code: Select all

root@Server:~# dietpi-services start

 DietPi-Services
─────────────────────────────────────────────────────
 Mode: start

[  OK  ] DietPi-Services | start : nmbd
[  OK  ] DietPi-Services | start : smbd
[  OK  ] DietPi-Services | start : redis-server
[  OK  ] DietPi-Services | start : mariadb
[  OK  ] DietPi-Services | start : php7.4-fpm
[  OK  ] DietPi-Services | start : lighttpd
[  OK  ] DietPi-Services | start : rpimonitor
[  OK  ] DietPi-Services | start : cron
[  OK  ] DietPi-Services | ncc maintenance:mode --off
root@Server:~#
User avatar
Joulinar
Posts: 6525
Joined: Sat Nov 16, 2019 12:49 am

Re: [FAILED] DietPi-Services | ncc maintenance:mode --on

Post by Joulinar »

All good, no further issues
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply