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

Unable to build #144

Closed
SirCen opened this issue Jul 5, 2021 · 37 comments
Closed

Unable to build #144

SirCen opened this issue Jul 5, 2021 · 37 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@SirCen
Copy link

SirCen commented Jul 5, 2021

Pushing the new build to the remote to update java to java 16 to get ready for 1.17, causes this error:
"[Error] Some services failed to build:
[Error] Service: mc-server
[Error] Error: The command '/bin/sh -c tar -zxf /opt/openjdk-16.0.1_linux-aarch64_bin.tar.gz -C /opt/' returned a non-zero code: 2
"
Hence the build fails.
Is there a fix for this?

@SirCen SirCen added the bug Something isn't working label Jul 5, 2021
@AlexProgrammerDE
Copy link
Owner

@SirCen Should be fixed now. Let me know if it works.

@SirCen
Copy link
Author

SirCen commented Jul 5, 2021

yep that works now!

@PeakMars
Copy link

PeakMars commented Jul 5, 2021

Yep!
Thanks so much!

@PeakMars
Copy link

PeakMars commented Jul 6, 2021 via email

@Petrullica
Copy link

Could someone please share a guide on how to update to Java 16?
I tried to follow the guide in the PaperDocs site without success.

@nanospearing
Copy link
Contributor

I would just save/backup the important files like: usercache, world, whitlist, bans, server.properties, etc. And reinstall with the newer version. Once that is don reimport the files you saved earlier.

@Bmartin3k
Copy link

OK, I'm very new at this, how do I push the new build down...

@nanospearing
Copy link
Contributor

OK, I'm very new at this, how do I push the new build down...

Did you backup the important files? If yes then please reply. If you have no idea how to do that then please reply. Sorry if this comes out rude I’m just trying to make sure you have everything set up properly that way you don’t lose any data.

@Bmartin3k
Copy link

OK, I'm very new at this, how do I push the new build down...

Did you backup the important files? If yes then please reply. If you have no idea how to do that then please reply. Sorry if this comes out rude I’m just trying to make sure you have everything set up properly that way you don’t lose any data.

Yes, I have everything backedup

@nanospearing
Copy link
Contributor

Alr

OK, I'm very new at this, how do I push the new build down...

Did you backup the important files? If yes then please reply. If you have no idea how to do that then please reply. Sorry if this comes out rude I’m just trying to make sure you have everything set up properly that way you don’t lose any data.

Yes, I have everything backedup

Alright cool. Now do you have your server setup with multiple programs other than the Minecraft server ones? If you need more clarification please let me know.

@Bmartin3k
Copy link

Alr

OK, I'm very new at this, how do I push the new build down...

Did you backup the important files? If yes then please reply. If you have no idea how to do that then please reply. Sorry if this comes out rude I’m just trying to make sure you have everything set up properly that way you don’t lose any data.

Yes, I have everything backedup

Alright cool. Now do you have your server setup with multiple programs other than the Minecraft server ones? If you need more clarification please let me know.

No. I've tried rerunning etcher but the build it has is the same one I had on it. And I've tried updating java but it just reverts back to java 11. So I wasn't sure what I was doing wrong

@nanospearing
Copy link
Contributor

There are two options, reflash your pi, or publish it yourself. Witch one do you want to use?

@Bmartin3k
Copy link

There are two options, reflash your pi, or publish it yourself. Witch one do you want to use?

I've reflashed my pi but it just downloads balenaminecraftserver, then downloads paper 1.17.1, then says I need to update java to 16.

@nanospearing
Copy link
Contributor

nanospearing commented Jul 8, 2021

Well I guess we should try the manual install for now. First set up Balena ClI https://github.com/balena-io/balena-cli

@Bmartin3k
Copy link

Well I guess we should try the manual install for now. First set up Balena ClI https://github.com/balena-io/balena-cli

done

@nanospearing
Copy link
Contributor

nanospearing commented Jul 8, 2021

Nice, now open either the terminal(for Linux) or Powershell as a administrator (for windows). Then type
balena login Please login by following the steps on there

@Bmartin3k
Copy link

Nice, now open either the terminal(for Linux) or Powershell as a administrator (for windows). Then type
balena login Please login by following the steps on there

