[Solved] After user data migration and update not working properly the webserver

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
FedericoCoppola
Posts: 7
Joined: Mon Feb 04, 2019 10:56 pm

[Solved] After user data migration and update not working properly the webserver

Post by FedericoCoppola »

Hi guys,
I have this problem but I need an help to solve it.
I have migrated the user data on my external hard drive connected to my Raspberry.
Later I have updated the system too.
Now it is not working properly the webserver.
I have found all service about it (nginx, php, mariadb) down so I have typed
service name_service start and they started fine, so now there are in running status, but I can not see any web service as Webmin or NextCloud.

I could not access to my samba share too.

Someone can help me?
Thanks
Federico
FedericoCoppola
Posts: 7
Joined: Mon Feb 04, 2019 10:56 pm

Re: After user data migration and update not working properly the webserver

Post by FedericoCoppola »

Hi guys,
I have manually started after some checks this service:
nginx
php7.0
transmission daemon
samba
mariadb

Now they are in running status, but I could not access to NextCloud and Webmin
Thanks in advance

Federico
User avatar
WarHawk
Posts: 606
Joined: Thu Jul 20, 2017 8:55 am

Re: After user data migration and update not working properly the webserver

Post by WarHawk »

have you tried

Code: Select all

# dietpi-service restart
or under sudo

dietpi uses scripting rather than systemd for services...

Side loaded apps can use systemd but won't be controlled thru the dietpi-service command
FedericoCoppola
Posts: 7
Joined: Mon Feb 04, 2019 10:56 pm

Re: After user data migration and update not working properly the webserver

Post by FedericoCoppola »

Hi WarHawk!
I have tried to type

Code: Select all

dietpi-service restart
as root user and this is the output:

Code: Select all

ietpi-services restart
[  OK  ] DietPi-Services | Root access verified.

 DietPi-Services
─────────────────────────────────────────────────────
 Mode: restart

[  OK  ] DietPi-Services | restart : fail2ban
[  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.0-fpm
[  OK  ] DietPi-Services | restart : nginx
[  OK  ] DietPi-Services | restart : transmission-daemon
[  OK  ] DietPi-Services | restart : emby-server
[  OK  ] DietPi-Services | restart : webmin
[  OK  ] DietPi-Services | restart : cron
[ SUB1 ] DietPi-Process_tool > Apply
[  OK  ] DietPi-Process_tool | Cron (10140) : Nice      0
[  OK  ] DietPi-Process_tool | Cron (10140) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Cron (10140) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | DHCP Client (637) : Nice      0
[  OK  ] DietPi-Process_tool | DHCP Client (637) : Affinity  0-3
[  OK  ] DietPi-Process_tool | DHCP Client (637) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Dropbear (520) : Nice      0
[  OK  ] DietPi-Process_tool | Dropbear (520) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Dropbear (520) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Dropbear (9504) : Nice      0
[  OK  ] DietPi-Process_tool | Dropbear (9504) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Dropbear (9504) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Emby Server (10078) : Nice      0
[  OK  ] DietPi-Process_tool | Emby Server (10078) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Emby Server (10078) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Fail2Ban (9777) : Nice      0
[  OK  ] DietPi-Process_tool | Fail2Ban (9777) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Fail2Ban (9777) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Samba Server (Daemon) (9814) : Nice      0
[  OK  ] DietPi-Process_tool | Samba Server (Daemon) (9814) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Samba Server (Daemon) (9814) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Samba Server (Daemon) (9815) : Nice      0
[  OK  ] DietPi-Process_tool | Samba Server (Daemon) (9815) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Samba Server (Daemon) (9815) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Samba Server (Daemon) (9816) : Nice      0
[  OK  ] DietPi-Process_tool | Samba Server (Daemon) (9816) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Samba Server (Daemon) (9816) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Samba Server (NetBios) (9795) : Nice      0
[  OK  ] DietPi-Process_tool | Samba Server (NetBios) (9795) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Samba Server (NetBios) (9795) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Transmission (10064) : Nice      0
[  OK  ] DietPi-Process_tool | Transmission (10064) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Transmission (10064) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webmin (10129) : Nice      0
[  OK  ] DietPi-Process_tool | Webmin (10129) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webmin (10129) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver Nginx (10043) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver Nginx (10043) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver Nginx (10043) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver Nginx (10044) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver Nginx (10044) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver Nginx (10044) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver Nginx (10045) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver Nginx (10045) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver Nginx (10045) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver Nginx (10046) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver Nginx (10046) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver Nginx (10046) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver Nginx (10047) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver Nginx (10047) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver Nginx (10047) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver MariaDB (9973) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver MariaDB (9973) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver MariaDB (9973) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10021) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10021) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10021) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10024) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10024) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10024) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10025) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10025) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10025) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10026) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10026) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10026) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10027) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10027) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver PHP-FPM (10027) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Webserver Redis (9835) : Nice      0
[  OK  ] DietPi-Process_tool | Webserver Redis (9835) : Affinity  0-3
[  OK  ] DietPi-Process_tool | Webserver Redis (9835) : Scheduler SCHED_OTHER 0
[  OK  ] DietPi-Process_tool | Completed
[  OK  ] DietPi-Services | ncc maintenance:mode --off 
Now it seems all ok!
Thanks very much!

Federico
Post Reply