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

bspkrsCore + Docker. halp. #31

Open
Chinthor opened this issue Aug 29, 2016 · 0 comments
Open

bspkrsCore + Docker. halp. #31

Chinthor opened this issue Aug 29, 2016 · 0 comments

Comments

@Chinthor
Copy link

I realize that this is probably not your issue. But it highlights some code that perhaps you shouldn't use, or at least want to think about changing.

I'm getting a weird error in a server I tried to copy. Made a modpack server in a docker container using itzg's minecraft-server image. After some work, it runs fine. Spun up the same image again in a new folder so I could experiment with changes on the clone before writing them to the original. When I dump in the mod files from the original server (that still works fine) I get this:

[bspkrsCore]: Initializing ModVersionChecker for mod bspkrsCore
java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.

Then, I get these two errors every 30 seconds. No exaggeration. I timed it.

WARNING: Could not lock User prefs. Unix error code 2.
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.

My searching suggests that this has something to do with user permissions. The weirdest part on my end is that for one server there is no problem while the copy does this. Spoke with Itzg, who is looking into how his image handles permissions and such. Meanwhile, it raises the question: does your mod need to be writing directly to a file in the user's /home/user directory? This might not normally be a problem in the usual course of things. But it makes me (a total backseat coder. I know) ask if that is necessary.

If nothing else, thought I'd toss you this FYI.

Cheers.

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

No branches or pull requests

1 participant