Explo icon indicating copy to clipboard operation
Explo copied to clipboard

Explo Logs Help

Open avalynnrose opened this issue 5 months ago • 3 comments

I've set up Explo in docker and it's just outputting the below logs, and repeats endlessly. In my .env youtube is commented out and I have slskd set up. Sorry for the vague title and lack of detail I'm not really understanding what it's doing but I am pretty sure it's user error.

2025-07-29 17:46:00 crond[7]: wakeup dt=60 2025-07-29 17:46:00 crond[7]: file root: 2025-07-29 17:46:00 crond[7]: line apk add --upgrade yt-dlp && cd /opt/explo && ./explo >> /proc/1/fd/1 2>&1

avalynnrose avatar Jul 29 '25 18:07 avalynnrose

Hi! This looks like cron is having trouble parsing the schedule. Can you enter the running container with:

docker exec -it explo sh

And then copy the crontab contents with:

cat /etc/crontabs/root  

That should help us figure out what’s going wrong.

LumePart avatar Jul 30 '25 15:07 LumePart

hmm it says this... 15 00 * * 2 apk add --upgrade yt-dlp && cd /opt/explo && ./explo >> /proc/1/fd/1 2>&1

just as a note I did not edit any of the cron information, and I am running this in Cosmos Cloud, which hasn't stopped me from doing anything else but just in case wanted to mention it.

avalynnrose avatar Jul 30 '25 17:07 avalynnrose

That seems correct. I only managed to reproduce a similar output when I didn't have the schedule in crontab.

Try testing if a simple cron job works:

  1. Deploy a simple container (the below image is the one Explo uses)
docker run -it golang:1.23-alpine sh
  1. Add a new cron job to the container crontab. The example below should install yt-dlp after a minute
echo "* * * * * apk add yt-dlp" > /etc/crontabs/root
  1. Start cron
crond -f -l 8

See if the output is similar

LumePart avatar Jul 30 '25 20:07 LumePart