#warrior 2019-12-13,Fri

↑back Search

Time Nickname Message
04:17 πŸ”— Craigle_ has joined #warrior
04:35 πŸ”— oshura has joined #warrior
04:39 πŸ”— DogsRNice has quit IRC (Read error: Connection reset by peer)
04:41 πŸ”— Craigle_ has quit IRC (Quit: The Lounge - https://thelounge.chat)
04:44 πŸ”— Craigle has quit IRC ()
04:46 πŸ”— Craigle has joined #warrior
05:26 πŸ”— kiska has quit IRC (Remote host closed the connection)
05:26 πŸ”— Flashfire has quit IRC (Remote host closed the connection)
05:27 πŸ”— Flashfire has joined #warrior
05:27 πŸ”— kiska has joined #warrior
06:21 πŸ”— Dallas has quit IRC (Quit: The Lounge - https://thelounge.chat)
06:27 πŸ”— coderobe has quit IRC (Read error: Connection reset by peer)
07:18 πŸ”— coderobe has joined #warrior
07:53 πŸ”— mtntmnky has quit IRC (Remote host closed the connection)
07:54 πŸ”— mtntmnky has joined #warrior
10:22 πŸ”— zhongfu has quit IRC (Ping timeout: 745 seconds)
11:25 πŸ”— vicarage has quit IRC (Ping timeout: 260 seconds)
12:28 πŸ”— vicarage has joined #warrior
13:02 πŸ”— balrog has quit IRC (Bye)
13:43 πŸ”— oshura_ has joined #warrior
13:44 πŸ”— oshura_ morning everyone. I was hoping to get some guidance from someone. I would like to run warrior on my raspberry pi but I am a little lost as to how to do it. The other day Wingy tried to assist me but it was late at night and they had to go to bed. Who here might be able to help point me in the right direction? I got stuck at the building the docker container on the RPi part of the process
13:44 πŸ”— oshura has quit IRC (Quit: Page closed)
13:52 πŸ”— Wingy oshura_: I'm up again :)
13:52 πŸ”— oshura_ Hey Wingy!
13:52 πŸ”— oshura_ Yeah man, I tried looking at that github but I'm afraid I don't know enough to make it work
13:53 πŸ”— oshura_ I tried to google my answers but was overwhelmed by information
13:54 πŸ”— oshura_ Also, I'm getting an error "Tracker returned status code 500. The tracker has probably malfunctioned." Anyone else getting that error?
13:57 πŸ”— Kaz Looking into it
14:00 πŸ”— Wingy oshura_: What is the error message?
14:00 πŸ”— Wingy Also, thanks for googling it first :)
14:18 πŸ”— oshura_ I never even made it far enough to the error message lol. I couldn't figure out where my docker-compose directory was (honestly, I had a hard time figuring out what docker-compose was)
14:20 πŸ”— oshura_ I looked for at least an hour but there was way too much information and I couldn't figure it out sadly
14:20 πŸ”— Wingy This guide helps. I'll walk you through it. https://dev.to/rohansawant/installing-docker-and-docker-compose-on-the-raspberry-pi-in-5-simple-steps-3mgl
14:22 πŸ”— oshura_ I think I made it that far on my own. Let me double check. My RPi is rebooting
14:28 πŸ”— jc86035 has joined #warrior
14:33 πŸ”— oshura_ I'm on the last step of that guide right now, the pi is doing it's thing installing via pip
14:35 πŸ”— oshura_ In the meanwhile (@Kaz), should I just leave my warrior instance running trying to access the tracker?
14:37 πŸ”— Kaz Yep
14:37 πŸ”— Kaz Tracker will be back in a sec
14:37 πŸ”— Wingy oshura_: which pi are you using?
14:37 πŸ”— oshura_ rpi4
14:37 πŸ”— oshura_ also, done
14:37 πŸ”— Wingy Okay, make a warrior directory in your home folder
14:38 πŸ”— oshura_ ok hold on, I need to figure out where to find that
14:38 πŸ”— oshura_ is that the folder that automatically opens when I ssh into the pi?
14:38 πŸ”— Wingy type cd and press enter to go to your home directory
14:38 πŸ”— Wingy yes
14:40 πŸ”— Wingy Hmm I think warrior doesn't support docker on pi. It might, we'll try.
14:40 πŸ”— oshura_ there was a way according to the instruction page where the docker image link is
14:43 πŸ”— Wingy There's a Pi image
14:43 πŸ”— oshura_ good? lol
14:43 πŸ”— Wingy It just isn't on docker hub lol
14:44 πŸ”— Wingy I'll build and upload
14:44 πŸ”— oshura_ oh ok, that's probably why I couldn't figure it out (well, it couldn't have helped, that's for sure)
14:46 πŸ”— Wingy Actually I'm going to change the dockerfile a bit to add env variable support
14:46 πŸ”— oshura_ I just couldn't figure out how to build it, I wish there was a how-to guide.
14:46 πŸ”— oshura_ Cool, I have no idea what that means haha
14:46 πŸ”— Wingy You have to clone their git repository and 'docker build' it
14:47 πŸ”— oshura_ @kaz, it's back up
14:49 πŸ”— oshura_ ooooooohhh that makes a little more sense
14:49 πŸ”— oshura_ do I just do that with the image you're building
14:50 πŸ”— Wingy I'll just give you a docker-compose file and walk you through what it does :)
14:50 πŸ”— oshura_ ok
14:58 πŸ”— Wingy Hmm
14:58 πŸ”— Wingy I don't have my pi plugged in rn
14:58 πŸ”— Wingy I'll go get it so I can build the image
14:58 πŸ”— Wingy Apparently you can't build arm images on x86
14:59 πŸ”— Wingy Or maybe I can use qemu
15:04 πŸ”— oshura_ gotcha. I'm going to be in and out for a bit taking care of some things but I'll keep checking the chat throughout the day for instructions
15:04 πŸ”— Wingy Okay, it'll hopefully be ready in 15 minutes or so
15:07 πŸ”— oshura-m has joined #warrior
15:08 πŸ”— Wingy Oh libvirt won't do arm lol
15:10 πŸ”— Wingy I'm getting the pi out
15:11 πŸ”— oshura-m I appreciate it. I know I can’t be the only one in the world who wants to do something like this but I may be the first who asked for help lol
15:11 πŸ”— Wingy Yeah having a pi warrior image will be good lol
15:12 πŸ”— oshura-m When I get some free time (yeah right πŸ˜‚) I’m willing to help write up a how to guide on how to install it for those of us newbies
15:13 πŸ”— oshura_ based on your work of course Wingy
15:13 πŸ”— JAA lol free time, what's that?
15:13 πŸ”— Wingy I might be able to help too :)
15:13 πŸ”— Wingy Maybe even make an sd card image
15:14 πŸ”— Wingy Just etcher it on to an sd card, put it in the pi, and let it archive!
15:14 πŸ”— JAA > wc -l TODO
15:14 πŸ”— JAA 1461 TODO
15:14 πŸ”— JAA My todo list for AT. :-|
15:14 πŸ”— Wingy uhoh
15:14 πŸ”— Wingy hmm
15:17 πŸ”— oshura-m That sounds cool too. My goal with it is to add it alongside my BOINC client to let them work side by side hopefully on my 1g pi so that I can use them to their best potential. As such, do you think the etcher would work Wingy?
15:18 πŸ”— Wingy warrior + boinc? hmm might be a squeeze
15:18 πŸ”— Wingy Also with docker-compose you can --scale warrior=2 to get 2 warriors at once
15:19 πŸ”— oshura-m That sounds awesome. I would be willing at this point to give priority to Warrior over boinc until we get these two sites archived (plays.tv and yahoo groups) since I know we’re in a time crunch
15:20 πŸ”— Wingy Yeah maybe run 6 threads on plays.tv
15:20 πŸ”— Wingy I think #yahoosucks and #pythons-attack-y! have enough for now
15:22 πŸ”— oshura-m Right now I’m running 6 threads on my laptop but I have two other pis with external HDD that I could be using to run whatever is needed and help the process along. I just have to do it in the next hour or so before I go to work.
15:22 πŸ”— markedL there's room for more on #pythons-attack-y!
15:23 πŸ”— oshura-m If only I understood what that meant lol I just want to help put out the biggest fire for now
15:29 πŸ”— zhongfu has joined #warrior
15:32 πŸ”— oshura-m Where is all this stuff being h hosted? Will the public be able to access it? I’m curious
15:37 πŸ”— markedL virtually all grabs get hosted at Internet Archive in one way or another. Ideally in the WayBackMachine
15:50 πŸ”— xBorsti has joined #warrior
15:50 πŸ”— xBorsti has quit IRC (Client Quit)
15:59 πŸ”— kiskabak has quit IRC (Read error: Operation timed out)
16:03 πŸ”— Flashfire has quit IRC (Remote host closed the connection)
16:03 πŸ”— kiska has quit IRC (Remote host closed the connection)
16:04 πŸ”— Flashfire has joined #warrior
16:04 πŸ”— kiska has joined #warrior
16:15 πŸ”— DogsRNice has joined #warrior
17:04 πŸ”— pinkieval has quit IRC (Read error: Connection reset by peer)
17:06 πŸ”— mls_ has quit IRC (Ping timeout: 258 seconds)
17:07 πŸ”— mls has joined #warrior
17:26 πŸ”— markedL has quit IRC (Read error: Operation timed out)
17:27 πŸ”— asdf0101 has quit IRC (Read error: Operation timed out)
17:27 πŸ”— jc86035 has quit IRC (Quit: Connection closed for inactivity)
17:52 πŸ”— balrog has joined #warrior
17:53 πŸ”— asdf0101 has joined #warrior
17:54 πŸ”— markedL has joined #warrior
18:05 πŸ”— markedL has quit IRC (Read error: Operation timed out)
18:06 πŸ”— asdf0101 has quit IRC (Read error: Operation timed out)
18:13 πŸ”— asdf0101 has joined #warrior
18:13 πŸ”— markedL has joined #warrior
18:19 πŸ”— balrog has quit IRC (Read error: Operation timed out)
18:23 πŸ”— balrog has joined #warrior
18:26 πŸ”— balrog has quit IRC (Read error: Operation timed out)
18:32 πŸ”— balrog has joined #warrior
19:31 πŸ”— Wingy This. is. running. on. a pi. https://owo.whats-th.is/8gG1qvP.png
19:38 πŸ”— kiska has quit IRC (Remote host closed the connection)
19:38 πŸ”— Flashfire has quit IRC (Remote host closed the connection)
19:38 πŸ”— Flashfire has joined #warrior
19:39 πŸ”— kiska has joined #warrior
19:43 πŸ”— pinkieval has joined #warrior
20:02 πŸ”— astrid ssh gitorious.org
20:02 πŸ”— astrid er
20:02 πŸ”— astrid misfire
20:23 πŸ”— phillipsj I guess all that CPU usage is from VM overhead, not disk IO (play.tv tracker ran out of items, and I finished uploading my buffered files)
20:25 πŸ”— phillipsj ..I guess CPU usage went down a little bit. Maybe as much as 50%.
20:29 πŸ”— * phillipsj tries giving them the deafaul 1 CPU instead of 2.
20:30 πŸ”— oshura-m Nice Wingy! Now how do I get to do that?
20:31 πŸ”— Wingy I modified the Dockerfile.raspberry to use the env variables and built a docker image
20:46 πŸ”— phillipsj ..to be sure If that saved any CPU, I should have looked at the laod average before changing things.
20:47 πŸ”— phillipsj I guess I can bounce the VM that got stuck on the warrior download.
20:50 πŸ”— Wingy oshura_ oshura-m: are you available to get the pi working?
20:51 πŸ”— oshura-m If you can give me like 30 minutes, I should be able to try. It’s going to have to be remote, but I think we can do it. #CrossingFingers
20:51 πŸ”— Wingy Okay :)
20:52 πŸ”— TetryonB1 has joined #warrior
20:55 πŸ”— TetryonBe has quit IRC (Read error: Operation timed out)
21:17 πŸ”— d5f4a3622 has quit IRC (Read error: Connection reset by peer)
21:27 πŸ”— bsmith093 has quit IRC (Quit: Leaving.)
21:30 πŸ”— d5f4a3622 has joined #warrior
21:33 πŸ”— bsmith093 has joined #warrior
21:35 πŸ”— jc86035 has joined #warrior
21:57 πŸ”— TetryonBe has joined #warrior
21:59 πŸ”— TetryonB1 has quit IRC (Read error: Operation timed out)
22:03 πŸ”— RBecker has quit IRC (Read error: Operation timed out)
22:04 πŸ”— RBecker has joined #warrior
22:06 πŸ”— vicarage has quit IRC (Ping timeout: 260 seconds)
22:08 πŸ”— oshura_ Hey Wingy, took me longer than expected. I'm up for it if you are
22:08 πŸ”— Wingy I am :D
22:09 πŸ”— oshura_ How do you want to do this? Do you want to just explain it to me on this chat room?
22:09 πŸ”— Wingy Yeah :)
22:09 πŸ”— Wingy Do you have docker-compose installed yet?
22:09 πŸ”— oshura_ I sure do
22:10 πŸ”— Wingy This docker-composey.yml seems to work well on my pi: https://gist.githubusercontent.com/Wingysam/b4d3440c958d3487a0a634addf289f88/raw/79402b675a672d760f377f0bec4067034c633767/docker-compose.yml
22:11 πŸ”— Wingy docker-compose.yml*
22:11 πŸ”— Wingy The first line is the version of the docker-compose format that the file is
22:11 πŸ”— Wingy In this case, docker-compose 3.7
22:11 πŸ”— Wingy Then we define services
22:11 πŸ”— Wingy First, we define URLTeam
22:12 πŸ”— Wingy The image of it is my image that I made for you (and anyone else on a pi)
22:12 πŸ”— Wingy Then we set the environment variables
22:12 πŸ”— Wingy DOWNLOADER is what shows up on the tracker
22:12 πŸ”— Wingy SELECTED_PROJECT is which project this warrior uses, in this case urlteam
22:12 πŸ”— Wingy CONCURRENT_ITEMS is how many items to run from the tracker at once
22:12 πŸ”— Wingy Then we define ports
22:13 πŸ”— Wingy In this case, we just say that we want something on the pi to point to 8001
22:13 πŸ”— oshura_ ok, i'm tracking
22:13 πŸ”— Wingy And we always want it to restart when it shuts down
22:13 πŸ”— oshura_ yep
22:13 πŸ”— Wingy Then we have Auto
22:13 πŸ”— Wingy Which is basically the same as URLTeam but on auto not urlteam
22:14 πŸ”— Wingy So make a directory with `mkdir warrior`
22:14 πŸ”— Wingy then `cd warrior`
22:14 πŸ”— oshura_ where do I make the dir, where it boots up to?
22:14 πŸ”— Wingy In your home directory
22:14 πŸ”— Wingy So yes
22:14 πŸ”— Wingy Then `wget -O docker-compose.yml https://gist.githubusercontent.com/Wingysam/b4d3440c958d3487a0a634addf289f88/raw/79402b675a672d760f377f0bec4067034c633767/docker-compose.yml`
22:15 πŸ”— Wingy Then `nano docker-compose.yml` and use the text editor to replace both of the changethistoyourname things with Oshura or whatever you want to show up as on the tracker
22:15 πŸ”— Wingy Then control+o to write the file, then control+x to exit
22:16 πŸ”— Wingy then `docker-compose up`
22:16 πŸ”— Wingy Sorry if I'm overloading you lol
22:16 πŸ”— oshura_ no worries just bear with me
22:16 πŸ”— Wingy That was a massive text wall
22:17 πŸ”— Wingy Do you want one command to just make it work?
22:18 πŸ”— oshura_ I'm on it
22:18 πŸ”— oshura_ I'm just curious, if I wanted to choose a different project to work on, would I just change the URL2 thing to auto or groups or whatever?
22:19 πŸ”— Wingy Basically just copy Auto and replace auto with whatever you want
22:19 πŸ”— Wingy Actually replace auto if you want to run more
22:19 πŸ”— Wingy You probably don't want to run too much on a pi
22:20 πŸ”— oshura_ do you have a list of options for what the would be, i.e., auto=the project they are working on, URLteam=url shortener, etc
22:20 πŸ”— Wingy It changes frequently, go to one of the existing warriors and look at available projects for a list of available projects.
22:20 πŸ”— Wingy Then the ID is generally just the project name in lowercase with no spaces
22:21 πŸ”— Wingy Yahoo! Groups is yahoogroups
22:21 πŸ”— Wingy Plays.tv is playstv
22:21 πŸ”— oshura_ and again, just to verify, auto is the project they are prioritizing?
22:22 πŸ”— Wingy Yes
22:22 πŸ”— Wingy Currently plays.tv
22:22 πŸ”— Wingy But it usually defaults to urlteam
22:23 πŸ”— JAA urlteam2, not urlteam
22:23 πŸ”— Wingy Ah yes
22:23 πŸ”— Wingy Thanks
22:23 πŸ”— Wingy My docker-compose file has urlteam2
22:24 πŸ”— JAA Hmm, why does your file need to list the projects?
22:24 πŸ”— oshura_ Gotcha, and is the data being saved currently to the SD card? If so, is there an option that can be written into it that could be changed to save the data to an externally mounted HDD?
22:24 πŸ”— Wingy To determine which projects to work on
22:25 πŸ”— JAA Oh right, I think I see now what you're doing. Ignore me.
22:25 πŸ”— Wingy Maybe symlink /var/lib/docker/overlay2 to the usb drive?
22:26 πŸ”— oshura_ what would be the exact command that I would need to input for that if you don't mind please? I am still learning
22:27 πŸ”— Wingy Of course! Where is your external drive located?
22:27 πŸ”— Wingy Have you put it in the /etc/fstab yet?
22:27 πŸ”— oshura_ I don't think I've done that
22:28 πŸ”— oshura_ and also, how can I know that the docker installation process is completed?
22:29 πŸ”— Wingy If the warrior doesn't start we'll know :)
22:29 πŸ”— Wingy There are other ways to check but I think this is easiest :)
22:29 πŸ”— Wingy If you want to check now you can run `docker -v` and `docker-compose -v`
22:30 πŸ”— Wingy Is your external drive plugged in right now?
22:30 πŸ”— oshura_ I mean't how to know if the warrior thing is running. Also, yes it is
22:31 πŸ”— Wingy We'll make sure the web interface is running
22:31 πŸ”— oshura_ and after typing both those commands I got the versions for each so they're working
22:31 πŸ”— Wingy Yes
22:31 πŸ”— Wingy Can you go in the warrior folder with `cd warrior` then `docker-compose ps`?
22:31 πŸ”— TetryonBe has quit IRC (Quit: leaving)
22:33 πŸ”— TetryonBe has joined #warrior
22:33 πŸ”— oshura_ one moment, the connection just got real sluggish
22:34 πŸ”— Wingy Are you on a cellular network?
22:34 πŸ”— oshura_ I am. It's the only way to get into the network right now from outside my home (over vnc)
22:35 πŸ”— Wingy You might want to look into ssh :)
22:35 πŸ”— oshura_ It's what I was trying to do but right now the connection is not working for some reason
22:36 πŸ”— Wingy maybe even routing the ssh connection through a mosh server like tilde.team
22:36 πŸ”— Wingy Oh they don't have a mosh server sorry
22:36 πŸ”— oshura_ I have no idea what that means but I would love to learn later
22:37 πŸ”— Wingy Yeah ask me about it tomorrow or something :)
22:37 πŸ”— Wingy Once we get warrior working
22:37 πŸ”— Wingy Can you give me the result of `sudo blkid`?
22:37 πŸ”— oshura_ I'd love to but I can't secure a connection to the pi either through vnc or through ssh right now, one moment
22:38 πŸ”— Wingy Okay :) No problem
22:40 πŸ”— AlsoJAA has quit IRC (Quit: leaving)
22:41 πŸ”— oshura_ hmm... it looks like the rpi may have crashed. I'm getting an error from vnc viewer that the vnc server is not listening for cloud connections and I am having a hard time connecting to it via ssh
22:41 πŸ”— Wingy Okay :)
22:41 πŸ”— Wingy We'll try tomorrow
22:42 πŸ”— oshura_ yea sounds good. I'll give it a go when I get home tonight
22:42 πŸ”— oshura_ at least I have the instructions here. But let's say that it would have worked, how would I have known that warrior was running, would I have gotten a notice that the engine was up?
22:44 πŸ”— Wingy You can look for the name on the tracker but it moves so fast
22:44 πŸ”— AlsoJAA has joined #warrior
22:44 πŸ”— oshura_ hmmm... well, we'll try it later. Thanks for now Wingy
22:44 πŸ”— oshura_ I gotta go back to work
22:44 πŸ”— Wingy :)
22:44 πŸ”— JAA sets mode: +o AlsoJAA
22:48 πŸ”— pnJay possible to swap default to url team until the ingest servers stop burning?
22:51 πŸ”— Terbium has joined #warrior
23:00 πŸ”— Wingy pnJay: I think arkiver has to do that
23:14 πŸ”— Wingy has quit IRC (Read error: Operation timed out)

irclogger-viewer