MadJoker0815 / roborock_nologs

No reboots at 3am and no logfiles that fill up the disk and checks to keep filesystem healthy
25 stars 1 forks source link

Script errors Roborock S50 #3

Open DavidB81 opened 4 years ago

DavidB81 commented 4 years ago

Hello, There are 2 errors when executing the script. Services are not recognized or created. Below the script sequence: root@rockrobo:~# sh install.sh Before installing, please check if the cron jobs have not been set yet. Otherwise it will add a different line in /etc/crontab. Press Enter to continue

Install cron tasks. install.sh: line 135: service: not found Modify logrotate.sh to be not as aggressive and delete old log files. install.sh: line 147: service: not found Executing check_reboot script takes aprox. 1 min. /root/check_reboot: line 4: service: command not found /root/check_reboot: line 7: mountpoint: command not found /root/check_reboot: line 32: service: command not found
ALL DONE! Please check your robot for function

What's the problem ?

MadJoker0815 commented 4 years ago

Hi DavidB81,

are you running one of the new firmware versions? 2xxx for gen2 or 4xxx for gen1? if so, most of the commands are not recognized by the system any more. It will only work on 1xxx for gen2 and 3xxx on gen1.

I will try to check if we can modify the script to work on the new firmwares.

DavidB81 commented 4 years ago

Hi MadJoker0815, yes i'm running firmware 2xxx for gen2 and Valetudo RE 0.9.0-beta2.