+ BIN=/usr/local/cpanel/3rdparty/bin/sqlite3 + /usr/local/cpanel/3rdparty/bin/sqlite3 /etc/x-ui/x-ui.db 'select key,value from settings where key like '\''sub%'\'';' subPath|/sub/ subJsonPath|/turwho5mcj8x87yh/ subClashPath|/b805v0zy11sj0rt4/ subPort|6969 subEnable|true subDomain| + echo '-- traffic rows' -- traffic rows + /usr/local/cpanel/3rdparty/bin/sqlite3 /etc/x-ui/x-ui.db 'select inbound_id,email,enable,sub_id from client_traffics;' Error: in prepare, no such column: sub_id select inbound_id,email,enable,sub_id from client_traffics; error here ---^ + echo '-- local sub tests' -- local sub tests + for u in '"/sub/sd8388dalnet"' '"/sub/sd8388dalnet/"' '"/json/sd8388dalnet"' + curl -s -m 8 -o /tmp/so -w '/sub/sd8388dalnet => %{http_code}\n' http://127.0.0.1:6969/sub/sd8388dalnet /sub/sd8388dalnet => 404 + head -c 100 /tmp/so head: cannot open ‘/tmp/so’ for reading: No such file or directory + echo + for u in '"/sub/sd8388dalnet"' '"/sub/sd8388dalnet/"' '"/json/sd8388dalnet"' + curl -s -m 8 -o /tmp/so -w '/sub/sd8388dalnet/ => %{http_code}\n' http://127.0.0.1:6969/sub/sd8388dalnet/ /sub/sd8388dalnet/ => 301 + head -c 100 /tmp/so Moved Permanently. + echo + for u in '"/sub/sd8388dalnet"' '"/sub/sd8388dalnet/"' '"/json/sd8388dalnet"' + curl -s -m 8 -o /tmp/so -w '/json/sd8388dalnet => %{http_code}\n' http://127.0.0.1:6969/json/sd8388dalnet /json/sd8388dalnet => 404 + head -c 100 /tmp/so 404 page not found+ echo + echo '-- miner' -- miner + grep -c '[s]ystemd-helper' + ps aux 1 + echo '-- ports' -- ports + ss -lntp + grep -E ':666 |:6969 |:8080 |:8388 ' + awk '{print $4}' [::]:6969 [::]:666 [::]:8388 [::]:8080 + echo DONE_R DONE_R + cp -f /tmp/r.log /home/btmcomtr/public_html/hlog.txt