everytime i use dietpi-services for to stop a random services the script exec this command too:
[ OK ] DietPi-Services | ncc maintenance:mode --on
and let nextcloud in maintenance mode for ever, even if i finish in dietpi-services and close it
need to launch from shell ncc maintenance:mode --off everytime i use dietpi-services
bug: dietpt-services Topic is solved
Re: bug: dietpt-services
Hi,
many thanks for your message. There is basically a similar report viewtopic.php?f=9&t=7320
What service you like to stop? If possible I would try to replicate the issue.
many thanks for your message. There is basically a similar report viewtopic.php?f=9&t=7320
What service you like to stop? If possible I would try to replicate the issue.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: bug: dietpt-services
i think its easy to replicare, all my services stop nextcloud too
rpi-monitor
nmbd
smbd
redis-server
mariadb
php7.3-fpm
lighttpd
qbitttorent
docker
ssh
pihole-FTL
openvpn
this is all my services up, and everyone i stop script do ncc maintenance:mode --on and leave it set to on for ever
i manually off the maintenacemode everytime in this log before try to stop something
rpi-monitor
nmbd
smbd
redis-server
mariadb
php7.3-fpm
lighttpd
qbitttorent
docker
ssh
pihole-FTL
openvpn
this is all my services up, and everyone i stop script do ncc maintenance:mode --on and leave it set to on for ever
i manually off the maintenacemode everytime in this log before try to stop something
Code: Select all
root@DietPi:~# dietpi-services
[ OK ] DietPi-Services | ncc maintenance:mode --on
[ OK ] DietPi-Services | stop : rpimonitor
[ OK ] DietPi-Services | restart : rpimonitor
[ OK ] DietPi-Services | ncc maintenance:mode --on
[ OK ] DietPi-Services | stop : nmbd
[ OK ] DietPi-Services | restart : nmbd
[ OK ] DietPi-Services | ncc maintenance:mode --on
[ OK ] DietPi-Services | stop : smbd
[ OK ] DietPi-Services | restart : smbd
[ OK ] DietPi-Services | ncc maintenance:mode --on
[ OK ] DietPi-Services | stop : redis-server
[ OK ] DietPi-Services | restart : redis-server
[ OK ] DietPi-Services | ncc maintenance:mode --on
[ OK ] DietPi-Services | stop : mariadb
[ OK ] DietPi-Services | restart : mariadb
[ OK ] DietPi-Services | ncc maintenance:mode --on
[ OK ] DietPi-Services | stop : php7.3-fpm
[ OK ] DietPi-Services | restart : php7.3-fpm
[ OK ] DietPi-Services | ncc maintenance:mode --on
[ OK ] DietPi-Services | stop : lighttpd
[ OK ] DietPi-Services | restart : lighttpd
[ OK ] DietPi-Services | ncc maintenance:mode --on
[ OK ] DietPi-Services | stop : qbittorrent
[ OK ] DietPi-Services | restart : qbittorrent
[ OK ] DietPi-Services | ncc maintenance:mode --on
Re: bug: dietpt-services
ok seems still not fixed. I will open a GitHub issue out of it. For the time being, pls use systemctl
However if you like using dietpi-services, pls use:
and not
Using start will enable NextCloud as well, while restart will just restart the particular service
GitHub open: https://github.com/MichaIng/DietPi/issues/3740
Code: Select all
systemctl stop <service>
Code: Select all
dietpi-services start <service>
Code: Select all
dietpi-services restart <service>
Code: Select all
root@DietPi3:~# dietpi-services restart qbittorrent
DietPi-Services
─────────────────────────────────────────────────────
Mode: restart qbittorrent
[ OK ] DietPi-Services | restart : qbittorrent
root@DietPi3:~#
root@DietPi3:~#
root@DietPi3:~# dietpi-services start qbittorrent
DietPi-Services
─────────────────────────────────────────────────────
Mode: start qbittorrent
[ OK ] DietPi-Services | start : qbittorrent
[ OK ] DietPi-Services | 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
Re: bug: dietpt-services
a fix will be implemented with upcoming DietPi release 6.32.
https://github.com/MichaIng/DietPi/comm ... 2df88895b1
https://github.com/MichaIng/DietPi/comm ... 2df88895b1
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: bug: dietpt-services
thanks for your work, really