[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] 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] oshura_: I'm up again :) [13:52] Hey Wingy! [13:52] Yeah man, I tried looking at that github but I'm afraid I don't know enough to make it work [13:53] I tried to google my answers but was overwhelmed by information [13:54] Also, I'm getting an error "Tracker returned status code 500. The tracker has probably malfunctioned." Anyone else getting that error? [13:57] Looking into it [14:00] oshura_: What is the error message? [14:00] Also, thanks for googling it first :) [14:18] 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] I looked for at least an hour but there was way too much information and I couldn't figure it out sadly [14:20] 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] 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] I'm on the last step of that guide right now, the pi is doing it's thing installing via pip [14:35] In the meanwhile (@Kaz), should I just leave my warrior instance running trying to access the tracker? [14:37] Yep [14:37] Tracker will be back in a sec [14:37] oshura_: which pi are you using? [14:37] rpi4 [14:37] also, done [14:37] Okay, make a warrior directory in your home folder [14:38] ok hold on, I need to figure out where to find that [14:38] is that the folder that automatically opens when I ssh into the pi? [14:38] type cd and press enter to go to your home directory [14:38] yes [14:40] Hmm I think warrior doesn't support docker on pi. It might, we'll try. [14:40] there was a way according to the instruction page where the docker image link is [14:43] There's a Pi image [14:43] good? lol [14:43] It just isn't on docker hub lol [14:44] I'll build and upload [14:44] oh ok, that's probably why I couldn't figure it out (well, it couldn't have helped, that's for sure) [14:46] Actually I'm going to change the dockerfile a bit to add env variable support [14:46] I just couldn't figure out how to build it, I wish there was a how-to guide. [14:46] Cool, I have no idea what that means haha [14:46] You have to clone their git repository and 'docker build' it [14:47] @kaz, it's back up [14:49] ooooooohhh that makes a little more sense [14:49] do I just do that with the image you're building [14:50] I'll just give you a docker-compose file and walk you through what it does :) [14:50] ok [14:58] Hmm [14:58] I don't have my pi plugged in rn [14:58] I'll go get it so I can build the image [14:58] Apparently you can't build arm images on x86 [14:59] Or maybe I can use qemu [15:04] 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] Okay, it'll hopefully be ready in 15 minutes or so [15:07] *** oshura-m has joined #warrior [15:08] Oh libvirt won't do arm lol [15:10] I'm getting the pi out [15:11] 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] Yeah having a pi warrior image will be good lol [15:12] 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] based on your work of course Wingy [15:13] lol free time, what's that? [15:13] I might be able to help too :) [15:13] Maybe even make an sd card image [15:14] Just etcher it on to an sd card, put it in the pi, and let it archive! [15:14] > wc -l TODO [15:14] 1461 TODO [15:14] My todo list for AT. :-| [15:14] uhoh [15:14] hmm [15:17] 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] warrior + boinc? hmm might be a squeeze [15:18] Also with docker-compose you can --scale warrior=2 to get 2 warriors at once [15:19] 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] Yeah maybe run 6 threads on plays.tv [15:20] I think #yahoosucks and #pythons-attack-y! have enough for now [15:22] 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] there's room for more on #pythons-attack-y! [15:23] 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] Where is all this stuff being h hosted? Will the public be able to access it? I’m curious [15:37] 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] 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] ssh gitorious.org [20:02] er [20:02] misfire [20:23] 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] ..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] Nice Wingy! Now how do I get to do that? [20:31] I modified the Dockerfile.raspberry to use the env variables and built a docker image [20:46] ..to be sure If that saved any CPU, I should have looked at the laod average before changing things. [20:47] I guess I can bounce the VM that got stuck on the warrior download. [20:50] oshura_ oshura-m: are you available to get the pi working? [20:51] 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] 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] Hey Wingy, took me longer than expected. I'm up for it if you are [22:08] I am :D [22:09] How do you want to do this? Do you want to just explain it to me on this chat room? [22:09] Yeah :) [22:09] Do you have docker-compose installed yet? [22:09] I sure do [22:10] This docker-composey.yml seems to work well on my pi: https://gist.githubusercontent.com/Wingysam/b4d3440c958d3487a0a634addf289f88/raw/79402b675a672d760f377f0bec4067034c633767/docker-compose.yml [22:11] docker-compose.yml* [22:11] The first line is the version of the docker-compose format that the file is [22:11] In this case, docker-compose 3.7 [22:11] Then we define services [22:11] First, we define URLTeam [22:12] The image of it is my image that I made for you (and anyone else on a pi) [22:12] Then we set the environment variables [22:12] DOWNLOADER is what shows up on the tracker [22:12] SELECTED_PROJECT is which project this warrior uses, in this case urlteam [22:12] CONCURRENT_ITEMS is how many items to run from the tracker at once [22:12] Then we define ports [22:13] In this case, we just say that we want something on the pi to point to 8001 [22:13] ok, i'm tracking [22:13] And we always want it to restart when it shuts down [22:13] yep [22:13] Then we have Auto [22:13] Which is basically the same as URLTeam but on auto not urlteam [22:14] So make a directory with `mkdir warrior` [22:14] then `cd warrior` [22:14] where do I make the dir, where it boots up to? [22:14] In your home directory [22:14] So yes [22:14] Then `wget -O docker-compose.yml https://gist.githubusercontent.com/Wingysam/b4d3440c958d3487a0a634addf289f88/raw/79402b675a672d760f377f0bec4067034c633767/docker-compose.yml` [22:15] 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] Then control+o to write the file, then control+x to exit [22:16] then `docker-compose up` [22:16] Sorry if I'm overloading you lol [22:16] no worries just bear with me [22:16] That was a massive text wall [22:17] Do you want one command to just make it work? [22:18] I'm on it [22:18] 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] Basically just copy Auto and replace auto with whatever you want [22:19] Actually replace auto if you want to run more [22:19] You probably don't want to run too much on a pi [22:20] 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] It changes frequently, go to one of the existing warriors and look at available projects for a list of available projects. [22:20] Then the ID is generally just the project name in lowercase with no spaces [22:21] Yahoo! Groups is yahoogroups [22:21] Plays.tv is playstv [22:21] and again, just to verify, auto is the project they are prioritizing? [22:22] Yes [22:22] Currently plays.tv [22:22] But it usually defaults to urlteam [22:23] urlteam2, not urlteam [22:23] Ah yes [22:23] Thanks [22:23] My docker-compose file has urlteam2 [22:24] Hmm, why does your file need to list the projects? [22:24] 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] To determine which projects to work on [22:25] Oh right, I think I see now what you're doing. Ignore me. [22:25] Maybe symlink /var/lib/docker/overlay2 to the usb drive? [22:26] 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] Of course! Where is your external drive located? [22:27] Have you put it in the /etc/fstab yet? [22:27] I don't think I've done that [22:28] and also, how can I know that the docker installation process is completed? [22:29] If the warrior doesn't start we'll know :) [22:29] There are other ways to check but I think this is easiest :) [22:29] If you want to check now you can run `docker -v` and `docker-compose -v` [22:30] Is your external drive plugged in right now? [22:30] I mean't how to know if the warrior thing is running. Also, yes it is [22:31] We'll make sure the web interface is running [22:31] and after typing both those commands I got the versions for each so they're working [22:31] Yes [22:31] 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] one moment, the connection just got real sluggish [22:34] Are you on a cellular network? [22:34] I am. It's the only way to get into the network right now from outside my home (over vnc) [22:35] You might want to look into ssh :) [22:35] It's what I was trying to do but right now the connection is not working for some reason [22:36] maybe even routing the ssh connection through a mosh server like tilde.team [22:36] Oh they don't have a mosh server sorry [22:36] I have no idea what that means but I would love to learn later [22:37] Yeah ask me about it tomorrow or something :) [22:37] Once we get warrior working [22:37] Can you give me the result of `sudo blkid`? [22:37] 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] Okay :) No problem [22:40] *** AlsoJAA has quit IRC (Quit: leaving) [22:41] 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] Okay :) [22:41] We'll try tomorrow [22:42] yea sounds good. I'll give it a go when I get home tonight [22:42] 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] You can look for the name on the tracker but it moves so fast [22:44] *** AlsoJAA has joined #warrior [22:44] hmmm... well, we'll try it later. Thanks for now Wingy [22:44] I gotta go back to work [22:44] :) [22:44] *** JAA sets mode: +o AlsoJAA [22:48] possible to swap default to url team until the ingest servers stop burning? [22:51] *** Terbium has joined #warrior [23:00] pnJay: I think arkiver has to do that [23:14] *** Wingy has quit IRC (Read error: Operation timed out)