Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed an error that prevents building #40

Merged
merged 1 commit into from
Sep 29, 2019
Merged

Fixed an error that prevents building #40

merged 1 commit into from
Sep 29, 2019

Conversation

weihao
Copy link
Contributor

@weihao weihao commented Jul 11, 2019

Error logs from running latest image:

2019-07-11 00:19:52 (15.5 MB/s) - '/build-mc/BuildTools.jar' saved [3994428/3994428]

BuildTools requires at least 512M of memory to run (1024M recommended), but has only detected 444M.
This can often occur if you are running a 32-bit system, or one with low RAM.
Please re-run BuildTools with manually specified memory, e.g: java -Xmx1024M -jar BuildTools.jar --rev latest
cp: cannot stat '/build-mc/Spigot/Spigot-Server/target/spigot-*.jar': No such file or directory
*** Running /etc/my_runalways/85_fix_startsh...
start.sh missing, creating link for /minecraft/start.sh
*** Running /etc/my_runalways/90_eula...
*** Running /etc/rc.local...
*** Booting supervisor daemon...
*** Supervisor started as PID 66
2019-07-11 00:20:01,211 CRIT Set uid to user 0
*** Started processes via Supervisor......
crond                            RUNNING   pid 70, uptime 0:00:04
spigot                           BACKOFF   Exited too quickly (process log may have details)
syslog-ng                        RUNNING   pid 69, uptime 0:00:04

This merge request is manually tested

I built my fix into a docker image and ran the container. I have attached the logs below:

Success! Everything compiled successfully. Copying final .jar files now.
Copying craftbukkit-1.13.2-R0.1-SNAPSHOT.jar to /build-mc/./craftbukkit-1.13.2.jar
  - Saved as ./craftbukkit-1.13.2.jar
Copying spigot-1.13.2-R0.1-SNAPSHOT.jar to /build-mc/./spigot-1.13.2.jar
  - Saved as ./spigot-1.13.2.jar
*** Running /etc/my_runalways/85_fix_startsh...
start.sh missing, creating link for /minecraft/start.sh
*** Running /etc/my_runalways/90_eula...
*** Running /etc/rc.local...
*** Booting supervisor daemon...
*** Supervisor started as PID 580
2019-07-11 00:42:31,033 CRIT Set uid to user 0
*** Started processes via Supervisor......
crond                            RUNNING   pid 584, uptime 0:00:03
spigot                           RUNNING   pid 585, uptime 0:00:03
syslog-ng                        RUNNING   pid 583, uptime 0:00:03

@nimmis

@nimmis nimmis merged commit 4752626 into nimmis:master Sep 29, 2019
@nimmis
Copy link
Owner

nimmis commented Sep 29, 2019

Thanks for the fix, merged

@weihao weihao deleted the master branch October 8, 2019 22:31
spaceshiptrip pushed a commit to spaceshiptrip/docker-spigot that referenced this pull request Jan 28, 2021
Fixed an error that prevents building
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants