Closed Alalanderson closed 4 years ago
This might be my start up script https://pastebin.com/iiAxpK45
Hi @Alalanderson, this doesn't seem to be a problem with towny, but instead the file permissions on your server:
java.io.FileNotFoundException: logs/latest.log (Permission denied)
This in return is creating the Townylogger to become null and denying you the ability to create a town, because the server cannot access the log files it needs to edit.
Luckily there's an easy solution to this problem
To change the perms on the logging folder just execute this in your terminal application:
sudo chown -R {user} {your_minecraft_folder}/logs
where {your_minecraft_folder} is the root folder of your minecraft server and {user} is the user that runs the server.
Once the server can access the logs it should work, and not error out when you try to add a town.
Hi @Alalanderson, this doesn't seem to be a problem with towny, but instead the file permissions on your server:
java.io.FileNotFoundException: logs/latest.log (Permission denied)
This in return is creating the Townylogger to become null and denying you the ability to create a town, because the server cannot access the log files it needs to edit.
Luckily there's an easy solution to this problem
To change the perms on the logging folder just execute this in your terminal application:
sudo chown -R {user} {your_minecraft_folder}/logs
where {your_minecraft_folder} is the root folder of your minecraft server and {user} is the user that runs the server.
Once the server can access the logs it should work, and not error out when you try to add a town.
Further, the user it should belong to (assuming during setup you told Multicraft to set up a new user per server) should be mcview&id=4
. The username number should be mc
Thank you both so much! did everything you said @suneettipirneni and found the user thanks to @ZackRuybal. And everything works perfect now!
What steps will reproduce the problem?
What is the expected output?
What is your Towny version?
Do not say "latest". 0.95.10
What is your spigot/craftbukkit version?
Do not say "latest". 1.14.4
Please use Pastebin.com to link the following files:
Skipping these files is not an option. It is the easiest way to diagnose an issue ticket properly. If you do skip this step then your ticket will most likely be deleted and you will be asked to resubmit.
(optional) If this is to do with permissions,
(optional) If this is to do with chat,