fe.settings:getUserBoardSettings - non array given[endsoft] - Endchan Magrathea
Actually try to change the 

ls *.* to
ls .* and see if that works.  If not just change it to :
ls > filelist.txt
ls | sort -R | sort -R > filelist.txt

if you are brave just comment out the tar and gzip backup portion.  Otherwise just replace the *.* with * and it should work.  This might accidentaly include the renum directory if done this way however which is what I think I was trying to avoid. I think there is a no-recursion option for tar that would prevent this but I tried it and it wasn't working right.