Open Aceyfacey opened 7 years ago
Howdy Ace, Are you using the Linux subsystem of Windows 10? As StarD only works with Linux.
If you're not using the linux subsystem, you could try a virtual machine of Ubuntu or Fedora.
Thanks for the reply Jeryia, Ok, so once I've installed the Ubuntu virtual machine - where do I input the chmod commands to start the installation? I'm sorry, this is basically the first time I've touched Linux.
First we'll need to find a terminal.
I have stumbled upon an issue when trying to run the chmod command. It seems to not recognise the run command. Do you know why? I have attached a screenshot of what I have run in the terminal.
just chmod 755 stard-install.sh ./stard-install.sh
Update: Server seems to be working! http://prntscr.com/giv6qu I did the sudo start for stard in the terminal.
When it comes to the installation of plugins, specifically ares mod, this is what my stard.cfg looks like:
I do not see where i can add ares to the plugins list like (plugins=Base,FreeStuff,Ares)
Also, do you know where the StarMade folders should be located, i.e. the one with all the blueprints and configuration files? There is one in the directory with the StarD installation files, however I had to manually make a blueprints folder and blueprints I put in there are not visible to me as an admin on the server. I can also see no configuration files in it.
Don't worry about that config option, it's no longer needed. As long as the plugin is in the right place, and the blueprints are put in place everything should work.
I've removed that step in the instructions. Thanks for catching that
Alright, sweet! I put Ares folder into the plugins disabled folder and it isn't showing up even under plugins disabled in game:
It doesn't make a differnce if I put the folder in the plugins folder. :/
I think the issue could stem from my StarMade folder, since it seems to be acting weird, there's no server.cfg/settings.cfg files and also no blueprints folder. This is what my starmade folder looks like.
Even if I manually make a blueprints folder I cannot access the blueprints in game under the admin tab.
I logged into the server and saved a blueprint to the server but it doesn't show up anywhere (I searched for the blueprint name in the folder)
Do you know what the issue here could be? Its like as if this is not the correct place where StarMade is installed. But it says in one of the StarD cfg files that it should be installed in the directory of starD.
Did you install the standalone or regular? If you installed regular, it'll put it in /var/starmade/StarMade. For standalone, it'll install a starmade folder in your current directory, with starmade installed inside that directory called StarMade.
I'm mostly confused as it looks like I'm seeing service stard start and service stard stop in the terminal, but something in your home directory in the other. The service commands only work in the regular version.
With either, did you exit out of the window while it was Downloading/Updating StarMade? That needs to run it's course before the server should be started.
Thanks Jeryia, I managed to get the server up with Ares working. I had installed starmade in the wrong location manually which I think is what was confusing you and what confused me is I didnt know where to find the var folder until you told me and I thought the starmade folder I manually installed through the launcher was the right one. So now it works and I can play Ares properly with no issues in terms of gameplay.
I now have some minor issues that are more inconvenient rather than necessary for the the server to function:
I can't edit anything in the var/starmade folder, eg add the plugins, blueprints, modify configs etc. I need to be the owner. I do sudo chown -R aceface:aceface "var/starmade". I can now edit stuff. However if I start the server after this the permissions change back. I also cannot connect to the server after I've changed the owner of the folder to myself. A way to get around this is that I make edits in the folder when the server is off after making myself owner. Then I redo the stard installation command which takes little time since I already have the files. It seems like reinstalling stard resets some kind of necessary permission state for the server to run or to allow players to connect to it. This permission state is lost when changing owner. When my ownership is removed after starting the server, the "permission state" that was initially there that likely made the server work is now gone. I cannot connect until I redo the stard installation. It doesn't overwrite any major files from what I can tell since the adding of blueprints and the Ares plugin stay there after reinstalling.
This is more Linux rather than the wrapper. After fresh install of Ubuntu in VMware, after a few reboots, I cannot boot and a black screen pops up with the grey flashing line in the top left. I don't know why this happens but happens after a bit of using the OS. I reinstall the OS and it fixes but the issue returns after a bit. What virtualization software and Linux version would you recommend for running Ares?
So StarD runs under the starmade user, so it has no access to things owned by aceface when launched. You can change the user it runs as in /etc/sysconfig/stard. Make USER=starmade USER=aceface. Though with changing permissions, if you restart StarD using sudo service stard restart, it should fix any permissions issues. It's done this way as a security feature, so that if starmade or StarD get hacked somehow, all they can mess with is StarD and StarMade, the rest of the system is protected. If it's not starting, there are logfiles in /var/starmade/stard/logs for stard, and StarMade log files are in /var/starmade/StarMade/logs.
As for Ubuntu locking up, I'm not sure what's going on there. Personally I use VirtualBox, but I doubt that VMWare. I'll confess, I don't use Ububtu on a regular basis (only Fedora and Centos). When you see that screen try hitting escape, it should tell you what it's doing. It could be updating itself, I'm not sure.
Thanks :)
I couldn't find a sysconfig folder in etc, but I foudn it in /etc/default/stard
Yep, that's the one.
Hello Jeryia, I am trying to install StarD so that I can start an ares mod server. I have put StarMade-starter and stard-install.sh into one folder. However from here I type the chmod commands in CMD after navigating to the folder and nothing happens. If you could point me in the right direction, that would be awesome.
Also I'm using windows 10.