#warrior 2019-03-22,Fri

↑back Search

Time Nickname Message
03:12 πŸ”— jut has quit IRC (Ping timeout: 252 seconds)
03:15 πŸ”— jut has joined #warrior
05:17 πŸ”— kbtoo has quit IRC (Read error: Connection reset by peer)
05:20 πŸ”— kbtoo has joined #warrior
05:26 πŸ”— kbtoo_ has joined #warrior
05:32 πŸ”— kbtoo has quit IRC (Read error: Operation timed out)
08:26 πŸ”— VADemon has joined #warrior
09:25 πŸ”— xsfx has joined #warrior
09:26 πŸ”— xsfx i want to contribute but i have a question if i stop the warrior... it says that my work is lost if i stop the warrior. does it mean all my work or just the work that didnt got transfered back?
09:50 πŸ”— JAA The latter. Any item that's currently being processed is lost, but items that were completed before (including the upload) are fine.
09:56 πŸ”— xsfx JAA: ok thanks :) thats what i hoped to hear :)
09:59 πŸ”— _folti_ xsfx: if you want to be graceful, click 'Stop this project' on the Available Projects tab, and wait until all the threads are finished
10:00 πŸ”— xsfx ok thats good to know
10:01 πŸ”— _folti_ once the Current project tab is empty, you can free to shut down the warrior
10:57 πŸ”— robbierut It will actually do that for you _folti_ . At least in a vm, it will shut down the vm after all workers are done.
11:17 πŸ”— _folti_ There is a different button for that on the left menu column :)
11:17 πŸ”— _folti_ (granted, I'm running the docker versions)
12:05 πŸ”— jut has quit IRC (Ping timeout: 252 seconds)
12:07 πŸ”— jut has joined #warrior
13:25 πŸ”— warmwaffl has quit IRC (Remote host closed the connection)
16:26 πŸ”— Odd0002_ has joined #warrior
16:34 πŸ”— Odd0002 has quit IRC (Ping timeout: 615 seconds)
16:34 πŸ”— Odd0002_ is now known as Odd0002
17:11 πŸ”— bithippo has joined #warrior
17:12 πŸ”— bithippo has quit IRC (Client Quit)
17:33 πŸ”— warmwaffl has joined #warrior
18:41 πŸ”— d5f4a3622 has quit IRC (Quit: WeeChat 2.4)
19:25 πŸ”— warmwaffl has quit IRC (Remote host closed the connection)
20:24 πŸ”— marked has joined #warrior
20:54 πŸ”— Gallifrey has joined #warrior
20:57 πŸ”— Dj-Wawa has joined #warrior
21:00 πŸ”— Gallifrey Can anyone assist with me installing/troubleshooting the Warrior on a Pi? I've tried https://github.com/codingwell/rpi-warrior and https://github.com/ArchiveTeam/warrior-dockerfile and both are causing problems.
21:00 πŸ”— Gallifrey And I'm wondering what terrible thing I did in a past life to deserve Docker.
21:02 πŸ”— Gallifrey Actually which of the above two links is the one I should use?
21:04 πŸ”— _folti_ Gallifrey: the last one should work since 2 days ago. Before that time it built an unusable wget-lua
21:12 πŸ”— Gallifrey So I do have to use Docker?
21:12 πŸ”— Gallifrey Okay, here's the part where I get stuck:
21:13 πŸ”— Gallifrey Near the bottom when I run this command $ docker build --rm -t warrior-arm32v5:latest -f Dockerfile.raspberry .
21:16 πŸ”— Gallifrey I've created the file it wants in my home directory, but every time I run the command it says it (the Dockerfile) can't be empty.
21:17 πŸ”— Gallifrey What is Dockerfile.raspberry and why does Docker need it to not be empty?
21:17 πŸ”— _folti_ Gallifrey: no
21:17 πŸ”— _folti_ Gallifrey: you have to check out the repo using git, cd into it, and then run the build command
21:18 πŸ”— _folti_ (usually you also have to be a member of the docker group, or use sudo to build)
21:20 πŸ”— Gallifrey I see. It really is that simple? Is any of the detritus from my previous attempts to install it going to cause problems?
21:20 πŸ”— Gallifrey (I have a semi-functional Warrior running now, that only does URLTeam.)
21:21 πŸ”— _folti_ shouldn't have ay detritus
21:21 πŸ”— _folti_ the way docker works, unsuccessful steps of a build are discarded
21:22 πŸ”— _folti_ (granted, silently failingg steps can cause grief)
21:22 πŸ”— _folti_ and yes, building a docker image locally is usually this simple. Although if you are do it on pi, it'd take a bit of a time
21:23 πŸ”— Gallifrey Including the stuff from the first link (which I think was the source of the semi-functional Warrior). That gets discarded too? Fantastic!
21:24 πŸ”— _folti_ not discarded
21:24 πŸ”— _folti_ it just different steps, that won't be used for building/running the second one
21:27 πŸ”— Gallifrey Okay, before I start I'll just use the Docker command to nuke everything.
21:27 πŸ”— _folti_ good idea
21:28 πŸ”— _folti_ oh btw, are ypou build it on the pi, or on a normal PC/Mac?
21:28 πŸ”— Gallifrey On the Pi.
21:30 πŸ”— _folti_ oh
21:31 πŸ”— _folti_ If I read the first repo right, that might not actually builds on a pi, as it dies cross compilation using qemu
21:31 πŸ”— _folti_ also be a bit patient,
21:52 πŸ”— bithippo has joined #warrior
22:07 πŸ”— Gallifrey The second repo is working. Git cloned it and it installed a long list of dependencies.
22:09 πŸ”— Gallifrey But now it f*&%ing fails at the last hurdle! I run the command at the bottom of the page to start the container, and this happens:
22:10 πŸ”— Gallifrey PermissionError: [Errno 13] Permission denied: '/data/data/warrior.log'
22:17 πŸ”— bithippo Does the user you're executing the container as have permission to write to that directory?
22:17 πŸ”— bithippo And does /data/data directory exist?
22:17 πŸ”— bithippo Seems like it should be /data/warrior.log
22:23 πŸ”— Gallifrey Huh? I tried the same thing three times and got three different error messages. Sh!t, I think I might have changed something accidentally. Excuse me while I nuke everything Docker did and start again.
22:48 πŸ”— Gallifrey Okay, these are the three error messages I get... even after reinstalling. FFS. https://pastebin.com/VenL1uC0
22:51 πŸ”— bithippo has quit IRC (Textual IRC Client: www.textualapp.com)
23:19 πŸ”— Gallifrey Why tf do I keep getting these permissions errors?? I've tried creating the directory.
23:27 πŸ”— Dj-Wawa has quit IRC (Quit: Connection closed for inactivity)
23:41 πŸ”— _folti_ Gallifrey: oh
23:41 πŸ”— _folti_ Gallifrey: doc is a bit lacking
23:42 πŸ”— _folti_ Gallifrey: everything under /var/local/warrior has to be owned by the first user on the system, the one whose uid is 1000
23:44 πŸ”— _folti_ if it's Raspbian, then it'd be the user pi, but you can query with getent passwd uid 1000, or the ghetto way grep :1000: /etc/passwd
23:45 πŸ”— _folti_ Gallifrey: also check whether a docker image runs with docker ps. the last error message suggest that
23:52 πŸ”— Gallifrey I've corrected the permissions of /var/local/warrior. Remind me to add that to the wiki.
23:53 πŸ”— Gallifrey And I no longer get the permissions message. Now it's just the same error every time.
23:53 πŸ”— _folti_ docker ps ?
23:54 πŸ”— Gallifrey How does one check if an image runs with Docker PS?
23:54 πŸ”— _folti_ if it returns anything then a container is running
23:55 πŸ”— _folti_ otherwise check if something else doesn't listen on tcp port 8001 with sudo netstat -tapn | grep :8001
23:58 πŸ”— _folti_ i mean, other than the header line
23:58 πŸ”— Gallifrey This is what it shows.
23:58 πŸ”— Gallifrey CONTAINER ID d05a858b9e25 IMAGE warrior-arm32v5:latest COMMAND "run-warrior3 --proj…" CREATED About an hour ago STATUS Up 7 minutes PORTS 0.0.0.0:8001->8001/tcp NAMES condescending_easley
23:59 πŸ”— Gallifrey So... the Warrior can't start because a part of the Warrior is already running?

irclogger-viewer