Giter Site home page Giter Site logo

pocketmine-mp's People

Contributors

crscheid avatar deverton avatar kycfeel avatar nolaspring avatar rainabba avatar robinkuck avatar wgerlach avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pocketmine-mp's Issues

The command '/bin/sh -c wget -q -O - https://get.pmmp.io | bash -s - -r' returned a non-zero code: 1

My current Minecraft PE edition on Kindle Fire is 1.4.2

I am working on MacOS highSierra 10.13.4 and Docker version 18.03.1-ce-mac65 (24312)

When I pulled the image from dockerhub (at the time of this post not matching the code in the github dockerfile), the setup worked. But when I tried to connect to the server with the kindle, minecraft responded that the server was out of date. I followed instructions for building the image manually in order to update the server version but during building I get this error message:

Build:
$ docker build --no-cache -t my_server ~/desktop/pocketmine_mp/.

Error:

Sending build context to Docker daemon  23.04kB
Step 1/12 : FROM php:7-cli
 ---> ca8a8cba89fe
Step 2/12 : MAINTAINER Christopher Scheidel <[email protected]>
 ---> Running in 4e3f3ee137a9
Removing intermediate container 4e3f3ee137a9
 ---> af0b06a66a05
Step 3/12 : RUN apt-get update && 	apt-get -y install wget && 	mkdir -p /data /minecraft
 ---> Running in dbd9a92306f3
