Closed Patrick15a closed 7 years ago
when i create a new SubServer i got first this exeption:
14:34:24 [INFO] ~/Creator > Generating Server Files...
14:34:24 [SEVERE] java.io.IOException: No such file or directory
14:34:24 [SEVERE] at java.io.UnixFileSystem.createFileExclusively(Native Method)
14:34:24 [SEVERE] at java.io.File.createNewFile(File.java:1012)
14:34:24 [SEVERE] at net.ME1312.SubServers.Bungee.Library.Config.YAMLConfig.save(YAMLConfig.java:75)
14:34:24 [SEVERE] at net.ME1312.SubServers.Bungee.Host.Internal.InternalSubCreator.generateClient(InternalSubCreator.java:270)
14:34:24 [SEVERE] at net.ME1312.SubServers.Bungee.Host.Internal.InternalSubCreator.run(InternalSubCreator.java:64)
14:34:24 [SEVERE] at net.ME1312.SubServers.Bungee.Host.Internal.InternalSubCreator.lambda$create$0(InternalSubCreator.java:212)
14:34:24 [SEVERE] at java.lang.Thread.run(Thread.java:748)
14:34:24 [INFO] ~/Creator > Launching build.sh
14:34:24 [INFO] ~/Creator > Downloading Buildtools...
...
Continuing the thread #6 I see. Since you gave me everything I need to know already, let's pick up from where we were.
What are the permissions on this folder: ~Lobby/plugins
~/Lobby/plugins (755) owned by the right user.
I have found the fault... The SubServer Creator has not defined the name for the SubData Service in ~/Lobby/plugins/SubServers-Client-Bukkit/config.yml
After I change that to "Lobby" the commands works.
That is true, however the why is the problem here. It remains that SubCreator cannot create the folder for config.yml, therefore it cannot create config.yml in some linux setups. The one seen there afterwards is the default one generated by SubServers.Client itself.
I will soon rewrite SubCreator, since I'd like to make better use of the templates folder as per requests. I hope to be rid of this bug as well, so I will use a different method of generating this file in the future.
Ok. Thanks 👍
Alright then, the latest beta update has the SubCreator changes in it. I do hope the configuration works as intended this time around.
Also, you should delete (or rename) the Templates folder before installing this update.
Thanks. It works. You will receive a little donation from me :)
OS: Linux - Debian 8 (jessie) BungeCord Version: git:BungeeCord-Bootstrap:1.12-SNAPSHOT:4db5352:1235 Lobby Server Version: Spigot 1.11.2 Lobby Server Plugins: TitleManager v2.0.6 SubServer Version: 2.11.2l SubServer-Client-Bukkit Version: 2.11.2g (istalled from creator) Java Version:
sub create Lobby ~ spigot 1.11.2 25010 1024
.sub cmd Lobby op Patrick15a
in Console/sub help
on the Lobby Server. And i got the following exception.Chat:
/sub help
Console: