Git Product home page Git Product logo

Comments (6)

Stegnerd avatar Stegnerd commented on July 30, 2024 13

what fixed it for me was just changing the EOL from crlf to lf and then it worked!

from pwnadventure3.

DanTup avatar DanTup commented on July 30, 2024

Hmmm, when I extract the .tar.gz, the server/GameServer folder is completely empty. I guess that's the issue?

Maybe not, looks like it gets run from /opt/pwn3/client/PwnAdventure3_Data/PwnAdventure3/PwnAdventure3/Binaries/Linux/ && ./PwnAdventure3Server :/

from pwnadventure3.

DanTup avatar DanTup commented on July 30, 2024

Ok, I think I've gotten further... I did this:

git config core.autocrlf input
(((deleted the files from the repo; wasn't sure if git reset would reset the newlines)))
git reset --hard
docker-compose.exe build --no-cache
docker-compose.exe up

Now I'm getting loads of spam, including output from the database creation, so I think it's working..

from pwnadventure3.

DanTup avatar DanTup commented on July 30, 2024

Actually, I'm not sure it fixed it... I've spent the time since trying to get static IPs assigned (to go in my hosts file) (saga here) but now I've noticed it's doing this (either still, or again):

game_1    | bash: line 0: cd: /opt/pwn3/client/PwnAdventure3_Data/PwnAdventure3/PwnAdventure3/Binaries/Linux/: No such file or directory
dockerserver_game_1 exited with code 1

I'm giving up for the day; but when I come back to this I think I'm going to just make a VM the old fashioned way =D

from pwnadventure3.

Stegnerd avatar Stegnerd commented on July 30, 2024

I seem to be getting something similar to this. Anyone have any luck with it?

(venv) PS D:\Programming\Python\flask\testdriven-app> docker-compose -f docker-compose-dev.yml up --build
Building users-db
Step 1/2 : FROM postgres:10.4-alpine
---> 962ed899c609
Step 2/2 : ADD create.sql /docker-entrypoint-initdb.d
---> Using cache
---> 02317e5a7033

Successfully built 02317e5a7033
Successfully tagged testdriven-app_users-db:latest
Building users
Step 1/10 : FROM python:3.6.5-alpine
---> 5be6d36f77ee
Step 2/10 : RUN apk update && apk add --virtual build-deps gcc python-dev musl-dev && apk add postgresql-dev
&& apk add netcat-openbsd
---> Using cache
---> 68ad0b2cc74c
Step 3/10 : RUN mkdir -p /usr/src/app
---> Using cache
---> a5a53049c38d
Step 4/10 : WORKDIR /usr/src/app
---> Using cache
---> c951846102d3
Step 5/10 : COPY ./requirements.txt /usr/src/app/requirements.txt
---> Using cache
---> 1ecc70088bab
Step 6/10 : RUN pip install -r requirements.txt
---> Using cache
---> 3832a1f288f0
Step 7/10 : COPY ./entrypoint.sh /usr/src/app/entrypoint.sh
---> Using cache
---> 5dadaa2f394c
Step 8/10 : RUN chmod +x /usr/src/app/entrypoint.sh
---> Using cache
---> 0ec6b6225228
Step 9/10 : COPY . /usr/src/app
---> 56176574f654
Step 10/10 : CMD ["/usr/src/app/entrypoint.sh"]
---> Running in e737875808bc
Removing intermediate container e737875808bc
---> 0e6054a7dff3

Successfully built 0e6054a7dff3
Successfully tagged testdriven-app_users:latest
Starting testdriven-app_users-db_1 ... done
Recreating testdriven-app_users_1 ... done
Attaching to testdriven-app_users-db_1, testdriven-app_users_1
users-db_1 | 2018-11-06 01:32:37.317 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
users-db_1 | 2018-11-06 01:32:37.317 UTC [1] LOG: listening on IPv6 address "::", port 5432
users-db_1 | 2018-11-06 01:32:37.332 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
users-db_1 | 2018-11-06 01:32:37.355 UTC [18] LOG: database system was shut down at 2018-11-06 01:32:31 UTC
users-db_1 | 2018-11-06 01:32:37.359 UTC [1] LOG: database system is ready to accept connections
users_1 | standard_init_linux.go:190: exec user process caused "no such file or directory"
testdriven-app_users_1 exited with code 1

from pwnadventure3.

jslucas avatar jslucas commented on July 30, 2024

what fixed it for me was just changing the EOL from crlf to lf and then it worked!

+1 on that. You'd think after getting burned by this I would remember for next time... but here I was.

from pwnadventure3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.