Comments (6)
what fixed it for me was just changing the EOL from crlf to lf and then it worked!
from pwnadventure3.
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.
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.
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.
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.
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)
- failed to build: Unknown flag: chown HOT 1
- How to backup game progress HOT 2
- Proxy missing parser sample code HOT 1
- Failed to load master server certificate HOT 3
- bash: /opt/pwn3/server/creds: Permission denied HOT 5
- Linux client not working HOT 5
- error while loading shared libraries: libssl.so.1.0.0 and libcrypto.so.1.0.0 HOT 6
- OSError: [Errno 28] No space left on device
- Many errors
- master_1 | bash: ./MasterServer: cannot execute binary file: Exec format error
- May This Repo Active Again HOT 1
- Error while using docker HOT 1
- Game client stuck in checking updates HOT 1
- `ERROR: for pwnadventure3_master_1` when doing docker-compose up HOT 3
- Error. Docker compose up. HOT 2
- Proxy can't connect to the client
- stat /opt/pwn3/setup/masterserver.sh: no such file or directory: unknown HOT 1
- filname error
- error when docker compose HOT 1
- Incorrect openssl Dependancies for Ubuntu and Archlinux. Unable to run Private Server (No Docker Method)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwnadventure3.