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? |