done

@nanospearing
Copy link
Contributor

Nice, now open either the terminal(for Linux) or Powershell as a administrator (for windows). Then type
balena login Please login by following the steps on there

done

You can now close the powershell and download the zip file for this repo (On the home page of this repo there should be a green button with the word code on it. Click it then click download zip.) Once downloaded extract it to a folder.

@Bmartin3k
Copy link

Nice, now open either the terminal(for Linux) or Powershell as a administrator (for windows). Then type
balena login Please login by following the steps on there

done

You can now close the powershell and download the zip file for this repo (On the home page of this repo there should be a green button with the word code on it. Click it then click download zip.) Once downloaded extract it to a folder.

done

@nanospearing
Copy link
Contributor

done

You can now enter the folder until you get the contents of it looking like those of the code on the main page. (So many folders and files not just one folder.)

@Bmartin3k
Copy link

done

You can now enter the folder until you get the contents of it looking like those of the code on the main page. (So many folders and files not just one folder.)

alright

@nanospearing
Copy link
Contributor

nanospearing commented Jul 8, 2021

This may be a little confusing but you have to (on windows) click on the blue file button (top left)
0E420296-48EB-4D80-82CE-97A0081354B1 Then hover over the powershell option and select open as administrator. For Linux just right click in the folder and click open in terminal.

@Bmartin3k
Copy link

This may be a little confusing but you have to (on windows) click on the blue file button (top left)
0E420296-48EB-4D80-82CE-97A0081354B1 Then hover over the powershell option and select open as administrator.

None of this is confusing. I actually work in IT but I'm hardware/networking. I just have little experience with this side

@nanospearing
Copy link
Contributor

This may be a little confusing but you have to (on windows) click on the blue file button (top left)
0E420296-48EB-4D80-82CE-97A0081354B1 Then hover over the powershell option and select open as administrator.

None of this is confusing. I actually work in IT but I'm hardware/networking. I just have little experience with this side

Ok good to know. Now you just have to type balena push “your application name” without the quotes. You can find the name of your application by looking here
2A5161A7-46A1-418D-918B-F5A5E002B6AC

@nanospearing
Copy link
Contributor

By the time this is done you should see a unicorn in the powershell

@Bmartin3k
Copy link

By the time this is done you should see a unicorn in the powershell

it says application is ambiguous

@nanospearing
Copy link
Contributor

nanospearing commented Jul 8, 2021

By the time this is done you should see a unicorn in the powershell

it says application is ambiguous

True, did it by any chance Finish or is it still working?

@Bmartin3k
Copy link

Screenshot 2021-07-08 021739

@nanospearing
Copy link
Contributor

Oh, did know that was a thing. Let me look for a fix.

@nanospearing
Copy link
Contributor

nanospearing commented Jul 8, 2021

would you mind typing balena apps? What is the result?

@Bmartin3k
Copy link

would you mind typing balena apps? What is the result?

i fixed it, i used "balena push username/balena-minecraft-server"

@nanospearing
Copy link
Contributor

would you mind typing balena apps? What is the result?

i fixed it, i used "balena push username/balena-minecraft-server"

Nice, weird you had to do that. I am assuming you have seen the unicorn by now. If so is the server finally working?

@Bmartin3k
Copy link

would you mind typing balena apps? What is the result?

i fixed it, i used "balena push username/balena-minecraft-server"

Nice, weird you had to do that. I am assuming you have seen the unicorn by now. If so is the server finally working?

yup

@nanospearing
Copy link
Contributor

Nice, and no error about java? Just wanting to make sure I was good to go!

@Bmartin3k
Copy link

Nice, and no error about java? Just wanting to make sure I was good to go!

i'm up and running. Thanks for the help. I think this gave me some good insight into how this all works as well.

@nanospearing
Copy link
Contributor

Nice, and no error about java? Just wanting to make sure I was good to go!

i'm up and running. Thanks for the help. I think this gave me some good insight into how this all works as well.

I am glad that I helped. If you need any help you know where to get me!

@stale
Copy link

stale bot commented Sep 6, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Sep 6, 2021
@stale stale bot closed this as completed Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

6 participants