Hi there,
I recently installed MineOS-Node, and I’m not able to start only some servers as a non-root user.
I can start a server such as BungeeCord, using a profile, but for the Spigot and PaperSpigot servers, I all the time get those logs in the PaperTools.log.txt:
warning: unable to access ‘/root/.gitconfig’: Permission denied
warning: unable to access ‘/root/.config/git/config’: Permission denied
Git name not set, setting it to default value.
warning: unable to access ‘/root/.gitconfig’: Permission denied
warning: unable to access ‘/root/.config/git/config’: Permission denied
error: could not lock config file /root/.gitconfig: Permission denied
Exception in thread “main” java.lang.RuntimeException: Error running command, return status !=0: [git, config, --global, user.name, PaperTools]
at org.spigotmc.builder.Builder.runProcess(Builder.java:560)
at org.spigotmc.builder.Builder.main(Builder.java:164)
It’s been hours since I started searching where this issue is coming from, I reinstalled the whole thing at least 10 times, but I can’t find what is causing this.
As root, I can create and start any kind of server, but as soon as I disconnect, I will never be able to see this server in the servers list when connecting as root again, so I absolutely need to get this fixed.
I already tried reinstallating everything (nodejs,npm,mineos,…), creating new user, and giving to this user the mineos folder and minecraft folder’s ownership.
Thanks guys,
Regards.