
I can see there's something wrong from the lines
$this->bbcode_second_pass_code('', '
sh: cannot set terminal process group (-1): inappropriate ioctl for devices
sh: no job control in this shell
')
What I did before was I tried to force reboot the RPi remotely when I noticed some commands that I normally had in my $PATH was missing like shutdown, reboot, systemctl.
This is the commands I used to force reboot:
$this->bbcode_second_pass_code('', '
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger
')
Googling the sh error says there's something wrong with the root filesystem.
Is there any way to restore this without resorting to reinstalling?
