[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] 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] The latter. Any item that's currently being processed is lost, but items that were completed before (including the upload) are fine. [09:56] 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] 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] 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] 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] And I'm wondering what terrible thing I did in a past life to deserve Docker. [21:02] 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] So I do have to use Docker? [21:12] Okay, here's the part where I get stuck: [21:13] Near the bottom when I run this command $ docker build --rm -t warrior-arm32v5:latest -f Dockerfile.raspberry . [21:16] 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] 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] 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] (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] 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] 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] 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] The second repo is working. Git cloned it and it installed a long list of dependencies. [22:09] 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] PermissionError: [Errno 13] Permission denied: '/data/data/warrior.log' [22:17] Does the user you're executing the container as have permission to write to that directory? [22:17] And does /data/data directory exist? [22:17] Seems like it should be /data/warrior.log [22:23] 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] 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] 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] I've corrected the permissions of /var/local/warrior. Remind me to add that to the wiki. [23:53] And I no longer get the permissions message. Now it's just the same error every time. [23:53] <_folti_> docker ps ? [23:54] 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] This is what it shows. [23:58] 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] So... the Warrior can't start because a part of the Warrior is already running?