Comments (11)
thanks @TapeWerm I tried running sudo systemctl start mcbe-getzip.service
but it just sat there with no response for hours. so i rebooted and ran the update commands:
curl -L https://github.com/TapeWerm/MCscripts/archive/refs/heads/master.zip -o /tmp/master.zip
rm -rf /tmp/MCscripts-master
unzip /tmp/master.zip -d /tmp
sudo /tmp/MCscripts-master/src/install.sh
the first 3 lines ran fine but then it just sits there with no response on the last one.
from mcscripts.
from mcscripts.
sudo systemctl start mcbe-getzip.service
will run the bedrock getzip service. The bedrock autoupdate service should start after getzip runs. You probably ran into the bug I fixed a couple days ago in commit b5faac0 . Try updating MCscripts if you haven't already. I might change the network test in ExecStartPre for the bedrock getzip and log services. It's a little janky, which is why it broke in the first place.
from mcscripts.
By no response do you mean no output? If you read install.sh source code you can see what it does. The install/update process installs required packages, adds the mc user, uninstalls MCscripts, moves servers and backups, installs MCscripts, and reenables services. Many steps output text to indicate progress. When install.sh uninstalls MCscripts, some services might not stop, and you have to wait for systemd to timeout and kill their processes.
journalctl -u [email protected] -u [email protected] -u mcbe-getzip.service -u [email protected] -u mcbe-log@MCBE -e
shows logs. If you post any logs, remember to delete gamertags from player connect/disconnect messages.
from mcscripts.
Yeah, it had no output and just sits there like its doing something.
i have pasted my log here: LOG File
Thanks For your help with this :)
from mcscripts.
No output would imply that either you don't have apt-get, or apt-get is stuck. If you don't have apt-get, install.sh adds the mc user if it does not exist. Then disable_services.sh saves which services are enabled and disables them before deleting their files. It's pretty much an uninstaller.
Nov 30 23:09:35 minecraft systemd[1]: mcbe-getzip.service: Current command vanished from the unit file, execution of the command list won't be resumed.
I've never seen that error before. At Nov 30 23:09:24
the server stops and starts back up again. Is that when you tried to run install.sh? I use bash set -e
to exit on error. So if it failed to stop mcbe-getzip and exited, it makes sense that the server would come back up again.
Thank you for the logs, I'm still not 100% sure why this happens, but I have some leads now.
from mcscripts.
I run Ubuntu 22.04. I'm not using any systemd overrides. backup_dir is symlinked to a 2nd SSD formatted ext4. I don't think backup_dir has anything to do with this, but it has been important info for testing backup scripts. What is your server like? Is it up to date?
If you want to workaround this, you could try disabling the services by hand and enabling them after. That might work?
from mcscripts.
Thanks, I just realised im running Ubuntu 18 on this one, I will try upgrading to 22 and see how it goes, i might even just blow it away and start fresh.
I am guessing the best method is:
- Install Minecraft Server
- Install your script by downloading it then running the install.sh
after that is it meant to keep minecraft updated as well?
If not what is the best method for updating Minecraft once your script is running?
from mcscripts.
Sorry for the late reply. You might have to upgrade twice or do a clean install. https://ubuntu.com/server/docs/upgrade-introduction
Follow https://github.com/TapeWerm/MCscripts#setup and import your bedrock server directories. The getzip and autoupdate services automatically keep your server up to date.
from mcscripts.
It's been a while, is your server still having issues? I had free time today so I figured I'd work on MCscripts. I have tomorrow off too.
from mcscripts.
Closing old issue, feel free to make a new one if anything happens.
from mcscripts.
Related Issues (20)
- Dependency failed for Automatically remove Minecraft Bedrock Edition server world backups more than 2-weeks-old @ MCBE. HOT 2
- Autoupdate failed HOT 2
- Need to use dos2unix on server.properties from Windows server HOT 5
- Add verbose flag HOT 1
- After updating, discord webhook prints xuid's rather than usernames HOT 3
- mcbe-getzip service fails to start with dependency failure HOT 3
- Incorrect permissions on bedrock_server file after most recent BDS update HOT 1
- auto update for minecraft on ubuntu desktop version HOT 12
- move_servers.sh deleted bedrock server and didn't move it when backup_dir already contained bedrock directory HOT 5
- mcbe-rmbackup tries to delete files in wrong directory HOT 1
- mcbe_getzip: wget read error in headers HOT 6
- No Response from https://www.minecraft.net HOT 23
- Mention Pugmatt's BedrockConnect as a Nintendo Switch workaround HOT 3
- Autoupdate script updates server to incompatible version HOT 3
- Issue with EULA accepting HOT 2
- Missing `g` termination in sed command
- Multiple Bedrock Servers HOT 2
- Backup fails without helpful error message if server.properties contains CRLF line terminations HOT 1
- Screen support? HOT 4
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 mcscripts.