There’s no need to create a “custom” profile–you don’t need a profile at all. Once a jar file is put in the server directory, that file is made available in the jar dropdown.
The only way to download to this directory (under normal circumstances), is by being root, which means you are doing things as root, which means that if you have run that server even once (through java directly or with start.bat–do you mean start.sh?), then the process is being incorrectly spawned as root, and the webui will no longer work for this server.
If you perform file-system actions as root, root, will become the file owner, something mc (or other non-privileged user) cannot modify; this would explain why the button does nothing.
STEPS YOU SHOULD TAKE:
- log in as a non-
rootuser, such asmcor whatever user you’re using in the webui (that isn’troot!) - create a server
- log in as the same user in a terminal session.
- navigate to
/var/games/minecraft/servers/servername - wget the file you need (server files.zip?)
- unzip this file (you might need to move files around after that, because all the files are contained in an additional directory called
Lite - in the webui, change the jar selection dropbox to your new jar
- all the while, ignore ‘profile’ because you don’t need to set it, if you’re using your own manually-placed jar
- accept the eula and hit start
If you did stuff as root, you might have to either a) start over with these steps or b) chown the server to your non-root user. I’d recommend the first.