Ign:1 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:2 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:3 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2434 B]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 Packages [12.1 kB]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [9530 kB]
Get:8 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [440 kB]
Fetched 10.3 MB in 3s (3358 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  wget
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 799 kB of archives.
After this operation, 2813 kB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 wget amd64 1.18-5+deb9u2 [799 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 799 kB in 0s (1327 kB/s)
Selecting previously unselected package wget.
(Reading database ... 12273 files and directories currently installed.)
Preparing to unpack .../wget_1.18-5+deb9u2_amd64.deb ...
Unpacking wget (1.18-5+deb9u2) ...
Setting up wget (1.18-5+deb9u2) ...
Removing intermediate container dbd9a92306f3
 ---> da1dc76191c5
Step 4/12 : WORKDIR /minecraft
Removing intermediate container 9af14570daed
 ---> 7b033684beeb
Step 5/12 : RUN wget -q -O - https://get.pmmp.io | bash -s - -r
 ---> Running in 38b7146d9c7b
[*] Retrieving latest build data for channel "alpha"
[*] Found PocketMine-MP 1.7dev (build 1001) for Minecraft: PE v1.4.0 (PHP 7.2, API 3.0.0-ALPHA12)
[*] This alpha build was released on Thu May 17 23:36:09 UTC 2018
[*] Installing/updating PocketMine-MP on directory ./
[1/3] Cleaning...
[2/3] Downloading PocketMine-MP 1.7dev phar... done!
[3/3] Obtaining PHP: detecting if build is available... Linux PHP build available... downloading 7.2 ... checking... downloaded PHP build doesn't work on this platform!
[3/3] No prebuilt PHP found, compiling PHP automatically. This might take a while.

[PocketMine] PHP compiler for Linux, MacOS and Android
[INFO] Checking dependencies
[ERROR] Please install "automake"
[ERROR] Please install "bison"
[ERROR] Please install "libtool" or "libtool-bin"
The command '/bin/sh -c wget -q -O - https://get.pmmp.io | bash -s - -r' returned a non-zero code: 1

I noticed that the "wget" command was recently updated on the github dockerfile (the one I manually tried to build) and does not match the dockerhub dockerfile (the one I ran successfully but was out of date according to minecraft PE).

I added these 4 grouped "apt-get install" commands to the github dockerfile I downloaded to try and fix the dependencies errors:

RUN apt-get update && \
	apt-get -y install wget && \
	mkdir -p /data /minecraft


RUN apt-get install automake -y 
RUN apt-get install bison -y
RUN apt-get install libtool -y
RUN apt-get install libtool-bin -y


# Work
WORKDIR /minecraft

# Run the install
RUN wget -q -O - https://get.pmmp.io | bash -s - -r

It seemed to work but I got the same error on the "wget" command, but with an error code "2" instead of error code "1"

Build:
$ docker build --no-cache -t greenlights ~/desktop/pocketmine_mp/.
Error:

Sending build context to Docker daemon  23.04kB
Step 1/16 : FROM php:7-cli
 ---> ca8a8cba89fe
Step 2/16 : MAINTAINER Christopher Scheidel <[email protected]>
 ---> Running in dcb01e648bbe
Removing intermediate container dcb01e648bbe
 ---> f778df1c2600
Step 3/16 : RUN apt-get update && 	apt-get -y install wget && 	mkdir -p /data /minecraft
 ---> Running in f845e0c2f910
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:5 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [440 kB]
Get:4 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
Get:6 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2434 B]
Get:7 http://cdn-fastly.deb.debian.org/debian stretch-updates/main amd64 Packages [12.1 kB]
Get:8 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [9530 kB]
Fetched 10.3 MB in 3s (3382 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  wget
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 799 kB of archives.
After this operation, 2813 kB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 wget amd64 1.18-5+deb9u2 [799 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 799 kB in 0s (2661 kB/s)
Selecting previously unselected package wget.
(Reading database ... 12273 files and directories currently installed.)
Preparing to unpack .../wget_1.18-5+deb9u2_amd64.deb ...
Unpacking wget (1.18-5+deb9u2) ...
Setting up wget (1.18-5+deb9u2) ...
Removing intermediate container f845e0c2f910
 ---> 0edc70aa3c5a
Step 4/16 : RUN apt-get install automake -y
 ---> Running in f18bb61cc642
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  autotools-dev
Suggested packages:
  autoconf-doc gnu-standards
The following NEW packages will be installed:
  automake autotools-dev
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 806 kB of archives.
After this operation, 1904 kB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 autotools-dev all 20161112.1 [73.4 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 automake all 1:1.15-6 [733 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 806 kB in 0s (1497 kB/s)
Selecting previously unselected package autotools-dev.
(Reading database ... 12324 files and directories currently installed.)
Preparing to unpack .../autotools-dev_20161112.1_all.deb ...
Unpacking autotools-dev (20161112.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../automake_1%3a1.15-6_all.deb ...
Unpacking automake (1:1.15-6) ...
Setting up autotools-dev (20161112.1) ...
Setting up automake (1:1.15-6) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.15.1.gz (of link group automake) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.15.1.gz (of link group automake) doesn't exist
Removing intermediate container f18bb61cc642
 ---> d3ab3a50a86e
Step 5/16 : RUN apt-get install bison -y
 ---> Running in 8ca93d706245
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libbison-dev
Suggested packages:
  bison-doc
The following NEW packages will be installed:
  bison libbison-dev
0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
Need to get 1219 kB of archives.
After this operation, 2559 kB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libbison-dev amd64 2:3.0.4.dfsg-1+b1 [433 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 bison amd64 2:3.0.4.dfsg-1+b1 [786 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1219 kB in 0s (2344 kB/s)
Selecting previously unselected package libbison-dev:amd64.
(Reading database ... 12472 files and directories currently installed.)
Preparing to unpack .../libbison-dev_2%3a3.0.4.dfsg-1+b1_amd64.deb ...
Unpacking libbison-dev:amd64 (2:3.0.4.dfsg-1+b1) ...
Selecting previously unselected package bison.
Preparing to unpack .../bison_2%3a3.0.4.dfsg-1+b1_amd64.deb ...
Unpacking bison (2:3.0.4.dfsg-1+b1) ...
Setting up libbison-dev:amd64 (2:3.0.4.dfsg-1+b1) ...
Setting up bison (2:3.0.4.dfsg-1+b1) ...
update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/yacc.1.gz because associated file /usr/share/man/man1/bison.yacc.1.gz (of link group yacc) doesn't exist
Removing intermediate container 8ca93d706245
 ---> c9f0d8fb95ff
Step 6/16 : RUN apt-get install libtool -y
 ---> Running in dadc662e021a
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libltdl-dev libltdl7
Suggested packages:
  libtool-doc gfortran | fortran95-compiler gcj-jdk
The following NEW packages will be installed:
  libltdl-dev libltdl7 libtool
0 upgraded, 3 newly installed, 0 to remove and 4 not upgraded.
Need to get 1096 kB of archives.
After this operation, 2625 kB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libltdl7 amd64 2.4.6-2 [389 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libltdl-dev amd64 2.4.6-2 [161 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libtool all 2.4.6-2 [545 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1096 kB in 0s (2300 kB/s)
Selecting previously unselected package libltdl7:amd64.
(Reading database ... 12594 files and directories currently installed.)
Preparing to unpack .../libltdl7_2.4.6-2_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.6-2) ...
Selecting previously unselected package libltdl-dev:amd64.
Preparing to unpack .../libltdl-dev_2.4.6-2_amd64.deb ...
Unpacking libltdl-dev:amd64 (2.4.6-2) ...
Selecting previously unselected package libtool.
Preparing to unpack .../libtool_2.4.6-2_all.deb ...
Unpacking libtool (2.4.6-2) ...
Setting up libtool (2.4.6-2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up libltdl7:amd64 (2.4.6-2) ...
Setting up libltdl-dev:amd64 (2.4.6-2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Removing intermediate container dadc662e021a
 ---> f16ea92244d1
Step 7/16 : RUN apt-get install libtool-bin -y
 ---> Running in 8c4f8b2ce6d6
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  libtool-bin
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 430 kB of archives.
After this operation, 738 kB of additional disk space will be used.
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 libtool-bin amd64 2.4.6-2 [430 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 430 kB in 0s (1098 kB/s)
Selecting previously unselected package libtool-bin.
(Reading database ... 12677 files and directories currently installed.)
Preparing to unpack .../libtool-bin_2.4.6-2_amd64.deb ...
Unpacking libtool-bin (2.4.6-2) ...
Setting up libtool-bin (2.4.6-2) ...
Removing intermediate container 8c4f8b2ce6d6
 ---> dad751056423
Step 8/16 : WORKDIR /minecraft
Removing intermediate container 5a42e48c264b
 ---> 48c13fc32685
Step 9/16 : RUN wget -q -O - https://get.pmmp.io | bash -s - -r
 ---> Running in dcb5dd88cb23
[*] Retrieving latest build data for channel "alpha"
[*] Found PocketMine-MP 1.7dev (build 1001) for Minecraft: PE v1.4.0 (PHP 7.2, API 3.0.0-ALPHA12)
[*] This alpha build was released on Thu May 17 23:36:09 UTC 2018
[*] Installing/updating PocketMine-MP on directory ./
[1/3] Cleaning...
[2/3] Downloading PocketMine-MP 1.7dev phar... done!
[3/3] Obtaining PHP: detecting if build is available... Linux PHP build available... downloading 7.2 ... checking... downloaded PHP build doesn't work on this platform!
[3/3] No prebuilt PHP found, compiling PHP automatically. This might take a while.

[PocketMine] PHP compiler for Linux, MacOS and Android
[INFO] Checking dependencies
[INFO] Compiling for current machine using 64-bit
[PHP] downloading 7.2...The command '/bin/sh -c wget -q -O - https://get.pmmp.io | bash -s - -r' returned a non-zero code: 2

I also checked the pocketmine-mp documentation and they specifically tell you to automatically update the installer with "wget -q -O - https://get.pmmp.io | bash -s - -r"

I don't have a clue what is wrong. What do you think is going wrong with my setup? Please let me know if you need more info...

Persistent Data Causes a crash

Works fine without persistent data but when I map a directory I get a slew of errors relating to unable to stream the resource directories.

Plugins

Were do the plugin data persist? I created a plugins folder but anything in it isn't active.

No mobs spawning

I can't seem to get any mobs to spawn. Can connect and explore without issue but havent seen a single mob so far.

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.