Comments (5)
fb586c9 seems to have fixed this. The issue only happens if you stop the service after it has been running for at least 75 minutes or so. It has only gone smoothly once, but I anticipate the issue is gone for good. I'll keep this issue open until I test it more. I recommend updating MCscripts as this issue is transient but can break updates and stopping your server in general.
from mcscripts.
Oh my, it happened again. This definitely seems to be a systemd isssue, and not my fault. Of course, because it's systemd, it does not matter who is at fault, I am the one who needs to change. I'm gonna try changing the socket unit to persist even after the service stops, and see how systemd spazzes out when I do that. systemd--
Edit: When I made the socket persist it stopped, but systemd complained to me. Gonna explore more options.
from mcscripts.
For now fixes will be pushed to branch systemd_pain. Reason last 2 fixes were pushed is because they featured objective improvements (less required units, fixes to ordering). This is more extraneous unless it works around systemd's ordering bugs.
Edit: 1st test of systemd_pain was successful, I think systemd ignores socket ordering if it isn't listed in Sockets=
or maybe I just got lucky. It doesn't derp every time after 75 minutes, just most times.
Edit 2: 2nd test failed, so it still doesn't work. I have given up on the socket being a transient unit, and have embraced it as a persistent one. It will be enabled separately, and tested as such. If it works it will be christened as the trendy new way of playing with systemd 237-3ubuntu10.41
. I already have drafted an updated README and DisableServices.sh
service migration code.
from mcscripts.
:galaxybrain: Can't have socket stopping before service if the socket doesn't stop when the service does. I tested the new service and socket and they work, as does the update script, and the README has been updated accordingly for new users.
from mcscripts.
Well I'm reopening this again, cause guess what, stop still doesn't work. It doesn't kill the socket this time so it can stop cleanly but it is an issue with the IRC bot failing to die properly. Ugh.
Edit: Happy ending, this whole saga only happens if you use the IRC bot. The hourly IRC bot timer I use to revive the bot after a network outage seems to be what started the bot right after it stopped. And when the bot would come back the stop job would cancel, but in doing so systemd would spaz out and stop the socket even though it didn't stop the service. The socket issue has already been worked around by me, now the bot issue is fixed too. I just removed rate limiting from the startup, and it will just keep failing till you stop it. It doesn't eat much CPU so I this seems like a simpler solution.
from mcscripts.
Related Issues (20)
- 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
- Documentation? HOT 11
- 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
- Job for [email protected] failed HOT 1
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.