How do I get pastekodi to run without the full command?
This was just to check what was not working on your side. sh -x shows every command before it is executed. Usually the following three commands should behave the same:
pastekodi -h
/usr/bin/pastekodi -h
sh /usr/bin/pastekodi -h
No idea what is going on. First link is now showing the full file plus something from April.
This is normal behavior:
Apr 11 18:28:36 LibreELEC kernel: Booting Linux on physical CPU 0x0
[...]
Apr 11 18:28:43 RPI-KODI connmand[437]: ntp: adjust (jump): +44000355.222585 sec
Sep 02 00:47:59 RPI-KODI connmand[437]: wlan0 {add} route 212.227.81.55 gw 10.0.0.1 scope 0 <UNIVERSE>
[...]
Because the RPI is not having a RTC, the system time defaults to the compile time until it is synchronized via NTP.
Sep 02 01:13:58 RPI-KODI kernel: Under-voltage detected! (0x00050005)
Sep 02 01:14:05 RPI-KODI kernel: Voltage normalised (0x00000000)
Your log is showing several under-voltage issues, you need to fix your power supply.
Now to the audio playback if you are still interested
The SD recording is having a MP2 audio stream while the HD recording contains AC3 that is played with passthroug. Most likely your TV does not support AC3.
Use the TV configuration from Audio quickstart guide - Official Kodi Wiki