help with genisys docker


spazmc

Recommended Posts

I'm trying to setup a genisys docker.( iTXTech/docker-env-genisys )

down loaded genisys Phar file and re named.

Appears to start but the log file shows that you must agree to the eula.

that may be the problem. how do you fix that.

I know nothing about code. I fix HVAC equipment.

All of this to find a working version of PE minecraft.

Using multiple Dockers on my server now.

Created 2 templates with the community application on Git ( spazmc/unRAID-templates )

any help would be appreciated.The mineOS-node work fine.

 

Link to comment
  • 1 month later...

 

 

 

https://github.com/iTXTech/Genisys/wiki/Use-Docker-to-run-Genisys

 

Start it the first time from the command line

 

docker run -it --name pocketmine-classic -p 19132:19132/udp -v /mnt/user/appdata/pocketmineGenisys/genisys.phar:/srv/genisys/genisys.phar itxtech/docker-env-genisys

 

It will prompt you to accept the license and configure the world.

 

After completing the wizard.  type the command "stop" to disconnect from the wizard.  Restart it from the web GUI and you're set.

 

 

Link to comment
  • 4 weeks later...

Awesome, thanks for this. Was bashing my head against a wall and finally saw the start -ai switch to enable me to run the wizard.

 

Initially I tried the most recent build, being an unsupported version if memdumped, but went back to master and it was good.

 

Question:

Is it possible to move the data volume outside of docker.img? I guess I could manually create a symlink inside the docker container replacing _data once the data is extracted, but cannot see a config that would allow this. Would hate to lose worlds if it changed volumes!

 

Every time I reconfigure the container for whatever reason, I have to redo the EULA sequence and another volume is created. Not that useful....

 

 

Cheers

Link to comment

Preserving data:

To answer one of my other questions it seems that you can run without using the implied docker volume

 

I copied the _data from the self-created volume /var/lib/docker/volumes/138904230984023948/ to my own directory, and added a path mapping /srv/genisys/ to the new _data path. When I start the docker now, it doesn't create a new volume, and it is reading the config from that directory.

 

I proved by editing config and watching the log behaviour change (from online=on to online=off)... logs below.

Now just need to make sure the world is properly persistent when I change the docker parameters.

 

[06:07:42] [server thread/INFO]:

Genisys is a custom version of PocketMine-MP, modified by iTX Technologies LLC

Version: 478c3d4

Target client version: v0.16.0.5 alpha

Source code: https://github.com/iTXTech/Genisys

[06:07:42] [server thread/INFO]: Loading properties and configuration...
[06:07:42] [server thread/WARNING]: SERVER IS RUNNING IN OFFLINE/INSECURE MODE!

[06:07:42] [server thread/WARNING]: The server will make no attempt to authenticate usernames. Beware.

[06:07:42] [server thread/WARNING]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.

[06:07:42] [server thread/WARNING]: To change this, set "online-mode" to "true" in the server.properties file.

[06:07:42] [server thread/INFO]: Selected English (eng) as the base language
[06:07:42] [server thread/INFO]: Opening server on 0.0.0.0:19132
[06:07:42] [server thread/INFO]: Genisys is distributed under the GPL License version 3 and later

[06:07:43] [server thread/INFO]: Loading recipes...
[06:07:43] [server thread/INFO]: Preparing level "Home"
[06:07:43] [server thread/INFO]: Preparing level "nether"
[06:07:43] [server thread/INFO]: Starting GS4 status listener
[06:07:43] [server thread/INFO]: Setting query port to 19132
[06:07:43] [server thread/INFO]: Query running on 0.0.0.0:19132
[06:07:43] [server thread/INFO]: Default game type: Creative Mode
[06:07:43] [server thread/INFO]: Done (1.081s)! For help, type "help" or "?"
[06:10:17] [server thread/INFO]: Unloading level "Homebush"
[06:10:17] [server thread/INFO]: Unloading level "nether"
[06:10:18] [server thread/INFO]: Stopping other threads
Server has stopped
[06:11:03] [server thread/INFO]:

Genisys is a custom version of PocketMine-MP, modified by iTX Technologies LLC

Version: 478c3d4

Target client version: v0.16.0.5 alpha

Source code: https://github.com/iTXTech/Genisys

[06:11:03] [server thread/INFO]: Loading properties and configuration...
[06:11:03] [server thread/INFO]: Selected English (eng) as the base language
[06:11:03] [server thread/INFO]: Opening server on 0.0.0.0:19132
[06:11:03] [server thread/INFO]: Genisys is distributed under the GPL License version 3 and later

[06:11:03] [server thread/INFO]: Loading recipes...
[06:11:04] [server thread/INFO]: Preparing level "Home"
[06:11:04] [server thread/INFO]: Preparing level "nether"
[06:11:04] [server thread/INFO]: Starting GS4 status listener
[06:11:04] [server thread/INFO]: Setting query port to 19132
[06:11:04] [server thread/INFO]: Query running on 0.0.0.0:19132
[06:11:04] [server thread/INFO]: Default game type: Creative Mode
[06:11:04] [server thread/INFO]: Done (0.888s)! For help, type "help" or "?"

 

 

Link to comment

I can confirm that this works, and the world is persistent after moving out the mount point.

 

May be tricky when it comes to upgrading the phar but I'll cross that bridge when I come to it (assume the worlds will always be forwards-compatible).

 

Question for anyone running this: has anyone got a clean multi-world solution running? I can start many worlds using the pocketmine.yml configuration file, but the iOS app doesn't seem to handle that well (was hoping I could end up with something like locally stored games, or even migrate the games from the kids iPads to a server that is backed up).

 

Thanks

Link to comment

If I'm following, does that mean the best command for creating the docker would instead be this:

 

docker run -it --name pocketmine-classic -p 19132:19132/udp -v /mnt/user/appdata/pocketmineGenisys/:/srv/genisys/ itxtech/docker-env-genisys

 

and just need to be sure and place the latest genisys.phar file in that folder.?

 

I haven't had any success yet in importing existing worlds and I've got another odd problem -- none of the mobs move.  I thought that was one of the limitations that Genisys build fixed with PE edition though...

 

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.