Just for the record: I had the same problem. For me, the cause was also the read-only rootfs. Solved it by adding the following line to my /etc/fstab (on an Orange Pi PC, your device name may vary):
$this->bbcode_second_pass_code('', '/dev/mmcblk0p2 / ext4 rw,relatime,data=ordered 0 1')