#warrior 2019-12-15,Sun

↑back Search

Time Nickname Message
00:14 πŸ”— oshura-m One thing I struggled with is that the swp was full and the pi was unresponsive. Another is switching to an external for storage. The last was figuring out how to browse to see the GUI for the Warriors containers
00:21 πŸ”— jodizzle has quit IRC (Quit: ZNC 1.7.1 - https://znc.in)
00:21 πŸ”— jodizzle has joined #warrior
00:28 πŸ”— Wingy Did you end up getting the external working?
00:28 πŸ”— Wingy oshura-m
00:29 πŸ”— oshura-m Not yet. Haven’t had the free time needed to research it enough
00:47 πŸ”— chfoo Kaz: this is the script i use to drain the done keys: https://github.com/chfoo/universal-tracker-utilities/blob/master/drain_done_set.py which i manually run occasionally
00:47 πŸ”— chfoo though it probably would be better write a script to check each project for activity and save unneeded keys to files
00:54 πŸ”— Kaz oh hm, I thought done jobs were drained automatically
00:55 πŸ”— Kaz ty anyway, will have a fiddle about
02:48 πŸ”— oshura Hey Wingy, a though for a proposal, how about automating into the docker image thing that you made a process whereby each docker container automatically forwards to whatever the local ip address for that pi would be with container 1 being port 8001 and 2 being 8002 and so forth? That way, I could type in the ip address for my pi on my daily driver's browser and see what warrior is doing from there. For example, I would be able to type
02:48 πŸ”— oshura 192.168.1.2:8001 to see the first warrior container's work and 192.168.1.2:2002 to see the second one all from my laptop. Thoughts?
02:49 πŸ”— Wingy That's pretty much what it does
02:50 πŸ”— oshura oh, well I have no idea how to do that from my laptop that I am using to ssh into the pi
02:51 πŸ”— oshura That's where I was struggling. I had to find out what the local ip address was for the container through HTOP and looking up the command name
02:51 πŸ”— oshura and now all I can do is look at the warrior containers via vnc into the pi and then using the browser on the pi to look at how they're doing
02:52 πŸ”— Wingy Go to your warrior directory and `docker-compose ps`
02:52 πŸ”— Wingy Do you want to set up warrior-manager so port 3333 shows all of the warriors?
02:53 πŸ”— oshura ooooh... that would be cool possibly
02:53 πŸ”— Wingy And it'd look like this https://thelounge.home.wingysam.xyz/uploads/4f736de6dc0d6272/image.png
02:53 πŸ”— oshura Traceback (most recent call last):
02:53 πŸ”— oshura File "/usr/local/bin/docker-compose", line 6, in <module>
02:53 πŸ”— oshura from compose.cli.main import main
02:53 πŸ”— oshura File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 23, in <module>
02:53 πŸ”— oshura from ..bundle import get_image_digests
02:53 πŸ”— oshura File "/usr/local/lib/python2.7/dist-packages/compose/bundle.py", line 14, in <module>
02:53 πŸ”— oshura from .service import format_environment
02:53 πŸ”— oshura File "/usr/local/lib/python2.7/dist-packages/compose/service.py", line 15, in <module>
02:53 πŸ”— oshura import enum
02:53 πŸ”— oshura ImportError: No module named enum
02:53 πŸ”— Wingy Please don't paste directly into chat :)
02:54 πŸ”— Wingy Use a pastebin service like https://gist.github.com
02:54 πŸ”— Wingy Or https://ghostbin.com
02:54 πŸ”— Wingy oops it's https://ghostbin.co
02:54 πŸ”— oshura oh sorry. I'll do that
02:55 πŸ”— JAA Eww Python 2.7
02:55 πŸ”— oshura https://gist.github.com/oshura3/45f41c603c003754b01238f07b0afe42
02:56 πŸ”— oshura yea JAA, newb prolems
02:56 πŸ”— Wingy Try running `pip install docker-compose` again?
02:56 πŸ”— Wingy oh `sudo pip install docker-compose`
02:56 πŸ”— oshura in the same folder? also do I stop the containers currently running?
02:56 πŸ”— Terbium you can see which ip addresses each container uses for docker inspect. if you want to be able to see all containers webpages on one website, u can use organizr or muximux to do iframing for each container
02:56 πŸ”— JAA That's not the problem I think.
02:56 πŸ”— JAA It looks like Python 2 vs 3 to me.
02:56 πŸ”— JAA enum is a built-in module in Py3.
02:57 πŸ”— oshura I'm all ears
02:57 πŸ”— JAA So possibly `pip3 install docker-compose`, but really I have no idea.
02:57 πŸ”— JAA Just smells like it could be that.
02:58 πŸ”— oshura "Requirement already satisfied: docker-compose in /usr/lib/python3/dist-packages (1.21.0)
02:58 πŸ”— oshura "
02:58 πŸ”— Wingy Terbium: That's what my warrior-manager project does, it just automatically discovers the warriors with docker-compose
02:59 πŸ”— Wingy Screenshot: https://thelounge.home.wingysam.xyz/uploads/4f736de6dc0d6272/image.png
02:59 πŸ”— JAA Then I guess you might have to execute docker-compose explicitly with Python 3 somehow.
02:59 πŸ”— JAA (NB, I've never used Docker Compose before.)
02:59 πŸ”— Wingy `sudo pip remove docker-compose`?
02:59 πŸ”— oshura I just couldn't figure out how to run Wingy's warrior-manager project
02:59 πŸ”— Terbium looks great
03:00 πŸ”— oshura Do I uninstall python2.7? will that help?
03:00 πŸ”— JAA That will (unfortunately) most likely break various things.
03:00 πŸ”— oshura It's currently stuck in doing the install from the first pip install docker-compose cmd Wingy
03:01 πŸ”— oshura @JAA lol well, there goes that idea
03:02 πŸ”— oshura I think we broke my pi's brain again. the swp was already at 100/100 and now it seems frozen
03:03 πŸ”— JAA You'll want to uninstall the docker-compose installation under Python 2, which is what Wingy's last pip command does (since `pip` usually still defaults to Python 2).
03:05 πŸ”— Terbium you can use docker stack to docker-compose things
03:05 πŸ”— oshura what's the command to kill all containers again? this is dragging and I think it's because they're still running while I'm trying to install and uinstall stuff
03:05 πŸ”— Terbium docker stack is 90% equivalent to docker-compose
03:06 πŸ”— Terbium and built in to docker
03:07 πŸ”— Terbium so you can try that if you cant install docker-compose itslf
03:07 πŸ”— Terbium itself
03:08 πŸ”— Wingy Not quite though
03:08 πŸ”— Wingy And warrior-manager doesn't work with docker stack
03:09 πŸ”— oshura ok, doing the pip install seems to have worked Wingy
03:09 πŸ”— Wingy docker-compose ps
03:09 πŸ”— Wingy works now?
03:09 πŸ”— oshura yep, even without doing the pip3 install
03:09 πŸ”— Wingy :D
03:09 πŸ”— oshura although, if that's more efficient, I'll go through the trouble of uninstalling it via pip and reinstalling it via pip3
03:12 πŸ”— oshura @Wingy: so what's next
03:13 πŸ”— Wingy What do you get when you type `node -v`?
03:13 πŸ”— oshura v13.3.0
03:13 πŸ”— Wingy `cd && cd warrior && ls`?
03:16 πŸ”— oshura docker-compose.yml warrior-manager
03:30 πŸ”— oshura @Wingy: what's next
03:30 πŸ”— Wingy `cd warrior-manager && node index.js`
03:31 πŸ”— oshura The screen freezes after that
03:31 πŸ”— oshura it's just a little black box on an otherwise entirely empty line
03:32 πŸ”— oshura (in my case it's green instead of black though)
03:34 πŸ”— oshura @Wingy: clarification- the pi is not frozen, just the terminal window into which I typed that command
03:35 πŸ”— Wingy Go to <your pi's ip>:3333
03:35 πŸ”— Wingy If you're on vnc, localhost
03:36 πŸ”— oshura it loaded up a blank page that just says containers
03:36 πŸ”— oshura and now it loaded the containers!
03:36 πŸ”— Wingy Is warrior running?
03:37 πŸ”— oshura that last step is the one I was missing: the one of going to the pi's ip with the port 3333
03:37 πŸ”— Wingy Yea :)
03:37 πŸ”— oshura score!
03:37 πŸ”— Wingy So now we just need to keep the node program running
03:38 πŸ”— oshura and to switch everything from running on my sd card to my external hdd lol
03:38 πŸ”— Wingy You can just run it in the console if you want
03:38 πŸ”— oshura run what in the console brother?
03:38 πŸ”— Wingy `node index.js`
03:39 πŸ”— oshura like, moving forward? i.e., if I reboot the pi, just go back into warrior/warrior-manager and run 'node index.js' again?
03:39 πŸ”— Wingy Yeah
03:39 πŸ”— oshura ok sweet, so if I close the terminal, it should stay running?
03:42 πŸ”— oshura man, this is awesome sauce. I can't wait to have fiber installed in my house so I don't have to be capped by this silly upload speed
03:44 πŸ”— Wingy If it should stay running without the terminal, start it in screen
03:44 πŸ”— oshura @wingy: I really appreciate your guidance on this so far.
03:44 πŸ”— Wingy `screen` then `node index.js`
03:44 πŸ”— Wingy :)
03:45 πŸ”— oshura `screen` command not found
03:45 πŸ”— oshura screen node index.js
03:47 πŸ”— Terbium Probably have to install it
03:47 πŸ”— Wingy `sudo apt install screen`
03:49 πŸ”— oshura now we're cooking!
03:52 πŸ”— oshura The next question/project I have for you @wingy is: is there a way to have the warrior-manager monitor the warriors on multiple ip's on a local network, i.e., more than one of my pi's running warrior at the same time
03:53 πŸ”— Wingy That's hopefully coming soon
03:54 πŸ”— oshura you, my friend, are a beast! In the meanwhile, do you (or anyone else here) have any pointers on how (or even IF) I should adjust the swp file to be larger and also to place it on my external drive?
03:56 πŸ”— oshura @wingy: unless you already have a program cooked up for that too lol
03:56 πŸ”— Wingy I'm not sure
03:57 πŸ”— Wingy gtg
03:58 πŸ”— oshura no worries if not, I saw some tutorials on how to run the pi's from a hdd and also something about some swap files but I am not knowledgeable enough and sadly don/t have the free time to research it right now to know how to proceed with this effort. I just hope I don't burn out my sd card in the next day or two doing this
03:58 πŸ”— oshura Talk to you tomorrow or something. Thanks again for all your help!
04:30 πŸ”— kiska has quit IRC (Remote host closed the connection)
04:30 πŸ”— Flashfire has quit IRC (Remote host closed the connection)
04:31 πŸ”— Flashfire has joined #warrior
04:31 πŸ”— kiska has joined #warrior
05:05 πŸ”— DogsRNice has quit IRC (Read error: Connection reset by peer)
10:15 πŸ”— kiska18 has quit IRC (Remote host closed the connection)
10:15 πŸ”— Ryz has quit IRC (Remote host closed the connection)
10:16 πŸ”— kiska18 has joined #warrior
10:16 πŸ”— Ryz has joined #warrior
10:51 πŸ”— Atom__ has joined #warrior
10:54 πŸ”— Amber has joined #warrior
10:55 πŸ”— Amber I'm wondering if it's okay to use my VPN (Mullvad) with the warrior for yahoo groups
10:56 πŸ”— LeighR has joined #warrior
10:57 πŸ”— Atom-- has quit IRC (Read error: Operation timed out)
11:29 πŸ”— Amber has quit IRC (Quit: Page closed)
12:20 πŸ”— Wingy has quit IRC (Remote host closed the connection)
12:26 πŸ”— TetryonB1 has joined #warrior
12:29 πŸ”— TetryonBe has quit IRC (Ping timeout: 258 seconds)
12:36 πŸ”— Kaz Nope
12:37 πŸ”— Kaz Fuck they’re gone. Can someone check for claims from Amber on ygroups please?
12:53 πŸ”— Kaz update: I found some. user now banned from tracker until they turn up here
12:56 πŸ”— Amber has joined #warrior
12:56 πŸ”— LeighR Kaz: according to JAA, I have loads of claims that appear to have flat given up. I grepped for the one he(?) named, and saw no sign of it - by contrast, grepping for a group that there was a current wget-lua process for turned up its .warc.gz
12:56 πŸ”— Amber LeighR said I have stuck claims?
12:56 πŸ”— LeighR where should I be looking?
12:57 πŸ”— JAA LeighR: See what I wrote in #yahoosucks. Those old jobs failed, and it's happening for everyone, not just you.
12:57 πŸ”— Amber I have one that's been running for 1h and another for 21m
12:57 πŸ”— LeighR that makes me feel less terrible, thanks
12:57 πŸ”— JAA Amber: Do not use any VPN.
12:57 πŸ”— Amber Oh, okie dokie
12:59 πŸ”— Amber I'll turn my VPN off and the warrior back on soon
12:59 πŸ”— Amber So what is the issue with using a VPN with this?
13:01 πŸ”— Amber Could it be that I might have accidentally switched locations while it was running?
13:02 πŸ”— JAA https://www.archiveteam.org/index.php?title=ArchiveTeam_Warrior#Can_I_use_whatever_internet_access_for_the_warrior.3F
13:02 πŸ”— LeighR the folders under data starting with 157... are empty in the random Warrior Docker containers that I've checked
13:04 πŸ”— Amber Apologies. Someone mentioned earleir that if I was confident my VPN was "clean" it would be okay but I should have double-checked the wiki and followed the rules
13:05 πŸ”— Amber brb
13:06 πŸ”— Amber_ has joined #warrior
13:09 πŸ”— Amber has quit IRC (Ping timeout: 260 seconds)
13:11 πŸ”— Amber_ is now known as Amber
13:15 πŸ”— LeighR (posting to #yahoosucks about stuff specific to warrior on that project)
13:41 πŸ”— chazchaz has quit IRC (Read error: Operation timed out)
13:41 πŸ”— chazchaz has joined #warrior
13:50 πŸ”— TetryonBe has joined #warrior
13:54 πŸ”— TetryonB1 has quit IRC (Read error: Operation timed out)
14:25 πŸ”— Wingy has joined #warrior
14:27 πŸ”— Wingy has quit IRC (Client Quit)
14:27 πŸ”— Wingy has joined #warrior
16:04 πŸ”— sirvy has joined #warrior
17:20 πŸ”— oshura Hey guys, I think the tracker for tinyurl may be down
17:20 πŸ”— oshura Error communicating with tracker: 502 Server Error: Bad Gateway for url: https://tracker.archiveteam.org:1338/api/get
17:21 πŸ”— Kaz give it 5 mins
19:14 πŸ”— LeighR has quit IRC (Ping timeout: 260 seconds)
20:07 πŸ”— TetryonBe has quit IRC (Read error: Operation timed out)
21:50 πŸ”— mtntmnky has quit IRC (Remote host closed the connection)
21:50 πŸ”— mtntmnky has joined #warrior
22:01 πŸ”— ShellyRol has quit IRC (Read error: Connection reset by peer)
22:03 πŸ”— ShellyRol has joined #warrior
23:30 πŸ”— oshura @wingy: you around?
23:52 πŸ”— pinkieval has quit IRC (Remote host closed the connection)
23:52 πŸ”— pinkieval has joined #warrior

irclogger-viewer