Webadmin does not load - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Discussion (https://forum.cuberite.org/forum-5.html) +--- Thread: Webadmin does not load (/thread-1445.html) Pages:
1
2
|
Webadmin does not load - asker - 04-13-2014 Hello, i installed MCServer on a RaspberryPi and it works (i can log in to the server), but i can not log in to the webadmin: i started it from the root diretory: pi@raspberrypi ~/MCServer $ ./MCServer This is the log: Quote:[11:00:38] --- Started Log --- what did i wrong? RE: Webadmin does not load - xoft - 04-13-2014 Did you download a pre-built executable, or did you build yourself? The server basically tells you that it cannot find the webadmin template file. You should have a "webadmin" folder right next to the executable, and it should contain the "webadmin.lua" file. Without it the webadmin *should* still work, but you will most probably not see anything when the page loads, just an empty page or maybe some unhelpful text. Also, in order to be able to log into the webadmin, you need to edit the webadmin.ini file right next to the executable, it tells MCServer what users are allowed and what passwords they need to use; by default no-one is allowed to log in. RE: Webadmin does not load - asker - 04-13-2014 i build it myself using this tutorial. i have no webadmin folder "webadmin" in ~/MCServer. i set the user and password in webadmin.ini, but i only see a blank page. should i rebuild it or is there another solution, because building it takes several hours. RE: Webadmin does not load - xoft - 04-13-2014 I think the tutorial is stupid - it makes you delete the server after building, which is a dumb thing to do - you'll want to compile again when the source is updated, so it makes sense to actually leave everything as-is. Anyway, to fix you problem, download this file and save it as webadmin/template.lua: https://raw.githubusercontent.com/mc-server/MCServer/master/MCServer/webadmin/template.lua RE: Webadmin does not load - asker - 04-13-2014 if i dont delete it, how can i update it faster? RE: Webadmin does not load - bearbin - 04-13-2014 The fastest way to update it is to use my pre-built executable at ci.bearbin.net. RE: Webadmin does not load - xoft - 04-13-2014 When you want to do an update, you need to execute this in the "mc-server" folder where you originally cloned the sources from GitHub: Code: git pull Code: mkdir ~/MCServer RE: Webadmin does not load - asker - 04-14-2014 One last question: when i try to copypaste it, it says me: pi@raspberrypi ~/mc-server$ sudo cp -r ~/mc-server/MCServer* ~/MCServer cp: cannot overwrite non-directory `/home/pi/MCServer/MCServer' with directory `/home/pi/mc-server/MCServer' RE: Webadmin does not load - xoft - 04-14-2014 I might have gotten the command slightly wrong, perhaps someone more versed in linux can fix it. It was meant to simply copy the entire ~/mc-server/MCServer folder as ~/MCServer. I think the asterisk shouldn't be there. RE: Webadmin does not load - tigerw - 04-14-2014 Why dost thou not recommend precompiled builds (and the autoupdate script)? They are more user friendly. |